]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Hurd: compliance fixes for getlogin_r
[thirdparty/glibc.git] / ChangeLog
CommitLineData
ac4ea442
PT
12012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2
3 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
4 (__sendto): Use create_address_port. Initialize APORT and deallocate
5 it if not null.
6
f98eafbd
PT
7 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
8 with O_NOLINK passed to __file_name_lookup.
9
898c7aab
PT
10 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11 with O_NOLINK passed to __file_name_lookup.
12
0ced335a
PT
13 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14 negative N or less than NGIDS.
15
b3404dbd
PT
16 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17 type to string_t. Set ERANGE as errno and return it if NAME is not big
18 enough. Use memcpy instead of strncpy.
19
0f48659e
JM
202012-07-20 Joseph Myers <joseph@codesourcery.com>
21
22 * elf/Makefile (check-data): Remove.
23 (localplt.data): New vpath directive.
24 ($(objpfx)check-localplt.out): Use localplt.data from vpath
25 instead of $(check-data).
26 * scripts/data/localplt-generic.data: Move to ...
27 * sysdeps/generic/localplt.data: ... here.
28 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32 ... here.
33 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
34 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35 ... here.
36 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38 ... here.
39 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41 ... here.
42 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
43 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
44 ... here.
45 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
46 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
47 ... here.
48
d37cbdaa
AZ
492012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50
51 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
52 PPC32 and PPC64 files.
53 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
54 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
55
46f85fc2
AK
562012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57
58 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
59 __makecontext_ret to ...
60 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
61 ... here and call exit if uc_link is NULL. New file.
62 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
63 __makecontext_ret.S.
64 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
65 __makecontext_ret to ...
66 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
67 ... here and call exit if uc_link is NULL. New file.
68 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
69 __makecontext_ret.S.
70
08f43f9b
AK
712012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72
73 * elf/elf.h (R_390_IRELATIVE): New definition.
74 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
75 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
76 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
77 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
78 (elf_machine_lazy_rel): Likewise.
79 * sysdeps/s390/dl-irel.h: New file.
80 * sysdeps/s390/s390-64/memcpy.S: New asm code.
81 * sysdeps/s390/s390-64/memset.S: New asm code.
82 * sysdeps/s390/s390-64/memcmp.S: New asm code.
83 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
84 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
85 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
86 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
87 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
88 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
89 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
90 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
91 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
92 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
93 * sysdeps/s390/s390-32/memcpy.S: New asm code.
94 * sysdeps/s390/s390-32/memset.S: New asm code.
95 * sysdeps/s390/s390-32/memcmp.S: New asm code.
96
3b05db33
MP
972012-07-17 Marek Polacek <polacek@redhat.com>
98
99 [BZ #14349]
100 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
101 * sysdeps/s390/s390-64/configure.in: Likewise.
102 * sysdeps/sparc/configure.in: Likewise.
103 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
104 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
105 * sysdeps/i386/configure.in: Likewise.
106 * sysdeps/x86_64/configure.in: Likewise.
107 * sysdeps/sh/configure.in: Likewise.
108 * sysdeps/s390/s390-32/configure: Regenerated.
109 * sysdeps/s390/s390-64/configure: Likewise.
110 * sysdeps/x86_64/configure: Likewise.
111 * sysdeps/sh/configure: Likewise.
112 * sysdeps/powerpc/powerpc64/configure: Likewise.
113 * sysdeps/powerpc/powerpc32/configure: Likewise.
114 * sysdeps/sparc/configure: Likwise.
115 * sysdeps/i386/configure: Likewise.
116
a66877c6
MP
117 * elf/dl-open.c: Comment fixes.
118
cfc82fd8
JM
1192012-07-17 Joseph Myers <joseph@codesourcery.com>
120
bd29910a
JM
121 * Makefile [CXX] (check-data): Remove.
122 [CXX] (c++-types.data): New vpath directive.
123 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
124 vpath. Do not allow for C++ type data being missing.
125 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
126 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
127 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
128 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
129 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
130 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
131 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
133 ... here.
134 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
136 ... here.
137 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
139 ... here.
140 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
142 ... here.
143 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
145 ... here.
146 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
148 ... here.
149 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
150 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
151 ... here.
152 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
154
cfc82fd8
JM
155 * elf/tls-macros.h (TLS_LE): Move architecture-specific
156 definitions to architecture-specific files.
157 (TLS_IE): Likewise.
158 (TLS_LD): Likewise.
159 (TLS_GD): Likewise.
160 * sysdeps/i386/tls-macros.h: New file.
161 * sysdeps/powerpc/tls-macros.h: Likewise.
162 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
163 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
164 * sysdeps/sh/tls-macros.h: Likewise.
165 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
166 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
167 * sysdeps/x86_64/tls-macros.h: Likewise.
168
f7db3170
TS
1692012-07-17 Thomas Schwinge <thomas@codesourcery.com>
170
07cbfc23
TS
171 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
172 zero value for regular exit case.
173
f7db3170
TS
174 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
175 (__start_context): Preserve zero value for regular exit case.
176
dc97c227
TS
1772012-07-17 Thomas Schwinge <thomas@codesourcery.com>
178 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
179
180 * manual/setjmp.texi (setcontext): Clarify normal process
181 termination when uc_link is the null pointer.
182 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
183 exit call.
184
d0cd7d02
AS
1852012-07-16 Andreas Schwab <schwab@linux-m68k.org>
186
187 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
188 preprocessor. Test for each exception mask separately.
189
dd318934
AJ
1902012-07-16 Andreas Jaeger <aj@suse.de>
191
192 * po/ru.po: Update from translation team.
193
8048311a
JM
1942012-07-15 Joseph Myers <joseph@codesourcery.com>
195
196 * conform/data/string.h-data (NULL): Use macro-constant. Require
197 equal to 0.
198 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
199 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
200 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
201 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
202 [ISO || ISO99 || ISO11] (*_t): Do not allow.
203
b637d46e
AJ
2042012-07-13 Andreas Jaeger <aj@suse.de>
205
206 * po/fr.po: Update from translation team.
207
541428fe
MP
2082012-07-12 Marek Polacek <polacek@redhat.com>
209
210 [BZ #14173]
211 * math/libm-test.inc (yn_test): Add test for BZ #14173.
212 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
213 loop condition.
214
ec332e94
JM
2152012-07-12 Joseph Myers <joseph@codesourcery.com>
216
217 [BZ #13717]
218 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
219 Change to 2.4.1 where previously 2.4.0.
220 * sysdeps/unix/sysv/linux/configure: Regenerated.
221 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
222 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
223 version.
224 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
225 (__ASSUME_AT_CLKTCK): Remove.
226 (__ASSUME_AT_PAGESIZE): Likewise.
227 (__ASSUME_AT_XID): Likewise.
228 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
229 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
230 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
231 unconditionally.
232 (HAVE_AUX_PAGESIZE): Likewise.
233 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
234 [__ASSUME_AT_CLKTCK]: Make code unconditional.
235 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
236
7b6e99be
JB
2372012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
238
239 [BZ #14307]
240 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
241 the temporary buffer used to invoke __gethostbyname2_r,
242 __gethostbyaddr_r and gethostbyname4_r to make room for struct
243 host_data / struct gaih_addrtuple.
244 * resolv/nss_dns/dns-host.c (global scope): Move definition of
245 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
246 header file nss/nsswitch.h.
247 * nss/nsswitch.h (global scope): Add definition of implementation
248 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
249 resolv/nss_dns/dns-host.c).
250
608404eb
AJ
2512012-07-11 Andreas Jaeger <aj@suse.de>
252
253 * po/fr.po: Update from translation team.
254
71220aca
AJ
255 * po/sv.po: Update from translation team
256 * po/fr.po: Another update from translation team.
257
28cfe843
AZ
2582012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
259
260 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
261 for subnormals or multiply small sinh result by itself.
262 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
264
6b90f981
DM
2652012-07-11 David S. Miller <davem@davemloft.net>
266
267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
268
c6825772
AS
2692012-07-10 Andreas Schwab <schwab@linux-m68k.org>
270
271 [BZ #14347]
272 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
273 (INTERNAL_MARK): Shift it here.
274
7b8e0d49
MP
2752012-07-10 Marek Polacek <polacek@redhat.com>
276
277 [BZ #14151]
278 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
279 libc_cv_asm_global_directive with .globl.
280 * configure: Regenerated.
281 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
282 with .globl.
283 * sysdeps/i386/configure: Regenerated.
284 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
285 with .globl.
286 * sysdeps/x86_64/configure: Regenerated.
287 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
288 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
289 * elf/tst-unique2mod2.c: Likewise.
290 * elf/tst-unique2mod1.c: Likewise.
291 * elf/tst-unique1mod2.c: Likewise.
292 * elf/tst-unique1mod1.c: Likewise.
293 * sysdeps/s390/s390-32/sysdep.h: Likewise.
294 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
295 * sysdeps/s390/s390-64/sysdep.h: Likewise.
296 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
297 * sysdeps/mach/sysdep.h: Likewise.
298 * sysdeps/i386/sysdep.h: Likewise.
299 * sysdeps/i386/i386-mcount.S: Likewise.
300 * sysdeps/x86_64/_mcount.S: Likewise.
301 * sysdeps/x86_64/sysdep.h: Likewise.
302 * sysdeps/sh/_mcount.S: Likewise.
303 * sysdeps/sh/sysdep.h: Likewise.
304 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
305 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
306 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
307 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
308 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
309 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
310 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
311 * locale/localeinfo.h: Likewise.
312 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
313 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
314
6c55cda3
RM
3152012-07-09 Roland McGrath <roland@hack.frob.com>
316
317 [BZ #14336]
318 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
319 system".
320 * manual/message.texi (The Uniforum approach): Likewise.
321 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
322 (glibc iconv Implementation): Likewise.
323
638a572e
JM
3242012-07-09 Joseph Myers <joseph@codesourcery.com>
325
326 [BZ #14337]
327 * math/s_clog.c (__clog): Avoid scaling a value down where that
328 could result in underflow.
329 * math/s_clog10.c (__clog10): Likewise.
330 * math/s_clog10f.c (__clog10f): Likewise.
331 * math/s_clog10l.c (__clog10l): Likewise.
332 * math/s_clogf.c (__clogf): Likewise.
333 * math/s_clogl.c (__clogl): Likewise.
334 * math/libm-test.inc (clog_test): Add more tests.
335 (clog10_test): Likewise.
336 * sysdeps/i386/fpu/libm-test-ulps: Update.
337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
338
261f4859
AS
3392012-07-06 Andreas Schwab <schwab@linux-m68k.org>
340
0abaf3e4
AS
341 [BZ #14283]
342 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
343 by 7 not 8 to examine high bit of fractional part.
344
261f4859
AS
345 [BZ #14042]
346 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
347 for call to __mcount_internal.
348 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
349 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
350 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
351
f17ac40d
JM
3522012-07-06 Joseph Myers <joseph@codesourcery.com>
353
9ad63c23
JM
354 [BZ #14154]
355 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
356 approximation for values within 0x1p-13f of an odd multiple of
357 pi/4.
358 * math/libm-test.inc (tan_test): Do not allow spurious underflow
359 exception. Add more tests.
360 * sysdeps/i386/fpu/libm-test-ulps: Update.
361
f17ac40d
JM
362 [BZ #6778]
363 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
364 inputs and return -1 for them. Do not check for +Inf in case not
365 reachable for +Inf.
366 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
367 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
368 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
369 and return -1 for them. Do not check for +Inf in case not
370 reachable for +Inf.
371 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
372 define.
373 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
374 and return -1 for them. Do not check for +Inf in case not
375 reachable for +Inf.
376 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
377 spurious underflow.
378 * sysdeps/i386/fpu/libm-test-ulps: Update.
379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
380
fb21f89b
MF
3812012-07-06 Mike Frysinger <vapier@gentoo.org>
382
383 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
384
cdfe2c5e
JM
3852012-07-05 Joseph Myers <joseph@codesourcery.com>
386
387 [BZ #14157]
388 [BZ #14331]
389 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
390 could result in spurious underflow. Scale down values above
391 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
392 * math/s_csqrtf.c (__csqrtf): Likewise.
393 * math/s_csqrtl.c (__csqrtl): Likewise.
394 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
395 spurious underflow.
396 * sysdeps/i386/fpu/libm-test-ulps: Update.
397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
398
70d35b67
AS
3992012-07-04 Andreas Schwab <schwab@linux-m68k.org>
400
704bc459
AS
401 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
402 xopen-msg.sed.
403 * catgets/xopen-msg.awk: New file.
404 * catgets/xopen-msg.sed: Removed.
405
70d35b67
AS
406 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
407 po2text.sed.
408 * intl/po2test.awk: New file.
409 * intl/po2test.sed: Removed.
410
ca61cf32
JM
4112012-07-04 Joseph Myers <joseph@codesourcery.com>
412
413 [BZ #14328]
414 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
415 or multiply small sinh result by itself.
416 * math/s_ctanf.c (__ctanf): Likewise.
417 * math/s_ctanh.c (__ctanh): Likewise.
418 * math/s_ctanhf.c (__ctanhf): Likewise.
419 * math/s_ctanhl.c (__ctanhl): Likewise.
420 * math/s_ctanl.c (__ctanl): Likewise.
421 * math/libm-test.inc (ctan_test_tonearest): New function.
422 (ctan_test_towardzero): Likewise.
423 (ctan_test_downward): Likewise.
424 (ctan_test_upward): Likewise.
425 (ctanh_test_tonearest): Likewise.
426 (ctanh_test_towardzero): Likewise.
427 (ctanh_test_downward): Likewise.
428 (ctanh_test_upward): Likewise.
429 (main): Call these new functions.
430 * sysdeps/i386/fpu/libm-test-ulps: Update.
431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
432
ca48a46a
MF
4332012-07-03 Mike Frysinger <vapier@gentoo.org>
434
435 * .gitignore: Delete /ports entry.
436
9d63d37d
AJ
4372012-07-03 Andreas Jaeger <aj@suse.de>
438
439 * po/bg.po: Update from translation team.
440 * po/cs.po: Likewise.
441 * po/de.po: Likewise.
442 * po/hr.po: Likewise.
443 * po/nl.pl: Likewise.
444 * po/pl.po: Likewise.
445 * po/vi.po: Likewise.
446
370ca3d2
JM
4472012-07-03 Joseph Myers <joseph@codesourcery.com>
448
95f5a9a8
JM
449 * Makeconfig [!+link] (+link-before-libc): New variable.
450 [!+link] (+link-after-libc): Likewise.
451 [!+link] (+link-tests): Likewise.
452 [!+link] (+link): Define in terms of $(+link-before-libc) and
453 $(+link-after-libc).
454 [!+link-static] (+link-static-before-libc): New variable.
455 [!+link-static] (+link-static-after-libc): Likewise.
456 [!+link-static] (+link-static-tests): Likewise.
457 [!+link-static] (+link-static): Define in terms of
458 $(+link-static-before-libc) and $(+link-static-after-libc).
459 [build-shared] (link-libc-before-gnulib): New variable.
460 [build-shared] (link-libc-tests): Likewise.
461 [build-shared] (link-libc): Define in terms of
462 $(link-libc-before-gnulib).
463 [!build-shared] (link-libc-tests): New variable.
464 (link-libc-static-tests): New variable.
465 [!gnulib] (gnulib-arch): New variable.
466 [!gnulib] (gnulib-tests): Likewise.
467 [!gnulib] (static-gnulib-arch): Likewise.
468 [!gnulib] (static-gnulib-tests): Likewise.
469 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
470 Define with "=" instead of ":=".
471 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
472 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
473 * Rules (binaries-all-notests): New variable.
474 (binaries-all-tests): Likewise.
475 (binaries-static-notests): Likewise.
476 (binaries-static-tests): Likewise.
477 (binaries-all): Define using $(binaries-all-notests) and
478 $(binaries-all-tests).
479 (binaries-static): Define using $(binaries-static-notests) and
480 $(binaries-static-tests).
481 (binaries-shared-tests): New variable.
482 (binaries-shared-notests): Likewise.
483 (binaries-shared): Remove variable.
484 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
485 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
486 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
487 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
488 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
489 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
490 * elf/Makefile (sln-modules): New variable.
491 (extra-objs): Add $(sln-modules:=.o).
492 (ldconfig-modules): Add static-stubs.
493 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
494 * elf/static-stubs.c: New file.
495
7a845b2c
JM
496 [BZ #14283]
497 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
498 by 7 not 8 to examine high bit of fractional part. Use volatile
499 variables when splitting into final array of floats if
500 __FLT_EVAL_METHOD__ != 0.
501 * math/libm-test.inc (cos_test): Add another test.
502 (sin_test): Likewise.
503 * sysdeps/i386/fpu/libm-test-ulps: Update.
504
e2283f38
JM
505 [BZ #14273]
506 * math/libm-test.inc (cosh_test): Add more tests.
507
370ca3d2
JM
508 * version.h (RELEASE): Set to "development".
509 (VERSION): Set to "2.16.90".
510
ee9247c3
CD
5112012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
512
513 * NEWS: Update copyright. Remove last-updated date.
514 Mention math library bug fixes and timezone data changes.
515 * README: Mention GNU/Hurd, x32, and HPPA support status.
516
4648c381
TS
5172012-06-28 Thomas Schwinge <thomas@codesourcery.com>
518
519 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
520
aac78a43
AJ
5212012-06-27 Andreas Jaeger <aj@suse.de>
522
523 * manual/contrib.texi (Contributors): Add Samuel Thibault.
524
ed3dbfad
AJ
5252012-06-25 Andreas Jaeger <aj@suse.de>
526
527 * sysdeps/s390/fpu/libm-test-ulps: Update.
528
4d0ee855
AS
5292012-06-23 Andreas Schwab <schwab@linux-m68k.org>
530 Thomas Schwinge <thomas@codesourcery.com>
531
532 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
533 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
534 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
535 fanotify_mark.
536
af1bce34
TS
5372012-06-23 Thomas Schwinge <thomas@codesourcery.com>
538
a9fa33ba
TS
539 * sysdeps/mach/start.c: Remove file.
540 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
541 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
542 * sysdeps/sh/init-first.c: Likewise.
543
58f902b8
TS
544 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
545 registers for frame unwinding purposes, add CFI directives.
546 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
547 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
548 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
549 Likewise.
550
1518f58b
TS
551 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
552 __fortify_fail returning.
553 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
554
db9b5059
TS
555 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
556 sysdeps/sh/____longjmp_chk.S.
557 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
558 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
559 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
560 (gen-as-const-headers): Append sigaltstack-offsets.sym.
561
967705fe
TS
562 * sysdeps/sh/abort-instr.h: New file.
563 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
564 process in case exit returns.
565
a9def8c4
TS
566 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
567 initialize the GOT register before use.
568
2a649725
TS
569 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
570 calculation of ARGC > 4.
571
af1bce34
TS
572 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
573 meaningful names to some local labels.
574
d230f50a
KK
5752012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
576 Kaz Kojima <kkojima@rr.iij4u.or.jp>
577
578 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
579 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
580 (__arch_compare_and_exchange_val_16_acq): Likewise.
581 (__arch_compare_and_exchange_val_32_acq): Likewise.
582 (atomic_exchange_and_add): Fix gUSA sequence.
583 (atomic_add): Likewise.
584 (atomic_add_negative): Likewise.
585 (atomic_add_zero): Likewise.
586 (atomic_bit_test_set): Likewise.
587
0479b305
AS
5882012-06-22 Andreas Schwab <schwab@redhat.com>
589
590 [BZ #13579]
591 * include/link.h (struct link_map): Add l_free_initfini.
592 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
593 l_initfini.
594 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
595 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
596 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
597 set.
598
0e3933b9
CD
5992012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
600
601 * configure.in: Use AC_LANG_SOURCE.
602 * configure: Regenerate.
603
4248b1b1
RM
6042012-06-22 Roland McGrath <roland@hack.frob.com>
605
606 * configure.in (libc_cv_localstatedir): New substituted variable.
607 * configure: Regenerated.
608 * config.make.in (localstatedir): New variable, substituted from
609 libc_cv_localstatedir.
610 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
611 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
612 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
613 * sysdeps/gnu/configure: Regenerated.
614
006dd861
JL
6152012-06-21 Jeff Law <law@redhat.com>
616
617 [BZ #14277]
618 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
619 free. Simplify list management for _LIBC case.
620
79662d42
JM
6212012-06-21 Joseph Myers <joseph@codesourcery.com>
622
b7abb4bf
JM
623 [BZ #14273]
624 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
625 Clear sign bit of 64-bit integer value before comparing against
626 overflow value.
627
79662d42
JM
628 * sysdeps/mach/configure: Regenerated.
629
1f150908
L
6302012-06-21 H.J. Lu <hongjiu.lu@intel.com>
631
632 [BZ #14278]
633 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
634
28363bbf
JL
6352012-06-21 Jeff Law <law@redhat.com>
636
637 [BZ #13882]
638 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
639 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 640 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
641 * elf/dl-open.c (dl_open_worker): Likewise.
642
09615db4
CD
6432012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
644
645 * scripts/list-sources.sh: Scan PORTS for translations.
646 * po/libc.pot: Regenerated.
647
2174c6dd
AJ
6482012-06-21 Andreas Jaeger <aj@suse.de>
649
650 [BZ #12194]
651 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
652 warning.
653 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
654 * bits/byteswap-16.h (__bswap_16): Likewise.
655 * bits/byteswap.h (__bswap_constant_16): Likewise.
656
3ee947b1
L
6572012-06-18 H.J. Lu <hongjiu.lu@intel.com>
658
659 [BZ #14117]
a2f34833
L
660 * sysdeps/i386/fpu_control.h: Removed.
661 * sysdeps/x86_64/fpu_control.h: Moved to ...
662 * sysdeps/x86/fpu_control.h: Here.
663
3ee947b1
L
664 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
665 (_FPU_SETCW): Likewise.
666
ed1825f8
L
6672012-06-15 H.J. Lu <hongjiu.lu@intel.com>
668
25f1282a
L
669 [BZ #14117]
670 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
671 * sysdeps/x86/fpu/bits/mathinline.h: This.
672 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
673
ed1825f8
L
674 [BZ #14050]
675 [BZ #14117]
676 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
677 functions if __x86_64__ is defined.
678
36d54b74
CLT
6792012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
680
681 * string/endian.h: Add !__ASSEMBLER__ condition for including
682 conversion interfaces.
683
10285c21
JM
6842012-06-15 Joseph Myers <joseph@codesourcery.com>
685
686 [BZ #14241]
687 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
688 of ABS(x) in calculating zero to negative powers other than odd
689 integers.
690 * math/libm-test.inc (pow_test): Add more tests.
691
06c5abbd
AJ
6922012-06-15 Andreas Jaeger <aj@suse.de>
693
694 * manual/contrib.texi (Contributors): Update entry of Liubov
695 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
696 Machado Filho.
697
a3aeac40
CH
6982012-06-15 Cyril Hrubis <metan@ucw.cz>
699
700 * string/string.h: Add __wur to GNU version of strerror_r.
701
49bdf4c1
L
7022012-06-14 H.J. Lu <hongjiu.lu@intel.com>
703
704 [BZ #14229]
705 * string/Makefile (tests): Add tst-strtok_r.
706 * string/tst-strtok_r.c: New file.
707 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
708 RAX_LP/RDX_LP on SAVE_PTR.
709
834f9b8d
RM
7102012-06-14 Roland McGrath <roland@hack.frob.com>
711
712 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
713
75fa1921
JM
7142012-06-14 Joseph Myers <joseph@codesourcery.com>
715
716 * libm_test.inc (csqrt_test): Allow more spurious underflow
717 exceptions.
718 (j0_test): Likewise.
719 (j1_test): Likewise.
720 (y0_test): Likewise.
721 (y1_test): Likewise.
722
771766df
CD
7232012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
724
725 * po/Makefile (libc.pot): Use UTF-8 charset.
726
ceb9e56b
PP
7272012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
728
729 [BZ #14210]
730 Suppress sign-conversion warning from FD_SET.
731 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
732 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
733 not unsigned long int.
734 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
735
ddb28975
L
7362012-06-12 H.J. Lu <hongjiu.lu@intel.com>
737
738 [BZ #14050]
739 [BZ #14117]
740 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
741 __extern_always_inline instead of __extern_inline.
742 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
743 (__signbit): Likewise.
744 (__signbitl): Support C++ namespace.
745 (lrintf): New inline function.
746 (lrint): Likewise.
747 (llrintf): Likewise.
748 (llrint): Likewise.
749 (fmaxf): Likewise.
750 (fmax): Likewise.
751 (fminf): Likewise.
752 (fmin): Likewise.
753 (rint): Likewise.
754 (rintf): Likewise.
755 (ceil): Likewise.
756 (ceilf): Likewise.
757 (floor): Likewise.
758 (floorf): Likewise.
759 (nearbyint): Likewise.
760 (nearbyintf): Likewise.
761
d7b4fb26
TS
7622012-06-12 Thomas Schwinge <thomas@codesourcery.com>
763
764 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
765 non-default versions.
766
eb55f5c2
RM
7672012-06-11 Roland McGrath <roland@hack.frob.com>
768
769 [BZ #14218]
770 * manual/argp.texi (Argp): Reword argp_parse description slightly.
771
366af02c
TS
7722012-06-09 Thomas Schwinge <thomas@codesourcery.com>
773
99ff6e5c
TS
774 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
775 (FE_UPWARD, FE_DOWNWARD): Don't define.
776 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
777 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
778
366af02c
TS
779 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
780 reading it.
781 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
782 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
783
793ea851
KK
7842012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
785
786 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
787 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
788 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
789 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
790
a728a38f
L
7912012-06-06 H.J. Lu <hongjiu.lu@intel.com>
792
793 [BZ #14117]
c08010c7
L
794 * sysdeps/i386/fpu/bits/fenv.h: Removed.
795 * sysdeps/i386/fpu/Implies: New file.
796 * sysdeps/x86_64/fpu/Implies: Likewise.
797 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
798 * sysdeps/x86/fpu/bits/fenv.h: This.
799
a728a38f
L
800 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
801 __SSE_MATH__.
802
6e230d11
SP
8032012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
804
805 [BZ #14134]
806 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
807 character 0xffff that matches the last element of the
808 conversion table.
809
1b671feb
AZ
8102012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
811
812 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
813 fmodl commit.
814
6043738b
AZ
8152012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
816
817 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
818 values higher than 25.6283.
819
34ae0b32
AZ
8202012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
821
822 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
823 subnormal exponent extraction and add some __builtin_expect.
824 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
825 Fix for subnormal mantissa calculation.
826
1214ec8f
MF
8272012-06-04 Mike Frysinger <vapier@gentoo.org>
828
829 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
830 cpu2 is -1 and errno is not ENOSYS.
831
f3d1f93c
L
8322012-06-04 H.J. Lu <hongjiu.lu@intel.com>
833
834 [BZ #14117]
0e4a3cd7
L
835 * sysdeps/i386/i486/bits/string.h: Renamed to ...
836 * sysdeps/x86/bits/string.h: This.
837 * sysdeps/x86_64/bits/string.h: Removed.
838
6704c645
L
839 * sysdeps/i386/i486/bits/string.h: Define inline functions only
840 if not compiling for x86-64, but compiling for >= i486.
841
48495318
L
842 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
843 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
844
14adcbfc
L
845 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
846 New macro from Linux kernel 3.4.0.
847 (FP_XSTATE_MAGIC2): Likewise.
848 (FP_XSTATE_MAGIC2_SIZE): Likewise.
849 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
850 (struct _fpx_sw_bytes): New struct.
851 (struct _xsave_hdr): Likewise.
852 (struct _ymmh_state): Likewise.
853 (struct _xstate): Likewise.
854
68e408ab
L
855 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
856 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
857 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
858 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
859 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
860 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
861
f3d1f93c
L
862 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
863 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
864 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
865 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
866 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
867 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
868
d9dc34cd
TMQMF
8692012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
870
871 [BZ #13743]
872 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
873 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
874 (sysdep_headers): Include sys/platform/ppc.h.
875 * sysdeps/powerpc/test-gettimebase.c: Test for
876 __ppc_get_timebase() to catch future ISA opcode/insn changes.
877 * manual/Makefile (appendices): Include platform.texi.
878 * manual/contrib.texi (Contributors): Update @node pointers.
879 * manual/maint.texi (Maintenance): Likewise.
880 (Platform): New node.
881 * manual/platform.texi: New file. Document the new features.
882
4af3879c
SP
8832012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
884 Jakub Jelinek <jakub@redhat.com>
885
886 [BZ #14188]
887 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
888 where __builtin_expect is unavailable.
889
2fd6ff13
DM
8902012-06-03 David S. Miller <davem@davemloft.net>
891
892 * stdlib/longlong.h: Updated from GCC.
893
173f7220
AS
8942012-06-02 Andreas Schwab <schwab@linux-m68k.org>
895
896 [BZ #14042]
897 * sysdeps/powerpc/powerpc32/mcount.c: New file.
898 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
899 __mcount_internal.
900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
901 (GLIBC_2.16): Likewise.
902
f34a1c6f
L
9032012-06-01 H.J. Lu <hongjiu.lu@intel.com>
904
905 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
906
88a4576f
JM
9072012-06-01 Joseph Myers <joseph@codesourcery.com>
908
ea32bcdd
JM
909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
910 (default-abi): New variable.
911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
912 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
913 variable.
914 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
915 Likewise.
916 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
917 Likewise.
918 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
919 Likewise.
920
88a4576f
JM
921 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
922 definition. Document in comment.
923
402fe938
DM
9242012-06-01 David S. Miller <davem@davemloft.net>
925
926 * stdlib/longlong.h: Updated from GCC.
927
3553723f
L
9282012-06-01 H.J. Lu <hongjiu.lu@intel.com>
929
930 [BZ #14117]
3bd872c4
L
931 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
932 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
933 sys/debugreg.h sys/io.h here.
934 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
935 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
936 sys/io.h.
937 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
938 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
939 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
940 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
941 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
942 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
943
3553723f
L
944 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
945 Define only if __x86_64__ is defined.
946
4842e4fe
JM
9472012-06-01 Joseph Myers <joseph@codesourcery.com>
948
c5bfe3d5
JM
949 [BZ #14048]
950 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
951 Use int64_t for variable i.
952 * math/libm-test.inc (fmod_test): Add more tests.
953
4842e4fe
JM
954 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
955 z computation is not scheduled after fetestexcept.
956 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
957 Use math_force_eval instead of asm to ensure calculation scheduled
958 before exception test.
959 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
960 Ensure a1 + u.d computation is not scheduled after fetestexcept.
961
efb73488
AJ
9622012-06-01 Aurelien Jarno <aurelien@aurel32.net>
963
964 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
965 computation is not scheduled after fetestexcept.
966
29bcce7c
L
9672012-06-01 H.J. Lu <hongjiu.lu@intel.com>
968
969 [BZ #14117]
970 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
971 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
972
73a68f94
AZ
9732012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
974
975 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
976 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
977
67b6df78
L
9782012-05-31 H.J. Lu <hongjiu.lu@intel.com>
979
edf2933a 980 [BZ #14117]
ebc64a18
L
981 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
982 <bits/wordsize.h>.
983 (__WCHAR_MIN): Support __WORDSIZE == 64.
984 (__WCHAR_MAX): Likewise.
985
edf2933a
L
986 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
987 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
988
57c6cf40
L
989 [BZ #14183]
990 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
991 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
992
67b6df78 993 [BZ #14117]
8eb6281e
L
994 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
995 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
996
aac639f4
L
997 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
998 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
999
67b6df78
L
1000 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1001 Defined to 1 if __x86_64__ isn't defined.
1002 (_STAT_VER_LINUX_OLD): New.
1003 (st_atime): Remove duplicate.
1004 (st_mtime): Likewise.
1005 (st_ctime): Likewise.
1006
1c2cfe81
DM
10072012-05-31 David S. Miller <davem@davemloft.net>
1008
1009 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1010 entries.
1011
5be8418c
AS
10122012-06-01 Andreas Schwab <schwab@linux-m68k.org>
1013
e7725326
AS
1014 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1015 gen-libm-test.pl.
1016
5be8418c
AS
1017 [BZ #14132]
1018 * elf/dl-reloc.c: Include <_itoa.h>.
1019 (_dl_reloc_bad_type): Remove use of INTUSE.
1020 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1021 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1022 * stdio-common/psiginfo.c (psiginfo): Likewise.
1023 * stdio-common/psignal.c (psignal): Likewise.
1024 * string/strsignal.c (strsignal): Likewise.
1025 * include/signal.h (_sys_siglist): Declare hidden proto.
1026 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
1027 INTVARDEF with libc_hidden_data_def.
1028 * stdio-common/itoa-udigits.c: Likewise.
1029 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1030 (_itoa_lower_digits_internal): Remove declaration.
1031 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1032 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1033 (_sys_sigabbrev_internal): Remove aliases.
1034 (_sys_siglist): Define hidden alias.
1035
507352f1
MT
10362012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
1037
1038 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1039 bits/sysctl.h.
1040
42bbb1c3
L
10412012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1042
1043 [BZ #14117]
6bd784b6
L
1044 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1045 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1046
8bca20f0
L
1047 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1048 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1049 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1050 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1051 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1052 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1053
f9e890a9
L
1054 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1055 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1056 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1057
471101a1
L
1058 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1059 with __addr.
1060 (insw): Likewise.
1061 (insl): Likewise.
1062 (outsb): Likewise.
1063 (outsw): Likewise.
1064 (outsl): Likewise.
1065
6451c862
L
1066 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
1067 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
1068 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
1069
a254b8c9
L
1070 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
1071 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
1072 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
1073 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
1074 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
1075 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
1076
b8dfdd92
L
1077 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
1078 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
1079
578cd270
L
1080 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
1081 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
1082
de662f5f
L
1083 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
1084 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
1085 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
1086
25653439
L
1087 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
1088 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
1089 to ...
1090 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
1091
6bad24a0
L
1092 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
1093 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
1094 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
1095
42bbb1c3
L
1096 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1097 for x86-64.
1098 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1099
2d10d547
JM
11002012-05-31 Joseph Myers <joseph@codesourcery.com>
1101
1102 * math/math.h (M_El): Use two more decimal places.
1103 (M_LOG2El): Likewise.
1104 (M_LOG10El): Likewise.
1105 (M_LN2l): Likewise.
1106 (M_LN10l): Likewise.
1107 (M_PIl): Likewise.
1108 (M_PI_2l): Likewise.
1109 (M_PI_4l): Likewise.
1110 (M_1_PIl): Likewise.
1111 (M_2_PIl): Likewise.
1112 (M_2_SQRTPIl): Likewise.
1113 (M_SQRT2l): Likewise.
1114 (M_SQRT1_2l): Likewise.
1115
f230c29b
DM
11162012-05-31 David S. Miller <davem@davemloft.net>
1117
1118 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1119 values between float registers.
1120 * sysdeps/sparc/sparc64/memset.S: Likewise.
1121 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1122
fed806c3
MF
11232012-05-31 Mike Frysinger <vapier@gentoo.org>
1124
1125 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1126 -D_FORTIFY_SOURCE=1.
1127 (CPPFLAGS-tst-longjmp_chk.c): Define.
1128 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1129 (CPPFLAGS-tst-longjmp_chk2.c): Define.
1130 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1131 CFLAGS-tst-wchar-h.c.
1132
30917259
MP
11332012-05-31 Marek Polacek <polacek@redhat.com>
1134
1135 [BZ #14132]
1136 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1137 __endmntent_internal): Remove declaration.
1138 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1139 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1140 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1141
1c58d5dc
DM
11422012-05-30 David S. Miller <davem@davemloft.net>
1143
1144 * sysdeps/sparc/sparc32/soft-fp/q_util.c
1145 (___Q_simulate_exceptions): Use real FP ops rather than writing
1146 into the %fsr.
1147 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1148 Likewise.
1149
7dc00e0d
L
11502012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1151
1152 [BZ #14117]
0bd53985
L
1153 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1154 * sysdeps/x86/bits/xtitypes.h: This.
1155
3a257e66
L
1156 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1157 * sysdeps/x86/bits/wordsize.h: This.
1158
62f62904
L
1159 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1160 * sysdeps/x86/bits/huge_vall.h: This.
1161
404fe9d9
L
1162 * sysdeps/i386/bits/select.h: Removed.
1163 * sysdeps/x86_64/bits/select.h: Renamed to ...
1164 * sysdeps/x86/bits/select.h: This.
1165
d48d0446
L
1166 * sysdeps/i386/bits/setjmp.h: Removed.
1167 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1168 * sysdeps/x86/bits/setjmp.h: This.
1169
7dc00e0d
L
1170 * sysdeps/i386/bits/mathdef.h: Removed.
1171 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1172 * sysdeps/x86/bits/mathdef.h: This.
1173
03277f8f
AS
11742012-05-30 Andreas Schwab <schwab@linux-m68k.org>
1175
1176 [BZ #14132]
1177 * include/sys/socket.h (__connect_internal)
1178 (__libc_sa_len_internal): Remove declaration.
1179 (__connect, __libc_sa_len): Declare hidden_proto.
1180 (SA_LEN): Remove use of INTUSE.
1181 * socket/connect.c: Add libc_hidden_def.
1182 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1183 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1184 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1185 alias.
1186 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1187 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1188 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1189 of adding _internal alias.
1190
13764867
L
11912012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1192
1193 [BZ #14117]
6bd97696
L
1194 * sysdeps/i386/bits/link.h: Removed.
1195 * sysdeps/i386/bits/linkmap.h: Likewise.
1196 * sysdeps/x86_64/bits/link.h: Renamed to ...
1197 * sysdeps/x86/bits/link.h: This.
1198 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1199 * sysdeps/x86/bits/linkmap.h: This.
1200
f726f0bb
L
1201 * sysdeps/i386/bits/endian.h: Removed.
1202 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1203 * sysdeps/x86/bits/endian.h: This.
1204
13764867
L
1205 * sysdeps/i386/bits/byteswap.h: Removed.
1206 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1207 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1208 * sysdeps/x86/bits/byteswap.h: This.
1209 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1210 * sysdeps/x86/bits/byteswap-16.h: This.
1211 * sysdeps/i386/Implies: Add x86.
1212 * sysdeps/x86_64/Implies: Likewise.
1213
ae251b0b
DM
12142012-05-30 David S. Miller <davem@davemloft.net>
1215
1216 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1217 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1218 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1219 (FP_TRAPPING_EXCEPTIONS): Define.
1220 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1221 (FP_TRAPPING_EXCEPTIONS): Define.
1222 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1223 subnormals only when inexact has been signalled or underflow
1224 exceptions are enabled.
1225 (_FP_PACK_CANONICAL): Likewise.
1226
d5c90867
L
12272012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1228
1229 [BZ #14183]
1230 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1231 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1232
63f1549e
RH
12332012-05-30 Richard Henderson <rth@twiddle.net>
1234
8d8f2279
RH
1235 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1236 with #ifndef NOT_IN_libc.
1237
63f1549e
RH
1238 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1239 marked to avoid plt entry.
1240
0ab0291b
L
12412012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1242
1243 [BZ #14112]
1244 * Makeconfig (default-abi): New macro.
1245 (abi-includes): Likewise.
1246 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1247 $(abi-$(default-abi)-lib-soname) for soname if defined.
1248 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1249 abi-variants.
1250 * Makefile (installed-stubs): Likewise.
1251 * include/stubs-biarch.h: Removed.
1252 * scripts/lib-names.awk: Only handle one library at a time.
1253 * scripts/soversions.awk: Remove WORDSIZE support.
1254 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1255 entries.
1256 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1257 Removed.
1258 (syscall-list-default-condition): Likewise.
1259 (syscall-list-default-condition): Likewise.
1260 (syscall-list-includes): Likewise.
1261 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1262 syscall-list-* with abi-*. Handle undefined abi-variants.
1263 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1264 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1265 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1266 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1267 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1268 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1269 Removed.
1270 (syscall-list-32-options): Likewise.
1271 (syscall-list-32-condition): Likewise.
1272 (syscall-list-64-options): Likewise.
1273 (syscall-list-64-condition): Likewise.
1274 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1275 macro.
1276 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1277 Renamed to ...
1278 (abi-*): This.
1279 (abi-64-ld-soname): New macro.
1280 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1281 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1282 Renamed to ...
1283 (abi-*): This.
1284 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1285 * sysdeps/x86_64/x32/shlib-versions: Likewise.
1286
4da0431d
JM
12872012-05-30 Joseph Myers <joseph@codesourcery.com>
1288
3a85279c
JM
1289 * sysdeps/unix/sysv/linux/kernel-features.h
1290 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1291 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1292 include <kernel-features.h>.
1293 [!__NR_ftruncate64]: Remove conditional code.
1294 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1295 [__NR_ftruncate64]: Make code unconditional.
1296 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1297 * sysdeps/unix/sysv/linux/truncate64.c: Do not
1298 include <kernel-features.h>.
1299 [!__NR_ftruncate64]: Remove conditional code.
1300 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1301 [__NR_ftruncate64]: Make code unconditional.
1302 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1304 include <kernel-features.h>.
1305 [!__NR_ftruncate64]: Remove conditional code.
1306 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1307 [__NR_ftruncate64]: Make code unconditional.
1308 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1310 include <kernel-features.h>.
1311 [!__NR_ftruncate64]: Remove conditional code.
1312 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1313 [__NR_ftruncate64]: Make code unconditional.
1314 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1315
4da0431d
JM
1316 * configure.in (libc_cv_fpie): Weaken to a compile test using
1317 LIBC_TRY_CC_OPTION.
1318 * configure: Regenerated.
1319
11ef492c
AK
13202012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1321
1322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1326 Refreshed.
1327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1333 Refreshed.
1334
d66ef399
DM
13352012-05-27 David S. Miller <davem@davemloft.net>
1336
1337 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1338 (___Q_zero): New.
1339 (__Q_simulate_exceptions): Return void. Change to simulate
1340 exceptions by writing into the %fsr.
1341 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1342 (__Qp_handle_exceptions): Likewise.
1343 (numbers): Delete.
1344 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1345 __Qp_handle_exceptions.
1346 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1347 __Qp_handle_exceptions.
1348 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1349 as unused and give dummy FP_RND_NEAREST initializer.
1350 (FP_INHIBIT_RESULTS): Define.
1351 (___Q_simulate_exceptions): Update declaration.
1352 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1353 formatting.
1354 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1355 as unused and give dummy FP_RND_NEAREST initializer.
1356 (__Qp_handle_exceptions): Update declaration.
1357 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1358 formatting.
1359
04fb54b5
TS
13602012-05-27 Thomas Schwinge <thomas@codesourcery.com>
1361
1362 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1363 the temporary FPU control word.
1364 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1365 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1366 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1367 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1368 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1369 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1370 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1371 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1372 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1373 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1374 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1375
3f99608f
KK
13762012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1377
1378 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1379 fields.
1380
65a4de4e
CLT
13812012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
1382
1383 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1384 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1385 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1386 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1387 Likewise.
1388 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1389 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1390 Likewise.
1391
15749d40
UD
13922012-05-27 Ulrich Drepper <drepper@gmail.com>
1393
1394 * po/h.po: Update from translation team.
1395
25dbcb27
AS
13962012-05-26 Andreas Schwab <schwab@linux-m68k.org>
1397
3d3f8e55
AS
1398 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1399
25dbcb27
AS
1400 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1401 handling of denormals.
1402 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1403 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1404 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1405 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1406 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1407 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1408 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1409 Likewise.
1410
7ad47a80 14112012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
1412
1413 [BZ #14152]
1414 * math/libm-test.inc (fma_test): Don't always expect underflow
1415 exception.
1416
9c6ea9fa
SP
14172012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1418
1419 [BZ #12416]
1420 * elf/tst-execstack.c: Include stackinfo.h.
1421 (do_test): Adjust test case to ensure that pthread_getattr_np
1422 behaviour remains the same after marking stack executable.
1423
a8239222
JM
14242012-05-25 Joseph Myers <joseph@codesourcery.com>
1425
1426 * sysdeps/unix/sysv/linux/kernel-features.h
1427 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1428 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1429 kernel-features.h.
1430 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1431 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1432 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1433 kernel-features.h.
1434 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1435 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1436
918b5606
L
14372012-05-25 H.J. Lu <hongjiu.lu@intel.com>
1438
1439 * configure.in: Define the default includes to being none.
1440 * configure: Regenerated.
1441
3a097cc7
RM
14422012-05-25 Roland McGrath <roland@hack.frob.com>
1443
8422c9a5
RM
1444 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1445 * sysdeps/x86_64/setjmp.S: Likewise.
1446 * sysdeps/i386/bsd-setjmp.S: Likewise.
1447 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1448 * sysdeps/i386/setjmp.S: Likewise.
1449 * sysdeps/i386/__longjmp.S: Likewise.
1450 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1451 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1452
3a097cc7
RM
1453 * include/stap-probe.h: New file.
1454 * configure.in: Handle --enable-systemtap.
1455 * configure: Regenerated.
1456 * config.h.in (USE_STAP_PROBE): New #undef.
1457 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1458 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1459 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1460
21708942
JM
14612012-05-25 Joseph Myers <joseph@codesourcery.com>
1462
1463 [BZ #13717]
1464 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1465 to 2.4.0 where earlier.
1466 * sysdeps/unix/sysv/linux/configure: Regenerated.
1467 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1468 <kernel-features.h>.
1469 [__ASSUME_32BITUIDS]: Make code unconditional.
1470 [!__ASSUME_32BITUIDS]: Remove conditional code.
1471 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1472 <kernel-features.h>.
1473 [__ASSUME_32BITUIDS]: Make code unconditional.
1474 [!__ASSUME_32BITUIDS]: Remove conditional code.
1475 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
1476 [__ASSUME_32BITUIDS]: Make code unconditional.
1477 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1478 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
1479 <kernel-features.h>.
1480 [__ASSUME_32BITUIDS]: Make code unconditional.
1481 [!__ASSUME_32BITUIDS]: Remove conditional code.
1482 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
1483 <kernel-features.h>.
1484 [__ASSUME_32BITUIDS]: Make code unconditional.
1485 [!__ASSUME_32BITUIDS]: Remove conditional code.
1486 * sysdeps/unix/sysv/linux/i386/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
1519 <kernel-features.h>.
1520 [__NR_setresgid] (__setresgid): Do not declare.
1521 [__ASSUME_32BITUIDS]: Make code unconditional.
1522 [!__ASSUME_32BITUIDS]: Remove conditional code.
1523 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1524 <kernel-features.h>.
1525 [__NR_setresuid] (__setresuid): Do not declare.
1526 [__ASSUME_32BITUIDS]: Make code unconditional.
1527 [!__ASSUME_32BITUIDS]: Remove conditional code.
1528 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
1529 <kernel-features.h>.
1530 [__ASSUME_32BITUIDS]: Make code unconditional.
1531 [!__ASSUME_32BITUIDS]: Remove conditional code.
1532 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
1533 <kernel-features.h>.
1534 [__ASSUME_32BITUIDS]: Make code unconditional.
1535 [!__ASSUME_32BITUIDS]: Remove conditional code.
1536 * sysdeps/unix/sysv/linux/i386/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
1569 (__ASSUME_SETRESUID_SYSCALL): Remove.
1570 (__ASSUME_SETRESGID_SYSCALL): Likewise.
1571 (__ASSUME_32BITUIDS): Likewise.
1572 (__ASSUME_LDT_WORKS): Likewise.
1573 (__ASSUME_O_DIRECTORY): Likewise.
1574 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1575 architecture but not kernel version.
1576 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1577 (__ASSUME_MMAP2_SYSCALL): Likewise.
1578 (__ASSUME_STAT64_SYSCALL): Likewise.
1579 (__ASSUME_IPC64): Likewise.
1580 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1581 <kernel-features.h>.
1582 [__ASSUME_32BITUIDS]: Make code unconditional.
1583 [!__ASSUME_32BITUIDS]: Remove conditional code.
1584 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1585 <kernel-features.h>.
1586 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1587 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1588 132096]: Remove conditional code.
1589 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1590 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1591 <kernel-features.h>.
1592 [__ASSUME_32BITUIDS]: Make code unconditional.
1593 [!__ASSUME_32BITUIDS]: Remove conditional code.
1594 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1595 <kernel-features.h>.
1596 [__ASSUME_32BITUIDS]: Make code unconditional.
1597 [!__ASSUME_32BITUIDS]: Remove conditional code.
1598 * sysdeps/unix/sysv/linux/setegid.c: Do not include
1599 <kernel-features.h>.
1600 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1601 unconditional.
1602 (__setresgid): Do not declare.
1603 [__ASSUME_32BITUIDS]: Make code unconditional.
1604 [!__ASSUME_32BITUIDS]: Remove conditional code.
1605 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1606 <kernel-features.h>.
1607 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1608 unconditional.
1609 (__setresuid): Do not declare.
1610 [__ASSUME_32BITUIDS]: Make code unconditional.
1611 [!__ASSUME_32BITUIDS]: Remove conditional code.
1612 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1613 <kernel-features.h>.
1614 [__ASSUME_32BITUIDS]: Make code unconditional.
1615 [!__ASSUME_32BITUIDS]: Remove conditional code.
1616 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1617 <kernel-features.h>.
1618 [__ASSUME_32BITUIDS]: Make code unconditional.
1619 [!__ASSUME_32BITUIDS]: Remove conditional code.
1620
a386f1cc
RH
16212012-05-25 Richard Henderson <rth@twiddle.net>
1622
1623 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1624 dl_hwcap to ifunc resolver.
1625 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1626 elf_ifunc_invoke.
1627 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1628 dl_hwcap to ifunc resolver.
1629 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1630
b6550497
JM
16312012-05-24 Joseph Myers <joseph@codesourcery.com>
1632
1633 [BZ #14153]
1634 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1635 for |x| <= 2**-26, not 2**-57.
1636 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1637 exception.
1638
b0bc23a1
JL
16392012-05-24 Jeff Law <law@redhat.com>
1640
1641 * stdio-common/Makefile (tests): Add bug25.
1642 * stdio-common/bug25.c: New test.
1643
347c92e9
L
16442012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1645
1646 [BZ #13576]
1647 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1648 multiple of MALLOC_ALIGNMENT in size.
1649 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1650
6bcc8b3f
JM
16512012-05-24 Joseph Myers <joseph@codesourcery.com>
1652
1653 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1654 Require >= 256.
1655 (FILENAME_MAX): Use macro-int-constant.
1656 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1657 (_IOFBF): Use macro-int-constant.
1658 (_IOLBF): Likewise.
1659 (_IONBF): Likewise.
1660 (SEEK_CUR): Likewise.
1661 (SEEK_END): Likewise.
1662 (SEEK_SET): Likewise.
1663 (TMP_MAX): Likewise.
1664 (EOF): Use macro-int-constant. Require < 0.
1665 (NULL): Use macro-constant. Require == 0.
1666 (stdin): Require type to be FILE *.
1667 (stdout): Likewise.
1668 (stderr): Likewise.
1669 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1670 macro-int-constant.
1671 (EXIT_SUCCESS): Likewise.
1672 (NULL): Use macro-constant. Require == 0.
1673 (RAND_MAX): Use macro-int-constant.
1674 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1675 [C99-based standards] (strtof): Require function.
1676 [C99-based standards] (strtold): Likewise.
1677 [C99-based standards] (strtoll): Likewise.
1678 [C99-based standards] (strtoull): Likewise.
1679 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1680 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1681 [ISO || ISO99 || ISO11] (math.h): Likewise.
1682 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1683 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1684 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1685
d18ea0c5
AS
16862012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1687
1688 [BZ #14132]
56d25bb8
AS
1689 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1690 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1691 * intl/dgettext.c (DCGETTEXT): Likewise.
1692 * intl/gettext.c (DCGETTEXT): Likewise.
1693 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1694 * posix/regex_internal.h (gettext): Likewise.
1695 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1696 Remove declaration.
1697 * include/argz.h (__argz_count_internal)
1698 (__argz_stringify_internal): Remove declaration.
1699 (__argz_count, __argz_stringify): Declare hidden proto.
1700 * intl/dcgettext.c: Remove use of INTDEF.
1701 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1702 * string/argz-stringify.c: Likewise.
1703 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1704 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1705 Declare hidden proto.
d18ea0c5
AS
1706 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1707 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1708 Declare hidden proto.
1709 * include/stdio.h (__asprintf_internal): Don't declare.
1710 (__asprintf): Don't define as macro. Declare hidden proto.
1711 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1712 (__fsetlocking): Declare hidden proto.
1713 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1714 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1715 hidden proto.
1716 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1717 (_IO_setlinebuf): Remove use of INTUSE.
1718 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1719 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1720 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1721 Remove declaration.
1722 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1723 (_IO_do_flush): Remove use of INTUSE.
1724 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1725 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1726 (_IO_adjust_column, _IO_least_wmarker)
1727 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1728 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1729 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1730 (_IO_default_doallocate, _IO_wdefault_doallocate)
1731 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1732 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1733 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1734 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1735 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1736 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1737 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1738 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1739 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1740 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1741 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1742 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1743 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1744 proto.
1745 (_IO_flush_all_internal, _IO_adjust_column_internal)
1746 (_IO_default_uflow_internal, _IO_default_finish_internal)
1747 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1748 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1749 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1750 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1751 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1752 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1753 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1754 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1755 (_IO_file_close_internal, _IO_file_close_it_internal)
1756 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1757 (_IO_file_init_internal, _IO_file_attach_internal)
1758 (_IO_file_fopen_internal, _IO_file_read_internal)
1759 (_IO_file_sync_internal, _IO_file_seek_internal)
1760 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1761 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1762 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1763 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1764 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1765 (_IO_list_all_internal, _IO_link_in_internal)
1766 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1767 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1768 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1769 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1770 (_IO_do_write_internal, _IO_padn_internal)
1771 (_IO_getline_info_internal, _IO_getline_internal)
1772 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1773 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1774 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1775 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1776 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1777 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1778 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1779 with libc_hidden_ver, remove use of INTUSE.
1780 * libio/genops.c: Likewise.
1781 * libio/freopen.c: Likewise.
1782 * libio/freopen64.c: Likewise.
1783 * libio/iofclose.c: Likewise.
1784 * libio/iofdopen.c: Likewise.
1785 * libio/iofflush.c: Likewise.
1786 * libio/iofflush_u.c: Likewise.
1787 * libio/iofgets.c: Likewise.
1788 * libio/iofgets_u.c: Likewise.
1789 * libio/iofopen.c: Likewise.
1790 * libio/iofopncook.c: Likewise.
1791 * libio/iofread.c: Likewise.
1792 * libio/iofread_u.c: Likewise.
1793 * libio/ioftell.c: Likewise.
1794 * libio/iofwrite.c: Likewise.
1795 * libio/iogetline.c: Likewise.
1796 * libio/iogets.c: Likewise.
1797 * libio/iogetwline.c: Likewise.
1798 * libio/iopadn.c: Likewise.
1799 * libio/iopopen.c: Likewise.
1800 * libio/ioseekoff.c: Likewise.
1801 * libio/ioseekpos.c: Likewise.
1802 * libio/iosetbuffer.c: Likewise.
1803 * libio/iosetvbuf.c: Likewise.
1804 * libio/ioungetc.c: Likewise.
1805 * libio/ioungetwc.c: Likewise.
1806 * libio/iovdprintf.c: Likewise.
1807 * libio/iovsprintf.c: Likewise.
1808 * libio/iovsscanf.c: Likewise.
1809 * libio/memstream.c: Likewise.
1810 * libio/obprintf.c: Likewise.
1811 * libio/oldfileops.c: Likewise.
1812 * libio/oldiofclose.c: Likewise.
1813 * libio/oldiofdopen.c: Likewise.
1814 * libio/oldiofopen.c: Likewise.
1815 * libio/oldiopopen.c: Likewise.
1816 * libio/oldstdfiles.c: Likewise.
1817 * libio/putc.c: Likewise.
1818 * libio/setbuf.c: Likewise.
1819 * libio/setlinebuf.c: Likewise.
1820 * libio/stdfiles.c: Likewise.
1821 * libio/strops.c: Likewise.
1822 * libio/vasprintf.c: Likewise.
1823 * libio/vscanf.c: Likewise.
1824 * libio/vsnprintf.c: Likewise.
1825 * libio/vswprintf.c: Likewise.
1826 * libio/wfiledoalloc.c: Likewise.
1827 * libio/wfileops.c: Likewise.
1828 * libio/wgenops.c: Likewise.
1829 * libio/wmemstream.c: Likewise.
1830 * libio/wstrops.c: Likewise.
1831 * libio/__fpurge.c: Likewise.
1832 * libio/__fsetlocking.c: Likewise.
1833 * assert/assert.c: Likewise.
1834 * debug/fgets_chk.c: Likewise.
1835 * debug/fgets_u_chk.c: Likewise.
1836 * debug/fread_chk.c: Likewise.
1837 * debug/fread_u_chk.c: Likewise.
1838 * debug/gets_chk.c: Likewise.
1839 * debug/obprintf_chk.c: Likewise.
1840 * debug/vasprintf_chk.c: Likewise.
1841 * debug/vdprintf_chk.c: Likewise.
1842 * debug/vsnprintf_chk.c: Likewise.
1843 * debug/vsprintf_chk.c: Likewise.
1844 * malloc/mtrace.c: Likewise.
1845 * misc/error.c: Likewise.
1846 * misc/syslog.c: Likewise.
1847 * stdio-common/asprintf.c: Likewise.
1848 * stdio-common/fxprintf.c: Likewise.
1849 * stdio-common/getw.c: Likewise.
1850 * stdio-common/isoc99_fscanf.c: Likewise.
1851 * stdio-common/isoc99_scanf.c: Likewise.
1852 * stdio-common/isoc99_vfscanf.c: Likewise.
1853 * stdio-common/isoc99_vscanf.c: Likewise.
1854 * stdio-common/isoc99_vsscanf.c: Likewise.
1855 * stdio-common/printf-prs.c: Likewise.
1856 * stdio-common/printf_fp.c: Likewise.
1857 * stdio-common/printf_fphex.c: Likewise.
1858 * stdio-common/printf_size.c: Likewise.
1859 * stdio-common/putw.c: Likewise.
1860 * stdio-common/scanf.c: Likewise.
1861 * stdio-common/sprintf.c: Likewise.
1862 * stdio-common/tmpfile.c: Likewise.
1863 * stdio-common/vfprintf.c: Likewise.
1864 * stdio-common/vfscanf.c: Likewise.
1865 * stdlib/strfmon_l.c: Likewise.
1866 * sunrpc/openchild.c: Likewise.
1867 * sunrpc/xdr_stdio.c: Likewise.
1868 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1869 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1870
d6c33fda
RM
18712012-05-24 Roland McGrath <roland@hack.frob.com>
1872
c1487492
RM
1873 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1874
1875 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1876 in the third column, to generate for the shared library an IFUNC
1877 that uses _dl_vdso_vsym.
1878 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1879 * Makeconfig (object-suffixes-noshared): New variable.
1880
1881 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1882 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1883 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1884 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1885
d6c33fda
RM
1886 [BZ #14132]
1887 * include/sys/time.h (__gettimeofday): Remove macro.
1888 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1889 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1890 Remove INTDEF.
1891 (__gettimeofday): Add libc_hidden_def.
1892 (gettimeofday): Add libc_hidden_weak.
1893 * sysdeps/mach/gettimeofday.c: Likewise.
1894 * sysdeps/posix/gettimeofday.c: Likewise.
1895 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1896 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1897 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1898 (__gettimeofday_internal): Remove strong_alias.
1899 (__gettimeofday): Add libc_hidden_def.
1900 (gettimeofday): Add libc_hidden_weak.
1901 * sysdeps/unix/syscalls.list (gettimeofday):
1902 Remove __gettimeofday_internal alias.
1903
b5a2bbe6
L
19042012-05-24 Daniel Jacobowitz <drow@false.org>
1905 H.J. Lu <hongjiu.lu@intel.com>
1906
1907 [BZ #12495]
1908 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1909 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1910 (largebin_index_32_big): New.
1911 (largebin_index): Use it for 16-byte alignment.
1912 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1913 correction with front_misalign.
1914
cfba4fda
L
19152012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1916
7f907421
L
1917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1919 Likewise.
1920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1921 Likewise.
1922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1923 Likewise.
1924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1925 Likewise.
1926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1927 Likewise.
1928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1929 Likewise.
1930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1931 Likewise.
1932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1933 Likewise.
1934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1935 Likewise.
1936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1937 Likewise.
1938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1939 Likewise.
1940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1941 Likewise.
1942
cfba4fda
L
1943 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1944 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1945
80bad0cc
JM
19462012-05-24 Joseph Myers <joseph@codesourcery.com>
1947
7a25eb06
JM
1948 [BZ #10846]
1949 [BZ #14036]
1950 * math/libm-test.inc (exp_test): Add test from bug 14036.
1951 (pow_test): Add test from bug 10846.
1952
795405f9
JM
1953 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1954 and other flags.
1955 (special_function): Do not include flags in test name.
1956 (parse_args): Likewise.
1957 * sysdeps/i386/fpu/libm-test-ulps: Update.
1958 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1959 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1960 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1962
80bad0cc
JM
1963 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1964 exceptions.
1965 * math/libm-test.inc ("Philosophy"): Update comment about
1966 exception testing.
1967 (UNDERFLOW_EXCEPTION): New macro.
1968 (UNDERFLOW_EXCEPTION_OK): Likewise.
1969 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1970 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1971 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1972 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1973 (INVALID_EXCEPTION_OK): Update value.
1974 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1975 (OVERFLOW_EXCEPTION_OK): Likewise.
1976 (IGNORE_ZERO_INF_SIGN): Likewise.
1977 (test_exceptions): Handle underflow exceptions.
1978 (acos_test): Update for underflow exception expectations.
1979 (cexp_test): Likewise.
1980 (clog_test): Likewise.
1981 (clog10_test): Likewise.
1982 (csqrt_test): Likewise.
1983 (ctan_test): Likewise.
1984 (ctanh_test): Likewise.
1985 (exp_test): Likewise.
1986 (exp10_test): Likewise.
1987 (exp2_test): Likewise.
1988 (expm1_test): Likewise.
1989 (fma_test): Likewise.
1990 (j0_test): Likewise.
1991 (jn_test): Likewise.
1992 (nexttoward_test): Likewise.
1993 (pow_test): Likewise.
1994 (scalbn_test): Likewise.
1995 (scalbln_test): Likewise.
1996 (tan_test): Likewise.
1997 (y1_test): Likewise.
1998 * sysdeps/i386/fpu/libm-test-ulps: Update.
1999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2000
9e0e3d0b
DM
20012012-05-23 David S. Miller <davem@davemloft.net>
2002
2003 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2004 (__libc_sigaction): Remove unused local variables.
2005
ccd0a08f
L
20062012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2007
2008 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2009
62bdf9a6
PE
20102012-05-23 Paul Eggert <eggert@cs.ucla.edu>
2011
f8591f80
PE
2012 mktime: avoid signed integer overflow
2013 * time/mktime.c (__mktime_internal): Do not mishandle the case
2014 where diff == INT_MIN.
2015
94c7d826
PE
2016 mktime: simplify computation of average
2017 * time/mktime.c (ranged_convert): Use new time_t_avg function
2018 instead of rolling our own (probably-slower) code.
2019
ce73d683
PE
2020 mktime: do not assume signed right shift propagates sign bit
2021 * time/mktime.c (isdst_differ): New static function.
2022 (__mktime_internal): No need to normalize tm_isdst now.
2023 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2024 tm_isdst values.
2025
72a22e59
PE
2026 mktime: merge another wrapv change from gnulib
2027 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2028 from some compilers.
2029
68605433
PE
2030 mktime: remove incorrect attempt at unusual arithmetics
2031 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2032 The code didn't really work on such machines anyway.
2033 (TYPE_MINIMUM): Assume two's complement.
2034 (twos_complement_arithmetic): Verify that long_int and time_t
2035 are two's complement (or unsigned, in the latter case).
2036
03cf7fe3
PE
2037 mktime: check signed shifts on long_int and time_t, too
2038 * time/mktime.c (SHR): Check that shifts work as desired
2039 on the types long_int and time_t too, as SHR is used on
2040 such types.
2041
f04dfbc2
PE
2042 mktime: do not assume 'long' is wide enough
2043 * time/mktime.c (verify): Move decl up.
2044 (long_int): New type.
2045 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2046 to remove assumption in the code that 'long' is wide enough to
2047 store year values. This assumption is not true on x32 and on
2048 some non-glibc platforms.
2049
62bdf9a6
PE
2050 mktime: merge wrapv change from gnulib
2051 * time/mktime.c (WRAPV): New macro.
2052 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2053 (guess_time_tm, __mktime_internal): Do not assume that signed
2054 integer overflow wraps around; modern compilers generate code
2055 where this assumption is no longer valid.
2056
5e292e4f
L
20572012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2058
2059 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2060 Replace "jmp L(pseudo_end)" with "ret".
2061 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2062 Likewise.
2063
8caf8c87
AJ
20642012-05-23 Andreas Jaeger <aj@suse.de>
2065
2066 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
2067 * sysdeps/unix/sysv/linux/poll.c: Remove file.
2068
1a09dc56
AJ
20692012-05-23 Andreas Jaeger <aj@suse.de>
2070 Maximilian Attems <max@stro.at>
2071
2072 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
2073 New macros.
2074
1c87aba0
L
20752012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2076
2077 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
2078 code so that pseudo_end is just ret and the stack pointer is
2079 correct also for static library in error case.
2080
40e45bd5
JM
20812012-05-23 Joseph Myers <joseph@codesourcery.com>
2082
c2670533
JM
2083 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
2084 move to syscalls.list.
2085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2089
40e45bd5
JM
2090 * manual/install.texi (Running make install): Do not mention Linux
2091 kernel version for which pt_chown is not needed.
2092 (Linux): Do not mention problems with nscd with 2.0 kernels.
2093 * INSTALL: Regenerated.
2094
be08eda5
AJ
20952012-05-23 Andreas Jaeger <aj@suse.de>
2096
2097 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2098 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2099 macro.
2100 * sysdeps/unix/sysv/linux/s390/bits/mman.h
2101 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2102 * sysdeps/unix/sysv/linux/sh/bits/mman.h
2103 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2104 * sysdeps/unix/sysv/linux/i386/bits/mman.h
2105 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2106 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2107 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2108 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2109 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2110 * sysdeps/unix/sysv/linux/bits/in.h
2111 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2112
a6a056bb
RM
21132012-05-22 Roland McGrath <roland@hack.frob.com>
2114
2115 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2116 (PREPARE_VERSION): Just use assert instead, it will be elided
2117 under [NDEBUG] anyway.
2118
c9009328
L
21192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2120
2121 * sysdeps/unix/sysv/linux/Makefile: Include
2122 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 2123 (sysdep_routines): Remove sysctl.
c9009328
L
2124 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2125 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2126 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2127 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2128 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2129
73338355
AJ
21302012-05-22 Andreas Jaeger <aj@suse.de>
2131
2132 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2133 that pseudo_end is just ret and the stack pointer is correct also
2134 for static library in error case.
2135
d44638b0
PP
21362012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2137
2138 [BZ #14122]
2139 * nss/nsswitch.c (defconfig_entries): New variable.
2140 (__nss_database_lookup): Don't leak defconfig entries.
2141 (nss_parse_service_list): Don't leak on error paths.
2142 (free_database_entries): New function.
2143 (free_defconfig): New function.
2144 (free_mem): Move common code to free_database_entries.
2145
31a39bd8
L
21462012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2147
da0331a8
L
2148 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2149 Add arch_prctl.
2150 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2151
31a39bd8
L
2152 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2153 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2154 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2155 New macro.
2156 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2157 (INTERNAL_SYSCALL_TYPES): Likewise.
2158 (LOAD_ARGS_TYPES_[1-6]): Likewise.
2159 (LOAD_REGS_TYPES_[1-6]): Likewise.
2160 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2161 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2162
45470df3
AZ
21632012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2164
2165 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2166 copysignl for GLIBC_2_0.
2167 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2168 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2169 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2170 logbl for GLIBC_2_0.
2171 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2172 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2173
98a61bcb
L
21742012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2175
a4f6e481
L
2176 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2177 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2178
f63d5db6
L
2179 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2180 Use "neg %eax".
2181
98a61bcb
L
2182 * time/mktime.c: Update copyright years.
2183
95770f14
PE
21842012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2185
6226efbd
PE
2186 mktime: merge comment-quoting-style change from gnulib
2187 * time/mktime.c: Quote 'like this' in comments.
2188 The GNU coding standards suggest that we no longer quote `like this',
2189 as "`" and "'" are typically rendered asymmetrically nowadays.
2190 The typical gnulib style is to quote 'like this' when quoting
2191 code, and "like this" when quoting English.
2192
b99e4f78
PE
2193 * time/mktime.c (compile-command): Add "-I.".
2194
643e01e6
PE
2195 mktime: merge mktime-internal.h change from gnulib
2196 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2197
2554247d
PE
2198 mktime: merge time_r change from gnulib
2199 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2200
826dd0ab
PE
2201 mktime: merge DEBUG change from gnulib
2202 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2203 case system <time.h> has a #define.
2204
bd83aabe
PE
2205 mktime: merge <sys/types.h> change from gnulib
2206 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2207 since <time.t> is now guaranteed to define time_t.
2208
95770f14
PE
2209 mktime: merge HAVE_CONFIG_H change from gnulib
2210 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2211
5e1a27a9
L
22122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2213
0e44a77e
L
2214 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2215 Use "neg %eax".
2216
5e1a27a9
L
2217 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2218 __rlim_t cast.
2219 (struct rusage): Use anonymous union to pad each field to
2220 __syscall_slong_t.
2221
46259bec
DM
22222012-05-21 David S. Miller <davem@davemloft.net>
2223
2224 * Makefules (o-iterator): Remove .s cases.
2225 (compile-command.s): Delete.
2226 (COMPILE.s): Delete.
2227 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2228
59f0c22e
JM
22292012-05-21 Joseph Myers <joseph@codesourcery.com>
2230
2231 * configure.in (libc_cv_predef_stack_protector): Only consider
2232 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2233 * configure: Regenerated.
2234
20c07380
L
22352012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2236
bbb3154b
L
2237 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2238 New macro. Use R*LP on int and pointer.
2239 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
2240 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2241 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
2242 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2243
20c07380
L
2244 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2245 [__WORDSIZE_TIME64_COMPAT32] instead of
2246 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2247 (struct utmp): Likewise.
2248 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2249 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2250 Renamed to ...
2251 (__WORDSIZE_TIME64_COMPAT32): This.
2252 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2253 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2254 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2255 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2256 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2257 (__WORDSIZE_TIME64_COMPAT32): New macro.
2258
d8d1017e
AJ
22592012-05-21 Andreas Jaeger <aj@suse.de>
2260
2261 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2262 only if [SHARED]. Add prototype for __wcschr_ia32.
2263
6c7fb145
RM
22642012-05-21 Roland McGrath <roland@hack.frob.com>
2265
2266 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2267 of %rbp unmolested in the jmp_buf while mangling the low bits.
2268 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2269 unmolested high bits of %rbp while demangling the low bits.
2270 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2271
66274218
AJ
22722012-05-21 Andreas Jaeger <aj@suse.de>
2273
07c58f8f
AJ
2274 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2275 * sunrpc/svc_simple.c: Use it for registerrpc.
2276 * sunrpc/xcrypt.c: Use it for passwd2des.
2277
66274218
AJ
2278 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2279
61f65140
L
22802012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2281
2282 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2283 Don't define if [__SYSCALL_WORDSIZE != 32].
2284 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2285 New macro.
2286
5fefb436
AJ
22872012-05-21 Bruno Haible <bruno@clisp.org>
2288 Andreas Jaeger <aj@suse.de>
2289
2290 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2291 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2292 inptr and inend for must_buffer_ch.
2293 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2294 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2295 * stdio-common/Makefile (tests): Remove bug15.
2296 (bug15-ENV): Remove macro.
2297 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2298 anymore.
2299
d8e272ab
AJ
23002012-05-19 Andreas Jaeger <aj@suse.de>
2301 Roland McGrath <roland@hack.frob.com>
2302
2303 * manual/contrib.texi: Completely rewritten. It contains now an
2304 alphabetical list of contributors and their contributions.
2305
4a56a162
RH
23062012-05-21 Richard Henderson <rth@twiddle.net>
2307
2308 * misc/getauxval.c (__getauxval): Use unsigned long int.
2309 * misc/sys/auxv.h: Include <sys/cdefs.h>.
2310 (getauxval): Use unsigned long int.
2311
d024d23c
L
23122012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2313
2314 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2315
cbc00a03
RM
23162012-05-21 Roland McGrath <roland@hack.frob.com>
2317
2318 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2319 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2320 __alignof__ (long double).
2321
478143fa
AZ
23222012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2323
2324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2325
c7683a6d
RH
23262012-05-20 Richard Henderson <rth@twiddle.net>
2327
2328 * misc/getauxval.c: New file.
2329 * misc/sys/auxv.h: New file.
2330 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2331 (routines): Add getauxval.
2332 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2333 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2334 * elf/dl-sysdep.c (_dl_auxv): Remove.
2335 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2336 * elf/dl-support.c (_dl_auxv): New variable.
2337 (_dl_aux_init): Initialize it.
2338 * manual/startup.texi (Auxiliary Vector): New node.
2339 * sysdeps/generic/bits/hwcap.h: New file.
2340 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2341 * sysdeps/powerpc/sysdep.h: ... here. Include it.
2342 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2343 * sysdeps/sparc/sysdep.h: ... here. Include it.
2344 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2345 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
2346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2347 Update.
c7683a6d
RH
2348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2351 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2356
a6f1845d
AZ
23572012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2358
2359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2360
cbcbe830
DM
23612012-05-19 David S. Miller <davem@davemloft.net>
2362
2363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2364
e0b16cc2
JM
23652012-05-19 Joseph Myers <joseph@codesourcery.com>
2366
2367 [BZ #14123]
2368 * math/s_ccosh.c: Include <float.h>
2369 (__ccosh): Avoid internal overflow calculating sinh and cosh
2370 values before multiplying by sin and cos values.
2371 * math/s_ccoshf.c: Likewise.
2372 * math/s_ccoshl.c: Likewise.
2373 * math/s_csin.c: Likewise.
2374 * math/s_csinf.c: Likewise.
2375 * math/s_csinl.c: Likewise.
2376 * math/s_csinh.c: Likewise.
2377 * math/s_csinhf.c: Likewise.
2378 * math/s_csinhl.c: Likewise.
2379 * math/libm-test.inc (ccos_test): Add more tests.
2380 (ccosh_test): Likewise.
2381 (csin_test): Likewise.
2382 (csinh_test): Likewise.
2383 * sysdeps/i386/fpu/libm-test-ulps: Update.
2384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2385
6ad13e08
L
23862012-05-19 H.J. Lu <hongjiu.lu@intel.com>
2387
f66f0ce8
L
2388 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2389 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2390
6ad13e08
L
2391 * sysdeps/x86_64/x32/_itoa.h: Add comment.
2392
b1d072a7
JM
23932012-05-19 Joseph Myers <joseph@codesourcery.com>
2394
2395 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2396 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2397 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2398 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2399 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2400 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2401 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2402 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2403 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2404 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2405 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2406 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2407 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2408 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2409 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2410 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2411 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2412 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2413 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2414 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2415 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2416 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2417 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2418 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2419 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2420 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2421 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2422 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2423 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2424 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2425 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2426
9eae47cb
AJ
24272012-05-18 Andreas Jaeger <aj@suse.de>
2428
2429 * csu/.gitignore: Delete.
2430
bb07f69f
L
24312012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2432
2433 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2434 (timex): Use __syscall_slong_t.
2435
e6bdb741
AJ
24362012-05-18 Andreas Jaeger <aj@suse.de>
2437 Carlos O'Donell <carlos_odonell@mentor.com>
2438
2439 * manual/install.texi (Configuring and compiling): Update
2440 description about files modified in the source directory.
d6c33fda 2441 * INSTALL: Regenerated.
e6bdb741 2442
1b74487e
L
24432012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2444
2445 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2446 value. Use "or" to set return value to -1.
2447 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2448 negate return value.
2449
a88b64b9
TMQMF
24502012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2451
2452 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2453 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2454 failure if the compiler has Graphite support disabled.
2455 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2456 Likewise.
2457 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2458 CFLAGS-memmove.c): Likewise.
2459 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2460 Likewise.
2461
3707636e
L
24622012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2463
610b8622
L
2464 * sysdeps/x86_64/x32/_itoa.h: New file.
2465
7cd195df
L
2466 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2467 getdents system call only if kernel and user dirents have the
2468 same d_ino and d_off.
2469
94b07d20
L
2470 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2471 LLONG_MAX != LONG_MAX.
2472 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2473 (_fitoa_word): Likewise.
2474
18298070
L
2475 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2476 years.
2477 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2478 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2479 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2480
553c7ea4
L
2481 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2482 include <bits/wordsize.h>. Check __x86_64__ instead of
2483 __WORDSIZE.
2484 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2485 if __x86_64__ is defined. Use anonymous union on fpstate.
2486
3707636e
L
2487 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2488 anonymous union.
2489
b53ef01a
AS
24902012-05-18 Andreas Schwab <schwab@linux-m68k.org>
2491
37fb1dc0
AS
2492 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2493 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
2494 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
2495 Refer to _rtld_local_ro instead of _rtld_global_ro.
2496 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
2497 Likewise.
2498 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
2499 Likewise.
2500 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
2501 Likewise.
2502 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2503 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2504 of _rtld_global, and rtld_progname instead of _dl_argv[0].
2505
b53ef01a
AS
2506 * sysdeps/powerpc/powerpc32/dl-machine.c
2507 (__elf_machine_runtime_setup) [PROF]: Don't reference
2508 _dl_prof_resolve.
2509
7a185db2
AJ
25102012-05-18 Andreas Jaeger <aj@suse.de>
2511
2512 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2513 function only available for GCCs before 3.4 since GCC 3.4
2514 introduced a builtin.
2515 (lrint): Likewise.
2516 (llrintf): Likewise.
2517 (llrint): Likewise.
2518 (fmaxf): Likewise.
2519 (fmax): Likewise.
2520 (fminf): Likewise.
2521 (fmin): Likewise.
2522 (rint): Likewise.
2523 (rintf): Likewise.
2524 (nearbyint): Likewise.
2525 (nearbyintf): Likewise.
2526 (ceil): Likewise.
2527 (ceilf): Likewise.
2528 (floor): Likewise.
2529 (floorf): Likewise.
2530
3e5aef87
L
25312012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2532
428bd707
L
2533 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2534 on both fields and cast pointer to __syscall_ulong_t.
2535
3e5aef87
L
2536 * bits/types.h (__fsword_t): New type.
2537 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2538 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2539 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2540 (__FSWORD_T_TYPE): Likewise.
2541 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2542 (__FSWORD_T_TYPE): Likewise.
2543 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2544 (__FSWORD_T_TYPE): Likewise.
2545 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2546 (__FSWORD_T_TYPE): Likewise.
2547 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2548 __SWORD_TYPE with __fsword_t.
2549 (statfs64): Likewise.
2550
1ba7c3dc
DM
25512012-05-17 David S. Miller <davem@davemloft.net>
2552
2553 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2554
59910343
AJ
25552012-05-17 Andreas Jaeger <aj@suse.de>
2556
2557 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2558 warning.
2559
2e4c1e9e
L
25602012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2561
2562 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2563
de7f5ce7
AJ
25642012-05-17 Andreas Jaeger <aj@suse.de>
2565
2566 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2567 when it is used.
2568
286abc3d
CM
25692012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2570
2571 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2572
477cc68e
L
25732012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2574
2575 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2576 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2577
1a0994f5
CD
25782012-05-17 Andreas Jaeger <aj@suse.de>
2579 Carlos O'Donell <carlos_odonell@mentor.com>
2580
2581 [BZ #14059]
2582 * sysdeps/x86_64/multiarch/init-arch.h
2583 (bit_YMM_Usable): Rename to...
2584 (bit_AVX_Usable): ... this.
2585 (bit_FMA4_Usable): New macro.
2586 (bit_XMM_state): New macro.
2587 (bit_YMM_state): New macro.
2588 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2589 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2590 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2591 (CPUID_OSXSAVE): New macro.
2592 (CPUID_AVX): New macro.
2593 (CPUID_FMA4): New macro.
2594 (index_YMM_Usable): Rename to...
2595 (index_AVX_Usable): ... this.
2596 (HAS_AVX): Use HAS_ARCH_FEATURE.
2597 (HAS_FMA4): Likewise.
2598 (HAS_YMM_USABLE): Remove.
2599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2600 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2601 are present.
2602 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2603 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2604 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2605 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2606 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2607
0af797de
CM
26082012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2609
2610 * math/libm-test.c: Support platforms without multiple rounding modes.
2611 * math/bug-nextafter.c: Support platforms without FP exceptions.
2612 * math/bug-nexttoward.c: Likewise.
2613 * math/test-fenv.c: Likewise.
2614 * math/test-misc.c: Likewise.
2615 * stdlib/bug-getcontext.c: Likewise.
2616
e39745ff
AJ
26172012-05-17 Andreas Jaeger <aj@suse.de>
2618
2619 * manual/examples/search.c (critter_cmp): Change signature to
2620 avoid warnings.
2621 * manual/string.texi (Collation Functions): Likewise.
2622
48970aba
L
26232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2624
2625 * bits/types.h: Fold copyright years.
2626 * bits/typesizes.h: Likewise.
2627 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2628 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2629 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2630 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2631 * time/time.h: Likewise.
2632
bedee953
PP
26332012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2634
2635 [BZ #208]
2636 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2637 in instead of returning them. Return void.
2638 (__libc_mallinfo): Accumulate over all arenas.
2639 (__malloc_stats): Adjust for change in int_mallinfo interface.
2640
61653dfb
RM
26412012-05-16 Roland McGrath <roland@hack.frob.com>
2642
30b99d79
RM
2643 [BZ #10375]
2644 * configure.in (NM): Add AC_CHECK_TOOL for it.
2645 (libc_extra_cflags): New substituted variable.
2646 Check for -fstack-protector being used implicitly.
2647 * configure: Regenerated.
2648 * config.make.in (config-extra-cflags): New variable,
2649 gets @libc_extra_cflags@.
2650 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2651
61653dfb
RM
2652 [BZ #10375]
2653 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2654 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2655 * configure: Regenerated.
2656 * config.make.in (CPPUNDEFS): New substituted variable.
2657 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2658 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2659 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2660
661768bb
L
26612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2662
2663 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2664 (mq_attr): Use __syscall_slong_t.
2665
d4261567
L
26662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2667
2668 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2669 Check __x86_64__ instead of __WORDSIZE.
2670 (_STAT_VER_LINUX): Likewise.
2671 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2672 __syscall_ulong_t and __syscall_slong_t.
2673 (stat64): Likewise.
2674
cf3ff365
L
26752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2676
2677 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2678
76cf3e4d
L
26792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2680
2681 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2682
a637753a
L
26832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2684
2685 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2686 __syscall_ulong_t.
2687
d5e05119
L
2688 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2689 include <bits/wordsize.h>. Check __x86_64__ instead of
2690 __WORDSIZE.
2691 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2692 defined.
2693 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2694
f62ee380
L
2695 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2696 include <bits/wordsize.h>. Check __x86_64__ instead of
2697 __WORDSIZE.
2698 (user_regs_struct): Use "__extension__ unsigned long long"
2699 instead of "unsigned long" if __x86_64__ is defined.
2700 (user): Likewise. Pad after pointer field if __ILP32__ is
2701 defined.
2702
4e124ced
JM
27032012-05-16 Joseph Myers <joseph@codesourcery.com>
2704
6a3951a0
JM
2705 * configure.in (makeinfo): Require version 4.5 or later. Allow
2706 versions 5 to 9.
2707 * configure: Regenerated.
2708 * manual/install.texi (texinfo): Increase version requirement to
2709 4.5 or later.
2710 * INSTALL: Regenerated.
2711
4e124ced
JM
2712 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2713
953ca31a
L
27142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2715
2716 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2717
617aca05
L
2718 * sysdeps/x86_64/x32/ffs.c: New file.
2719
5762f7ae
L
2720 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2721 __syscall_ulong_t.
2722 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2723 defined. Use __syscall_ulong_t.
2724 (shminfo): Use __syscall_ulong_t.
2725 (shm_info): Likewise.
2726
a26b6856
L
2727 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2728 __syscall_ulong_t.
2729
cb2b9ef7
L
2730 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2731 <bits/wordsize.h>.
2732 (msgqnum_t): Use __syscall_ulong_t.
2733 (msglen_t): Likewise.
2734 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2735 __syscall_ulong_t.
2736
34683bb0
L
2737 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2738 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2739
84a68786
L
2740 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2741
48baa5f1
L
2742 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2743 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2744
180be88b
L
2745 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2746 __syscall_slong_t.
2747
5e90c8ad
L
2748 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2749 include <bits/wordsize.h>. Check __x86_64__ instead of
2750 __WORDSIZE.
2751
23dfb58b
L
2752 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2753 "unsigned long long int" if __x86_64__ is defined.
2754 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2755
ce5d54b0
L
2756 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2757 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2758 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2759
13dc9eac
L
2760 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2761 <stdint.h>.
2762 (GET_PC): Cast to uintptr_t first.
2763 (GET_FRAME): Likewise.
2764 (GET_STACK): Likewise.
2765
a7895d15
L
2766 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2767 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2768 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2769 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2770 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2771 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2772 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2773 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2774 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2775 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2776 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2777 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2778 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2779 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2780 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2781 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2782 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2783 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2784 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2785 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2786 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2787 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2788 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2789 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2790 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2791 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2792 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2793 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2794 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2795
656416c9
AS
27962012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2797
5bd66283
AS
2798 * Makerules (+depfiles): Also collect depfiles from .oS in
2799 $(extra-objs).
2800 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2801 .oS, $(libnldbl-routines)).
2802
656416c9
AS
2803 * Makerules (native-compile-mkdep-flags): Define.
2804 * sunrpc/Makefile (extra-objs): Add $(addprefix
2805 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2806 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2807 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2808 calling $(make-target-directory).
2809
a46f2169
L
28102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2811
2812 * bits/types.h (__snseconds_t): Removed.
2813 * time/time.h (struct timespec): Replace __snseconds_t with
2814 __syscall_slong_t.
2815 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2816 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2817 Likewise.
2818 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2819 (__SNSECONDS_T_TYPE): Likewise.
2820 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2821 (__SNSECONDS_T_TYPE): Likewise.
2822 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2823 (__SNSECONDS_T_TYPE): Likewise.
2824
6af6528b
L
28252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2826
2827 * sysdeps/mach/hurd/bits/typesizes.h
2828 (__SYSCALL_SLONG_TYPE): New macro.
2829 (__SYSCALL_ULONG_TYPE): Likewise.
2830
de986b56
L
28312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2832
2833 * bits/types.h (__syscall_slong_t): New type.
2834 (__syscall_ulong_t): Likewise.
2835
2836 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2837 (__SYSCALL_ULONG_TYPE): Likewise.
2838 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2839 (__SYSCALL_SLONG_TYPE): Likewise.
2840 (__SYSCALL_ULONG_TYPE): Likewise.
2841 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2842 (__SYSCALL_SLONG_TYPE): Likewise.
2843 (__SYSCALL_ULONG_TYPE): Likewise.
2844 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2845 (__SYSCALL_SLONG_TYPE): Likewise.
2846 (__SYSCALL_ULONG_TYPE): Likewise.
2847
85736dc7
L
28482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2849
2850 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2851 Add sigaltstack-offsets.sym.
2852 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2853 <sigaltstack-offsets.h>.
2854 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2855 longjmp_msg pointer.
2856 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2857 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2858 signal stack.
2859 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2860
cc03b296
JM
28612012-05-15 Joseph Myers <joseph@codesourcery.com>
2862
a9538892
JM
2863 * elf/stackguard-macros.h: Remove file.
2864 * sysdeps/generic/stackguard-macros.h: New file.
2865 * sysdeps/i386/stackguard-macros.h: Likewise.
2866 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2867 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2868 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2869 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2870 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2871 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2872 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2873 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2874 <elf/stackguard-macros.h>.
2875
cc03b296
JM
2876 [BZ #14109]
2877 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2878 __aligned__ in attribute.
2879 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2880 (gregset_t): Likewise.
2881
93171016
L
28822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2883
2884 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2885 * sysdeps/x86_64/64/Implies-after: Here. New file.
2886 * sysdeps/x86_64/x32/Implies-after: New file.
2887
d86813a0
L
28882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2889
2890 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2891 and access return value for _dl_profile_fixup. Use R10_LP to
2892 load frame size.
2893
2953ec75
L
28942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2895
2896 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2897
3b550e9e
L
28982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2899
2900 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2901 * sysdeps/x86_64/x32/sysdep.h: New file.
2902
eda41706
L
29032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2904
2905 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2906 * sysdeps/x86_64/setjmp.S: Likewise.
2907
9ea01d93
AZ
29082012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2909
2910 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2911 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2912 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2913 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2914 remove unused global constant.
2915
02a91938
CM
29162012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2917
2918 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2919 include of <not-cancel.h>.
2920
6540185f
RM
29212012-05-15 Roland McGrath <roland@hack.frob.com>
2922
2923 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2924
509072a0
AJ
29252012-05-15 Jeff Law <law@redhat.com>
2926 Andreas Jaeger <aj@suse.de>
2927
2928 [BZ #13594]
2929 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2930 out from...
2931 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2932 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2933 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2934 code changing __hst_map_handle.map.
2935
ba75122d
RM
29362012-05-15 Roland McGrath <roland@hack.frob.com>
2937
2938 * configure.in (sysnames): Look for Implies-before and Implies-after
2939 files.
2940 * configure: Regenerated.
2941
890d8bd8
L
29422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2943
2944 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2945 8-byte data alignment with LP_SIZE alignment.
2946
f6ee6623
L
29472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2948
2949 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2950 into R10_LP.
2951
ea2626f6
L
29522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2953
2954 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2955
085f715e
L
29562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2957
2958 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2959 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2960 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2961 Likewise.
2962 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2963
be8498fc
L
29642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2965
2966 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2967 (stackinfo_sub_sp): Likewise.
2968
70bc83b9
L
29692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2970
2971 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2972 RAX_LP.
2973
9bc0b730
L
29742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2975
2976 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2977 into R*_LP.
2978
6d2850e7
L
29792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2980
2981 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2982 sizes into R*_LP.
2983
3cb84561
L
29842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2985
2986 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2987
54e2ed81
L
29882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2989
2990 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2991 into R11_LP and load __x86_64_shared_cache_size_half into
2992 R8_LP.
2993
8a17f349
L
29942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2995
2996 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2997 R8_LP.
2998
777b1eea
AZ
29992012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3000
3001 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3002 logb for POWER7.
3003 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3004 logbf for POWER7.
3005 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3006 logbl for POWER7.
3007 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3008 powerpc32/power7/fpu/s_logb.c via #include.
3009 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3010 powerpc32/power7/fpu/s_logbf.c via #include.
3011 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3012 powerpc32/power7/fpu/s_logbl.c via #include.
3013
d20d4ac2
JM
30142012-05-15 Joseph Myers <joseph@codesourcery.com>
3015
3016 * README.libm: Remove file.
3017
6cdef1ab
L
30182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3019
3020 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3021 count for x32. Use R*_LP and omit operand-size suffix.
3022
0b254d8f
L
30232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3024
3025 * shlib-versions: Move x86_64-.*-linux.* entries to ...
3026 * sysdeps/x86_64/64/shlib-versions: Here. New file.
3027 * sysdeps/x86_64/x32/shlib-versions: New file.
3028
ceb809dc
RM
30292012-05-14 Roland McGrath <roland@hack.frob.com>
3030
3031 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3032 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3033 Use _dl_fatal_printf instead.
3034
37f1abd4
JM
30352012-05-14 Joseph Myers <joseph@codesourcery.com>
3036
3037 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3038 set if not set by the user. Do not allow for being unset.
3039 * sysdeps/unix/sysv/linux/configure: Regenerated.
3040
11de3a33
L
30412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3042
3043 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3044 the `q' suffix from lea and replace .quad with ASM_ADDR.
3045
e02f153a
L
30462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3047
3048 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3049 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
3050 instead of $17.
3051 (PTR_DEMANGLE): Likewise.
3052
520ae0fd
L
30532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3054
3055 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3056 (LP_OP): Likewise.
3057 (ASM_ADDR): Likewise.
3058 (RAX_LP): Likewise.
3059 (RBP_LP): Likewise.
3060 (RBX_LP): Likewise.
3061 (RCX_LP): Likewise.
3062 (RDI_LP): Likewise.
3063 (RSI_LP): Likewise.
3064 (RSP_LP): Likewise.
3065 (R8_LP): Likewise.
3066 (R9_LP): Likewise.
3067 (R10_LP): Likewise.
3068 (R10_LP): Likewise.
3069 (R11_LP): Likewise.
3070 (R12_LP): Likewise.
3071 (R13_LP): Likewise.
3072 (R14_LP): Likewise.
3073 (R15_LP): Likewise.
3074
b985be81
L
30752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3076
3077 * sysdeps/x86_64/x32/dl-machine.h: New file.
3078
6a4888ff
AJ
30792012-05-14 Andreas Jaeger <aj@suse.de>
3080
3081 * manual/Makefile (subdir): Remove export of subdir.
3082 (all): Remove target.
3083 (.PHONY): Remove all from list.
3084 (mkinstalldirs): Remove.
3085 (.PHONY): Remove installdirs from list.
3086 ($(inst_infodir)/libc.info): Use make-target-directory.
3087 (installdirs): Remove.
3088 (subdir_%): Remove.
3089 (glibc-targets): Remove.
3090 (lib): Remove.
3091 (stubs): Remove.
3092 ($(objpfx)stubs ../po/manual.pot): Remove.
3093 ($(objpfx)stamp%): Remove.
3094 (make-target-directory): Remove.
3095 (subdir_install): Remove.
3096 (routines): Remove.
3097 (aux): Remove.
3098 (sources): Remove.
3099 (objects): Remove.
3100 (headers): Remove.
3101
3102 [BZ #13750]
3103 * manual/.gitignore: Remove, it's not needed anymore.
3104 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3105 all files in it.
3106 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3107 directory.
3108 (texis): Renamed to $(objpfx)texis.
3109 (texis-path): New, contains path to generated files.
3110 (chapters.%): Use texis-path for complete path, add extra argument
3111 libc-texinfo.sh.
3112 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3113 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3114 (summary,texi, stamp-summary): Use complete path of
3115 files. Generate files in build dir.
3116 (dir-add.texi): Build in build dir.
3117 (libm-err.texi,stamp-libm-err): Likewise.
3118 (version.texi, stamp-version): Likewise.
3119 (.%c.texi): Likewise.
3120 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3121 (mostlyclean): Remove target.
3122 (realclean): Remove target.
3123 (generated): Add new variable with contents from mostlyclean and
3124 realclean, remove entries duplicated in common-mostlyclean, add
3125 stamp-libm-err and stamp-version.
3126 (generated-dirs): Add libc directory.
3127 ($(inst_infodir)/libc.info): Install files from build dir.
3128
3129 * manual/install.texi (Configuring and compiling): Adjust since
3130 the info files are not part of the tar ball anymore.
3131
7ac77294
AJ
31322012-05-14 Andreas Jaeger <aj@suse.de>
3133
3134 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3135 variable.
3136
ffb7875d
JM
31372012-05-14 Joseph Myers <joseph@codesourcery.com>
3138
3139 [BZ #13717]
3140 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3141 to 2.2.0 where earlier.
3142 * sysdeps/unix/sysv/linux/configure: Regenerated.
3143 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3144 Remove conditional code.
3145 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3146 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3147 Remove conditional code.
3148 [!__NR_lchown]: Likewise.
3149 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3150 [__NR_lchown]: Likewise.
3151 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3152 comment referencing __ASSUME_LCHOWN_SYSCALL.
3153 * sysdeps/unix/sysv/linux/i386/sigaction.c
3154 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3155 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3156 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3157 Remove conditional code.
3158 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3159 (__protocol_available): Remove #if 0 code.
3160 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3161 conditional code.
3162 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3163 * sysdeps/unix/sysv/linux/kernel-features.h
3164 (__ASSUME_GETCWD_SYSCALL): Don't define.
3165 (__ASSUME_REALTIME_SIGNALS): Likewise.
3166 (__ASSUME_PREAD_SYSCALL): Likewise.
3167 (__ASSUME_PWRITE_SYSCALL): Likewise.
3168 (__ASSUME_POLL_SYSCALL): Likewise.
3169 (__ASSUME_LCHOWN_SYSCALL): Likewise.
3170 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3171 non-SPARC.
3172 (__ASSUME_SIOCGIFNAME): Don't define.
3173 (__ASSUME_MSG_NOSIGNAL): Likewise.
3174 (__ASSUME_SENDFILE): Define unconditionally.
3175 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3176 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3177 conditional code.
3178 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3179 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3180 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3181 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3182 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3183 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3184 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3186 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3187 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3189 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3190 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3192 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3193 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3195 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3196 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3198 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3199 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3201 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3202 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3204 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3205 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3207 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3208 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3209 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3210 Remove conditional code.
3211 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3212 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3213 Remove conditional code.
3214 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3215 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3216 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3217 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3218 Remove conditional code.
3219 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3220 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3221 Remove conditional code.
3222 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3223 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3224 Remove conditional code.
3225 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3226 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3227 Remove conditional code.
3228 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3229 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3230 Remove conditional code.
3231 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3232 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3233 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3234 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3235 * sysdeps/unix/sysv/linux/sigaction.c
3236 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3237 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3238 * sysdeps/unix/sysv/linux/sigpending.c
3239 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3240 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3241 * sysdeps/unix/sysv/linux/sigprocmask.c
3242 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3243 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3244 * sysdeps/unix/sysv/linux/sigsuspend.c
3245 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3246 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3247 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3248 (__libc_missing_rt_sigs): Remove.
3249 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3250 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3251 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3252 Remove conditional code.
3253 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3254 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3255 return 1.
3256 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3257 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3258 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3259 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3260
1bfb7291
AJ
32612012-05-14 Andreas Jaeger <aj@suse.de>
3262
caae5a81
AJ
3263 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3264 it's not used in glibc.
3265 (__coshm1): Likewise.
3266 (__acosh1p): Likewise.
3267 (__sgn): Likewise.
3268
1bfb7291
AJ
3269 * manual/string.texi (Copying and Concatenation): Add missing
3270 variable in concat example.
3271 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3272
c044d724
L
32732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3274
144c5467 3275 [BZ #14103]
c044d724
L
3276 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3277 __builtin_clzl with __builtin_clzll.
3278
2523c62b
L
32792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3280
3281 [BZ #14104]
3282 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3283 libc_freeres_ptr.
3284
d7bb4c42
LD
32852012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3286
3287 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3288 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3289 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3290 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3291
9dc4e1fb
MF
32922012-05-14 Mike Frysinger <vapier@gentoo.org>
3293
3294 * NEWS: Update ia64 info.
3295
c7df0112
AS
32962012-05-12 Andreas Schwab <schwab@linux-m68k.org>
3297
3298 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3299 used as bcopy.
3300
dc70356c
TS
33012012-05-12 Thomas Schwinge <thomas@codesourcery.com>
3302
3303 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3304 * sysdeps/unix/syscalls.list (dup3): Likewise.
3305 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3306 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3307
9fb1a21f
L
33082012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3309
3310 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3311 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3312
4822a2a5
L
33132012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3314
3315 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3316 thread pointer.
3317 (TLS_IE): Use mov/add instead of movq/addq to load thread
3318 pointer.
3319 (TLS_GD_PREFIX): New.
3320 (TLS_GD): Use it.
3321
842b81d6
DM
33222012-05-11 David S. Miller <davem@davemloft.net>
3323
3324 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3325 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3326 (_FPU_SETCW): Likewise.
3327
1cf463cd
L
33282012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3329
3330 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3331 is 32-byte aligned.
3332
60cc4a18
AS
33332012-05-11 Andreas Schwab <schwab@linux-m68k.org>
3334
3335 [BZ #11837]
3336 * iconvdata/gb18030.c: Update tables.
3337 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
3338 characters specially.
3339 (BODY for TO_LOOP): Add encoding of missing ranges.
3340
febb44a4
TS
33412012-05-11 Thomas Schwinge <thomas@codesourcery.com>
3342
3343 [BZ #13673]
3344 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3345 * sysdeps/mach/hurd/dup3.c: Likewise.
3346 * sysdeps/mach/hurd/readlinkat.c: Likewise.
3347 * sysdeps/powerpc/memmove.c:: Likewise.
3348
0a10fb9e
L
33492012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3350
3351 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3352 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3353
df8a552f
L
33542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3355
3356 * elf/elf.h (R_X86_64_RELATIVE64): New.
3357 (R_X86_64_NUM): Updated.
3358 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3359 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
3360 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3361 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3362 tst-quad1pie tst-quad2pie
3363 (modules-names): Add tst-quadmod1 tst-quadmod2.
3364 ($(objpfx)tst-quad1): New dependency.
3365 ($(objpfx)tst-quad2): Likewise.
3366 ($(objpfx)tst-quad1pie): Likewise.
3367 ($(objpfx)tst-quad2pie): Likewise.
3368 * sysdeps/x86_64/tst-quad1.c: New file.
3369 * sysdeps/x86_64/tst-quad1pie.c: New file.
3370 * sysdeps/x86_64/tst-quad2.c: Likewise.
3371 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3372 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3373 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3374 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3375 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3376
f34d6f84
ST
33772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3378
f42d41d1
ST
3379 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3380 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3381 * streams/stropts.h (t_scalar_t): Define type.
3382
3c3571fc
ST
3383 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3384 (_PATH_PRESERVE): Set to "/var/lib".
3385 (_PATH_RWHODIR): Set to "/var/spool/rwho".
3386
61f06bd3
ST
3387 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3388 instead of int.
3389
918d4d71
ST
3390 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3391 if __dir_mkfile succeeded.
3392
f34d6f84
ST
3393 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3394 checking for _hurd_dtablesize. Unlock it right after having
3395 finished _hurd_dtable allocation.
3396
10589b4a
TS
33972012-05-10 Thomas Schwinge <thomas@schwinge.name>
3398
674cdbc7
TS
3399 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3400 * sysdeps/mach/hurd/configure: Regenerated.
3401 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3402 special-casing to...
3403 * sysdeps/gnu/configure.in: ... this new file.
3404 * sysdeps/unix/sysv/linux/configure: Regenerated.
3405 * sysdeps/gnu/configure: New generated file.
3406
8e41b99f
TS
3407 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3408 for Linux: use nsec instead of usec, as well as:
3409 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3410 members of type struct timespec.
3411 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3412 New macros.
3413 (struct stat64): Likewise.
3414 (_STATBUF_ST_NSEC): New macro.
3415 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3416
10589b4a
TS
3417 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3418 __strtoul_internal rather than strtoul.
3419
63643c85
PT
34202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3421
3422 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3423 and reject them.
3424
3faebe6a
ST
34252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3426
3427 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3428 which preserves existing values.
3429 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3430
c6474b07
PT
34312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3432
3433 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3434 TIMEOUT values. Return EINVAL for NFDS values either negative or
3435 greater than FD_SETSIZE.
3436
1043890b
ST
34372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3438
3439 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3440 allocated, call __vm_protect to finish enabling the existing space, and
3441 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3442 allocate the remainder.
3443
37ed8b9b
PT
34442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3445
3446 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3447 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
3448
db653660
ST
34492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3450
37ed8b9b
PT
3451 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3452 sysdeps/mach/hurd/readlink.c.
b29d4053 3453
db653660
ST
3454 * posix/tst-sysconf.c (posix_options): Only use
3455 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3456 _POSIX_SYNCHRONIZED_IO when they are defined
3457 * sysdeps/mach/hurd/bits/posix_opt.h:
3458 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3459 (_XOPEN_REALTIME): Undefine macro.
3460 (_XOPEN_REALTIME_THREADS): Undefine macro.
3461 (_XOPEN_SHM): Undefine macro.
3462 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3463 macro to -1.
3464 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3465 macro to -1.
3466 (_POSIX_ASYNC_IO): Undefine macro.
3467 (_POSIX_PRIORITIZED_IO): Undefine macro.
3468 (_POSIX_SPIN_LOCKS): Define macro to -1.
3469
ee16e894
ST
3470 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3471 SA_NODEFER, SA_RESETHAND.
3472 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3473 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3474 F_DUPFD_CLOEXEC.
3475
6103ae3b
TS
34762012-05-10 Thomas Schwinge <thomas@schwinge.name>
3477
3478 * elf/Makefile (pldd-modules): Define unconditionally.
3479
80b4e5f3
TS
34802012-05-10 Thomas Schwinge <thomas@schwinge.name>
3481
3482 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3483
edadcbd6
ST
34842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3485
3486 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3487 Return ENOENT when name is empty.
3488 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3489
80694780
TS
34902012-05-10 Thomas Schwinge <thomas@schwinge.name>
3491
1792c087
TS
3492 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
3493
80694780
TS
3494 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
3495
6b645f0d
ST
34962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3497
80694780
TS
3498 Fix mlock in all cases except non-readable pages.
3499 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
3500 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 3501
6b645f0d
ST
3502 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3503 (__mkdir): When path is `/', just fail with EEXIST.
3504 * sysdeps/mach/hurd/mkdirat.c: Likewise.
3505
e468f8a3
TS
35062012-05-10 Thomas Schwinge <thomas@schwinge.name>
3507
3508 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3509 <sys/uio.h> (for writev).
3510 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3511 and <sys/param.h> (for MIN).
3512
a4186cff
PT
35132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3514
3515 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
3516 REQUESTED_TIME. Properly set the remaining time and return EINTR
3517 if interrupted.
3518
510bbf14
TS
35192012-05-10 Thomas Schwinge <thomas@schwinge.name>
3520
3521 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3522 Depend on against $(link-rpcuserlibs).
3523
5d5722e8
ST
35242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3525
a4186cff
PT
3526 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3527 (__libc_stack_end): Do not use attribute_relro.
3528 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3529 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 3530 to libthread-provided value.
a4186cff
PT
3531 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3532 attribute_relro.
5d5722e8 3533
37233df9
TS
35342012-05-10 Thomas Schwinge <thomas@schwinge.name>
3535
be971a2b
TS
3536 [BZ #3748]
3537 * bits/libc-lock.h (__libc_once_get): New macro.
3538 * sysdeps/mach/bits/libc-lock.h: Likewise.
3539 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3540 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3541 instead of using implementation details.
3542
37233df9
TS
3543 * libio/fileops.c: Unconditionally include <kernel-features.h>.
3544 * libio/freopen.c: Likewise.
3545 * libio/freopen64.c: Likewise.
3546 * misc/syslog.c: Likewise.
3547 * nscd/connections.c: Likewise.
3548 * nscd/netgroupcache.c: Likewise.
3549 * sysdeps/posix/getcwd.c: Likewise.
3550
38de94a5
RM
35512012-05-10 Roland McGrath <roland@hack.frob.com>
3552
3553 * math/w_ilogbf.c: Add #include <limits.h>.
3554
67530489
ST
35552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3556
a4186cff 3557 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
3558 path instead of returning without unlocking.
3559
67530489
ST
3560 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3561 immediate-write ioctls.
3562 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3563
5aa3a74a
TS
35642012-05-10 Thomas Schwinge <thomas@schwinge.name>
3565
18bad2ae
TS
3566 * sysdeps/mach/hurd/i386/init-first.c (init): Use
3567 __builtin_frame_address instead of making assumptions about the
3568 location of the return address relative to DATA. Force early load of
3569 the return address.
3570 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3571 __builtin_frame_address.
3572
5aa3a74a
TS
3573 dup3 for GNU Hurd.
3574 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3575 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3576 implement dup3 and do some further code clean-ups.
3577 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3578 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3579
ecd0de9a
ST
35802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3581
cd9fa985
ST
3582 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3583
a4186cff
PT
3584 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3585 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3586 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3587 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3588 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3589 d->port.lock.
802ca5a5 3590
a4186cff
PT
3591 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3592 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3593 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 3594
bcf55240
TS
35952012-05-10 Thomas Schwinge <thomas@schwinge.name>
3596
6960eb42
TS
3597 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3598 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3599 definitions.
3600
eb43375f
TS
3601 accept4 for GNU Hurd.
3602 * include/sys/socket.h (__libc_accept4): New prototype.
3603 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3604 to implement __libc_accept4.
3605 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3606 __libc_accept4.
3607 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3608
bcf55240
TS
3609 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3610 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3611 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3612 signal-defines.sym.
3613
6178c55b
ST
36142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3615
a4186cff 3616 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 3617
6f080c2f
TS
36182012-05-10 Thomas Schwinge <thomas@schwinge.name>
3619
3620 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3621 assertion on O_CLOEXEC flag.
3622 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3623 * hurd/intern-fd.c: Likewise.
3624 * hurd/port2fd.c: Likewise.
3625
bcfe3a54
ST
36262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3627
3628 [BZ #3906]
3629 * bits/in.h (IPV6_PKTINFO): Define new macro.
3630 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3631
89c9aa49
AZ
36322012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3633
3634 [BZ #13954]
3635 [BZ #13955]
3636 [BZ #13956]
3637 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3638 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3639 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3640 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3641 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3642 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3643 * math/libm-test.inc (logb_test) : Additional logb tests.
3644
021db4be
AJ
36452012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3646 Andreas Jaeger <aj@suse.de>
3647
3648 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3649 * configure: Regenerated.
3650 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3651 * config.make.in (link-obsolete-rpc): New substituted variable.
3652 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3653 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3654 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3655 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3656 so that libc.a contains the symbols.
3657 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3658 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3659 * sunrpc/auth_none.c: Likewise.
3660 * sunrpc/auth_unix.c: Likewise.
3661 * sunrpc/authdes_prot.c: Likewise.
3662 * sunrpc/authuxprot.c: Likewise.
3663 * sunrpc/clnt_gen.c: Likewise.
3664 * sunrpc/clnt_perr.c: Likewise.
3665 * sunrpc/clnt_raw.c: Likewise.
3666 * sunrpc/clnt_simp.c: Likewise.
3667 * sunrpc/clnt_tcp.c: Likewise.
3668 * sunrpc/clnt_udp.c: Likewise.
3669 * sunrpc/clnt_unix.c: Likewise.
3670 * sunrpc/des_crypt.c: Likewise.
3671 * sunrpc/des_soft.c: Likewise.
3672 * sunrpc/get_myaddr.c: Likewise.
3673 * sunrpc/key_call.c: Likewise.
3674 * sunrpc/key_prot.c: Likewise.
3675 * sunrpc/netname.c: Likewise.
3676 * sunrpc/pm_getmaps.c: Likewise.
3677 * sunrpc/pm_getport.c: Likewise.
3678 * sunrpc/pmap_clnt.c: Likewise.
3679 * sunrpc/pmap_prot.c: Likewise.
3680 * sunrpc/pmap_prot2.c: Likewise.
3681 * sunrpc/pmap_rmt.c: Likewise.
3682 * sunrpc/publickey.c: Likewise.
3683 * sunrpc/rpc_cmsg.c: Likewise.
3684 * sunrpc/rpc_common.c: Likewise.
3685 * sunrpc/rpc_dtable.c: Likewise.
3686 * sunrpc/rpc_prot.c: Likewise.
3687 * sunrpc/rpc_thread.c: Likewise.
3688 * sunrpc/rtime.c: Likewise.
3689 * sunrpc/svc.c: Likewise.
3690 * sunrpc/svc_auth.c: Likewise.
3691 * sunrpc/svc_raw.c: Likewise.
3692 * sunrpc/svc_run.c: Likewise.
3693 * sunrpc/svc_tcp.c: Likewise.
3694 * sunrpc/svc_udp.c: Likewise.
3695 * sunrpc/svc_unix.c: Likewise.
3696 * sunrpc/svcauth_des.c: Likewise.
3697 * sunrpc/xcrypt.c: Likewise.
3698 * sunrpc/xdr.c: Likewise.
3699 * sunrpc/xdr_array.c: Likewise.
3700 * sunrpc/xdr_float.c: Likewise.
3701 * sunrpc/xdr_intXX_t.c: Likewise.
3702 * sunrpc/xdr_mem.c: Likewise.
3703 * sunrpc/xdr_rec.c: Likewise.
3704 * sunrpc/xdr_ref.c: Likewise.
3705 * sunrpc/xdr_sizeof.c: Likewise.
3706 * sunrpc/xdr_stdio.c: Likewise.
3707
b5c086a2
RM
37082012-05-10 Roland McGrath <roland@hack.frob.com>
3709
3710 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3711 change. Update copyright years.
3712
6d74dd09
JM
37132012-05-10 Joseph Myers <joseph@codesourcery.com>
3714
3715 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3716
28e72501
MK
37172012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3718 Joseph Myers <joseph@codesourcery.com>
3719 Paul Pluzhnikov <ppluzhnikov@google.com>
3720
3721 [BZ #14012]
3722 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3723 requiring rpcgen.
3724 [cross-compiling] (extra-libs): Likewise.
3725 [cross-compiling] (extra-libs-others): Likewise.
3726 [cross-compiling] (librpcsvc-routines): Likewise.
3727 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3728 [cross-compiling] (omit-deps): Likewise.
3729 (sunrpc-CPPFLAGS): New variable.
3730 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3731 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3732 (cross-rpcgen-objs): New variable.
3733 (extra-objs): Append $(cross-rpcgen-objs).
3734 ($(cross-rpcgen-objs)): New rule.
3735 ($(objpfx)cross-rpcgen): Likewise.
3736 (rpcgen-cmd): Define to use $(built-program-file). Expand
3737 comment.
3738 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3739 ($(objpfx)x%.stmp): Likewise.
3740 * sunrpc/proto.h [IS_IN_build] (_): Define.
3741 [IS_IN_build] (_libc_intl_domainname): Likewise.
3742
c8c59454
L
37432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3744
3745 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3746 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3747 and R_X86_64_TPOFF64.
3748
6f27cd16
JM
37492012-05-10 Joseph Myers <joseph@codesourcery.com>
3750
3751 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3752 sysdeps/unix/sysv/syscalls.list.
3753 (stime): Likewise.
3754 (utime): Likewise.
3755 * sysdeps/unix/sysv/syscalls.list: Remove file.
3756
02467e1c
PE
37572012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3758
3759 [BZ #3440]
3760 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3761 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3762 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3763 (__LC_IDENTIFICATION): Make these macros useful in #if
3764 expressions, as required by C99.
3765
da392631
AS
37662012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3767
3768 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3769 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3770 after this.
3771
8115f29b
L
37722012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3773
3774 * stdlib/longlong.h: Updated from GCC.
3775
bdd74070
AJ
37762012-05-09 Andreas Jaeger <aj@suse.de>
3777
edfe0dbe
AJ
3778 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3779 default is first entry.
3780 (run_mode): Set type.
3781 (main): Remove informal message about syslog.
3782 (options): Fix typo.
3783
bcfe3a54
ST
3784 [BZ #14053]
3785 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 3786 to asm.
bcfe3a54
ST
3787 (lrint): Likewise.
3788 (llrintf): Likewise.
3789 (llrint): Likewise.
3790 (rint): Likewise.
3791 (rintf): Likewise.
3792 (nearbyint): Likewise.
3793 (nearbyintf): Likewise.
bdd74070 3794
91d8d69e
AJ
37952012-05-09 Andreas Jaeger <aj@suse.de>
3796 Pedro Alves <palves@redhat.com>
3797
3798 * nscd/nscd.c (run_mode): Use enum.
3799 (main): Cleanup coding style issue.
3800
bb90b80b
AJ
38012012-05-09 Alexandre Oliva <aoliva@redhat.com>
3802 Andreas Jaeger <aj@suse.de>
3803
bcfe3a54
ST
3804 * nscd/nscd.c (go_background): Replaced with...
3805 (run_mode): ... this.
bb90b80b 3806 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
3807 (options): Add -F --foreground.
3808 (main): Implement it.
3809 (parse_opt): Parse it.
bb90b80b 3810
1a4b75a1
AJ
38112012-05-09 Andreas Jaeger <aj@suse.de>
3812
3813 [BZ #14083]
3814 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3815 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3816 -Wconversion warning.
3817 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3818 Likewise.
3819
b1cc2472
JM
38202012-05-09 Joseph Myers <joseph@codesourcery.com>
3821
3822 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3823 == 0.
3824 (LC_ALL): Use macro-int-constant.
3825 (LC_COLLATE): Likewise.
3826 (LC_CTYPE): Likewise.
3827 (LC_MESSAGES): Likewise.
3828 (LC_MONETARY): Likewise.
3829 (LC_NUMERIC): Likewise.
3830 (LC_TIME): Likewise.
3831 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3832 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3833 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3834 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3835 Specify type.
3836 [C99-based standards] (float_t): Expect type.
3837 [C99-based standards] (double_t): Expect type.
3838 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3839 type.
3840 [C99-based standards] (HUGE_VALL): Likewise.
3841 [C99-based standards] (INFINITY): Likewise.
3842 [C99-based standards] (NAN): Likewise.
3843 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3844 [C99-based standards] (FP_NAN): Likewise.
3845 [C99-based standards] (FP_NORMAL): Likewise.
3846 [C99-based standards] (FP_SUBNORMAL): Likewise.
3847 [C99-based standards] (FP_ZERO): Likewise.
3848 [C99-based standards] (FP_FAST_FMA): Use
3849 optional-macro-int-constant. Specify type. Require == 1.
3850 [C99-based standards] (FP_FAST_FMAF): Likewise.
3851 [C99-based standards] (FP_FAST_FMAL): Likewise.
3852 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3853 [C99-based standards] (FP_ILOGBNAN): Likewise.
3854 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3855 Specify type.
3856 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3857 [C99-based standards] (math_errhandling): Specify type.
3858 [ISO99 || ISO11] (signgam): Do not allow.
3859 [non-C99-based standards] (copysignf): Do not allow.
3860 [non-C99-based standards] (exp2f): Likewise.
3861 [non-C99-based standards] (log2f): Likewise.
3862 [non-C99-based standards] (modff): Allow.
3863 [non-C99-based standards] (erff): Do not allow.
3864 [non-C99-based standards] (erfcf): Likewise.
3865 [non-C99-based standards] (gammaf): Likewise.
3866 [non-C99-based standards] (hypotf): Likewise.
3867 [non-C99-based standards] (j0f): Likewise.
3868 [non-C99-based standards] (j1f): Likewise.
3869 [non-C99-based standards] (jnf): Likewise.
3870 [non-C99-based standards] (lgammaf): Likewise.
3871 [non-C99-based standards] (tgammaf): Likewise.
3872 [non-C99-based standards] (y0f): Likewise.
3873 [non-C99-based standards] (y1f): Likewise.
3874 [non-C99-based standards] (ynf): Likewise.
3875 [non-C99-based standards] (isnanf): Likewise.
3876 [non-C99-based standards] (acoshf): Likewise.
3877 [non-C99-based standards] (asinhf): Likewise.
3878 [non-C99-based standards] (atanhf): Likewise.
3879 [non-C99-based standards] (cbrtf): Likewise.
3880 [non-C99-based standards] (expm1f): Likewise.
3881 [non-C99-based standards] (ilogbf): Likewise.
3882 [non-C99-based standards] (log1pf): Likewise.
3883 [non-C99-based standards] (logbf): Likewise.
3884 [non-C99-based standards] (nextafterf): Likewise.
3885 [non-C99-based standards] (remainderf): Likewise.
3886 [non-C99-based standards] (rintf): Likewise.
3887 [non-C99-based standards] (scalbf): Likewise.
3888 [non-C99-based standards] (copysignl): Likewise.
3889 [non-C99-based standards] (exp2l): Likewise.
3890 [non-C99-based standards] (log2l): Likewise.
3891 [non-C99-based standards] (modfl): Allow.
3892 [non-C99-based standards] (erfl): Do not allow.
3893 [non-C99-based standards] (erfcl): Likewise.
3894 [non-C99-based standards] (gammal): Likewise.
3895 [non-C99-based standards] (hypotl): Likewise.
3896 [non-C99-based standards] (j0l): Likewise.
3897 [non-C99-based standards] (j1l): Likewise.
3898 [non-C99-based standards] (jnl): Likewise.
3899 [non-C99-based standards] (lgammal): Likewise.
3900 [non-C99-based standards] (tgammal): Likewise.
3901 [non-C99-based standards] (y0l): Likewise.
3902 [non-C99-based standards] (y1l): Likewise.
3903 [non-C99-based standards] (ynl): Likewise.
3904 [non-C99-based standards] (isnanl): Likewise.
3905 [non-C99-based standards] (acoshl): Likewise.
3906 [non-C99-based standards] (asinhl): Likewise.
3907 [non-C99-based standards] (atanhl): Likewise.
3908 [non-C99-based standards] (cbrtl): Likewise.
3909 [non-C99-based standards] (expm1l): Likewise.
3910 [non-C99-based standards] (ilogbl): Likewise.
3911 [non-C99-based standards] (log1pl): Likewise.
3912 [non-C99-based standards] (logbl): Likewise.
3913 [non-C99-based standards] (nextafterl): Likewise.
3914 [non-C99-based standards] (remainderl): Likewise.
3915 [non-C99-based standards] (rintl): Likewise.
3916 [non-C99-based standards] (scalbl): Likewise.
3917 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3918 [non-C99-based standards] (FP_*): Do not allow.
3919 [C99-based standards] (FP_*): Change to
3920 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3921 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3922 allow.
3923 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3924 (SIG_ERR): Likewise.
3925 [X/Open-based standards] (SIG_HOLD): Likewise.
3926 (SIG_IGN): Likewise.
3927 (SIGABRT): Use macro-int-constant. Specify type. Require
3928 positive value.
3929 (SIGFPE): Likewise.
3930 (SIGILL): Likewise.
3931 (SIGINT): Likewise.
3932 (SIGSEGV): Likewise.
3933 (SIGTER): Likewise.
3934 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3935 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3936 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3937 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3938 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3939 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3940 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3941 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3942 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3943 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3944 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3945 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3946 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3947 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3948 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3949 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3950 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3951 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3952 [X/Open-based standards] (SIGTRAP): Likewise.
3953 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3954 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3955 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3956 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3957 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3958 allow.
3959
b9f1922d
IW
39602012-05-08 Ian Wienand <ianw@vmware.com>
3961
3962 [BZ #14080]
3963 * time/tzset.c (__tzset_parse_tz): Update default rules for
3964 daylight time changes in the Energy Policy Act of 2005.
3965
1db86e88
AJ
39662012-05-09 Andreas Jaeger <aj@suse.de>
3967
3968 [BZ #13983]
3969 * elf/ldconfig.c (parse_conf): Change string to make clear that
3970 ldconfig only issued a warning if ld.so.conf does not exist.
3971
dee4a4e3
DM
39722012-05-08 David S. Miller <davem@davemloft.net>
3973
ee0db190
DM
3974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3975 movxtod instead of popping the value on the stack.
3976
dee4a4e3
DM
3977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3978
6a43ec98
CD
39792012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3980
3981 * config.h.in: Add HAVE_ARM_PCS_VFP.
3982
05c2c961
RMG
39832012-05-08 Roland Mc Grath <roland@hack.frob.com>
3984
bcfe3a54
ST
3985 [BZ #13979]
3986 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3987 checking but the checks are disabled for any reason.
05c2c961 3988
4b30f61a
L
39892012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3990
3991 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3992 and ELF64_R_TYPE with ELFW(R_TYPE).
3993
eee2bc67
JM
39942012-05-08 Joseph Myers <joseph@codesourcery.com>
3995
7ea5391a
JM
3996 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3997 (ulimit): Likewise.
3998
eee2bc67
JM
3999 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4000 (settimeofday): Likewise.
4001
abb66a67
MF
40022012-05-08 Mike Frysinger <vapier@gentoo.org>
4003
4004 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
4005 a struct th_u2 inside the union, and move tu_block/tu_code into
4006 a new th_u3 union of tu_block/tu_code inside of that. Move
4007 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
4008 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
4009 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4010 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4011 (th_stuff): Change to th_u1.tu_stuff.
4012 (th_data): Define.
4013 (th_msg): Change to th_u1.th_u2.tu_data.
4014
7f18b530
DM
40152012-05-07 David S. Miller <davem@davemloft.net>
4016
05760585
DM
4017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4018
7f18b530
DM
4019 [BZ #14074]
4020 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4021 (SETUP_PIC_REG): Use it.
4022 (SETUP_PIC_REG_LEAF): Use it.
4023
495fd99f
JM
40242012-05-07 Joseph Myers <joseph@codesourcery.com>
4025
4026 [BZ #13885]
4027 [BZ #13923]
4028 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4029 USE_AS_EXPM1L.
4030 (EXPL_FINITE): Likewise.
4031 (FLDLOG): Likewise.
4032 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4033 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4034 e_expl.S.
4035 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4036 USE_AS_EXPM1L.
4037 (EXPL_FINITE): Likewise.
4038 (FLDLOG): Likewise.
4039 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4040 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4041 e_expl.S.
4042 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
4043 test of -max_value argument for long double.
4044 * sysdeps/i386/fpu/libm-test-ulps: Update.
4045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4046
6693d694
DM
40472012-05-06 David S. Miller <davem@davemloft.net>
4048
4049 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4050 quad soft-float symbols whose references which are compiler
4051 generated.
4052 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4053
6c23e11c
JM
40542012-05-06 Joseph Myers <joseph@codesourcery.com>
4055
d8b82cad
JM
4056 [BZ #13884]
4057 [BZ #13914]
4058 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4059 USE_AS_EXP10L.
4060 (EXPL_FINITE): Likewise.
4061 (FLDLOG): Likewise.
4062 (c0): Likewise.
4063 (c1): Likewise.
4064 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4065 Adjust comments for base varying.
4066 (__expl_finite): Change alias to EXPL_FINITE.
4067 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
4068 e_expl.S.
4069 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
4070 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4071 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4072 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
4073 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4074 USE_AS_EXP10L.
4075 (EXPL_FINITE): Likewise.
4076 (FLDLOG): Likewise.
4077 (c0): Likewise.
4078 (c1): Likewise.
4079 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4080 Adjust comments for base varying.
4081 (__expl_finite): Change alias to EXPL_FINITE.
4082 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
4083 tests for bugs.
4084 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4085
6c23e11c
JM
4086 [BZ #14064]
4087 * math/libm-test.inc (check_float_internal): Correct ulp
4088 calculation for subnormal expected results.
4089
29ba805c
AJ
40902012-05-06 Andreas Jaeger <aj@suse.de>
4091
4092 * Makeconfig (+math-flags): New, set to -frounding-math.
4093 (+cflags): Add +math-flags so that all of glibc gets compiled with
4094 it.
4095
4096 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4097
7b17aeda
JM
40982012-05-05 Joseph Myers <joseph@codesourcery.com>
4099
5779f134
JM
4100 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4101 Disable one test.
4102
41498f4d
JM
4103 [BZ #13787]
4104 [BZ #13922]
4105 [BZ #14036]
4106 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4107 (__ieee754_expl): Allow for and saturate large arguments.
4108 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4109 (u_threshold): Likewise.
4110 (__exp): Call __ieee754_exp before checking for overflow and
4111 underflow.
4112 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4113 (u_threshold): Likewise.
4114 (__expf): Call __ieee754_expf before checking for overflow and
4115 underflow.
4116 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4117 (u_threshold): Likewise.
4118 (__expl): Call __ieee754_expl before checking for overflow and
4119 underflow.
4120 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4121 (__ieee754_expl): Allow for and saturate large arguments.
4122 * math/libm-test.inc (exp_test): Add another test. Do not allow
4123 missing overflow exception on overflow.
4124 (expm1_test): Do not allow missing overflow exception on overflow.
4125
6698b8bf
JM
4126 * sysdeps/i386/fpu/e_expl.c: Move to ...
4127 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
4128 rather than using inline asm.
4129 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4130 * sysdeps/x86_64/fpu/e_expl.S: Copy from
4131 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4132
7b17aeda
JM
4133 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4134 (nice): Likewise.
4135 (poll): Likewise.
4136 (signal): Likewise.
4137 (time): Likewise.
4138 (times): Likewise.
4139
f7c85819
JM
41402012-05-04 Joseph Myers <joseph@codesourcery.com>
4141
4142 * sysdeps/unix/syscalls.list (adjtime): Add entry from
4143 sysdeps/unix/common/syscalls.list.
4144 (fchmod): Likewise.
4145 (fchown): Likewise.
4146 (ftruncate): Likewise.
4147 (getrusage): Likewise.
4148 (gettimeofday): Likewise.
4149 (setpgid): Likewise.
4150 (setregid): Likewise.
4151 (setreuid): Likewise.
4152 (sigaction): Likewise.
4153 (truncate): Likewise.
4154 (vhangup): Likewise.
4155 * sysdeps/unix/common/syscalls.list: Remove file.
4156 * sysdeps/unix/bsd/Implies: Don't include unix/common.
4157 * sysdeps/unix/sysv/linux/Implies: Likewise.
4158
336270d0
L
41592012-05-04 H.J. Lu <hongjiu.lu@intel.com>
4160
4161 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4163 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4164 Moved to ...
4165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4166 Here.
4167 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4168 to ...
4169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4170 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4171 to ...
4172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4173 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4174 to ...
4175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4176 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4177 to ...
4178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4179 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4180 to ...
4181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4182 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4183 to ...
4184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4185 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4186 to ...
4187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4188 Here.
4189 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4190 to ...
4191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4192 Here.
4193 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4194 to ...
4195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4196 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4197 Moved to ...
4198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4199 Here.
4200 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4201 to ...
4202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4203
d128e450
JM
42042012-05-04 Joseph Myers <joseph@codesourcery.com>
4205
fa8ee516
JM
4206 * sysdeps/unix/common/bits/dirent.h: Remove file.
4207 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4208
d128e450
JM
4209 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4210 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4211 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4212 * sysdeps/unix/bsd/isatty.c: Likewise.
4213 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4214 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4215 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4216
ff8faaf0 42172012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 4218
62881be4 4219 [BZ #13563]
31dc8730
AZ
4220 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4221 long double comparison inaccuracies.
4222 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4224
6fef930c
AS
42252012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4226
4227 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4228 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4229
8f203e6c
JM
42302012-05-04 Joseph Myers <joseph@codesourcery.com>
4231
4232 [BZ #14049]
4233 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4234 nonzero digits before rounding a hex value.
4235 * stdlib/tst-strtod.c (tests): Add another test.
4236
5197d9c2
AK
42372012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4238
4239 * sysdeps/s390/fpu/libm-test-ulps: Update.
4240
f0c1dedf
AJ
42412012-05-03 Andreas Jaeger <aj@suse.de>
4242
4243 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4244 does not get optimized out.
4245 (malloc_opt_barrier): New.
4246
a65ef2ae 42472012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 4248 Roland McGrath <roland@hack.frob.com>
a65ef2ae 4249
2b942cb7 4250 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 4251 intermediate file deletion.
2b942cb7 4252 (generated): Add .symlist files.
a65ef2ae 4253
54b71e02
JM
42542012-05-03 Joseph Myers <joseph@codesourcery.com>
4255
4256 [BZ #13775]
4257 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4258 Redirect under this condition.
4259 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4260 [__USE_GNU] (__dprintf_chk): Not under this condition.
4261 [__USE_GNU] (__vdprintf_chk): Likewise.
4262 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4263 under this condition.
4264 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4265 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4266 [__USE_XOPEN2K8] (vdprintf): Likewise.
4267 [__USE_GNU] (__dprintf_chk): Not under this condition.
4268 [__USE_GNU] (__vdprintf_chk): Likewise.
4269 [__USE_GNU] (dprintf): Likewise.
4270 [__USE_GNU] (vdprintf): Likewise.
4271
d3dfcc41
RM
42722012-05-03 Roland McGrath <roland@hack.frob.com>
4273
4274 * elf/Makefile (common-generated): Set this instead of generated for
4275 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
4276 $(all-built-dso)-derived lists.
4277
7ac30cc5
AJ
42782012-05-03 Andreas Jaeger <aj@suse.de>
4279
0c51e550
AJ
4280 * sysdeps/i386/fpu/libm-test-ulps: Update.
4281
7ac30cc5
AJ
4282 * FAQ: Removed.
4283 * FAQ.in: Likewise.
4284 * scripts/gen-FAQ.pl: Likewise.
4285 * manual/install.texi (Installation): Point to online location of
4286 FAQ.
4287 * Makefile (files-for-dist): Remove FAQ.
4288 (FAQ): Remove.
4289
d4c2917f
AM
42902012-05-02 Allan McRae <allan@archlinux.org>
4291
4292 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4293 (LDFLAGS-reldepmod5.so): Likewise.
4294 (LDFLAGS-reldep6mod1.so): Likewise.
4295 (LDFLAGS-reldep6mod4.so): Likewise.
4296 (LDFLAGS-reldep8mod3.so): Likewise.
4297 (LDFLAGS-unload4mod1.so): Likewise.
4298 (LDFLAGS-unload4mod2.so): Likewise.
4299 (LDFLAGS-tst-initorder): Likewise.
4300 (LDFLAGS-tst-initordera2.so): Likewise.
4301 (LDFLAGS-tst-initordera3.so): Likewise.
4302 (LDFLAGS-tst-initordera4.so): Likewise.
4303 (LDFLAGS-tst-initorderb2.so): Likewise.
4304 (LDFLAGS-noload): Likewise.
4305 (LDFLAGS-next): Likewise.
4306 (LDFLAGS-order2mod1.so): Likewise.
4307 (LDFLAGS-order2mod2.so): Likewise.
4308 (LDFLAGS-tst-initorder2): Likewise.
4309 (LDFLAGS-tst-initorder2a.so): Likewise.
4310 (LDFLAGS-tst-initorder2b.so): Likewise.
4311 (LDFLAGS-tst-initorder2c.so): Likewise.
4312 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4313
d77f993f
DM
43142012-05-02 David S. Miller <davem@davemloft.net>
4315
4316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4317
171a70b4
PP
43182012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4319
4320 [BZ #14055]
4321 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4322
0be196ad
AJ
43232012-05-02 Andreas Jaeger <aj@suse.de>
4324
4325 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4326 since we manipulate rounding mode.
4327 (CPPFLAGS-test-idouble.c): Likewise.
4328 (CPPFLAGS-test-ifloat.c): Likewise.
4329 (CFLAGS-test-ldouble.c): Likewise.
4330 (CFLAGS-test-double.c): Likewise.
4331 (CFLAGS-test-float.c): Likewise.
4332 (CFLAGS-test-misc.c): Likewise.
4333 (CFLAGS-test-test-fenv.c): Likewise.
4334
4f9d04aa
AZ
43352012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4336
2b942cb7
RM
4337 [BZ #2550]
4338 [BZ #2570]
4339 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4340 comparisons to determine direction to adjust input.
4f9d04aa 4341
82a79e7d
RM
43422012-05-01 Roland McGrath <roland@hack.frob.com>
4343
f5a01ca9
RM
4344 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4345 output to the target.
4346
90fe4186
RM
4347 * scripts/localplt.awk: New file.
4348 * elf/Makefile ($(objpfx)check-localplt): Target removed.
4349 (check-localplt-CFLAGS): Variable removed.
4350 ($(all-built-dso:=.jmprel)): New static pattern rule.
4351 (generated): Add those targets.
4352 (localplt-built-dso): New variable.
4353 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4354
4355 * elf/check-localplt.c: File removed.
4356
82397ed6
RM
4357 * scripts/check-execstack.awk: New file.
4358 * elf/Makefile ($(objpfx)check-execstack): Target removed.
4359 (check-execstack-CFLAGS): Variable removed.
4360 ($(objpfx)check-execstack.h): Target removed.
4361 ($(objpfx)execstack-default): New target.
4362 (generated): Add that instead of check-execstack.h.
4363 ($(all-built-dso:=.phdr)): New static pattern rule.
4364 (generated): Add those targets.
4365 * elf/check-execstack.c: File removed.
4366
82a79e7d
RM
4367 * scripts/check-textrel.awk: New file.
4368 * elf/Makefile ($(objpfx)check-textrel): Target removed.
4369 (check-textrel-CFLAGS): Variable removed.
4370 (all-built-dso): Use := to define.o
4371 ($(all-built-dso:=.dyn)): New static pattern rule.
4372 (generated): Add those targets.
4373 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4374 * config.make.in (READELF): New substituted variable.
4375 * elf/check-textrel.c: File removed.
4376
62fde54f 43772012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 4378
615605c9
JM
4379 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4380 allow.
4381 * conform/data/ctype.h-data [C99-based standards] (isblank):
4382 Expect function.
4383 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4384 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4385 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4386 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4387 Specify type. Require positive value.
4388 (EILSEQ): Likewise.
4389 (ERANGE): Likewise.
4390 [ISO || POSIX] (EILSEQ): Do not expect.
4391 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4392 Specify type. Require positive value.
4393 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4394 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4395 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4396 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4397 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4398 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4399 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4400 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4401 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4402 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4403 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4404 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4405 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4406 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4407 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4408 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4409 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4410 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4411 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4412 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4413 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4414 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4415 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4416 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4417 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4418 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4419 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4420 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4421 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4422 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4423 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4424 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4425 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4426 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4427 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4428 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4429 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4430 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4431 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4432 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4433 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4434 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4435 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4436 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4437 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4438 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4439 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4440 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4441 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4442 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4443 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4444 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4445 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4446 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4447 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4448 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4449 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4450 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4451 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4452 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4453 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4454 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4455 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4456 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4457 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4458 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4459 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4460 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4461 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4462 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4463 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4464 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4465 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4466 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4467 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4468 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4469 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4470 Require >= 2.
4471 (FLT_ROUNDS): Expect as macro, not constant.
4472 (FLT_MANT_DIG): Use macro-int-constant.
4473 (DBL_MANT_DIG): Likewise.
4474 (LDBL_MANT_DIG): Likewise.
4475 (FLT_DIG): Likewise.
4476 (DBL_DIG): Likewise.
4477 (LDBL_DIG): Likewise.
4478 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
4479 (DBL_MIN_EXP): Likewise.
4480 (LDBL_MIN_EXP): Likewise.
4481 (FLT_MAX_EXP): Use macro-int-constant.
4482 (DBL_MAX_EXP): Likewise.
4483 (LDBL_MAX_EXP): Likewise.
4484 (FLT_MAX_10_EXP): Likewise.
4485 (DBL_MAX_10_EXP): Likewise.
4486 (LDBL_MAX_10_EXP): Likewise.
4487 (FLT_MAX): Use macro-constant.
4488 (DBL_MAX): Likewise.
4489 (LDBL_MAX): Likewise.
4490 (FLT_EPSILON): Use macro-constant. Give upper bound.
4491 (DBL_EPSILON): Likewise.
4492 (LDBL_EPSILON): Likewise.
4493 (FLT_MIN): Likewise.
4494 (DBL_MIN): Likewise.
4495 (LDBL_MIN): Likewise.
4496 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
4497 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
4498 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
4499 [ISO11] (FLT_HAS_SUBNORM): Likewise.
4500 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
4501 [ISO11] (DBL_DECIMAL_DIG): Likewise.
4502 [ISO11] (FLT_DECIMAL_DIG): Likewise.
4503 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4504 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4505 [ISO11] (FLT_TRUE_MIN): Likewise.
4506 [ISO11] (LDBL_TRUE_MIN): Likewise.
4507 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4508 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4509 (SCHAR_MIN): Use macro-int-constant. Specify type.
4510 (SCHAR_MAX): Likewise.
4511 (UCHAR_MAX): Likewise.
4512 (CHAR_MIN): Likewise.
4513 (CHAR_MAX): Likewise.
4514 (MB_LEN_MAX): Use macro-int-constant.
4515 (SHRT_MIN): Use macro-int-constant. Specify type.
4516 (SHRT_MAX): Likewise.
4517 (USHRT_MAX): Likewise.
4518 (INT_MAX): Likewise.
4519 (INT_MIN): Use macro-int-constant. Specify type. Make upper
4520 bound negative.
4521 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
4522 bound with "U".
4523 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4524 bound with "L".
4525 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
4526 bound negative. Suffix upper bound with "L".
4527 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4528 bound with "UL".
4529 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4530 Specify type.
4531 [C99-based standards] (LLONG_MAX): Likewise.
4532 [C99-based standards] (ULLONG_MAX): Likewise.
4533 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
4534 == 0.
4535 [ISO11] (max_align_t): Require type.
4536 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4537
c9140a62
JM
4538 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4539 from $CFLAGS, without defining away __attribute__ calls.
4540 (checknamespace): Use $CFLAGS_namespace.
4541
9af0bf29
JM
4542 * conform/conformtest.pl (@keywords): Only include C99 keywords
4543 for standards based on C99 or C11.
4544
343222a2
JM
4545 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4546 Disable tests.
4547 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4548 UNIX98]: Likewise.
4549
661f8cf0
JM
4550 * conform/conformtest.pl: Handle "macro-int-constant" and test for
4551 usability of symbols in #if.
4552
ee74b9cb
JM
4553 * conform/conformtest.pl: If macro or constant types start
4554 "promoted:", expect the symbol to be of the following type
4555 promoted by the integer promotions.
62fde54f 4556
aafc49b3
JM
4557 * conform/conformtest.pl: Parse all "constant" and "macro" lines
4558 in one place. Also handle "macro-constant".
4559
fefdf574
JM
4560 * conform/conformtest.pl: Only accept expected macro values with
4561 "==". Parse all "macro" lines in one place.
4562 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4563
f2d922fe
JM
4564 * conform/conformtest.pl: Handle braced types on "constant" lines
4565 instead of handling "typed-constant".
4566 * conform/data/signal.h-data: Use "constant" instead of
4567 "typed-constant".
4568
d22956c9
JM
4569 * conform/conformtest.pl: Handle "optional-" at start of lines in
4570 one place rather than duplicating several cases. Handle each
4571 format of "macro" line with initial "optional-".
4572
028e2e38
JM
4573 * conform/conformtest.pl: Only accept expected constant or
4574 optional-constant values with "==". Parse all "constant" lines in
4575 one place. Parse all "optional-constant" lines in one place.
4576 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4577 * conform/data/fmtmsg.h-data: Likewise.
4578 * conform/data/netinet/in.h-data: Likewise.
4579 * conform/data/tar.h-data: Likewise.
4580 * conform/data/limits.h-data: Use "==" form on "constant" and
4581 "optional-constant" lines.
4582
1b8f2850
JM
4583 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4584 Use -std=c99 for XOPEN2K.
4585 (@knownproblems): Remove.
4586 (newtoken): Don't check %isknown.
4587
a05a144b
JM
4588 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4589 Do not expect macro.
4590 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4591 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4592 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4593 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4594 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4595 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4596 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4597 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4598 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4599 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4600 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4601 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4602 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4603 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4604 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4605 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4606 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4607 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4608 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4609 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4610 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4611 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4612 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4613 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4614 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4615 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4616 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4617 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4618 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4619 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4620 [XPG3] (acosh): Likewise.
4621 [XPG3] (asinh): Likewise.
4622 [XPG3] (atanh): Likewise.
4623 [XPG3] (cbrt): Likewise.
4624 [XPG3] (expm1): Likewise.
4625 [XPG3] (ilogb): Likewise.
4626 [XPG3] (log1p): Likewise.
4627 [XPG3] (logb): Likewise.
4628 [XPG3] (nextafter): Likewise.
4629 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4630 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4631 [XPG3] (remainder): Likewise.
4632 [XPG3] (rint): Likewise.
4633 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4634 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4635 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4636 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4637 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4638 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4639 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4640 [UNIX98 || XOPEN2K] (scalb): Expect.
4641 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4642 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4643 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4644 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4645 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4646 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4647 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4648 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4649 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4650 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4651 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4652 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4653 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4654 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4655 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4656 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4657 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4658 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4659 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4660 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4661 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4662 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4663 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4664 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4665 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4666 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4667 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4668 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4669 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4670 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4671 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4672 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4673 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4674 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4675 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4676 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4677 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4678 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4679 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4680 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4681 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4682 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4683 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4684 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4685 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4686 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4687 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4688 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4689 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4690 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4691 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4692 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4693 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4694 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4695 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4696 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4697 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4698 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4699 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4700 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4701 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4702 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4703 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4704 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4705 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4706 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4707 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4708 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4709 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4710 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4711 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4712 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4713 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4714 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4715 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4716 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4717 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4718 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4719 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4720 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4721 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4722 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4723 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4724 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4725 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4726 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4727 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4728 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4729 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4730 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4731 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4732 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4733 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4734 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4735 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4736 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4737 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4738 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4739 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4740 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4741 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4742 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4743 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4744 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4745 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4746 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4747 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4748 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4749 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4750 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4751 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4752 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4753 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4754 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4755 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4756 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4757 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4758 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4759 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4760 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4761 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4762 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4763 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4764 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4765 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4766 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4767 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4768 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4769 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4770 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4771 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4772 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4773 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4774 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4775 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4776 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4777 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4778
73c5ebe3
JM
4779 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4780 _XOPEN_SOURCE_EXTENDED for XPG4.
4781
39c33b6c
JM
4782 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4783
62fde54f
JM
4784 * Makeconfig (localtime): Remove variable.
4785 (inst_localtime-file): Likewise.
4786
0741d64c
AS
47872012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4788
4789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4790 Update.
4791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4792 Update.
4793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4794 Update.
4795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4796 Update.
4797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4798 Update.
4799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4800 Update.
4801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4802 Update.
4803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4804 Update.
4805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4806 Update.
4807
7cb029ee
JM
48082012-05-01 Joseph Myers <joseph@codesourcery.com>
4809
4810 [BZ #2550]
4811 [BZ #2570]
4812 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4813 comparisons to determine direction to adjust input.
4814 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4815 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4816 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4817 Likewise.
4818 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4819 Likewise.
4820 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4821 Likewise.
4822 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4823 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4824 Likewise.
4825 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4826 Likewise.
4827 * math/libm-test.inc (nexttoward_test): Add more tests.
4828
412bd966
AS
48292012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4830
4831 [BZ #14040]
4832 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4833 in version GLIBC_2.1, not GLIBC_2.0.
4834 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4835 Likewise.
4836
9568c0c2
JM
48372012-04-30 Joseph Myers <joseph@codesourcery.com>
4838
adfbc8ac
JM
4839 [BZ #13942]
4840 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4841 (1 - x) * (1 + x).
4842 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4843 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4844 * math/libm-test.inc (acos_test): Add more tests.
4845 (asin_test): Likewise.
4846 * sysdeps/i386/fpu/libm-test-ulps: Update.
4847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4848
5ba3cc69
JM
4849 [BZ #14034]
4850 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4851 of square root.
4852 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4853 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4854 * math/libm-test.inc (acos_test_tonearest): New function.
4855 (acos_test_towardzero): Likewise.
4856 (acos_test_downward): Likewise.
4857 (acos_test_upward): Likewise.
4858 (asin_test_tonearest): Likewise.
4859 (asin_test_towardzero): Likewise.
4860 (asin_test_downward): Likewise.
4861 (asin_test_upward): Likewise.
4862 (main): Call the new functions.
4863 * sysdeps/i386/fpu/libm-test-ulps: Update.
4864 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4865
9568c0c2
JM
4866 [BZ #13884]
4867 [BZ #13924]
4868 * math/e_exp10.c: Include <float.h>.
4869 (__ieee754_exp10): Handle underflow here rather than multiplying
4870 large negative argument by M_LN10.
4871 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4872 of __ieee754_expf.
4873 * math/e_exp10l.c: Include <float.h>.
4874 (__ieee754_exp10l): Handle underflow here rather than multiplying
4875 large negative argument by M_LN10l.
4876 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4877 spurious overflow exception on underflow.
4878
5ac3ea17
MP
48792012-04-29 Marek Polacek <polacek@redhat.com>
4880
4881 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4882 (__fortify_function): New macro.
4883 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4884 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4885 __extern_always_inline.
4886 * libio/bits/stdio2.h: Likewise.
4887 * libio/bits/stdio.h: Likewise.
4888 * string/string.h: Likewise.
4889 * string/bits/string3.h: Likewise.
4890 * include/stdio.h: Likewise.
4891 * stdlib/bits/stdlib.h: Likewise.
4892 * stdlib/stdlib.h: Likewise.
4893 * rt/bits/mqueue2.h: Likewise.
4894 * rt/mqueue.h: Likewise.
4895 * posix/bits/unistd.h: Likewise.
4896 * posix/unistd.h: Likewise.
4897 * io/bits/poll2.h: Likewise.
4898 * io/bits/fcntl2.h: Likewise.
4899 * io/fcntl.h: Likewise.
4900 * io/sys/poll.h: Likewise.
4901 * misc/bits/syslog.h: Likewise.
4902 * misc/bits/syslog-ldbl.h: Likewise.
4903 * misc/sys/syslog.h: Likewise.
4904 * socket/bits/socket2.h: Likewise.
4905 * socket/sys/socket.h: Likewise.
4906 * debug/tst-chk1.c: Likewise.
4907 * wcsmbs/bits/wchar2.h: Likewise.
4908 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4909 * wcsmbs/wchar.h: Likewise.
4910
ecf0ebfb
AJ
49112012-04-29 Andreas Jaeger <aj@suse.de>
4912
4913 * Makerules (tests): Remove enable-check-abi protection.
4914 (check-abi-warn): Remove.
4915 (check-abi-%): Remove check-abi-warn usage.
4916
4917 * configure.in: Remove check-abi configure option.
4918 * configure: Regenerated.
4919 * config.make.in (enable-check-abi): Remove.
4920
6d5c57fa
AS
49212012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4922
24c5d07e 4923 [BZ #14033]
ded5180a
AS
4924 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4925 double functions to double *_finite functions.
4926
7e0d315d
AS
4927 [BZ #13941]
4928 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4929 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4930 LDBL_MIN_EXP.
4931 * stdio-common/Makefile (tests): Add tst-sprintf3.
4932 * stdio-common/tst-sprintf3.c: New file.
4933
6d5c57fa
AS
4934 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4935 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4936
0749ff8b
JM
49372012-04-28 Joseph Myers <joseph@codesourcery.com>
4938
4939 * conform/conformtest.pl: Remove duplicate typed-constant
4940 handling.
4941
8dbd5d7b
DM
49422012-04-28 David S. Miller <davem@davemloft.net>
4943
4944 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4945 (check-abi-%): Remove AWK script prerequisite and explicit
4946 abilist directory.
4947 (check-abi): Rewrite to just diff the symlist with the abilist.
4948 (config-tls, config-abi-config): Delete, no longer used.
4949 (update-abi-%): Remove AWK script and explicit abilist directory.
4950 (update-abi): Rewrite to simply compare and conditionally copy the
4951 symlist and the sysdep abilist file. Remove update-abi-config
4952 checks.
4953 * abilist/ld.abilist: Remove.
4954 * abilist/libBrokenLocale.abilist: Remove.
4955 * abilist/libanl.abilist: Remove.
4956 * abilist/libcrypt.abilist: Remove.
4957 * abilist/libdl.abilist: Remove.
4958 * abilist/librt.abilist: Remove.
4959 * abilist/libthread_db.abilist: Remove.
4960 * abilist/libutil.abilist: Remove.
4961 * scripts/extract-abilist.awk: Remove.
4962 * scripts/merge-abilist.awk: Remove.
4963 * sysdeps/generic/libcidn.abilist: New file.
4964 * sysdeps/generic/libnss_compat.abilist: New file.
4965 * sysdeps/generic/libnss_db.abilist: New file.
4966 * sysdeps/generic/libnss_dns.abilist: New file.
4967 * sysdeps/generic/libnss_files.abilist: New file.
4968 * sysdeps/generic/libnss_hesiod.abilist: New file.
4969 * sysdeps/generic/libnss_nis.abilist: New file.
4970 * sysdeps/generic/libnss_nisplus.abilist: New file.
4971 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4972 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4973 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4974 file.
4975 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4976 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4977 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4978 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4979 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4980 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4981 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4982 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4983 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4984 file.
4985 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4986 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4987 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4988 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4989 file.
4990 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4991 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4992 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4993 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4994 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4995 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4996 file.
4997 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4998 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4999 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5000 file.
5001 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5002 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5003 New file.
5004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5005 New file.
5006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5007 New file.
5008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5009 New file.
5010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5011 New file.
5012 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5013 New file.
5014 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5015 New file.
5016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5017 New file.
5018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5019 New file.
5020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5021 New file.
5022 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5023 New file.
5024 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5025 New file.
5026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5027 New file.
5028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5029 file.
5030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5031 New file.
5032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5033 New file.
5034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5035 file.
5036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5037 New file.
5038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5039 New file.
5040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5041 file.
5042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5043 New file.
5044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5045 New file.
5046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5047 New file.
5048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5049 New file.
5050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5051 New file.
5052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5053 New file.
5054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5056 file.
5057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5058 New file.
5059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5060 file.
5061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5062 file.
5063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
5064 file.
5065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
5066 file.
5067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
5068 file.
5069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5070 New file.
5071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
5072 file.
5073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
5074 file.
5075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5076 New file.
5077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
5078 file.
5079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
5080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
5081 file.
5082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5083 New file.
5084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
5085 file.
5086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
5087 file.
5088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
5089 file.
5090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
5091 file.
5092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
5093 file.
5094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5095 New file.
5096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5097 file.
5098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5099 file.
5100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5101 New file.
5102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5103 file.
5104 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5105 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5106 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5107 file.
5108 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5109 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5110 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5111 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5112 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5113 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5114 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5115 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5116 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5117 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5120 file.
5121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5122 New file.
5123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5124 file.
5125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5126 file.
5127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5128 file.
5129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5130 file.
5131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5132 file.
5133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5134 New file.
5135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5136 New file.
5137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5138 file.
5139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5140 New file.
5141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5142 file.
5143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5145 file.
5146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5147 New file.
5148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5149 file.
5150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5151 file.
5152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5153 file.
5154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5155 file.
5156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5157 file.
5158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5159 New file.
5160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5161 New file.
5162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5163 file.
5164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5165 New file.
5166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5167 file.
5168
41d73a1b
JM
51692012-04-28 Joseph Myers <joseph@codesourcery.com>
5170
5171 * conform/conformtest.pl: Fix typo in handling typed-constant from
5172 allow-header.
5173
28aeeda4
JM
51742012-04-27 Joseph Myers <joseph@codesourcery.com>
5175
adae8f5e
JM
5176 * README: Cut down references to pre-2.6 Linux kernels and
5177 Linuxthreads. Update lists of configurations in libc and ports
5178 and sort alphabetically. Say "or newer" with Linux kernel version
5179 requirements.
5180
28aeeda4
JM
5181 * config.h.in [IS_IN_build]: Allow compiling without optimization.
5182
a462cb63
RA
51832012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5184
5185 [BZ #887]
5186 * math/libm-test.inc (logb_test_downward): New test to expose
5187 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5188 rounding mode.
5189
6ad3493e
JM
51902012-04-27 Joseph Myers <joseph@codesourcery.com>
5191
5192 [BZ #14027]
5193 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5194 to be done.
5195 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5196 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5197
2ce4f015
JM
51982012-04-26 Joseph Myers <joseph@codesourcery.com>
5199
5aeb141a
JM
5200 * sysdeps/unix/i386/brk.S: Remove file.
5201 * sysdeps/unix/i386/dl-brk.S: Likewise.
5202 * sysdeps/unix/i386/pipe.S: Likewise.
5203 * sysdeps/unix/i386/sigreturn.S: Likewise.
5204 * sysdeps/unix/i386/syscall.S: Likewise.
5205 * sysdeps/unix/i386/vfork.S: Likewise.
5206 * sysdeps/unix/i386/wait.S: Likewise.
5207
7143acae
JM
5208 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5209 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5210
2ce4f015
JM
5211 * configure.in (arm*-none*): Do not allow without
5212 --enable-hacker-mode.
5213 (netbsd*): Remove case setting base_os.
5214 (386bsd*): Likewise.
5215 (freebsd*): Likewise.
5216 (bsdi*): Likewise.
5217 (osf*): Likewise.
5218 (sunos*): Likewise.
5219 (ultrix*): Likewise.
5220 (newsos*): Likewise.
5221 (dynix*): Likewise.
5222 (*bsd*): Likewise.
5223 (sysv*): Likewise.
5224 (isc*): Likewise.
5225 (esix*): Likewise.
5226 (sco*): Likewise.
5227 (minix*): Likewise.
5228 (irix4*): Likewise.
5229 (irix6*): Likewise.
5230 (solaris[2-9]*): Likewise.
5231 (none): Likewise.
5232 * configure: Regenerated.
5233
0ac229c8
AZ
52342012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5235
5236 [BZ #11521]
5237 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5238 overflow or cancellation in calculating denominator.
5239 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5240 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5241 down expression to avoid unexpected rounding in newer GCCs.
5242 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5243
33f244f4
DM
52442012-04-26 David S. Miller <davem@davemloft.net>
5245
5246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5247 long-double compat symbols.
5248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5261
cfa1f3e8
DM
52622012-04-25 David S. Miller <davem@davemloft.net>
5263
5264 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5265 HWCAP_* values only after the memory barriers have been defined.
5266 (atomic_full_barrier): Define.
5267 (atomic_read_barrier): Define.
5268 (atomic_write_barrier): Define.
5269
6e236b92
SP
52702012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5271
5272 * shlib-versions: Add libgcc_s version information.
5273 * sysdeps/generic/libgcc_s.h: Remove.
5274 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5275 libgcc_s.h.
5276 * sysdeps/gnu/unwind-resume.c: Likewise.
5277 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5278
aab39a09
DM
52792012-04-25 David S. Miller <davem@davemloft.net>
5280
5281 * sysdeps/unix/sparc/brk.S: Delete.
5282 * sysdeps/unix/sparc/dl-brk.S: Delete.
5283 * sysdeps/unix/sparc/pipe.S: Delete.
5284 * sysdeps/unix/sparc/sysdep.S: Delete.
5285 * sysdeps/unix/sparc/sysdep.h: Delete.
5286 * sysdeps/unix/sparc/vfork.S: Delete.
5287 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5288 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5289 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5290 ret_ERRVAL, r0, r1, MOVE): Define.
5291 (JUMPTARGET): Remove.
5292 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5293 sysdeps/unix/sparc/sysdep.h
5294 (ENTRY, END): Remove.
5295 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5296
a3cc4f48
JM
52972012-04-25 Joseph Myers <joseph@codesourcery.com>
5298
2ed8cda2
JM
5299 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5300 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5301 -DIS_IN_build.
5302
35d76d59
JM
5303 * timezone/README: Update upstream location and email address for
5304 tzcode and tzdata.
5305 * timezone/zdump.c: Update from tzcode 2012b.
5306 * timezone/zic.c: Likewise.
5307
a3cc4f48
JM
5308 * configure.in (libc_cv_as_needed): Remove test.
5309 * configure: Regenerated.
5310 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5311 conditional definition.
5312 [$(have-as-needed) != yes] (no-as-needed): Likewise.
5313 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5314 * config.make.in (have-as-needed): Remove variable.
5315
ceab42c3
SP
53162012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5317 Paul Pluzhnikov <ppluzhnikov@google.com>
5318
5319 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5320 strings correctly.
5321
3ce2865f
CLT
53222012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5323
5324 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5325 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5326 * sysdeps/sh/strlen.S: Likewise.
5327
f37e0d68
JM
53282012-04-24 Joseph Myers <joseph@codesourcery.com>
5329
ae186e9a
JM
5330 * sysdeps/unix/fork.S: Remove file.
5331 * sysdeps/unix/i386/fork.S: Likewise.
5332 * sysdeps/unix/sparc/fork.S: Likewise.
5333
b96914af
JM
5334 * sysdeps/unix/system.c: Remove file.
5335 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5336
f37e0d68
JM
5337 * sysdeps/unix/getegid.S: Remove file.
5338 * sysdeps/unix/geteuid.S: Likewise.
5339
87ef29ca
RM
53402012-04-24 Roland McGrath <roland@hack.frob.com>
5341
83bcd236
RM
5342 * scripts/check-localplt.awk: New file.
5343 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5344 of diff.
5345 * scripts/data/localplt-generic.data: Add a comment.
5346
87ef29ca
RM
5347 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5348 NODE when __dir_mkfile failed.
5349 * sysdeps/mach/hurd/symlinkat.c: Likewise.
5350 Reported by Ludovic Courtès <ludo@gnu.org>.
5351
e5a6e567
AJ
53522012-04-24 Andreas Jaeger <aj@suse.de>
5353
5354 * Makerules (common-clean): Also remove gen-as-const-headers
5355 files.
5356
c1820385
JM
53572012-04-24 Joseph Myers <joseph@codesourcery.com>
5358
5359 * Makerules (native-compile): Do not change working directory for
5360 build. Use $(OUTPUT_OPTION) in command.
5361 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5362
94e02fc4
AZ
53632012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5364
5365 [BZ #13886]
5366 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5367 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5368 * math/libm-test.inc (floor_test): Add more tests.
5369 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5370
3a533ca3
JM
53712012-04-24 Joseph Myers <joseph@codesourcery.com>
5372
940ab4b3
JM
5373 * sysdeps/unix/getdents.c: Remove file.
5374 * sysdeps/unix/sysv/getdents.c: Likewise.
5375 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5376
90e037bd
JM
5377 * sysdeps/unix/syscalls.list (madvise): Add syscall from
5378 sysdeps/unix/mman/syscalls.list.
5379 (mmap): Likewise.
5380 (mprotect): Likewise.
5381 (msync): Likewise.
5382 (munmap): Likewise.
5383 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5384 * sysdeps/unix/mman/syscalls.list: Remove.
5385 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5386
3a533ca3
JM
5387 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5388 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5389 * configure: Regenerated.
5390 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5391 $(libgcc_s_suffix).
5392 * config.make.in (libgcc_s_suffix): Remove variable.
5393
1ad743de
JM
53942012-04-23 Joseph Myers <joseph@codesourcery.com>
5395
4ad451e2
JM
5396 * sysdeps/unix/sysv/gethostname.c: Move to ...
5397 * sysdeps/posix/gethostname.c: ... here.
5398
5e37ce39
JM
5399 * sysdeps/unix/execve.S: Remove file.
5400
1ad743de
JM
5401 * sysdeps/unix/_exit.S: Remove file.
5402
4e681b5b
AJ
54032012-04-23 Andreas Jaeger <aj@suse.de>
5404
5405 [BZ #13739]
5406 * manual/Makefile: Remove make dist support, there's no
5407 need for a stand-alone documentation tar ball.
5408 (TEXI2DVI): Define always, it's not in Makeconfig.
5409 (dist): Removed.
5410 (tar-it): Removed.
5411 (edition): Removed.
5412 (glibc-doc-$(edition).tar): Removed
5413 (%.Z): Removed.
5414 (%.gz): Removed.
5415 (%.uu): Removed.
5416 (ETAGS): Remove, it's in Makeconfig.
5417 (move-if-change): Remove, it's in Makeconfig.
5418
c0baea34
PE
54192013-04-23 Paul Eggert <eggert@cs.ucla.edu>
5420
5421 [BZ #13970]
5422 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5423 (strtod, strtof, strtold, strtol, strtoul, strtoq)
5424 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5425 (strtod_l, strtof_l, strtold_l): Remove __wur.
5426 It is not necessarily an error to ignore strtol's return value.
5427 One can reliably look at the stored endptr to decide whether
5428 the number had valid syntax.
5429
7c0616fa
AJ
54302012-04-21 Andreas Jaeger <aj@suse.de>
5431
803cb6b7 5432 [BZ #13739]
7c0616fa
AJ
5433 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5434
b0fe253f
JM
54352012-04-21 Joseph Myers <joseph@codesourcery.com>
5436
5437 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5438 * sysdeps/unix/sysv/Versions: Remove file.
5439
8280f22d
MT
54402012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
5441
5442 [BZ #13927]
5443 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5444
75ce411f 54452012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
5446
5447 [BZ #7064]
5448 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5449 version from __vm86.
5450
097d59fa
JM
54512012-04-20 Joseph Myers <joseph@codesourcery.com>
5452
a90f3bcb
JM
5453 * sysdeps/unix/common/lxstat.c: Remove file.
5454 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5455
edc7ea78
JM
5456 * sysdeps/unix/sysv/Makefile: Remove file.
5457
cb78c221
JM
5458 * sysdeps/unix/sysv/direct.h: Remove file.
5459
efa6a45f
JM
5460 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5461 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5462 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5463 * sysdeps/unix/sysv/bits/signum.h: Likewise.
5464 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5465 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5466 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5467
9c9f2d0c
JM
5468 * sysdeps/unix/sysv/setrlimit.c: Remove file.
5469
4541c83b
JM
5470 * sysdeps/unix/xmknod.c: Remove file.
5471 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5472
f5d153a0
JM
5473 * sysdeps/unix/sysv/settimeofday.c: Remove file.
5474
aa746595
JM
5475 * sysdeps/unix/sysv/i386/time.S: Remove file.
5476
cce5905e
JM
5477 * sysdeps/unix/fxstat.c: Remove file.
5478 * sysdeps/unix/xstat.c: Likewise.
5479 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5480
37fa3841
JM
5481 * sysdeps/unix/sysv/sigaction.c: Remove file.
5482
ff1962a3
JM
5483 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5484 (sysdep_headers): Remove variable.
5485 [termio.h not in sysdep_headers] (generated): Likewise.
5486 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5487 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5488 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5489 * sysdeps/unix/sysv/tcflow.c: Likewise.
5490 * sysdeps/unix/sysv/tcflush.c: Likewise.
5491 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5492 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
5493 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5494 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5495 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
5496
e7740d31
JM
5497 * sysdeps/unix/siglist.c: Remove file.
5498
ee06f18b
JM
5499 * sysdeps/unix/getppid.S: Remove file.
5500
097d59fa
JM
5501 * sysdeps/unix/mkdir.c: Remove file.
5502 * sysdeps/unix/rmdir.c: Likewise.
5503
ff3d51ec
AS
55042012-04-19 Andreas Schwab <schwab@linux-m68k.org>
5505
5506 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5507 ERR_MAX value.
5508 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5509 errlist-compat value.
5510
50f81fd7
DM
55112012-04-18 David S. Miller <davem@davemloft.net>
5512
5513 * sysdeps/generic/memcopy.h (reg_char): Delete.
5514 * debug/strcat_chk.c: Use char, not reg_char.
5515 * debug/strcpy_chk.c: Likewise.
5516 * debug/strncat_chk.c: Likewise.
5517 * debug/strncpy_chk.c: Likewise.
5518 * string/memchr.c: Likewise.
5519 * string/memrchr.c: Likewise.
5520 * string/rawmemchr.c: Likewise.
5521 * string/strcat.c: Likewise.
5522 * string/strchr.c: Likewise.
5523 * string/strchrnul.c: Likewise.
5524 * string/strcmp.c: Likewise.
5525 * string/strcpy.c: Likewise.
5526 * string/strncat.c: Likewise.
5527 * string/strncmp.c: Likewise.
5528 * string/strncpy.c: Likewise.
5529
8ff41c46
WS
55302012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5531
5532 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5533 __builtin_memcopy is called when src and dest ranges are known to not
5534 overlap.
5535
6b652f46
WS
55362012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5537
5538 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5539 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5540 fwd_align_merge macro call.
5541 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5542 bwd_align_merge macro call.
5543 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5544
b282631e
WS
55452012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5546
5547 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5548 bwd_align_merge macros.
5549 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5550 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5551 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5552
95aa737c
DM
55532012-04-18 David S. Miller <davem@davemloft.net>
5554
5555 * sysdeps/sparc/sparc64/memcopy.h: Delete.
5556
7a99a614
AJ
55572012-04-18 Andreas Jaeger <aj@suse.de>
5558
5559 [BZ# 6794]
5560 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5561 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5562 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5563
5564 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5565 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5566 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5567
5568 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5569 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5570 Adjust for changed ldbl-128 files.
5571
5572 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5573 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5574 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5575
e5270c23
DM
55762012-04-17 David S. Miller <davem@davemloft.net>
5577
5578 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5579
fb5e92c9
AS
55802012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5581
5582 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5583 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5584 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5585 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5586 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5587 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5588
76da7265
AZ
55892012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5590
5591 [BZ #6794]
5592 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5593 * math/libm-test.inc: Add ilogb errno and exception tests.
5594 * math/w_ilogb.c: New file: ilogb wrapper.
5595 * math/w_ilogbf.c: New file: ilogbf wrapper.
5596 * math/w_ilogbl.c: New file: ilogbl wrapper.
5597 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5598 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5599 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5600 exception being thrown with 0.0 as argument.
5601 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5602 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5603 exception being thrown with 0.0 as argument.
5604 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5605 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5606 exception being thrown with 0.0 as argument.
5607 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5608 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5609 exception being thrown with 0.0 as argument.
5610 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5611 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 5612 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
5613 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5614 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5615 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5616 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5617 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5618 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5619
0396e69d
PB
56202012-04-17 Petr Baudis <pasky@ucw.cz>
5621
5622 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5623 with altivec.
5624
750b5926
MP
56252012-04-16 Marek Polacek <polacek@redhat.com>
5626
5627 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5628
751728a1
MP
56292012-04-16 Marek Polacek <polacek@redhat.com>
5630
5631 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5632 operands of fdivp instruction.
5633
34a27407
L
56342012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5635
5636 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5637 * elf/tst-auditmod3b.c: Likewise.
5638 * elf/tst-auditmod4b.c: Likewise.
5639 * elf/tst-auditmod5b.c: Likewise.
5640 * elf/tst-auditmod6b.c: Likewise.
5641 * elf/tst-auditmod6c.c: Likewise.
5642 * elf/tst-auditmod7b.c: Likewise.
5643 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5644 * sysdeps/x86_64/preconfigure.in: Likewise.
5645 * sysdeps/x86_64/preconfigure: Regenerated.
5646
7e73e17d
L
56472012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5648
5649 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5650 __ILP32__.
5651
c7a6ab72
AB
56522012-04-13 Antoine Balestrat <merkil33@gmail.com>
5653
5654 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5655 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5656
a9e8e0e0
CL
56572012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5658
5659 [BZ #13973]
5660 * locale/iso-639.def: Fix gl language name. Spotted by
5661 Yaron Shahrabani.
5662
ec98af7d
RM
56632012-04-12 Roland McGrath <roland@hack.frob.com>
5664
5665 [BZ #2074]
5666 * libio/libio.h (__io_write_fn): Update comment.
5667
247c3ede
PB
56682012-04-12 Petr Baudis <pasky@ucw.cz>
5669
5670 [BZ #2074]
5671 * stdio.texi (Hook Functions): The user provided writer function
5672 is not allowed to return -1.
5673
55939d6d
DM
56742012-04-11 David S. Miller <davem@davemloft.net>
5675
5676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5677
90020f5a
MF
56782012-04-11 Mike Frysinger <vapier@gentoo.org>
5679
5680 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5681 Add a leading slash to rtkaio.
5682
288f9098
JM
56832012-04-11 Jim Meyering <meyering@redhat.com>
5684
90020f5a
MF
5685 [BZ #11959]
5686 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5687 It is not necessarily an error to ignore fwrite's return
5688 value. One can reliably use ferror to test for errors after
5689 the fact.
288f9098 5690
4be2b570
L
56912012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5692
5693 * bits/types.h (__snseconds_t): New type.
5694 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5695
5696 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5697 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5698 (__SNSECONDS_T_TYPE): Likewise.
5699 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5700 (__SNSECONDS_T_TYPE): Likewise.
5701 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5702 (__SNSECONDS_T_TYPE): Likewise.
5703
288f9098 57042012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
5705
5706 [BZ #2636]
5707 * manual/time.texi (Processor Time): Return type of times is
5708 elapsed real time since an arbitrary point in the past.
5709 (CPU Time): Move CLK_TCK from here...
5710 (Processor Time): ...to here. Correct description.
5711 * manual/conf.texi (Constants for Sysconf): Correct description of
5712 _SC_CLK_TCK.
5713
d7dd4413
DM
57142012-04-10 David S. Miller <davem@davemloft.net>
5715
5716 [BZ #13967]
5717 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5718 where the is a gap between DT_REL(A) and DT_JMPREL.
5719
b46068fc
L
57202012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5721
5722 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5723 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5724 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5725
73d65cc3
SP
57262012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5727
5728 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5729 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5730 (dl_main): Handle --inhibit-cache.
5731 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5732 _dl_inhibit_cache.
5733 * elf/dl-load.c (_dl_map_object): Use it.
5734 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5735
bcc8d661
JM
57362012-04-09 Joseph Myers <joseph@codesourcery.com>
5737
8f9a2fae
JM
5738 [BZ #13872]
5739 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5740 (__ieee754_powl): Saturate large exponents rather than testing for
5741 overflow of y*log2(x).
5742 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5743 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5744 exceptions.
5745
bcc8d661
JM
5746 [BZ #11521]
5747 * math/s_ctan.c: Include <float.h>.
5748 (__ctan): Avoid internal overflow or cancellation in calculating
5749 denominator.
5750 * math/s_ctanf.c: Likewise.
5751 * math/s_ctanl.c: Likewise.
5752 * math/s_ctanh.c: Likewise.
5753 * math/s_ctanhf.c: Likewise.
5754 * math/s_ctanhl.c: Likewise.
5755 * math/libm-test.inc (ctan_test): Add more tests.
5756 (ctanh_test): Likewise.
5757 * sysdeps/i386/fpu/libm-test-ulps: Update.
5758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5759
823fbbb4
AJ
57602012-04-09 Andreas Jaeger <aj@suse.de>
5761
03879793
AJ
5762 [BZ #6894]
5763 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5764 is an optional BSD extension.
5765
823fbbb4
AJ
5766 [BZ #10254]
5767 * manual/stdio.texi (Opening Streams): Document additional fopen
5768 parameters.
5769
8de131cb
RM
57702012-04-09 Roland McGrath <roland@hack.frob.com>
5771
5772 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5773 %eax without telling the compiler.
5774
c0ed9d7d
CD
57752012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5776
5777 [BZ # 13963]
5778 * manual/install.texi: Use sourceware.org.
5779
c483f6b4
JM
57802012-04-09 Joseph Myers <joseph@codesourcery.com>
5781
d7dd9453
JM
5782 [BZ #13873]
5783 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5784 (__ieee754_pow): Generate overflow and underflow using huge*huge
5785 and tiny*tiny rather than just returning constant infinity or zero
5786 for large exponents.
5787 * math/libm-test.inc (pow_test): Require overflow exceptions for
5788 applicable cases of large exponents.
5789
c483f6b4
JM
5790 [BZ #706]
5791 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5792 (__ieee754_pow): Use iterative multiplication algorithm only for
5793 integer exponents with absolute value below 1024. Check for odd
5794 integer exponents when using algorithm for real exponents.
5795 * math/libm-test.inc (pow_test): Add more tests.
5796 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5797
d2de7579
JM
57982012-04-08 Joseph Myers <joseph@codesourcery.com>
5799
5800 [BZ #13705]
5801 * math/libm-test.inc (exp_test): Do not allow overflow exception
5802 on underflow test.
5803
f77f1232
AJ
58042012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5805
5806 [BZ #13705]
5807 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5808 instead of __kernel_standard_f.
5809
3884932b
MF
58102012-04-08 Mike Frysinger <vapier@gentoo.org>
5811
5812 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5813 * sysdeps/x86_64/memset_chk.S: Likewise.
5814
54472e9c
AJ
58152012-04-08 Andreas Jaeger <aj@suse.de>
5816
6ab0fbfc
AJ
5817 [BZ #10153]
5818 * manual/startup.texi (Environment Access): Describe return value
5819 for putenv and setenv.
5820
61efba8c
AJ
5821 [BZ #6895]
5822 * manual/filesys.texi (Directory Entries): Add description for
5823 DT_LNK.
5824
95c3f29a
AJ
5825 [BZ #6890]
5826 * manual/filesys.texi (Directory Entries): Clarify that it's file
5827 system not operating system in the description of DT_UNKNOWN.
5828
54472e9c
AJ
5829 [BZ #6578]
5830 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5831
624254b1
SC
58322012-04-08 Stephen Compall <s11@member.fsf.org>
5833
5834 [BZ #6649]
5835 * manual/llio.texi (Opening and Closing Files): Add cross
5836 reference to explain mode argument.
5837
1e4920e0
MF
58382012-04-07 Mike Frysinger <vapier@gentoo.org>
5839
5840 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5841 * sysdeps/x86_64/memset_chk.S: Likewise.
5842
5ed848f3
DM
58432012-04-07 David S. Miller <davem@davemloft.net>
5844
5845 * elf/elf.h (R_SPARC_WDISP10): Define.
5846 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5847 R_SPARC_SIZE32.
5848 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5849 R_SPARC_SIZE64 and R_SPARC_H34.
5850
96154cd8
CD
58512012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5852
5853 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5854 conditions and remove no longer applicable assertion.
5855
9904dc47
L
58562012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5857
5858 * bits/byteswap.h: Include <features.h>.
5859 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5860 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5861
f8887d0a
L
58622012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5863
5864 * bits/byteswap.h (__bswap_16): Removed.
5865 Include <bits/byteswap-16.h> to get __bswap_16.
5866 * sysdeps/i386/bits/byteswap.h: Likewise.
5867 * sysdeps/s390/bits/byteswap.h: Likewise.
5868 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5869 * bits/byteswap-16.h: New file.
5870 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5871 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5872 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5873 * string/Makefile (headers): Add bits/byteswap-16.h.
5874
62470f60
PP
58752012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5876
5877 [BZ #13895]
5878 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5879 extra indirection.
5880 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5881 * nss/tst-nss-static.c: New.
5882
4dad7bab
RM
58832012-04-06 Robert Millan <rmh@gnu.org>
5884
5885 [BZ #6486]
5886 * manual/llio.texi (File Position Primitive): lseek
5887 refers to WHENCE when it really means OFFSET.
5888
e9142a17
AJ
58892012-04-06 Andreas Jaeger <aj@suse.de>
5890
2c040eff
AJ
5891 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5892 strncmp declarations.
5893
e9142a17
AJ
5894 * abilist/libc.abilist: Add __poll and __ppoll.
5895
ff9f1c5f
DM
58962012-04-05 David S. Miller <davem@davemloft.net>
5897
dcd2ae90
DM
5898 * scripts/check-local-headers.sh: Accept a host triplet in the
5899 path matched by the exclude regexp.
5900
993eb054
DM
5901 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5902 definition.
5903 * sysdeps/powerpc/powerpc32/dl-machine.h
5904 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5905 * sysdeps/s390/s390-32/dl-machine.h
5906 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5907 * sysdeps/sparc/sparc32/dl-machine.h
5908 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5909 * sysdeps/sparc/sparc64/dl-machine.h
5910 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5911
ff9f1c5f
DM
5912 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5913 lazy binding.
48e2e132 5914 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5915 undefined symbol errors.
5916
48e2e132 5917 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5918 DT_NEEDED entries.
5919
e80d6f94
MM
59202012-04-05 Michael Matz <matz@suse.de>
5921
5922 [BZ #13592]
5923 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5924
349fa79f
AJ
59252012-04-05 Andreas Jaeger <aj@suse.de>
5926
5927 [BZ #13908]
5928 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5929 comment.
5930
f402708f
KK
59312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5932
5933 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5934 which ROUND is no valid rounding mode.
5935
2ecccfc9
KK
59362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5937
5938 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5939 read again.
5940 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5941
8a53f50f
KK
59422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5943
5944 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5945 an exception using FPU order intentionally.
5946
59472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5948
5949 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5950 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5951 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5952 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5953
d653abb7
SJ
59542012-04-05 Simon Josefsson <simon@josefsson.org>
5955
5956 [BZ #12340]
5957 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5958 EINVAL when BUFLEN is too smal.
5959
c3b1bf7d
TS
59602012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5961
5962 [BZ #13553]
5963 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5964 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5965
b1aa60f3
AJ
59662012-04-03 Andreas Jaeger <aj@suse.de>
5967
c3b1bf7d 5968 [BZ #13938]
67f60a26
AJ
5969 * manual/setjmp.texi (System V contexts): Fix sentence.
5970
b1aa60f3
AJ
5971 [BZ #13926]
5972 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5973 New macro for this case.
5974 [!__GNUC__] (__bswap_64): New inline function for this case.
5975 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5976 * bits/byteswap.h: Likewise.
5977 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5978 ull, guard with __GLIBC_HAVE_LONG_LONG.
5979
5980 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5981 __GLIBC_HAVE_LONG_LONG.
5982
5983 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5984 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5985
39c59c35
TMQMF
59862012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5987
5988 [BZ #13691]
5989 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5990 inptr and inend, rather than using last_ch.
5991
135ffda8
DM
59922012-04-02 David S. Miller <davem@davemloft.net>
5993
5994 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5995 * stdio-common/printf-parse.h (read_int): Change return type to
5996 'int', return -1 on INT_MAX overflow.
5997 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5998 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5999 overflows INT_MAX. Check for overflow of in-format-string precision
6000 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
6001 SIZE_MAX not INT_MAX for integer overflow test.
6002 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6003 skip the construct in the format string but do not record anything.
6004 * stdio-common/bug22.c: Adjust to test both width/prevision
6005 INT_MAX overflow as well as total length INT_MAX overflow. Check
6006 explicitly for proper errno values.
6007
228c019e
TS
60082012-04-02 Thomas Schwinge <thomas@codesourcery.com>
6009
302cadd3
TS
6010 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6011 CHAR_MAX.
6012 * string/test-strcmp.c [! WIDE]: Likewise.
6013 * time/tst-mktime2.c: Likewise for INT_MAX.
6014 * string/test-string.h: #include <sys/param.h> for MIN.
6015
228c019e
TS
6016 * csu/init-first.c (__libc_init_first): Call __ctype_init.
6017 * sysdeps/i386/init-first.c (init): Likewise.
6018 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6019 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6020 * sysdeps/sh/init-first.c (init): Likewise.
6021
cfa633f5
UD
60222012-04-01 Ulrich Drepper <drepper@gmail.com>
6023
6024 * po/ru.po: Update from translation team.
d1635ef8 6025 * po/vi.po: Likewise.
cfa633f5 6026
6cd0a5ea
SP
60272012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6028
6029 * resolv/nss_dns/dns-host.c: Merge copyright years.
6030
4b43400f
LD
60312012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6032
6033 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6034 Optimize memcpy with prefetch if
6035 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
6036 src, dst pointers have unequal 16 byte alignments.
6037
48c41d04
SP
60382012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6039
6040 [BZ #13928]
6041 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6042 from a CNAME entry and return the minimum ttl for the query.
6043 (gaih_getanswer_slice): Likewise.
6044
b8dc394d
JL
60452012-03-30 Jeff Law <law@redhat.com>
6046
6047 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6048 due to long keys.
6049 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6050 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6051
2f5a5ed0
JL
6052 * resolv/nss_dns/dns-host.c: Update copyright year.
6053
1d39e359
UD
60542012-03-30 Ulrich Drepper <drepper@gmail.com>
6055
c030f70c 6056 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 6057 requests to save a system call. Fix check that all bytes are sent.
c030f70c 6058
1d39e359
UD
6059 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6060 comments for sendmmsg.
6061
60622012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
6063
6064 [BZ #13691]
6065 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
6066 with only 1 character between 0x0041 and 0x01b0.
6067 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
6068 * wcsmbs/tst-mbsnrtowcs.c: New file.
6069
20fde227
DM
60702012-03-29 David S. Miller <davem@davemloft.net>
6071
6072 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
6073 small copies by hand.
6074
984a4237
JL
60752012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6076
6077 [BZ #13761]
6078 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
6079 _nss_compat_initgroups_dyn): Fall back to malloc/free
6080 for large group memberships.
6081
18c9d62b
DM
60822012-03-28 David S. Miller <davem@davemloft.net>
6083
88d85d4f
DM
6084 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
6085 that branches into memcpy.
6086 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6087 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6088 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6089 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6090 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
6091 bits.
6092 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
6093 implementation too.
6094 * sysdeps/sparc/mempcpy.S: New file.
6095
e5aa83e1
DM
6096 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6097 the IFUNC routine in the libc case.
6098 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6099
88570753
DM
6100 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6101 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6102 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6103 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6104 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6105 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6106 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6107 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6108
249d7567
DM
6109 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6110 loop to 256 bytes instead of 64 bytes and fix test signedness.
6111
18c9d62b
DM
6112 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6113 * sysdeps/sparc/sparc32/Makefile: rather than here...
6114 * sysdeps/sparc/sparc64/Makefile: and here.
6115
05f3d1f6
UD
61162012-03-28 Ulrich Drepper <drepper@gmail.com>
6117
6118 * malloc/mallocbug.c: Avoid warnings about unused variables.
6119
86ae07a8
JL
61202012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6121
6122 [BZ #13760]
6123 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6124 in the right place. Discard and retry query if response is
6125 larger than input buffer size.
6126
41bf21a1
JM
61272012-03-28 Joseph Myers <joseph@codesourcery.com>
6128
d6270972
JM
6129 [BZ #369]
6130 [BZ #2678]
6131 [BZ #3866]
6132 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6133 x for large integer exponent.
6134 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6135 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
6136 sign of result as needed afterwards.
6137 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6138 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6139 result for underflowing pow the same as for overflow.
6140 (__kernel_standard_l): Handle powl overflow and underflow here
6141 rather than calling __kernel_standard.
6142 * math/libm-test.inc (pow_test): Add more tests.
6143
414fca03 6144 [BZ #3868]
41bf21a1
JM
6145 [BZ #13879]
6146 [BZ #13910]
6147 [BZ #13911]
6148 [BZ #13912]
6149 [BZ #13913]
6150 [BZ #13915]
6151 [BZ #13916]
6152 [BZ #13917]
6153 [BZ #13918]
6154 [BZ #13919]
6155 [BZ #13920]
6156 [BZ #13921]
6157 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6158 * sysdeps/ieee754/k_standard.c: Include <float.h>.
6159 (__kernel_standard_l): New function.
6160 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6161 __kernel_standard.
6162 * math/w_acosl.c (__acosl): Likewise.
6163 * math/w_asinl.c (__asinl): Likewise.
6164 * math/w_atan2l.c (__atan2l): Likewise.
6165 * math/w_atanhl.c (__atanhl): Likewise.
6166 * math/w_coshl.c (__coshl): Likewise.
6167 * math/w_exp10l.c (__exp10l): Likewise.
6168 * math/w_exp2l.c (__exp2l): Likewise.
6169 * math/w_fmodl.c (__fmodl): Likewise.
6170 * math/w_hypotl.c (__hypotl): Likewise.
6171 * math/w_j0l.c (__j0l, __y0l): Likewise.
6172 * math/w_j1l.c (__j1l, __y1l): Likewise.
6173 * math/w_jnl.c (__jnl, __ynl): Likewise.
6174 * math/w_lgammal.c (__lgammal): Likewise.
6175 * math/w_log10l.c (__log10l): Likewise.
6176 * math/w_log2l.c (__log2l): Likewise.
6177 * math/w_logl.c (__logl): Likewise.
6178 * math/w_powl.c (__powl): Likewise.
6179 * math/w_remainderl.c (__remainderl): Likewise.
6180 * math/w_scalbl.c (sysv_scalbl): Likewise.
6181 * math/w_sinhl.c (__sinhl): Likewise.
6182 * math/w_sqrtl.c (__sqrtl): Likewise.
6183 * math/w_tgammal.c (__tgammal): Likewise.
6184 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6185 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6186 * math/libm-test.inc (acos_test): Add more tests.
6187 (acosh_test): Likewise.
6188 (asin_test): Likewise.
6189 (atanh_test): Likewise.
6190 (exp_test): Likewise.
6191 (exp10_test): Likewise.
6192 (exp2_test): Likewise.
6193 (expm1_test): Likewise.
6194 (lgamma_test): Likewise.
6195 (log_test): Likewise.
6196 (log10_test): Likewise.
6197 (log1p_test): Likewise.
6198 (log2_test): Likewise.
6199 (pow_test): Do not allow some spurious overflow exceptions.
6200 (sqrt_test): Add more tests.
6201 (tgamma_test): Likewise.
6202 (y0_test): Likewise.
6203 (y1_test): Likewise.
6204 (yn_test): Likewise.
6205
dd62fda6
AB
62062012-03-27 Anton Blanchard <anton@samba.org>
6207
6208 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6209 MAP_HUGETLB.
6210 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6211 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6212 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6213
1e3cdfda
AJ
62142012-03-27 David S. Miller <davem@davemloft.net>
6215
b855ab85
DM
6216 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6217
1e3cdfda
AJ
6218 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6219 have-as-vis3 check.
6220
62212012-03-27 Andreas Jaeger <aj@suse.de>
6222
6223 * sysdeps/x86_64/elf/configure.in: Moved to ...
6224 * sysdeps/x86_64/configure.in: ... here.
6225 * sysdeps/x86_64/elf/start.S: Moved to ...
6226 * sysdeps/x86_64/start.S: ... here.
6227 * sysdeps/x86_64/elf/configure: Delete.
6228
6229 * sysdeps/x86_64/configure.in: Merge contents from
6230 sysdeps/i386/configure.in (without i686 check).
6231
6232 * sysdeps/i386/elf/Versions: Merge into ...
6233 * sysdeps/i386/Versions: ... this.
6234 * sysdeps/i386/elf/Versions: Delete file.
6235 * sysdeps/i386/elf/start.S: Moved to ...
6236 * sysdeps/i386/start.S: ...here.
6237 * sysdeps/i386/elf/configure.in: Merge into...
6238 * sysdeps/i386/configure.in: ...here.
6239 * sysdeps/i386/elf/configure.in: Delete file.
6240 * sysdeps/i386/elf/configure: Delete file.
6241
6242 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6243 * debug/backtracesyms.c: ... here.
6244 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6245 * debug/backtracesymsfd.c: ... here.
6246 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6247 * sysdeps/generic/ifunc-sel.h: ... here.
6248
6249 * sysdeps/unix/i386/start.c: Delete file.
6250 * sysdeps/unix/sparc/start.c: Delete file.
6251 * sysdeps/unix/start.c: Delete file.
6252
6253 * sysdeps/sh/elf/configure.in: Moved to ...
6254 * sysdeps/sh/configure.in: ... here.
6255 * sysdeps/sh/elf/start.S: Moved to ...
6256 * sysdeps/sh/start.S: ... here.
6257 * sysdeps/sh/elf/configure: Delete file.
6258
6259 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6260 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6261 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6262 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6263 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6264 * sysdeps/powerpc/powerpc64/start.S: here.
6265 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6266 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6267 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6268 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6269 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6270
6271 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6272 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6273 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6274 * sysdeps/powerpc/powerpc32/start.S: ... here.
6275 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6276 * sysdeps/powerpc/powerpc32/configure.in: ... this.
6277 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6278
6279 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6280 * sysdeps/powerpc/ifunc-sel.h: ... here.
6281 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6282 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6283
6284 * sysdeps/sparc/elf/configure.in: Moved to ...
6285 * sysdeps/sparc/configure.in: ... here.
6286 * sysdeps/sparc/elf/configure: Delete file.
6287 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6288 * sysdeps/sparc/sparc32/start.S: ... here.
6289 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6290 * sysdeps/sparc/sparc64/start.S: ... here.
6291 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6292 * sysdeps/sparc/sparc32/Makefile: ... this.
6293 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6294 * sysdeps/sparc/sparc64/Makefile: ... this.
6295
6296 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6297 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6298 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6299 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6300 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6301 * sysdeps/s390/s390-32/setjmp.S: ... here.
6302 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6303 * sysdeps/s390/s390-32/configure.in: ... here.
6304 * sysdeps/s390/s390-32/elf/configure: Delete file.
6305 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6306 * sysdeps/s390/s390-32/start.S: ... here.
6307
6308 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6309 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6310 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6311 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6312 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6313 * sysdeps/s390/s390-64/setjmp.S: ... here.
6314 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6315 * sysdeps/s390/s390-64/configure.in: ... here
6316 * sysdeps/s390/s390-64/elf/configure: Delete file.
6317 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6318 * sysdeps/s390/s390-64/start.S: ... here.
6319 * sysdeps/s390/s390-64/elf/configure: Delete.
6320
6321 * configure.in: Remove support for elf directories in sysdeps.
6322
6323 * configure: Regenerated.
6324 * sysdeps/i386/configure: Regenerated.
6325 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6326 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6327 * sysdeps/s390/s390-32/configure: Regenerated.
6328 * sysdeps/s390/s390-64/configure: Regenerated.
6329 * sysdeps/sh/configure: Regenerated.
6330 * sysdeps/sparc/configure: Regenerated.
6331 * sysdeps/x86_64/configure: Regenerated.
6332
a3f61311
AS
63332012-03-26 Andreas Schwab <schwab@linux-m68k.org>
6334
c876e002
AS
6335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6336
a3f61311
AS
6337 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6338 denormal result into account.
6339
ac4c54f0
RM
63402012-03-25 Roland McGrath <roland@hack.frob.com>
6341
6342 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6343 Reported by Allan McRae <allan@archlinux.org>.
6344
6a9b9c02
JL
63452012-03-23 Jeff Law <law@redhat.com>
6346
6347 * nss/getnssent.c (__nss_getent): Fix typo.
6348
4c42a0c1
DM
63492012-03-23 David S. Miller <davem@davemloft.net>
6350
6351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6352
1532c7ac
L
63532012-03-23 H.J. Lu <hongjiu.lu@intel.com>
6354
6355 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6356 to pad to uint64_t for each field.
6357 (dl_tls_index): Replace unsigned long with uint64_t.
6358
3ff42526
PP
63592012-03-23 Daniel Jacobowitz <dmj@google.com>
6360 Paul Pluzhnikov <ppluzhnikov@google.com>
6361
6362 [BZ #6528]
6363 * grp/Makefile (otherlibs): Don't set it.
6364 * inet/Makefile (otherlibs): Likewise.
6365 * login/Makefile (otherlibs): Likewise.
6366 * nscd/Makefile (otherlibs): Likewise.
6367 * posix/Makefile (otherlibs): Likewise.
6368 * pwd/Makefile (otherlibs): Likewise.
6369 * rt/Makefile (otherlibs): Likewise.
6370 * sunrpc/Makefile (otherlibs): Likewise.
6371 * nss/Makefile (otherlibs): Likewise.
6372 Add libnss_files to routines and static-only-routines.
6373 ($(objpfx)getent): Remove rule.
6374 * resolv/Makefile: Add libnss_dns and libresolv to routines and
6375 static-only-routines.
6376
7c69cd14
JM
63772012-03-22 Joseph Myers <joseph@codesourcery.com>
6378
6379 [BZ #13892]
6380 * math/s_cexp.c: Include <float.h>.
6381 (__cexp): Handle exp result overflowing not necessarily
6382 overflowing both real and imaginary parts of result.
6383 * math/s_cexpf.c: Likewise.
6384 * math/s_cexpl.c: Likewise.
6385 * math/libm-test.inc (cexp_test): Add more tests.
6386 * sysdeps/i386/fpu/libm-test-ulps: Update.
6387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6388
81b035fe
L
63892012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6390
6391 * include/link.h (ELFW): New macro.
6392 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6393 Replace ELF64_R_TYPE with ELFW(R_TYPE).
6394
1da7940c
L
63952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6396
6397 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6398 with uint64_t.
6399
b749dbb9
L
64002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6401
6402 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6403 declaration.
6404 (struct La_x32_retval): Likewise.
6405
2ff87f3f
L
64062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6407
6408 * sysdeps/x86_64/preconfigure.in: New file.
6409 * sysdeps/x86_64/preconfigure: New generated file.
6410
c0df8e69
JM
64112012-03-22 Joseph Myers <joseph@codesourcery.com>
6412
48e44791
JM
6413 [BZ #13824]
6414 * math/e_exp2l.c: Include <float.h>.
6415 (__ieee754_exp2l): Handle overflow and underflow cases
6416 separately. Only pass fractional part of argument to
6417 __ieee754_expl.
6418 * math/libm-test.inc (exp2_test): Add more tests.
6419
c0df8e69
JM
6420 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6421 negating x to take absolute value.
6422 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6423 Likewise.
6424 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6425 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6426 Likewise.
6427 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6428 computing low part if x was negated.
6429 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6430
c8e43ba7
L
64312012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6432
6433 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6434 la_x32_gnu_pltexit.
6435 (pltexit): Cast int_retval to ptrdiff_t.
6436 * elf/tst-auditmod3b.c: Likewise.
6437 * elf/tst-auditmod4b.c: Likewise.
6438 * elf/tst-auditmod5b.c: Likewise.
6439 * elf/tst-auditmod6b.c: Likewise.
6440 * elf/tst-auditmod6c.c: Likewise.
6441 * elf/tst-auditmod7b.c: Likewise.
6442
6443 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6444 and x32_gnu_pltexit.
6445
6446 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6447 __ELF_NATIVE_CLASS.
6448 (La_x32_regs): New macro.
6449 (La_x32_retval): Likewise.
6450 (la_x32_gnu_pltenter): New function prototype.
6451 (la_x32_gnu_pltexit): Likewise.
6452
7998fa78
AS
64532012-03-21 Andreas Schwab <schwab@linux-m68k.org>
6454
dcb33988
AS
6455 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6456 exponent.
6457
233fc563
AS
6458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6459
7998fa78
AS
6460 * configure.in (libc_cv_cc_nofma): Check for option to disable
6461 generation of FMA instructions.
6462 * configure: Regenerate.
6463 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6464 * sysdeps/ieee754/dbl-64/Makefile: New file.
6465 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6466 Remove brandred-fma4.
6467 (CFLAGS-brandred-fma4.c): Remove.
6468 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6469 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6470 define.
6471 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6472 define.
6473
8e95c99a
L
64742012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6475
6476 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6477 LLONG_MAX != LONG_MAX.
6478 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6479 (_fitoa_word): Likewise.
6480 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6481 LLONG_MAX != LONG_MAX.
6482 * stdio-common/_itowa.h: Include <_itoa.h>.
6483 (_itowa_word): Use _ITOA_WORD_TYPE on value.
6484 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
6485 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
6486 only if not defined.
6487 (_ITOA_WORD_TYPE): Likewise.
6488 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6489 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6490
6f4db457
DM
64912012-03-21 David S. Miller <davem@davemloft.net>
6492
6493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6494
7785fe5a
L
64952012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6496
6497 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
6498 of x86_64 when setting libc_cv_slibdir, libdir and
6499 libc_cv_localedir.
6500 * sysdeps/unix/sysv/linux/configure: Regenerated.
6501
4535cd55
JM
65022012-03-21 Joseph Myers <joseph@codesourcery.com>
6503
6504 * manual/lang.texi (Old Varargs): Remove section.
6505 (How Variadic): Update menu.
6506 (va_start): Do not mention varargs.h.
6507
17228132
TS
65082012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6509 Joseph Myers <joseph@codesourcery.com>
6510
6511 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6512 link test.
6513 * configure: Regenerated.
6514
8149f976
TS
65152012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6516
05f3d1f6
UD
6517 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
6518 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
6519 conformtest.pl
8149f976 6520
1a4ac776
JM
65212012-03-21 Joseph Myers <joseph@codesourcery.com>
6522
be22ce65
JM
6523 * NOTES: Remove.
6524 * Makefile (files-for-dist): Remove NOTES.
6525 (NOTES): Remove rule.
6526 * README: Don't refer to NOTES.
6527 * manual/creature.texi: Don't include macros.texi.
6528 * manual/intro.texi (creature.texi): Remove comment referring to
6529 NOTES.
6530
40b601fb
JM
6531 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6532 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6533 * configure: Regenerated.
6534 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6535 LIBC_TRY_CC_OPTION.
6536 (libc_cv_as_i686): Likewise.
6537 (libc_cv_cc_avx): Likewise.
6538 (libc_cv_cc_sse2avx): Likewise.
6539 (libc_cv_cc_fma4): Likewise.
6540 (libc_cv_cc_novzeroupper): Likewise.
6541 * sysdeps/i386/configure: Regenerated.
6542
1a4ac776
JM
6543 [BZ #13883]
6544 * sysdeps/i386/fpu/s_cexp.S: Remove.
6545 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6546 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6547 * math/libm-test.inc (cexp_test): Add more tests.
6548 * sysdeps/i386/fpu/libm-test-ulps: Update.
6549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6550
a458e7fe
AM
65512012-03-21 Allan McRae <allan@archlinux.org>
6552
6553 * timezone/Makefile: Do not install iso3166.tab and zone.tab
6554
0cb7efc5
JM
65552012-03-21 Joseph Myers <joseph@codesourcery.com>
6556
6557 [BZ #13871]
6558 * math/w_exp2.c: Do not include <float.h>.
6559 (o_threshold, u_threshold): Remove.
6560 (__exp2): Calculate result before checking finiteness and calling
6561 __kernel_standard.
6562 * math/w_exp2f.c: Likewise.
6563 * math/w_exp2l.c: Likewise.
6564 * math/libm-test.inc (exp2_test): Require overflow exception for
6565 1e6 input.
2460d3aa
JM
6566
6567 [BZ #3866]
6568 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6569 range of signed 64-bit integers before using fistpll. Remove
6570 checks for whether integers fit in mantissa bits.
6571 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6572 the range of signed 32-bit integers before using fistpl. Remove
6573 checks for whether integers fit in mantissa bits.
6574 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6575 (__ieee754_powl): Test for y outside the range of signed 64-bit
6576 integers before using fistpll. Reduce 64-bit values to 63-bit
6577 ones as needed.
6578 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6579 divide-by-zero is raised for zero to large negative powers.
6580 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6581 (__ieee754_powl): Test for y outside the range of signed 64-bit
6582 integers before using fistpll. Reduce 64-bit values to 63-bit
6583 ones as needed.
6584 * math/libm-test.inc (pow_test): Add more tests.
6585
eb96ffb0
L
65862012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6587
6588 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6589 <stdio-common/_itoa.h>.
6590 * debug/segfault.c: Likewise.
6591 * elf/dl-cache.c: Likewise.
6592 * elf/dl-minimal.c: Likewise.
6593 * elf/dl-misc.c: Likewise.
6594 * elf/dl-sysdep.c: Likewise.
6595 * elf/dl-version.c: Likewise.
6596 * elf/rtld.c: Likewise.
6597 * hurd/hurdsock.c: Likewise.
6598 * hurd/lookup-retry.c: Likewise.
6599 * malloc/malloc.c: Likewise.
6600 * malloc/mtrace.c: Likewise.
6601 * nscd/nscd_getgr_r.c: Likewise.
6602 * nscd/nscd_getpw_r.c: Likewise.
6603 * nscd/nscd_getserv_r.c: Likewise.
6604 * posix/getopt_init.c: Likewise.
6605 * posix/wordexp.c: Likewise.
6606 * stdio-common/_itoa.c: Likewise.
6607 * stdio-common/printf_fphex.c: Likewise.
6608 * stdio-common/vfprintf.c: Likewise.
6609 * string/_strerror.c: Likewise.
6610 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6611 * sysdeps/i386/i686/hp-timing.h: Likewise.
6612 * sysdeps/mach/_strerror.c: Likewise.
6613 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6614 * sysdeps/mach/hurd/sethostid.c: Likewise.
6615 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6616 * sysdeps/mach/xpg-strerror.c: Likewise.
6617 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6618 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6619 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6620 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6621 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6622 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6623 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6624 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6625 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6626 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6627 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6628 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6629 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6630 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6631 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6632 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6633 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6634 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6635 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6636 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6637 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6638
6639 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6640
6641 * stdio-common/_itoa.h: Moved to ...
6642 * sysdeps/generic/_itoa.h: Here.
6643
6644 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6645
6646 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6647 instead of "_itoa.h" and "_itowa.h".
6648 * stdio-common/vfprintf.: Likewise.
6649
d1af992d
L
66502012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6651
6652 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6653 <bits/wordsize.h>.
6654 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6655 (__signbit): Likwise.
6656 (llrintf): Likwise.
6657 (llrint): Likwise.
6658
114883e0
L
66592012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6660
6661 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6662 __WORDSIZE != 64.
6663
c135cc1b
JM
66642012-03-20 Joseph Myers <joseph@codesourcery.com>
6665
6666 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6667 OVERFLOW_EXCEPTION_OK.
6668 * math/libm-test.inc ("Philosophy"): Update comment about
6669 exception testing.
6670 (OVERFLOW_EXCEPTION): Define.
6671 (OVERFLOW_EXCEPTION_OK): Likewise.
6672 (INVALID_EXCEPTION_OK): Renumber.
6673 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6674 (IGNORE_ZERO_INF_SIGN): Likewise.
6675 (test_exceptions): Handle FE_OVERFLOW.
6676 (exp10_test): Expect overflow exceptions.
6677 (exp2_test): Likewise.
6678 (expm1_test): Likewise.
6679 (nextafter_test): Likewise.
6680 (pow_test): Likewise.
6681 (scalbn_test): Likewise.
6682 (scalbln_test): Likewise.
6683
95443d88
L
66842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6685
6686 * sysdeps/x86_64/bits/atomic.h
6687 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6688 64bit integer.
6689 (atomic_exchange_acq): Likewise.
6690 (__arch_exchange_and_add_body): Likewise.
6691 (__arch_add_body): Likewise.
6692 (atomic_add_negative): Likewise.
6693 (atomic_add_zero): Likewise.
6694
490df6c4
L
66952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6696
c2722551 6697 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
6698 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6699
5e52b189
L
67002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6701
6702 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6703 Check __x86_64__ instead of __WORDSIZE.
6704
a9879d4c
L
67052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6706
6707 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6708
5df98260
DM
67092012-03-19 David S. Miller <davem@davemloft.net>
6710
e1497744
DM
6711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6712
5df98260
DM
6713 * sysdeps/sparc/fpu/fenv_private.h: New file.
6714 * sysdeps/sparc/fpu/math_private.h: Use it.
6715 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6716 Remove.
6717 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6718 (libc_feholdexcept_setroundl): Remove.
6719 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6720 Remove.
6721 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6722 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6723
b4c35121
L
67242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6725
6726 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6727 int64_t instead of long int.
6728 (INSERT_WORDS64): Likwise.
6729
56965fd7
L
67302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6731
6732 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6733 _Unwind_GetCFA return to _Unwind_Ptr first.
6734
83d1aec8
JM
67352012-03-19 Joseph Myers <joseph@codesourcery.com>
6736
1897ad44
JM
6737 [BZ #13629]
6738 * math/s_clog.c: Include <float.h>.
6739 (__clog): Scale large or subnormal inputs.
6740 * math/s_clogf.c: Likewise.
6741 * math/s_clogl.c: Likewise.
6742 * math/s_clog10.c: Include <float.h>.
6743 (M_LOG10_2): Define.
6744 (__clog10): Scale large or subnormal inputs.
6745 * math/s_clog10f.c: Likewise.
6746 * math/s_clog10l.c: Likewise.
6747 * math/libm-test.inc (clog_test): Add more tests.
6748 (clog10_test): Likewise.
6749 * sysdeps/i386/fpu/libm-test-ulps: Update.
6750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6751
7726d6a9
JM
6752 [BZ #11451]
6753 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6754 x and y.
6755 * math/libm-test.inc (atan2_test): Add another test.
6756
83d1aec8
JM
6757 * Makerules (common-objdir-compile): Remove.
6758 * sysdeps/unix/Makefile (config-generated): Do not add
6759 $(unix-generated) to variable.
6760 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6761 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6762 Remove rule.
6763 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6764 Likewise.
6765 [generic bits/local_lim.h] (before-compile): Do not append to
6766 variable.
6767 [generic bits/local_lim.h] (common-generated): Likewise.
6768 [generic sys/param.h] (before-compile): Do not append to variable.
6769 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6770 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6771 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6772 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6773 include.
6774 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6775 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6776 [generic sys/param.h] ($(addprefix
6777 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6778 [generic sys/param.h] (common-generated): Do not append to
6779 variable.
6780 [generic sys/param.h] (sysdep_headers): Likewise.
6781 [generic bits/errno.h] (before-compile): Do not append to
6782 variable.
6783 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6784 rule.
6785 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6786 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6787 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6788 [generic bits/errno.h] (common-generated): Do not append to
6789 variable.
6790 [generic bits/ioctls.h] (before-compile): Do not append to
6791 variable.
6792 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6793 rule.
6794 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6795 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6796 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6797 rule.
6798 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6799 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6800 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6801 [generic bits/ioctls.h] (common-generated): Do not append to
6802 variable.
6803 [generic sys/syscall.h] (syscall.h): Remove variable.
6804 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6805 rule.
6806 [generic sys/syscall.h] (before-compile): Do not append to
6807 variable.
6808 [generic sys/syscall.h] (common-generated): Likewise.
6809 * sysdeps/unix/errnos-tmpl.c: Remove file.
6810 * sysdeps/unix/errnos.awk: Likewise.
6811 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6812 * sysdeps/unix/ioctls.awk: Likewise.
6813 * sysdeps/unix/mk-local_lim.c: Likewise.
6814 * sysdeps/unix/snarf-ioctls: Likewise.
6815
4851a949
RH
68162012-03-19 Richard Henderson <rth@twiddle.net>
6817
bd37f2ee
RH
6818 * sysdeps/i386/fpu/fenv_private.h: New file.
6819 * sysdeps/i386/fpu/math_private.h: Use it.
6820 (math_opt_barrier, math_force_eval): Remove.
6821 (libc_feholdexcept_setround_53bit): Remove.
6822 (libc_feupdateenv_53bit): Remove.
6823 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6824 (math_opt_barrier, math_force_eval): Remove.
6825 (libc_feholdexcept): Remove.
6826 (libc_feholdexcept_setround): Remove.
6827 (libc_fetestexcept, libc_fesetenv): Remove.
6828 (libc_feupdateenv_test): Remove.
6829 (libc_feupdateenv, libc_feholdsetround): Remove.
6830 (libc_feresetround): Remove.
6831
d0adc922
RH
6832 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6833 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6834
0fe0f1f8
RH
6835 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6836 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6837 (libc_feupdateenv_testl): New.
6838 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6839 (libc_feupdateenv_testf): New.
6840 (libc_feupdateenv): Use libc_feupdateenv_test.
6841 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6842 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6843
eb92c487
RH
6844 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6845 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6846 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6847 (libc_feresetround_noex): New.
6848 (libc_feresetround_noexf): New.
6849 (libc_feresetround_noexl): New.
6850 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6851 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6852 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6853 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6854 SET_RESTORE_ROUND.
6855 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6856 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6857 (__cos): Likewise.
6858 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6859 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6860 SET_RESTORE_ROUND_NOEX.
6861 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6862 SET_RESTORE_ROUND_NOEXF.
6863 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6864 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6865 (libc_feholdsetroundf): New.
6866 (libc_feresetround, libc_feresetroundf): New.
6867
7d2e8012
RH
6868 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6869 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6870 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6871
b4dabbb4
RH
6872 * sysdeps/generic/math_private.h: Include <fenv.h>.
6873 (default_libc_feholdexcept): New.
6874 (default_libc_feholdexcept_setround): New.
6875 (default_libc_fesetenv, default_libc_feupdateenv): New.
6876 (libc_feholdexcept): Only define if undefined.
6877 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6878 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6879 (libc_feholdexcept_setroundl): Likewise.
6880 (libc_feholdexcept_setround_53bit): Likewise.
6881 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6882 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6883 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6884 (libc_feupdateenv_53bit): Likewise.
6885 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6886 (libc_feholdexcept): Convert from macro to inline function.
6887 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6888 (libc_fesetenv, libc_feupdateenv): Likewise.
6889
4851a949
RH
6890 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6891 not previously defined.
6892 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6893 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6894 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6895 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6896 * sysdeps/ieee754/flt-32/math_private.h: New file.
6897 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6898 math_private.h below SET_FLOAT_WORD.
6899 (__isnan, __isinf_ns, __finite): Remove.
6900 (__isnanf, __isinf_nsf, __finitef): Remove.
6901
e79d442e
AS
69022012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6903
6904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6905
90b80344
DM
69062012-03-17 David S. Miller <davem@davemloft.net>
6907
6908 [BZ #6471]
6909 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6910 for 2.16.
6911
edc21804
DM
69122012-03-16 David S. Miller <davem@davemloft.net>
6913
77e927af
DM
6914 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6915 warnings.
6916
374976dd
DM
6917 [BZ #6471]
6918 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6919 properly.
6920 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6921 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6922 sysdep_routines when subdir is sysvipc.
6923 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6924 __getshmlba helper.
6925
edc21804
DM
6926 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6927
473c3ef3
L
69282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6929
6930 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6931 [__LP64__].
6932
eb0f39b6
L
69332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6934
6935 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6936 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6937 (__lround): Renamed to ...
6938 (__llround): This. Replace long int with long long int.
6939 Define lround functions as aliases of llround functions.
6940 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6941
6b6cd74b
L
69422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6943
6944 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6945 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6946 adresses to uintptr_t. Replace "long int" and "unsigned long
6947 int" with "greg_t" on va_arg.
6948
f1a77b01
L
69492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6950
6951 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6952 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6953
6954 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6955 Move e_machine check before EI_CLASS check. Handle x32
6956 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6957 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6958 SKIP_EM_IA_64 and include
6959 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6960
6961 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6962 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6963 (add_system_dir): New macro.
6964
6965 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6966 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6967
11b90b9f
JM
69682012-03-16 Joseph Myers <joseph@codesourcery.com>
6969
c36e1d23
JM
6970 [BZ #2551]
6971 [BZ #2552]
6972 [BZ #2553]
6973 [BZ #2554]
6974 [BZ #2562]
6975 [BZ #2563]
6976 [BZ #2565]
6977 [BZ #2566]
6978 [BZ #2576]
6979 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6980 (y0): Likewise.
6981 * math/w_j0f.c (j0f): Likewise.
6982 (y0f): Likewise.
6983 * math/w_j0l.c (__j0l): Likewise.
6984 (__y0l): Likewise.
6985 * math/w_j1.c (j1): Likewise.
6986 (y1): Likewise.
6987 * math/w_j1f.c (j1f): Likewise.
6988 (y1f): Likewise.
6989 * math/w_j1l.c (__j1l): Likewise.
6990 (__y1l): Likewise.
6991 * math/w_jn.c (jn): Likewise.
6992 (yn): Likewise.
6993 * math/w_jnf.c (jnf): Likewise.
6994 (ynf): Likewise.
6995 * math/w_jnl.c (__jnl): Likewise.
6996 (__ynl): Likewise.
6997 * math/libm-test.inc (j0_test): Add more tests.
6998 (j1_test): Likewise.
6999 (jn_test): Likewise. Add trailing semicolon to existing test.
7000 (y0_test): Likewise.
7001 (y1_test): Likewise.
7002 * sysdeps/i386/fpu/libm-test-ulps: Update.
7003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7004
11b90b9f
JM
7005 [BZ #13851]
7006 [BZ #13854]
7007 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7008 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7009 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7010 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7011 (__tanl): Set errno for infinite argument.
7012 * sysdeps/i386/fpu/mptan.c: Remove.
7013 * sysdeps/i386/fpu/s_tan.S: Likewise.
7014 * sysdeps/i386/fpu/s_tanl.S: Likewise.
7015 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7016 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7017 * math/libm-test.inc (tan_test): Add more tests and enable more
7018 tests for double and long double.
7019 * sysdeps/i386/fpu/libm-test-ulps: Update.
7020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7021
6a1bd2a1
JK
70222012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7023
7024 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7025 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7026
10a803e0
RM
70272012-03-16 Roland McGrath <roland@hack.frob.com>
7028
7029 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7030 * configure.in: Use it for both main tree and add-ons.
7031 * configure: Regenerated.
7032
f196c7f7
L
70332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7034
7035 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7036
8848d99d
JM
70372012-03-16 Joseph Myers <joseph@codesourcery.com>
7038
96cbe7f4
JM
7039 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7040 in comment.
7041
8848d99d
JM
7042 [BZ #13851]
7043 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7044 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7045 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7046 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7047 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7048 infinite argument.
7049 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7050 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7051 != 0 for prec == 2.
7052 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7053 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7054 * sysdeps/i386/fpu/s_cosl.S: Likewise.
7055 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7056 * sysdeps/i386/fpu/s_sinl.S: Likewise.
7057 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7058 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7059 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7060 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7061 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7062 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7063 * math/libm-test.inc (cos_test): Add more tests and enable more
7064 tests for long double.
7065 (sin_test): Likewise.
7066 (sincos_test): Likewise.
7067 * sysdeps/i386/fpu/libm-test-ulps: Update.
7068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7069
dd7f4703
DM
70702012-03-16 David S. Miller <davem@davemloft.net>
7071
7072 * sysdeps/sparc/fpu/math_private.h: New file.
7073
006f1daa
DM
70742012-03-15 David S. Miller <davem@davemloft.net>
7075
c0c83bc8
DM
7076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
7077 file.
e6a62e18 7078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
7079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
7080 file.
e6a62e18
DM
7081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
7082 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
7083 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
7084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
7085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
7086 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
7087 sysdep routines.
7088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7089
88cb87d9
DM
7090 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
7091 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
7092
006f1daa 7093 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
7094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
7095 sparc-ifunc.h
006f1daa 7096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
7097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7098 Likewise.
7099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7100 Likewise.
006f1daa
DM
7101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
7104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7105 Likewise.
006f1daa
DM
7106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
7110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7111 Likewise.
7112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7113 Likewise.
006f1daa
DM
7114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7118 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7119 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7120 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7121 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7122 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7123 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7124 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7125 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7128 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7129 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7130 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7131 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7132 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7133 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7134 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7135 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7136 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7137 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7138
11e0098e
AS
71392012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7140
7141 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7142 scaling.
7143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7144
e85b09d0
AJ
71452012-03-15 Andreas Jaeger <aj@suse.de>
7146
7147 [BZ #13852]
7148 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7149 ieee754/flt-32 implementation for sin, cos and sincos.
7150 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7151 * sysdeps/i386/fpu/s_cosf.S: Likewise.
7152 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7153 * sysdeps/i386/fpu/s_sinf.S: Likewise.
7154 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7155 ieee754/flt-32 implementation for tan.
7156
7157 * math/libm-test.inc (cos_test): Enable some large input tests for
7158 float as well
7159 (sin_test): Likewise.
7160 (sincos_test): Likewise.
7161 (tan_test): Add tests for large input.
7162
7163 * sysdeps/i386/fpu/libm-test-ulps: Update.
7164
81c64153
AJ
71652012-03-15 Andreas Jaeger <aj@suse.de>
7166
7167 [BZ #13658]
7168 * math/libm-test.inc (cos_test): Add more test cases.
7169 (sin_test): Likewise.
7170 (sincos_test): Likewise.
7171
7bbfa5c6
AJ
71722012-03-15 Andreas Jaeger <aj@suse.de>
7173
7174 [BZ #13837]
7175 * math/libm-test.inc (cos_test): Add a test case for large input
7176 value.
7177 (sin_test): Likewise.
7178 (sincos_test): Likewise.
7179
71802012-03-15 Andreas Jaeger <aj@suse.de>,
7181 Joseph Myers <joseph@codesourcery.com>
7182
7183 [BZ #13658]
0671f479 7184 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
7185 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7186 * sysdeps/i386/fpu/branred.c: Likewise.
7187 * sysdeps/i386/fpu/dosincos.c: Likewise.
7188 * sysdeps/i386/fpu/mpa.c: Likewise.
7189 * sysdeps/i386/fpu/s_cos.S: Likewise.
7190 * sysdeps/i386/fpu/s_sin.S: Likewise.
7191 * sysdeps/i386/fpu/s_sincos.S: Likewise.
7192 * sysdeps/i386/fpu/sincos32.c: Likewise.
7193
7194 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7195 Define.
7196 (libc_feupdateenv_53bit): Define.
7197 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7198 Define.
7199 (libc_feupdateenv_53bit): Define.
7200
7201 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7202 53 bit (without extend i386 double precision).
7203
7204 * math/libm-test.inc (sincos_test): Add tests for large input.
7205 (sin): Likewise.
7206 (cos): Likewise.
7207
7208 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7209
9cad04ea
AS
72102012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7211
7212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7213
f7062b9a
DM
72142012-03-15 David S. Miller <davem@davemloft.net>
7215
7216 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7217 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7218 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7219 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7224 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7225 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7226 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7227 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7228 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7229 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7230 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
7231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7232 file.
f7062b9a 7233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
7234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7235 file.
f7062b9a 7236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
7237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7238 file.
f7062b9a 7239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
7240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7241 file.
f7062b9a
DM
7242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7243 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7244 fmin/fmax sysdep routines.
7245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7246
7bd951ff
DM
72472012-03-14 David S. Miller <davem@davemloft.net>
7248
559398ab
DM
7249 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7250 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7251 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7252 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7253 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7254 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7255 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7256 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7257 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7258 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7259 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7260 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7261 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7262 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7263 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7264 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7265 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7266 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7267 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7268 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7269 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7270 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7271 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7272 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7273 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7274 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7275 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7276 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7277 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7278 routines.
7279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7280 file.
559398ab 7281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
7282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7283 file.
559398ab 7284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
7285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7286 file.
559398ab 7287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
7288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7289 file.
559398ab 7290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
7291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7292 file.
559398ab 7293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
7294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7295 file.
7296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7297 file.
7298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7299 file.
7300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7301 file.
7302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7303 New file.
7304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7305 file.
7306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7307 file.
559398ab 7308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
7309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7310 file.
559398ab 7311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7313 file.
559398ab 7314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
7315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7316 file.
559398ab 7317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
7318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7319 VIS3 routines.
559398ab
DM
7320
7321 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7322 New file.
7323
5a1c1e32
DM
7324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7325
eae47a36
DM
7326 * sysdeps/sparc/configure.in: New file.
7327 * sysdeps/sparc/configure: Generate.
7328 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7329 * configure: Regenerate.
7330 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7331 * config.make.in (have-as-vis3): New.
7332 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7333 available use -Av9d instead of -Av9a.
7334 * sysdeps/sparc/sparc64/Makefile: Likewise.
7335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
7336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7337 New file.
7338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7339 file.
7340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7341 New file.
7342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7343 file.
eae47a36
DM
7344 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7345 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7346 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7347 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7348 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7349
c0c83bc8
DM
7350 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7351 fzeros/fnegs to load 0x80000000 into a float register instead of
7352 using the stack.
7bd951ff
DM
7353 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7354
bd951ccb
JM
73552012-03-14 Joseph Myers <joseph@codesourcery.com>
7356
7357 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7358 bits/syscall.h.
7359 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7360 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7361 ($(inst_includedir)/bits/syscall.h): Remove rule.
7362 ($(objpfx)bits/syscall.d): Include instead of
7363 $(objpfx)syscall-list.d.
7364 (generated): Change syscall-list.h and syscall-list.d to
7365 bits/syscall.h and bits/syscall.d.
7366
bb4e6db2
RM
73672012-03-14 Roland McGrath <roland@hack.frob.com>
7368
7369 [BZ #13846]
7370 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7371
aa4a2ae1
JM
73722012-03-14 Joseph Myers <joseph@codesourcery.com>
7373
e456826d
JM
7374 [BZ #13841]
7375 * math/s_csqrt.c: Include <float.h>.
7376 (__csqrt): Scale large or subnormal inputs.
7377 * math/s_csqrtf.c: Likewise.
7378 * math/s_csqrtl.c: Likewise.
7379 * math/libm-test.inc (csqrt_test): Add more tests.
7380 * sysdeps/i386/fpu/libm-test-ulps: Update.
7381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7382
aa4a2ae1
JM
7383 [BZ #13840]
7384 * math/libm-test.inc (hypot_test): Add more tests.
7385
7c10fd35
DM
73862012-03-13 David S. Miller <davem@davemloft.net>
7387
7388 [BZ #13840]
7389 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7390 double-precision for the calculation instead of scaling.
7391
f453b98b
JM
73922012-03-13 Joseph Myers <joseph@codesourcery.com>
7393
7394 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7395 manipulate bits before adding and subtracting TWO52[sx].
7396 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7397 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7398 Likewise.
7399 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7400
09a3453f
DM
74012012-03-13 David S. Miller <davem@davemloft.net>
7402
8e59da90
DM
7403 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7404 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7405 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7406 rtld-global-offsets.h
7407 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7408
2a8ab7f2
DM
7409 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7410 large parameters.
7411
10f62770
DM
7412 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7413
5f0bdb18
DM
7414 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7415 'err' in the ifdef scope in which it is actually used.
7416
09a3453f
DM
7417 * nss/nss_db/db-init.c: Include string.h
7418
b4b2eb5e
DM
74192012-03-12 David S. Miller <davem@davemloft.net>
7420
98bb2f1c
DM
7421 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7422 masking out of the most significant byte of random value used.
7423 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7424 Fix coding style in previous change.
7425
b4b2eb5e
DM
7426 * sysdeps/unix/sysv/linux/kernel-features.h
7427 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7428 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7429 expression.
7430 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7431 later.
7432
6e226b09
DM
74332012-03-11 David S. Miller <davem@davemloft.net>
7434
a1bcbd40
DM
7435 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7436 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7437 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7438 for 'resultvar' otherwise things get truncated on 64-bit.
7439
cb9d6174
DM
7440 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7441 Fix masking out of the most significant byte of random value used.
7442
6e226b09
DM
7443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7444
058c132d
AS
74452012-03-10 Andreas Schwab <schwab@linux-m68k.org>
7446
7447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7448
2d2cd515
DM
74492012-03-09 David S. Miller <davem@davemloft.net>
7450
7451 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7452 variables with appropriate CPP guards.
7453 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7454 frame pointer, not the stack pointer. Correct layout comments. Fix test
7455 on resulting framesize and the management of the outregs buffer for pltexit.
7456 Preserve floating point return values across _dl_call_pltexit call.
7457 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7458 framesize and the management of the outregs buffer for pltexit.
7459 Preserve floating point return values across _dl_call_pltexit
7460 call.
7461 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7462 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7463 (print_exit): Fix format string for return register value.
7464
9a07f9d0
JM
74652012-03-10 Joseph Myers <joseph@codesourcery.com>
7466
7467 * sunrpc/Makefile (others): Add rpcgen.
7468 ($(objpfx)rpcgen): Remove special build rule and dependency on
7469 libc.
7470 * sunrpc/rpcgen.c: New file.
7471
547b5e30
PE
74722012-03-09 Paul Eggert <eggert@cs.ucla.edu>
7473
c524201a
PE
7474 [BZ #13673]
7475 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7476 * stdio-common/bug-vfprintf-nargs.c: Likewise.
7477 * sysdeps/i386/crti.S: Likewise.
7478 * sysdeps/i386/crtn.S: Likewise.
7479 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7480 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7481 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7482 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7483 * sysdeps/sh/crti.S: Likewise.
7484 * sysdeps/sh/crtn.S: Likewise.
7485 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7486
7b6235f2
PE
7487 [BZ #13673]
7488 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7489 with URL.
7490 * locale/programs/locfile-kw.gperf: Likewise.
7491 * locale/programs/charmap-kw.h: Regenerated.
7492 * locale/programs/locfile-kw.h: Likewise.
7493
547b5e30
PE
7494 [BZ #13673]
7495 * intl/plural.y: Replace FSF snail mail address with URL.
7496 * intl/plural.c: Regenerated.
7497
5f0a5dae
RH
74982012-03-09 Richard Henderson <rth@twiddle.net>
7499
7500 * include/math_private.h: Remove file.
7501 * math/math_private.h: Move file ...
7502 * sysdeps/generic/math_private.h: ... here.
7503
b8c03620
RH
7504 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7505 * sysdeps/powerpc/fpu/math_private.h: Likewise.
7506 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7507
4e234f5d 7508 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
7509 and <math_private.h>.
7510 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7511 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7512 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7513 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7514 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7515 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
7516 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7517 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7518 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7519 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7520 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7521 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7522 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7523 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7524 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7525 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7526 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7527 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7528 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7529 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7530 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7531 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7532 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7533 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7534 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7535 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7536 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7537 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7538 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7539 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7540 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7541 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7542 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7543 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7544 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7545 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7546 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7547 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7548 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7549 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7550 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7551 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7552 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7553 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7554 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7555 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7556 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7557 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7558 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7559 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7560 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7561 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7562 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7563 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7564 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7565 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7566 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7567 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7568 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7569 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7570 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7571 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7572 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7573 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7574 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7575 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7576 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7577 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7578 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7579 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7580 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7581 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7582 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7583 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7584 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7585 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7586 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7587 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7588 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7589 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7590 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7591 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7592 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7593 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7594 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7595 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7596 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7597 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7598 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7599 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7600 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7601 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7602 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7603 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7604 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7605 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7606 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7607 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7608 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7609 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7610 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7611 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7612 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7613 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7614 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7615 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7616 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7617 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7618 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7619 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7620 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7621 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7622 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7623 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7624 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7625 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7626 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7627 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7628 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7629 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7630 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7631 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7632 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7633 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7634 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7635 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7636 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7637 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7638 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7639 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7640 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7641 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7642 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7643 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7644 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7645 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7646 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7647 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7648 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7649 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7650 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7651 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7652 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7653 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7654 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7655 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7656 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7657 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7658 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7659 * sysdeps/ieee754/k_standard.c: Likewise.
7660 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7661 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7662 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7663 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7664 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7665 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7666 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7667 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7668 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7669 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7670 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7671 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7672 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7673 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7674 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7675 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7676 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7677 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7678 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7679 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7680 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7681 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7682 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7683 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7684 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7685 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7686 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7687 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7688 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7689 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7690 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7691 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7692 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7693 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7694 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7695 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7696 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7697 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7698 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7699 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7700 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7701 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7702 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7703 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7704 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7705 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7706 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7707 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7708 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7709 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7710 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7711 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7712 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7713 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7714 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7715 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7716 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7717 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7718 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7719 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7720 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7721 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7722 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7723 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7724 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7725 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7726 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7727 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7728 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7729 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7730 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7731 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7732 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7733 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7734 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7735 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7736 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7737 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7738 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7739 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7740 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7741 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7742 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7743 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7744 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7745 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7746 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7747 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7748 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7749 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7750 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7751 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7752 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7753 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7754 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7755 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7756 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7757 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7758 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7759 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7760 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7761 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7762 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7763 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7764 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7765 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7766 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7767 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7768 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7769 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7770 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7771 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7772 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7773 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7774 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7775 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7776 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7777 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7778 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7779 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7780 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7781 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7782 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7783 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7784 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7785 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7786 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7787 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7788 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7789 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7790 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7791 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7792 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7793 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7794 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7795 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7796 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7797 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7798 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7799 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7800 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7801 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7802 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7803 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7804 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7805 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7806 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7807 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7808 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7809 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7810 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7811 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7812 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7813 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7814 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7815 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7816 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7817 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7818 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7819 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7820 * sysdeps/ieee754/s_lib_version.c: Likewise.
7821 * sysdeps/ieee754/s_matherr.c: Likewise.
7822 * sysdeps/ieee754/s_signgam.c: Likewise.
7823 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7824 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7825 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7826 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7827 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7828 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7829 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7830 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7831 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7832 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7833 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7834 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7835 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7836 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7837 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7838 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7839 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7840 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7841 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7842 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7843 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 7844
1991fa03
JM
78452012-03-09 Joseph Myers <joseph@codesourcery.com>
7846
7847 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7848 * sunrpc/rpc_main.c: Likewise.
7849 * sunrpc/rpc_svcout.c: Likewise.
7850
60d6f5a6
DM
78512012-03-09 David S. Miller <davem@davemloft.net>
7852
7853 * include/math_private.h: New file.
7854
4962050e
JM
78552012-03-09 Joseph Myers <joseph@codesourcery.com>
7856
02a6f887
JM
7857 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7858 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7859 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7860 from <bits/socket_type.h>.
7861 (enum __socket_type): Don't define here.
7862 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7863 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7864 bits/socket_type.h.
7865
c6e013c1
JM
7866 [BZ #13566]
7867 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7868 checking __USE_GNU.
7869
4962050e
JM
7870 * Makerules ($(inst_includedir)/%.h): New rule.
7871 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7872 (install-others): Remove variable setting.
7873 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7874
38842f45
RH
78752012-03-08 Richard Henderson <rth@twiddle.net>
7876
67bb6da6
RH
7877 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7878 from macro to inline function; merge with the
7879 !__LIBC_INTERNAL_MATH_INLINES version.
7880 (__ieee754_sqrtf): Likewise.
7881
15194b4b
RH
7882 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7883 to inline function.
7884 (__rintf, __floor, __floorf): Likewise.
7885
64e21ede
RH
7886 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7887 macro to inline function.
7888 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7889
38842f45
RH
7890 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7891 not <math/math_private.h>.
7892
c64bf5fe
DM
78932012-03-08 David S. Miller <davem@davemloft.net>
7894
7895 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7896 copyright year.
7897 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7898
82d86f28
TS
78992012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7900
7901 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7902 normalization.
7903 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7904 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7905
aea5d727
UD
79062012-03-08 Ulrich Drepper <drepper@gmail.com>
7907
7908 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7909 be defined individually, they must be defined as a block. Define
7910 S for printing a string instead of hidint the different by using a
7911 macro for adding the 'l'.
7912 * stdio-common/tst-fphex-wide.c: Adjust.
7913
70bca0a3
MP
79142012-03-07 Marek Polacek <polacek@redhat.com>
7915
7916 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7917
65b81130
MP
79182012-03-08 Marek Polacek <polacek@redhat.com>
7919
7920 [BZ #13806]
7921 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7922 * stdio-common/tst-fphex.c: Define a few macros to make the
7923 test reusable. Use them.
7924 * stdio-common/tst-fphex-wide.c: New file.
7925
07037eeb
JM
79262012-03-08 Joseph Myers <joseph@codesourcery.com>
7927
a7a93d50
JM
7928 [BZ #6911]
7929 * manual/macros.texi (gnusystems): New macro.
7930 (nongnusystems): Likewise.
7931 (gnulinuxhurdsystems): Likewise.
7932 (gnuhurdsystems): Likewise..
7933 (gnulinuxsystems): Likewise.
7934 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7935 variants of the GNU system, not "GNU system".
7936 * manual/conf.texi: Likewise.
7937 * manual/errno.texi: Likewise. Update example of errno macro
7938 expansion.
7939 * manual/filesys.texi: Likewise.
7940 (getumask): Document as specific to GNU/Hurd.
7941 * manual/install.texi: Likewise. Reword some references to
7942 GNU/Linux.
7943 * manual/intro.texi: Likewise.
7944 * manual/io.texi: Likewise.
7945 (File Name Portability): Detail which constraints are inapplicable
7946 to all GNU systems and which are only inapplicable to GNU/Hurd.
7947 * manual/job.texi: Likewise.
7948 * manual/llio.texi: Likewise.
7949 (O_NOCTTY): Document as present on GNU/Linux.
7950 * manual/maint.texi: Likewise.
7951 * manual/memory.texi: Likewise.
7952 * manual/pattern.texi: Likewise.
7953 * manual/pipe.texi: Likewise.
7954 * manual/process.texi: Likewise.
7955 * manual/resource.texi: Likewise.
7956 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7957 child on GNU/Hurd.
7958 * manual/setjmp.texi: Likewise.
7959 * manual/signal.texi: Likewise.
7960 * manual/startup.texi: Likewise.
7961 * manual/stdio.texi: Likewise.
7962 * manual/terminal.texi: Likewise.
7963 (ONLCR): Document as POSIX.
7964 (OXTABS): Document availability on GNU/Linux as XTABS.
7965 (ONOEOT): Document availability separately from other bits.
7966 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7967 * manual/time.texi: Likewise.
7968 * manual/users.texi: Likewise.
7969 * INSTALL: Regenerated.
7970 * sysdeps/gnu/errlist.c: Regenerated.
7971
07037eeb
JM
7972 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7973 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7974 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7975 puts.
7976 * configure: Regenerated.
7977
d1d3431a
JM
79782012-03-07 Joseph Myers <joseph@codesourcery.com>
7979
af6a1e37
JM
7980 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7981 default includes instead of AC_HEADER_CHECK.
7982 * sysdeps/i386/configure: Regenerated.
7983
d1d3431a
JM
7984 [BZ #10716]
7985 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7986 * math/s_cacoshf.c (__cacoshf): Likewise.
7987 * math/s_cacoshl.c (__cacoshl): Likewise.
7988 * math/s_casinh.c (__casinh): Set signs of result from argument.
7989 * math/s_casinhf.c (__casinhf): Likewise.
7990 * math/s_casinhl.c (__casinhl): Likewise.
7991 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7992 (casinh_test): Add more tests.
7993 * sysdeps/i386/fpu/libm-test-ulps: Update.
7994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7995
482ff4da
UD
79962012-03-07 Ulrich Drepper <drepper@gmail.com>
7997
872fda05
UD
7998 * po/zh_TW.po: Update from translation team.
7999
a4300c7a
UD
8000 * login/Makefile (distribute): Remove variable.
8001 * catgets/Makefile: Likewise.
8002 * mach/Makefile: Likewise.
8003 * malloc/Makefile: Likewise.
8004 * misc/Makefile: Likewise.
8005 * iconv/Makefile: Likewise.
8006 * nscd/Makefile: Likewise.
8007 * hurd/Makefile: Likewise.
8008 * manual/Makefile: Likewise.
8009 * locale/Makefile: Likewise.
8010 * intl/Makefile: Likewise.
8011 * conform/Makefile: Likewise.
8012 * nss/Makefile: Likewise.
8013 * time/Makefile: Likewise.
8014 * soft-fp/Makefile: Likewise.
8015 * dirent/Makefile: Likewise.
8016 * gmon/Makefile: Likewise.
8017 * po/Makefile: Likewise.
8018 * rt/Makefile: Likewise.
8019 * socket/Makefile: Likewise.
8020 * math/Makefile: Likewise.
8021 * signal/Makefile: Likewise.
8022 * debug/Makefile: Likewise.
8023 * elf/Makefile: Likewise.
8024 * timezone/Makefile: Likewise.
8025 * stdlib/Makefile: Likewise.
8026 * iconvdata/Makefile: Likewise.
8027 * sunrpc/Makefile: Likewise.
8028 * io/Makefile: Likewise.
8029 * argp/Makefile: Likewise.
8030 * inet/Makefile: Likewise.
8031 * hesiod/Makefile: Likewise.
8032 * grp/Makefile: Likewise.
8033 * csu/Makefile: Likewise.
8034 * wctype/Makefile: Likewise.
8035 * crypt/Makefile: Likewise.
8036 * libio/Makefile: Likewise.
8037 * string/Makefile: Likewise.
8038 * nis/Makefile: Likewise.
8039 * resolv/Makefile: Likewise.
8040 * stdio-common/Makefile: Likewise.
8041 * wcsmbs/Makefile: Likewise.
8042 * dlfcn/Makefile: Likewise.
8043 * posix/Makefile: Likewise.
8044
3b7c4e74 8045 [BZ #6959]
482ff4da
UD
8046 * timezone/Makefile: Don't install timezone files, just the programs
8047 and scripts.
8048
f72ed77d
UD
80492012-03-06 Ulrich Drepper <drepper@gmail.com>
8050
a000466f
UD
8051 * nss/databases.def: Add missing gshadow entry.
8052
f72ed77d
UD
8053 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
8054
a53b7a4e
MP
80552012-03-06 Marek Polacek <polacek@redhat.com>
8056
8057 [BZ #13726]
8058 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8059 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8060 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8061 * stdio-common/tst-long-dbl-fphex.c: New file.
8062
e9258400
DM
80632012-03-06 David S. Miller <davem@davemloft.net>
8064
8065 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8066 (set_obp_int): New function.
8067 (get_obp_int): New function.
8068 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
8069 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
8070 Avoid unused variable warnings on 'val' and use builtin_expect.
8071 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
8072 __builtin_expect.
e9258400
DM
8073 (INLINE_CLONE_SYSCALL): Likewise.
8074
3bd2c723
DM
80752012-03-05 David S. Miller <davem@davemloft.net>
8076
8077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8078
bbb78d03
AS
80792012-03-05 Andreas Schwab <schwab@linux-m68k.org>
8080
884c5db4
AS
8081 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8082
bbb78d03
AS
8083 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
8084 only for |x| >= 40.
8085 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8086
1c9f702a 80872012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
8088
8089 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
8090 Replace gettimeofday with __vdso_gettimeofday.
8091
7be16f82
RM
8092 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8093 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
8094 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
8095
8096 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8097 time with __vdso_time.
8098
ed58a00f
JM
80992012-03-05 Joseph Myers <joseph@codesourcery.com>
8100
8101 * manual/lang.texi (size_t): Note types to which size_t may be
8102 equivalent with the GNU C Library, but do not describe when
8103 differences between them are significant.
8104
30ee4ced
AJ
81052012-03-05 Andreas Jaeger <aj@suse.de>
8106
8107 * sysdeps/i386/fpu/libm-test-ulps: Update.
8108
b7cd39e8
JM
81092012-03-05 Joseph Myers <joseph@codesourcery.com>
8110
8111 [BZ #3976]
8112 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8113 (__ieee754_pow): Save and restore rounding mode and use
8114 round-to-nearest for main computations.
8115 * math/libm-test.inc (pow_test_tonearest): New function.
8116 (pow_test_towardzero): Likewise.
8117 (pow_test_downward): Likewise.
8118 (pow_test_upward): Likewise.
8119 (main): Call the new functions.
8120 * sysdeps/i386/fpu/libm-test-ulps: Update.
8121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
8122
8123 [BZ #3976]
8124 * math/libm-test.inc (cosh_test_tonearest): New function.
8125 (cosh_test_towardzero): Likewise.
8126 (cosh_test_downward): Likewise.
8127 (cosh_test_upward): Likewise.
8128 (sinh_test_tonearest): Likewise.
8129 (sinh_test_towardzero): Likewise.
8130 (sinh_test_downward): Likewise.
8131 (sinh_test_upward): Likewise.
8132 (main): Call the new functions.
8133 * sysdeps/i386/fpu/libm-test-ulps: Update.
8134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8135
6c6a98c9
TV
81362012-03-05 Tom de Vries <tom@codesourcery.com>
8137
8138 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8139 default stack guard is set in last bytes.
8140 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8141
21bb2d2e 81422012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 8143
21bb2d2e 8144 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 8145
21bb2d2e
AJ
8146 [BZ #13656]
8147 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8148 possibly allocate from heap instead of stack.
8149 * stdio-common/bug-vfprintf-nargs.c: New file.
8150 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 8151
c6922934
AS
81522012-03-03 Andreas Schwab <schwab@linux-m68k.org>
8153
8154 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8155
bc957d53
MP
81562012-03-03 Marek Polacek <polacek@redhat.com>
8157
8158 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8159 * math/math_private.h: Likewise.
8160 * stdlib/tst-strtod.c: Likewise.
8161 * sysdeps/i386/i486/bits/atomic.h: Likewise.
8162 * sysdeps/x86_64/bits/atomic.h: Likewise.
8163
6358490d
DM
81642012-03-02 David S. Miller <davem@davemloft.net>
8165
8166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8170 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8171 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8172 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8173 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8174
01ae168d
RM
81752012-03-02 Roland McGrath <roland@hack.frob.com>
8176
d9a17c07
RM
8177 [BZ #13792]
8178 * manual/examples/README: New file, says the example source files
8179 can be used under GPL>=2.
8180 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8181 line containing just "*/".
8182 * manual/examples/add.c: Add copyright header (GPL>=2).
8183 * manual/examples/argp-ex1.c: Likewise.
8184 * manual/examples/argp-ex2.c: Likewise.
8185 * manual/examples/argp-ex3.c: Likewise.
8186 * manual/examples/argp-ex4.c: Likewise.
8187 * manual/examples/atexit.c: Likewise.
8188 * manual/examples/db.c: Likewise.
8189 * manual/examples/dir.c: Likewise.
8190 * manual/examples/dir2.c: Likewise.
8191 * manual/examples/execinfo.c: Likewise.
8192 * manual/examples/filecli.c: Likewise.
8193 * manual/examples/filesrv.c: Likewise.
8194 * manual/examples/fmtmsgexpl.c: Likewise.
8195 * manual/examples/genpass.c: Likewise.
8196 * manual/examples/inetcli.c: Likewise.
8197 * manual/examples/inetsrv.c: Likewise.
8198 * manual/examples/isockad.c: Likewise.
8199 * manual/examples/longopt.c: Likewise.
8200 * manual/examples/memopen.c: Likewise.
8201 * manual/examples/memstrm.c: Likewise.
8202 * manual/examples/mkfsock.c: Likewise.
8203 * manual/examples/mkisock.c: Likewise.
8204 * manual/examples/mygetpass.c: Likewise.
8205 * manual/examples/pipe.c: Likewise.
8206 * manual/examples/popen.c: Likewise.
8207 * manual/examples/rprintf.c: Likewise.
8208 * manual/examples/search.c: Likewise.
8209 * manual/examples/select.c: Likewise.
8210 * manual/examples/setjmp.c: Likewise.
8211 * manual/examples/sigh1.c: Likewise.
8212 * manual/examples/sigusr.c: Likewise.
8213 * manual/examples/stpcpy.c: Likewise.
8214 * manual/examples/strdupa.c: Likewise.
8215 * manual/examples/strftim.c: Likewise.
8216 * manual/examples/strncat.c: Likewise.
8217 * manual/examples/subopt.c: Likewise.
8218 * manual/examples/swapcontext.c: Likewise.
8219 * manual/examples/termios.c: Likewise.
8220 * manual/examples/testopt.c: Likewise.
8221 * manual/examples/testpass.c: Likewise.
8222 * manual/examples/timeval_subtract.c: Likewise.
8223
01ae168d
RM
8224 [BZ #13792]
8225 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8226 function to ...
8227 * manual/timeval_subtract.c.texi: ... here, new file.
8228
49efa33d
DM
82292012-03-02 David S. Miller <davem@davemloft.net>
8230
8231 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8232
28afd92d
JM
82332012-03-02 Joseph Myers <joseph@codesourcery.com>
8234
804360ed
JM
8235 [BZ #3976]
8236 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8237 (__sin): Save and restore rounding mode and use round-to-nearest
8238 for all computations.
8239 (__cos): Save and restore rounding mode and use round-to-nearest
8240 for all computations.
8241 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8242 <fenv.h>.
8243 (tan): Save and restore rounding mode and use round-to-nearest for
8244 all computations.
8245 * math/libm-test.inc (cos_test_tonearest): New function.
8246 (cos_test_towardzero): Likewise.
8247 (cos_test_downward): Likewise.
8248 (cos_test_upward): Likewise.
8249 (sin_test_tonearest): Likewise.
8250 (sin_test_towardzero): Likewise.
8251 (sin_test_downward): Likewise.
8252 (sin_test_upward): Likewise.
8253 (tan_test_tonearest): Likewise.
8254 (tan_test_towardzero): Likewise.
8255 (tan_test_downward): Likewise.
8256 (tan_test_upward): Likewise.
8257 (main): Call the new functions.
8258 * sysdeps/i386/fpu/libm-test-ulps: Update.
8259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8260
a6d06d7b
JM
8261 [BZ #10135]
8262 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8263 small n, then large n, before computing and testing k+n.
8264 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8265 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8266 Likewise.
8267 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8268 Likewise.
8269 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8270 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8271 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8272 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8273 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8274 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8275 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8276 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8277 * math/libm-test.inc (scalbn_test): Add more tests.
8278 (scalbln_test): Likewise.
8279
07e12bb3
JM
8280 * manual/filesys.texi (mode_t): Describe constraints on size and
8281 signedness, not exact equivalence to a particular type.
8282 (ino_t): Likewise.
8283 (ino64_t): Likewise.
8284 (dev_t): Likewise.
8285 (nlink_t): Likewise.
8286 (blkcnt_t): Likewise.
8287 (blkcnt64_t): Likewise.
8288 * manual/llio.texi (off_t): Likewise.
8289
28afd92d
JM
8290 [BZ #3976]
8291 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8292 (__ieee754_exp): Save and restore rounding mode and use
8293 round-to-nearest for all computations.
8294 * math/libm-test.inc (exp_test_tonearest): New function.
8295 (exp_test_towardzero): Likewise.
8296 (exp_test_downward): Likewise.
8297 (exp_test_upward): Likewise.
8298 (main): Call the new functions.
8299 * sysdeps/i386/fpu/libm-test-ulps: Update.
8300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8301
b1eeb65d
CD
83022012-03-01 Chris Demetriou <cgd@google.com>
8303
8304 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8305 have predictable order.
8306
53362a4b
DM
83072012-03-01 David S. Miller <davem@davemloft.net>
8308
3c969083
DM
8309 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8310
759707de
DM
8311 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8312 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8313 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8314 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8315
dfdb8ff2
DM
8316 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8317 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8318 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8320 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8321 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8322 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8323 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8324 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8325
ead89f96
DM
8326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8327
7f66bd07
DM
8328 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8329 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8330 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8331
53362a4b
DM
8332 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8333 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8334 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8335 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8336 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8337 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8338 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8339 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8340 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8341 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8342 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8343 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8344 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8345 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8346 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8347 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8348 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8349 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8350 * sysdeps/sparc/elf/configure: Regenerated.
8351
7b1902cb
JM
83522012-03-01 Joseph Myers <joseph@codesourcery.com>
8353
bec039bc
JM
8354 * configure.in (AS, LD): Require binutils 2.20 or later.
8355 * configure: Regenerated.
8356 * manual/install.texi (Tools for Compilation): Give binutils 2.20
8357 as required minimum version.
8358 * INSTALL: Regenerated.
8359
7b1902cb
JM
8360 [BZ #2541]
8361 [BZ #4108]
8362 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8363 before squaring exponent.
8364 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8365 bottom long double and 27 bits of top long double before squaring
8366 exponent.
8367 * math/libm-test.inc (erfc_test): Add more tests.
8368 * sysdeps/i386/fpu/libm-test-ulps: Update.
8369 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8371
f775c276
KT
83722012-03-01 Kai Tietz <ktietz@redhat.com>
8373
8374 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8375 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8376 containing bit-fields.
8377 * soft-fp/extended.h (_FP_UNION_E): Likewise.
8378 * soft-fp/single.h (_FP_UNION_S): Likewise.
8379 * soft-fp/double.h (_FP_UNION_D): Likewise.
8380
5b8a4d4a
JM
83812012-02-29 Joseph Myers <joseph@codesourcery.com>
8382
0bab47b6
JM
8383 [BZ #13786]
8384 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8385 not include ../strcmp.S.
8386 [USE_AS_STRNCASECMP_L]: Likewise.
8387 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8388 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8389 * sysdeps/i386/i686/multiarch/strncase_l-c.c
8390 (__strncasecmp_l_ia32): Define as alias to
8391 __strncasecmp_l_nonascii.
8392
0fcad3e2
JM
8393 [BZ #5794]
8394 * math/libm-test.inc (expm1_test): Add test for bug 5794.
8395 * sysdeps/i386/fpu/libm-test-ulps: Update.
8396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8397
5b8a4d4a
JM
8398 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8400
8fdceb2e
JL
84012012-02-29 Jeff Law <law@redhat.com>
8402
8403 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8404 out of bounds read.
8405
1f393a11
MP
84062012-02-29 Marek Polacek <polacek@redhat.com>
8407
8408 [BZ #13706]
8409 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8410 * elf/Makefile: Add rules to run tst-unused-dep.out.
8411
8847f037
DM
84122012-02-28 David S. Miller <davem@davemloft.net>
8413
8414 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8415 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8416 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8417 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8418 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8419 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8420
169d7f11
JM
84212012-02-29 Joseph Myers <joseph@codesourcery.com>
8422
8423 * math/libm-test.inc (llround_test): Move one test from
8424 lround_test. Use TEST_f_L in moved test.
8425 (lround_test): Move misplaced test to llround_test. Add testcase
8426 from bug 2561.
8427
39adf059
UD
84282012-02-28 Ulrich Drepper <drepper@gmail.com>
8429
8430 * sysdeps/x86_64/fpu/e_expf.S: New file.
8431 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8432
71b5d1c5
SB
84332012-02-28 Stanislav Brabec <sbrabec@suse.cz>
8434
8435 [BZ #13637]
8436 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8437 of remain_len that may cause incomplete multi-byte character and
8438 false match.
8439 * posix/bug-regex33.c: New file.
8440 * posix/Makefile (tests): Add bug-regex33.
8441
1f77f049
JM
84422012-02-28 Joseph Myers <joseph@codesourcery.com>
8443
8444 * manual/macros.texi: New file.
8445 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8446 * manual/libc.texinfo: Include macros.texi.
8447 * manual/creatute.texi: Likewise.
8448 * manual/install.texi: Likewise.
8449 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8450 @glibcadj{} in references to the GNU C Library.
8451 * manual/charset.texi: Likewise.
8452 * manual/conf.texi: Likewise.
8453 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
8454 when not using those macros.
8455 * manual/creature.texi: Likewise.
8456 * manual/crypt.texi: Likewise.
8457 * manual/errno.texi: Likewise.
8458 * manual/filesys.texi: Likewise.
8459 * manual/header.texi: Likewise.
8460 * manual/install.texi: Likewise.
8461 * manual/intro.texi: Likewise.
8462 * manual/io.texi: Likewise.
8463 * manual/job.texi: Likewise.
8464 * manual/lang.texi: Likewise.
8465 * manual/libc.texiinfo: Likewise.
8466 * manual/llio.texi: Likewise.
8467 * manual/locale.texi: Likewise.
8468 * manual/maint.texi: Likewise.
8469 * manual/math.texi: Likewise.
8470 * manual/memory.texi: Likewise.
8471 * manual/message.texi: Likewise.
8472 * manual/nss.texi: Likewise.
8473 * manual/pattern.texi: Likewise.
8474 * manual/process.texi: Likewise.
8475 * manual/resource.texi: Likewise.
8476 * manual/search.texi: Likewise.
8477 * manual/setjmp.texi: Likewise.
8478 * manual/signal.texi: Likewise.
8479 * manual/socket.texi: Likewise.
8480 * manual/startup.texi: Likewise.
8481 * manual/stdio.texi: Likewise.
8482 * manual/string.texi: Likewise.
8483 * manual/sysinfo.texi: Likewise.
8484 * manual/syslog.texi: Likewise.
8485 * manual/terminal.texi: Likewise.
8486 * manual/time.texi: Likewise.
8487 * manual/users.texi: Likewise.
8488 * INSTALL: Regenerated.
8489 * NOTES: Regenerated.
d40c5d54 8490 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 8491
450bf206
AS
84922012-02-28 Andreas Schwab <schwab@linux-m68k.org>
8493
8494 * include/dirent.h: Include <dirstream.h> before
8495 <dirent/dirent.h>.
8496
741a235b
DM
84972012-02-28 David S. Miller <davem@davemloft.net>
8498
8499 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
8500 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
8501 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8502 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8503
d6b5aa58
DM
85042012-02-27 David S. Miller <davem@davemloft.net>
8505
1aff59a3
DM
8506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8508 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8509 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8510
d6b5aa58
DM
8511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8512 frame pointer instead of stack pointer relative arg slot.
8513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8514 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8515 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8516
433f48bf
CD
85172012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
8518
8519 [BZ #3992]
8520 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8521
d674b76d
DM
85222012-02-27 David S. Miller <davem@davemloft.net>
8523
8524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8528 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8529 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8530 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8531 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8532
0e7727f7
JM
85332012-02-27 Joseph Myers <joseph@codesourcery.com>
8534
8535 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8536 later. Allow versions 5-9.
43be4ca2 8537 * configure: Regenerated.
0e7727f7
JM
8538 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8539 required minimum version and 4.6 as recommended version. Do not
8540 mention bugs in GCC 2.7 and 2.8.
43be4ca2 8541 * INSTALL: Regenerated.
0e7727f7 8542
a78bc654
DM
85432012-02-27 David S. Miller <davem@davemloft.net>
8544
428d5830
DM
8545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8549 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8550 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8551 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8552 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8553
a78bc654
DM
8554 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8555 manipulate bits before adding and subtracting TWO112[sx].
8556 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8557
4579f81c
RM
85582012-02-27 Roland McGrath <roland@hack.frob.com>
8559
36c8acb4
RM
8560 [BZ #13775]
8561 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8562 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8563 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8564 being in POSIX, because they are in 1003.1-2008.
8565
84ad622b
RM
8566 * rt/tst-aio.c: Include <fcntl.h>.
8567 * rt/tst-aio7.c: Likewise.
8568 * rt/tst-aio64.c: Likewise.
8569
4579f81c
RM
8570 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8571
abd923db
JM
85722012-02-27 Joseph Myers <joseph@codesourcery.com>
8573
8574 * manual/install.texi (--with-headers): Describe headers as
8575 interface headers, not private headers.
8576 (Specific advice for GNU/Linux systems): Describe use of headers
8577 from "make headers_install", not private headers from older
8578 kernels.
43be4ca2 8579 * INSTALL: Regenerated.
abd923db
JM
8580 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8581 Change to 2.6.19.
8582 * sysdeps/unix/sysv/linux/configure: Regenerated.
8583
6664049b
JM
8584 * manual/llio.texi (fclean): Remove documentation.
8585
bb8b6697
JM
8586 * manual/Makefile (libc-texi-generated): New variable. Include
8587 version.texi.
8588 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8589 $(libc-texi-generated), not duplicated list of files.
8590 (version.texi, stamp-version): New rules.
8591 (realclean): Remove $(libc-texi-generated), not individual files
8592 from that list. Do not remove dir-add.texinfo.
8593 * manual/libc.texinfo: Comment out uses of edition numbers and
8594 references to printed manual. Remove last-updated dates.
8595 (EDITION): Comment out.
8596 (ISBN): Likewise.
8597 (VERSION, UPDATED): Remove.
8598 (version.texi): Include.
8599
12e5c3b9
AS
86002012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8601
8602 * sysdeps/posix/spawni.c: Include <signal.h>.
8603 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8604 * sysdeps/pthread/aio_fsync.c: Likewise.
8605
4efeffc1 86062012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 8607
ba63ba08
UD
8608 * conform/Makefile (tests): Run only when not cross-compiling and
8609 when fast-check is not defined.
8610
d94a4670
UD
8611 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8612 * conform/data/limits.h-data: Fixes for POSIX2008.
8613 * conform/run-conformtest.sh: Run all tests.
8614 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8615 headers.
8616 * include/bits/dlfcn.h: Likewise.
8617 * include/langinfo.h: Likewise.
8618 * include/monetary.h: Likewise.
8619 * include/sys/poll.h: Likewise.
8620
8621 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8622 for __USE_GNU.
8623 * posix/spawn.h: Define __need_sigset_t.
8624 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8625 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8626 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8627 to get sigevent_t only.
8628 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8629 only for __USE_GNU.
8630 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8631 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8632 process_vm_writev only for __USE_GNU.
8633 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
8634
8635 * conform/Makefile: For now ignore errors from run-conformtest.
8636 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8637 POSIX to avoid namespace pollution. Don't prepend headers.
8638 * conform/data/aio.h-data: Fixes for POSIX testing.
8639 * conform/data/fcntl.h-data: Likewise.
8640 * conform/data/glob.h-data: Likewise.
8641 * conform/data/grp.h-data: Likewise.
8642 * conform/data/pthread.h-data: Likewise.
8643 * conform/data/pwd.h-data: Likewise.
8644 * conform/data/signal.h-data: Likewise.
8645 * conform/data/spawn.h-data: Likewise.
8646 * conform/data/stdio.h-data: Likewise.
8647 * conform/data/stdlib.h-data: Likewise.
8648 * conform/data/stropts.h-data: Likewise.
8649 * conform/data/sys/mman.h-data: Likewise.
8650 * conform/data/sys/stat.h-data: Likewise.
8651 * conform/data/sys/types.h-data: Likewise.
8652 * conform/data/sys/wait.h-data: Likewise.
8653 * conform/data/time.h-data: Likewise.
8654 * conform/data/unistd.h-data: Likewise.
8655 * conform/data/utime.h-data: Likewise.
8656
8657 * io/sys/stat.h: fchmod was always in POSIX.
8658 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8659 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8660 * rt/aio.h: Define __need_timespec before including <time.h>.
8661 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8662 struct. Add forward declaration of pthread_attr_t and use it in
8663 sigevent.
8664 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8665 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8666 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8667 always remove CLK_TCK definition.
8668
c20105c3
AS
86692012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8670
8671 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8672
7a270350
UD
86732012-02-25 Ulrich Drepper <drepper@gmail.com>
8674
31341567
UD
8675 * conform/run-conformtest.sh: New file.
8676 * conform/Makefile: Run run-conformtest for tests.
8677 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8678 support.
8679
8680 * conform/data/uchar.h-data: New file.
8681 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8682 * conform/data/arpa/inet.h-data: Likewise.
8683 * conform/data/assert.h-data: Likewise.
8684 * conform/data/complex.h-data: Likewise.
8685 * conform/data/cpio.h-data: Likewise.
8686 * conform/data/ctype.h-data: Likewise.
8687 * conform/data/dirent.h-data: Likewise.
8688 * conform/data/dlfcn.h-data: Likewise.
8689 * conform/data/errno.h-data: Likewise.
8690 * conform/data/fcntl.h-data: Likewise.
8691 * conform/data/float.h-data: Likewise.
8692 * conform/data/fmtmsg.h-data: Likewise.
8693 * conform/data/fnmatch.h-data: Likewise.
8694 * conform/data/ftw.h-data: Likewise.
8695 * conform/data/glob.h-data: Likewise.
8696 * conform/data/grp.h-data: Likewise.
8697 * conform/data/iconv.h-data: Likewise.
8698 * conform/data/inttypes.h-data: Likewise.
8699 * conform/data/langinfo.h-data: Likewise.
8700 * conform/data/libgen.h-data: Likewise.
8701 * conform/data/limits.h-data: Likewise.
8702 * conform/data/locale.h-data: Likewise.
8703 * conform/data/math.h-data: Likewise.
8704 * conform/data/monetary.h-data: Likewise.
8705 * conform/data/mqueue.h-data: Likewise.
8706 * conform/data/ndbm.h-data: Likewise.
8707 * conform/data/net/if.h-data: Likewise.
8708 * conform/data/netdb.h-data: Likewise.
8709 * conform/data/netinet/in.h-data: Likewise.
8710 * conform/data/nl_types.h-data: Likewise.
8711 * conform/data/poll.h-data: Likewise.
8712 * conform/data/pthread.h-data: Likewise.
8713 * conform/data/pwd.h-data: Likewise.
8714 * conform/data/regex.h-data: Likewise.
8715 * conform/data/sched.h-data: Likewise.
8716 * conform/data/search.h-data: Likewise.
8717 * conform/data/semaphore.h-data: Likewise.
8718 * conform/data/setjmp.h-data: Likewise.
8719 * conform/data/signal.h-data: Likewise.
8720 * conform/data/spawn.h-data: Likewise.
8721 * conform/data/stdarg.h-data: Likewise.
8722 * conform/data/stdio.h-data: Likewise.
8723 * conform/data/stdlib.h-data: Likewise.
8724 * conform/data/string.h-data: Likewise.
8725 * conform/data/strings.h-data: Likewise.
8726 * conform/data/stropts.h-data: Likewise.
8727 * conform/data/sys/ipc.h-data: Likewise.
8728 * conform/data/sys/mman.h-data: Likewise.
8729 * conform/data/sys/msg.h-data: Likewise.
8730 * conform/data/sys/resource.h-data: Likewise.
8731 * conform/data/sys/select.h-data: Likewise.
8732 * conform/data/sys/sem.h-data: Likewise.
8733 * conform/data/sys/shm.h-data: Likewise.
8734 * conform/data/sys/socket.h-data: Likewise.
8735 * conform/data/sys/stat.h-data: Likewise.
8736 * conform/data/sys/statvfs.h-data: Likewise.
8737 * conform/data/sys/time.h-data: Likewise.
8738 * conform/data/sys/timeb.h-data: Likewise.
8739 * conform/data/sys/times.h-data: Likewise.
8740 * conform/data/sys/types.h-data: Likewise.
8741 * conform/data/sys/uio.h-data: Likewise.
8742 * conform/data/sys/un.h-data: Likewise.
8743 * conform/data/sys/utsname.h-data: Likewise.
8744 * conform/data/sys/wait.h-data: Likewise.
8745 * conform/data/syslog.h-data: Likewise.
8746 * conform/data/tar.h-data: Likewise.
8747 * conform/data/termios.h-data: Likewise.
8748 * conform/data/utime.h-data: Likewise.
8749 * conform/data/utmpx.h-data: Likewise.
8750 * conform/data/varargs.h-data: Likewise.
8751 * conform/data/wchar.h-data: Likewise.
8752 * conform/data/wctype.h-data: Likewise.
8753 * conform/data/wordexp.h-data: Likewise.
8754
8755 * include/stropts.h: New file.
8756 * include/uchar.h: New file.
8757 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8758 * include/assert.h: Likewise.
8759 * include/ctype.h: Likewise.
8760 * include/dirent.h: Likewise.
8761 * include/dlfcn.h: Likewise.
8762 * include/fcntl.h: Likewise.
8763 * include/fnmatch.h: Likewise.
8764 * include/glob.h: Likewise.
8765 * include/grp.h: Likewise.
8766 * include/libio.h: Likewise.
8767 * include/locale.h: Likewise.
8768 * include/math.h: Likewise.
8769 * include/net/if.h: Likewise.
8770 * include/netdb.h: Likewise.
8771 * include/netinet/in.h: Likewise.
8772 * include/pthread.h: Likewise.
8773 * include/pwd.h: Likewise.
8774 * include/regex.h: Likewise.
8775 * include/sched.h: Likewise.
8776 * include/search.h: Likewise.
8777 * include/setjmp.h: Likewise.
8778 * include/signal.h: Likewise.
8779 * include/stdio.h: Likewise.
8780 * include/stdlib.h: Likewise.
8781 * include/string.h: Likewise.
8782 * include/sys/cdefs.h: Likewise.
8783 * include/sys/mman.h: Likewise.
8784 * include/sys/msg.h: Likewise.
8785 * include/sys/resource.h: Likewise.
8786 * include/sys/select.h: Likewise.
8787 * include/sys/socket.h: Likewise.
8788 * include/sys/stat.h: Likewise.
8789 * include/sys/statvfs.h: Likewise.
8790 * include/sys/time.h: Likewise.
8791 * include/sys/times.h: Likewise.
8792 * include/sys/uio.h: Likewise.
8793 * include/sys/utsname.h: Likewise.
8794 * include/sys/wait.h: Likewise.
8795 * include/termios.h: Likewise.
8796 * include/time.h: Likewise.
8797 * include/ulimit.h: Likewise.
8798 * include/unistd.h: Likewise.
8799 * include/utime.h: Likewise.
8800 * include/wchar.h: Likewise.
8801 * include/wctype.h: Likewise.
8802 * include/wordexp.h: Likewise.
8803
8804 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8805
7a270350
UD
8806 * time/time.h: TIME_UTC must be a macro.
8807 Make timespec_get available for ISO C11 only as well.
8808
7724defc
UD
88092012-02-24 Ulrich Drepper <drepper@gmail.com>
8810
8811 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8812 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8813
6b1d1d46
JM
88142012-02-24 Joseph Myers <joseph@codesourcery.com>
8815
8816 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 8817
0f8bbd69
JM
88182012-02-24 Joseph Myers <joseph@codesourcery.com>
8819
8820 * manual/texinfo.tex: Update to version 2012-01-19.16.
8821
66ab80bc
JM
88222012-02-24 Joseph Myers <joseph@codesourcery.com>
8823
8824 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8825
74981cc5
RM
88262012-02-24 Roland McGrath <roland@hack.frob.com>
8827
ee968201
RM
8828 [BZ #13738]
8829 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8830 * manual/fdl-1.3.texi: New file.
8831 * manual/fdl-1.1.texi: File removed.
8832
74981cc5
RM
8833 [BZ #13738]
8834 * manual/libc.texinfo (FDL_VERSION): New @set.
8835 Use it for mention of FDL in cover text.
8836 (Documentation License): Use it in @include file name.
8837
7bb764bc
JM
88382012-02-22 Joseph Myers <joseph@codesourcery.com>
8839 Roland McGrath <roland@hack.frob.com>
8840
8841 [BZ #5461]
8842 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8843 not LONG_LONG_MAX and LONG_LONG_MIN.
8844 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8845 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8846 name.
8847 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8848
6cbeae47
JM
88492012-02-22 Joseph Myers <joseph@codesourcery.com>
8850
8851 [BZ #2547]
8852 [BZ #11365]
8853 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8854 manipulate bits before adding and subtracting TWO23[sx].
8855 * math/libm-test.inc (nearbyint_test): Add more tests.
8856
fe45ce09
JM
88572012-02-22 Joseph Myers <joseph@codesourcery.com>
8858
8859 [BZ #2548]
8860 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8861 bits before adding and subtracting TWO23[sx].
8862 * math/libm-test.inc (rint_test): Add more tests.
8863 (rint_test_tonearest): Likewise.
8864 (rint_test_towardzero): Likewise.
8865 (rint_test_downward): Likewise.
8866 (rint_test_upward: Likewise.
8867
ff3b3d82
JM
88682012-02-22 Joseph Myers <joseph@codesourcery.com>
8869
8870 [BZ #10110]
8871 * include/stdc-predef.h: New file. Extracted from features.h.
8872 * include/features.h: Include stdc-predef.h.
8873 * Makefile (headers): Add stdc-predef.h.
8874 * CONFORMANCE (Compiler limitations): Update.
8875
ef0aab35
JM
88762012-02-22 Joseph Myers <joseph@codesourcery.com>
8877
8878 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8879
58639409
DM
88802012-02-21 David S. Miller <davem@davemloft.net>
8881
8882 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8883 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8884
c0e70b25
DM
88852012-02-20 David S. Miller <davem@davemloft.net>
8886
8887 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8888 using a normal save/restore sequence, rather than allocating a
8889 dummy stack frame just to store a frame pointer and restore.
8890 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8891
fb06851d
JM
88922012-02-21 Joseph Myers <joseph@codesourcery.com>
8893
8894 * manual/install.texi: Fix stray word in line-wrapped comment.
8895
7a8b71c3
DM
88962012-02-20 David S. Miller <davem@davemloft.net>
8897
d510c123
DM
8898 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8899 both binutils and gcc support GOTDATA.
8900
0722d7c2
DM
8901 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8902 "rd %pc" in the PIC register setup sequences.
8903
3d2b3019
DM
8904 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8905 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8906 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8907 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8908 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8909 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8910 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8911 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8912 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8913 (SYSCALL_ERROR_HANDLER): Likewise.
8914 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8915 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8916 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8917 (SYSCALL_ERROR_HANDLER): Likewise.
8918
c80098a9
DM
8919 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8920 (HAVE_GCC_GOTDATA): New.
8921 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8922 relocation support in both binutils and gcc.
8923 * sysdeps/sparc/elf/configure: Regenerate.
8924
3a2545a0
DM
8925 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8926 * sysdeps/sparc/sparc32/elf/configure: Delete.
8927 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8928 * sysdeps/sparc/sparc64/elf/configure: Delete.
8929 * sysdeps/sparc/elf/configure.in: New file.
8930 * sysdeps/sparc/elf/configure: Generate.
8931
7a8b71c3
DM
8932 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8933 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8934 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8935 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8936 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8937
f1e86fca
JM
89382012-02-21 Joseph Myers <joseph@codesourcery.com>
8939
8940 * manual/install.texi: Do not mention specific glibc version
8941 numbers.
8942 * manual/libc.texinfo (VERSION, UPDATED): Update.
8943 (@copying): Use @copyright{} and range of years.
8944
0e7dfaef
JM
89452012-02-21 Joseph Myers <joseph@codesourcery.com>
8946
8947 [BZ #13695]
8948 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8949 [crti.S not in sysdirs] (generated): Do not append.
8950 [crti.S not in sysdirs] (omit-deps): Likewise.
8951 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8952 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8953 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8954 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8955 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8956 Likewise.
8957 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8958 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8959 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8960 * csu/defs.awk: Remove file.
8961 * sysdeps/generic/initfini.c: Likewise.
8962 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8963 variable.
8964 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8965 Likewise.
8966
599af3ca
JM
89672012-02-20 Joseph Myers <joseph@codesourcery.com>
8968
8969 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8970 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8971 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8972 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8973 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8974 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8975 <bits/epoll.h>.
8976 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8977 (__EPOLL_PACKED): Define to empty if not defined by
8978 <bits/epoll.h>.
8979 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8980 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8981 bits/epoll.h.
8982
0e499750
JM
89832012-02-20 Joseph Myers <joseph@codesourcery.com>
8984
8985 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8986 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8987 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8988 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8989 <bits/timerfd.h>.
8990 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8991 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8992 bits/timerfd.h.
8993
5ad91f6e
JM
89942012-02-20 Joseph Myers <joseph@codesourcery.com>
8995
8996 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8997 in C locale.
8998 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8999 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9000 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9002
06b99b02
AJ
90032012-02-20 Aurelien Jarno <aurelien@aurel32.net>
9004
9005 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9006 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9007
7638c0fd
AS
90082012-02-19 Andreas Schwab <schwab@linux-m68k.org>
9009
9010 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9011 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9012 defined.
9013 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9014 Likewise.
9015 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9016 entry for 2.16.
9017
92221550
AJ
90182012-02-19 Aurelien Jarno <aurelien@aurel32.net>
9019
9020 * math/w_acos.c: Use non-signaling floating-point comparisons.
9021 * math/w_acosf.c: Likewise.
9022 * math/w_acosh.c: Likewise.
9023 * math/w_acoshf.c: Likewise.
9024 * math/w_acoshl.c: Likewise.
9025 * math/w_acosl.c: Likewise.
9026 * math/w_asin.c: Likewise.
9027 * math/w_asinf.c: Likewise.
9028 * math/w_asinl.c: Likewise.
9029 * math/w_atanh.c: Likewise.
9030 * math/w_atanhf.c: Likewise.
9031 * math/w_atanhl.c: Likewise.
9032 * math/w_exp2.c: Likewise.
9033 * math/w_exp2f.c: Likewise.
9034 * math/w_exp2l.c: Likewise.
9035 * math/w_j0.c: Likewise.
9036 * math/w_j0f.c: Likewise.
9037 * math/w_j0l.c: Likewise.
9038 * math/w_j1.c: Likewise.
9039 * math/w_j1f.c: Likewise.
9040 * math/w_j1l.c: Likewise.
9041 * math/w_jn.c: Likewise.
9042 * math/w_jnf.c: Likewise.
9043 * math/w_log.c: Likewise.
9044 * math/w_log10.c: Likewise.
9045 * math/w_log10f.c: Likewise.
9046 * math/w_log10l.c: Likewise.
9047 * math/w_log2.c: Likewise.
9048 * math/w_log2f.c: Likewise.
9049 * math/w_log2l.c: Likewise.
9050 * math/w_logf.c: Likewise.
9051 * math/w_logl.c: Likewise.
9052 * math/w_sqrt.c: Likewise.
9053 * math/w_sqrtf.c: Likewise.
9054 * math/w_sqrtl.c: Likewise.
9055 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9056 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9057 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9058 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9059 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9060
ebaf36eb
JM
90612012-02-19 Joseph Myers <joseph@codesourcery.com>
9062
9063 [BZ #9739]
9064 * manual/string.texi (strnlen): Use correct parameter name in
9065 equivalent expression.
9066
71c254a6
JM
90672012-02-19 Joseph Myers <joseph@codesourcery.com>
9068
9069 [BZ #11174]
9070 * manual/users.texi (seteuid): Consistently use neweuid for
9071 argument name.
9072
16d2c631
JM
90732012-02-19 Joseph Myers <joseph@codesourcery.com>
9074
9075 [BZ #13704]
9076 * manual/nss.texi (Services in the NSS configuration): Correct
9077 list of services in example configuration file.
9078
cd837b09
NB
90792012-02-19 Nick Bowler <nbowler@draconx.ca>
9080
9081 [BZ #11322]
9082 * manual/arith.texi: Remove statements about negative zero
9083 behaving identically to zero.
9084
02c4bbad
JM
90852012-02-18 Joseph Myers <joseph@codesourcery.com>
9086
9087 [BZ #5993]
9088 * manual/install.texi: Do not document upgrading from libc5.
9089
366842e7
JM
90902012-02-18 Joseph Myers <joseph@codesourcery.com>
9091
9092 [BZ #4596]
9093 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
9094
dd54084d
DM
90952012-02-18 David S. Miller <davem@davemloft.net>
9096
9097 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9098 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9099 %o7 across the call.
9100 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9101 instead.
9102 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9103 SETUP_PIC_REG_LEAF.
9104 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9105 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9106 * sysdeps/sparc/crtn.S: Likewise.
9107
2bcc53a3
UD
91082012-02-17 Ulrich Drepper <drepper@gmail.com>
9109
9110 * aout/Makefile: Remove.
9111
09c093b5
RK
91122012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
9113
9114 [BZ #13058]
9115 * manual/examples/argp-ex1.c (main): Format definition in GNU
9116 style.
9117 * manual/examples/argp-ex2.c (main): Likewise.
9118 * manual/examples/argp-ex3.c (main): Likewise.
9119 * manual/examples/argp-ex4.c (main): Likewise.
9120 * manual/examples/longopt.c (main): Use new-style prototype
9121 definition.
9122 * manual/examples/strncat.c (main): Specify return type and use
9123 (void) for arguments.
9124 * manual/examples/subopt.c (main): Use char **argv argument.
9125
2ee633a2
JM
91262012-02-17 Joseph Myers <joseph@codesourcery.com>
9127
9128 [BZ #5077]
9129 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9130 rounding modes.
9131
0520adde
FB
91322012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
9133
9134 [BZ #6907]
9135 * manual/string.texi (strchr): Change when strchrnul is
9136 recommended.
9137
3f4081cd
DGM
91382012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
9139
9140 [BZ #174]
9141 * manual/locale.texi (setlocale): Document LOCPATH.
9142
d1b10e78
JM
91432012-02-17 Joseph Myers <joseph@codesourcery.com>
9144
9145 [BZ #10210]
9146 * manual/process.texi (execle): Move @dots{} before last argument.
9147
79c6869c
PB
91482012-02-17 Paul Bolle <pebolle@tiscali.nl>
9149
9150 [BZ #12047]
9151 * manual/charset.texi (Generic Charset Conversion): Fix typo
9152 (LC_TYPE -> LC_CTYPE).
9153
cc6e48bc
NB
91542012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
9155
9156 [BZ #5805]
9157 * manual/arith.texi (scalbn): Use @var{} on parameter names.
9158 (scalbnf): Likewise.
9159 (scalbnl): Likewise.
9160 (scalbln): Likewise.
9161 (scalblnf): Likewise.
9162 (scalblnl): Likewise.
9163 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9164 (vwarnx): Likewise.
9165 (verr): Likewise.
9166 (verrx): Likewise.
9167 * manual/filesys.texi (telldir): Use braces around return type.
9168 * manual/llio.texi (mmap): Add space after comma.
9169 (mmap64): Likewise.
9170 * manual/math.texi (jn): Use @var{} on parameter names.
9171 (jnf): Likewise.
9172 (jnl): Likewise.
9173 (yn): Likewise.
9174 (ynf): Likewise.
9175 (ynl): Likewise.
9176 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9177 line.
9178 * manual/resource.texi (ulimit): Use @dots{} instead of literal
9179 "...".
9180 (sched_get_priority_min): Remove semicolon on @deftypefun line.
9181 (sched_get_priority_max): Likewise.
9182 * manual/signal.texi (sigvec): Add space after comma.
9183 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9184 names.
9185 (if_indextoname): Likewise.
9186 (if_freenameindex): Likewise.
9187 (sendto): Use ',' instead of '.' in prototype.
9188 * manual/startup.texi (syscall): Use @dots{} instead of literal
9189 "...".
9190 * manual/stdio.texi (__fpending): Separate initial words of
9191 paragraph from @deftypefun line.
9192 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9193 "...".
9194 (vsyslog): Use @var{} on parameter names.
9195 * manual/terminal.texi (stty): Use @var{} on parameter names.
9196 * manual/users.texi (getutmp): Use @var{} on parameter names.
9197 (getutmpx): Likewise.
9198
5b23062f
JM
91992012-02-17 Joseph Myers <joseph@codesourcery.com>
9200
9201 [BZ #6884]
9202 * manual/stdio.texi (fopen): Fix typos in description of
9203 ",ccs=STRING".
9204
8dee4833
AJ
92052012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9206
9207 [BZ #4026]
9208 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9209 get clock_id definition.
9210
9078ce93
TS
92112012-02-17 Thomas Schwinge <thomas@schwinge.name>
9212
9213 [BZ #4822]
9214 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9215 (madvise): Cast every argument to void on its own.
9216
3835c55f
JM
92172012-02-17 Joseph Myers <joseph@codesourcery.com>
9218
9219 [BZ #9902]
9220 * manual/startup.texi (Exit Status): Fix typo.
9221
35c47e37
JM
92222012-02-17 Joseph Myers <joseph@codesourcery.com>
9223
9224 [BZ #10140]
9225 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9226 * manual/examples/argp-ex2.c: Likewise.
9227 * manual/examples/argp-ex3.c: Likewise.
9228
e3b69ca7
RH
92292012-02-16 Richard Henderson <rth@redhat.com>
9230
9231 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9232 * sysdeps/s390/s390-32/initfini.c: Remove.
9233 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9234 * sysdeps/s390/s390-64/initfini.c: Remove.
9235
df83af67
KK
92362012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9237
9238 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9239 compiler output for sysdeps/generic/initfini.c.
9240 * sysdeps/sh/elf/initfini.c: Remove file.
9241
f63f3380
DM
92422012-02-16 David S. Miller <davem@davemloft.net>
9243
fb59b3a4
DM
9244 [BZ #11494]
9245 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9246
f63f3380
DM
9247 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9248 * sysdeps/sparc/crti.S: New file.
9249 * sysdeps/sparc/crtn.S: New file.
9250 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9251 * sysdeps/sparc/sparc64/Makefile: Likewise.
9252
df6a4a4a
MF
92532012-02-15 Mike Frysinger <vapier@gentoo.org>
9254
6dd8f3dc 9255 [BZ #3335]
df6a4a4a
MF
9256 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9257
1cac7236
RM
92582012-02-15 Roland McGrath <roland@hack.frob.com>
9259
d2c736f8
RM
9260 [BZ #4822]
9261 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9262
1cac7236
RM
9263 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9264 (write, read, close): Likewise.
9265 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9266
8e475601
JM
92672012-02-15 Joseph Myers <joseph@codesourcery.com>
9268
9269 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9270 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9271 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9272 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9273 <bits/signalfd.h>.
9274 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9275 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9276 bits/signalfd.h.
9277
ed656b40
MP
92782012-02-14 Marek Polacek <polacek@redhat.com>
9279
9280 * sysdeps/x86_64/crti.S: New file.
9281 * sysdeps/x86_64/crtn.S: New file.
9282 * sysdeps/x86_64/elf/initfini.c: Remove file.
9283
2a979d3a
JM
92842012-02-13 Joseph Myers <joseph@codesourcery.com>
9285
9286 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9287 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9288 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9289 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9290 <bits/inotify.h>.
9291 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9292 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9293 bits/inotify.h.
9294
2a418ac3
JM
92952012-02-13 Joseph Myers <joseph@codesourcery.com>
9296
9297 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9298 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9299 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9300 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9301 <bits/eventfd.h>.
9302 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9303 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9304 bits/eventfd.h.
9305
fb779be7
TS
93062012-02-10 Thomas Schwinge <thomas@codesourcery.com>
9307
e19e83c5
RM
9308 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9309 __feraiseexcept instead of feraiseexcept.
7c35ffed 9310
fb779be7
TS
9311 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9312 nanosleep invocations.
9313 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9314 strings, and add error checking for a nanosleep invocations.
9315
59ba27a6
PE
93162012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9317
9318 Replace FSF snail mail address with URLs, as per GNU coding standards.
9319 Most of the snail mail addresses were wrong anyway, and omitting
9320 them makes the source code easier to maintain. Almost all of the
9321 changes are to license notices and to locale LC_IDENTIFICATION
9322 addresses, except for this one:
9323 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9324 not its snail mail address.
9325
57b957eb
RH
93262012-02-09 Richard Henderson <rth@twiddle.net>
9327
af850b1c
RH
9328 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9329 of kernel-features.h.
9330
57b957eb
RH
9331 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9332
6b73181a
MP
93332012-02-08 Marek Polacek <polacek@redhat.com>
9334
9335 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9336 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9337 * sysdeps/gnu/_G_config.h: Likewise.
9338 * sysdeps/generic/_G_config.h: Likewise.
9339
26ecc33a
AS
93402012-02-08 Andreas Schwab <schwab@linux-m68k.org>
9341
6c6dbc63
AS
9342 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9343 tests.
9344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9345
e216c012
AS
9346 * sysdeps/powerpc/powerpc32/crti.S: New file.
9347 * sysdeps/powerpc/powerpc32/crtn.S: New file.
9348 * sysdeps/powerpc/powerpc64/crti.S: New file.
9349 * sysdeps/powerpc/powerpc64/crtn.S: New file.
9350
26ecc33a
AS
9351 * Makeconfig (have-initfini): Don't set.
9352 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9353 * configure.in (nopic_initfini): Don't substitute.
9354 * config.h.in (HAVE_INITFINI): Don't #undef.
9355 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9356 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9357
3add8e13
JM
93582012-02-08 Joseph Myers <joseph@codesourcery.com>
9359
9360 Support crti.S and crtn.S provided directly by architectures.
9361 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9362 [crti.S in sysdirs] (omit-deps): Likewise.
9363 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9364 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9365 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9366 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9367 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9368 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9369 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9370 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9371 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9372 compiler output for sysdeps/generic/initfini.c.
9373 * sysdeps/i386/elf/Makefile: Remove file.
9374 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9375
a22f12b4
MP
93762012-02-07 Marek Polacek <polacek@redhat.com>
9377
9378 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9379 * sysdeps/gnu/_G_config.h: Likewise.
9380 * sysdeps/mach/hurd/_G_config.h: Likewise.
9381
148cf100
MP
93822012-02-07 Marek Polacek <polacek@redhat.com>
9383
9384 * math/Makefile (tests): Add tst-CMPLX2.
9385 * math/tst-CMPLX2.c: New file.
9386
cfdc0dd7
AS
93872012-02-07 Andreas Schwab <schwab@linux-m68k.org>
9388
84ba42c4
AS
9389 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9390
cfdc0dd7
AS
9391 * math/libm-test.inc (jn_test): Add missing L suffix.
9392
622c86f4
MP
93932012-02-06 Marek Polacek <polacek@redhat.com>
9394
9395 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9396 * sysdeps/i386/fpu/e_powf.S: Likewise.
9397 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9398 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9399 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9400 * sysdeps/i386/fpu/e_pow.S: Likewise.
9401 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9402 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9403 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9404 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9405 * sysdeps/i386/fpu/e_log2.S: Likewise.
9406 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9407 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9408 * sysdeps/i386/fpu/e_powl.S: Likewise.
9409 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9410 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9411 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9412 * sysdeps/i386/fpu/e_logl.S: Likewise.
9413 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9414 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9415 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9416 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9417 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9418 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9419 * sysdeps/i386/fpu/e_log.S: Likewise.
9420 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9421 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9422 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9423 * sysdeps/i386/fpu/e_logf.S: Likewise.
9424 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9425 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9426 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9427 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9428 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9429 * sysdeps/i386/fpu/e_log10.S: Likewise.
9430 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9431 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9432 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9433 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9434 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9435 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9436 * sysdeps/i386/asm-syntax.h: Likewise.
9437 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9438 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9439 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9440 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9441 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9442 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9443 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9444 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9445 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9446 * sysdeps/powerpc/sysdep.h: Likewise.
9447 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9448 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9449
d4a54ac6
JM
94502012-02-06 Joseph Myers <joseph@codesourcery.com>
9451
9452 [BZ #411]
9453 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9454
314054ea
JM
94552012-02-06 Joseph Myers <joseph@codesourcery.com>
9456
9457 * sysdeps/i386/sysdep.h: Include <features.h>.
9458 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9459 version.
9460
d8e0ca50
JM
94612012-02-05 Joseph Myers <joseph@codesourcery.com>
9462
9463 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9464 Define.
9465 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9466 LOAD_PIC_REG_STR.
9467
b1da7dd9
JM
94682012-02-03 Joseph Myers <joseph@codesourcery.com>
9469
9470 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9471 (SETUP_PIC_REG): Use GET_PC_THUNK.
9472 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9473 macro.
9474
9a1d9254
JM
94752012-02-03 Joseph Myers <joseph@codesourcery.com>
9476
9477 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9478 for non-PIC compilation.
9479 (SETUP_PIC_REG): Add .p2align directive.
9480 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9481 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9482 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9483 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9484 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9485 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9486 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9487 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9488 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9489 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9490 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9491 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9492 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9493 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9494 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9495 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9496 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9497 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9498 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9499 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9500 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9501 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9502 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9503 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9504 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9505 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9506 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9507 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9508 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9509 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9510 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9511 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9512 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9513 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9514 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9515 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9516 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9517 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9518 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9519 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9520 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9521
65dc3b75
JM
95222012-02-03 Joseph Myers <joseph@codesourcery.com>
9523
9524 * math/tst-CMPLX.c: Include <stdio.h>.
9525
d55bf177
JM
95262012-01-31 Joseph Myers <joseph@codesourcery.com>
9527
9528 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9529 float.
9530 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9531 * sysdeps/sparc/bits/mathdef.h: Likewise.
9532
69db4f8f
MP
95332012-01-31 Marek Polacek <polacek@redhat.com>
9534
9535 * libio/libio.h: Don't define _PARAMS.
9536 * locale/programs/config.h: Don't define PARAMS.
9537 * stdlib/strtol_l.c: Likewise.
9538 (__strtol_l): Remove PARAMS from the prototype.
9539
41b81892
UD
95402012-01-31 Ulrich Drepper <drepper@gmail.com>
9541
3b49edc0
UD
9542 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
9543 names. Just use the correct names. Remove unnecessary wrapper
9544 functions.
9545 * malloc/arena.c: Likewise.
9546 * malloc/hooks.c: Likewise.
9547
41b81892
UD
9548 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9549 ARENA_TEST says not to. Simplify test for creation of a new arena.
9550 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9551
27a25b6e
UD
95522012-01-30 Ulrich Drepper <drepper@gmail.com>
9553
9554 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9555 into tail calls.
9556 (update_get_addr): New function.
9557 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9558 GET_ADDR_MODULE parameter.
9559
c8a89e7d
JM
95602012-01-30 Joseph Myers <joseph@codesourcery.com>
9561
9562 * crypt/cert.c: Remove __STDC__ conditionals.
9563 * crypt/crypt-entry.c: Likewise.
9564 * crypt/crypt_util.c: Likewise.
9565 * libio/filedoalloc.c: Likewise.
9566 * libio/fileops.c: Likewise.
9567 * libio/genops.c: Likewise.
9568 * libio/iofclose.c: Likewise.
9569 * libio/iofdopen.c: Likewise.
9570 * libio/iofopen.c: Likewise.
9571 * libio/iofopen64.c: Likewise.
9572 * libio/iogetdelim.c: Likewise.
9573 * libio/iopopen.c: Likewise.
9574 * libio/obprintf.c: Likewise.
9575 * libio/oldfileops.c: Likewise.
9576 * libio/oldiofclose.c: Likewise.
9577 * libio/oldiofdopen.c: Likewise.
9578 * libio/oldiofopen.c: Likewise.
9579 * libio/oldiopopen.c: Likewise.
9580 * libio/wfiledoalloc.c: Likewise.
9581 * libio/wgenops.c: Likewise.
9582 * locale/programs/xmalloc.c: Likewise.
9583 * misc/syslog.c: Likewise.
9584 * stdio-common/xbug.c: Likewise.
9585 * string/memchr.c: Likewise.
9586 * string/memcmp.c: Likewise.
9587 * string/memrchr.c: Likewise.
9588 * string/rawmemchr.c: Likewise.
9589 * sysdeps/posix/getcwd.c: Likewise.
9590 * time/strftime_l.c: Likewise.
9591
3b100462
JM
95922012-01-30 Joseph Myers <joseph@codesourcery.com>
9593
9594 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
9595 * config.make.in (config-cflags-sse2avx): Define.
9596 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9597 Fix typo.
9598
607998af
CM
95992012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9600
9601 * scripts/config.guess: Update from upstream config git repository.
9602 * scripts/config.sub: Likewise.
9603
3601428f
CM
96042012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9605
3ac8b282
CM
9606 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9607 (EM_NUM): Update.
9608 (R_TILEPRO_*, R_TILEGX_*): New macros.
9609
e034841e
CM
9610 * scripts/firstversions.awk: Fix bug in version range handling.
9611
540d7568
CM
9612 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9613
3601428f
CM
9614 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9615
463de862
CM
9616 * include/sys/epoll.h: New file.
9617 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9618 libc_hidden_def.
9619
73139a76
UD
96202012-01-28 Ulrich Drepper <drepper@gmail.com>
9621
96bc5b45
UD
9622 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9623 Avoid unnecessary __WORDSIZE == 64 test.
9624 (fmaxf): Use VEX format if possible.
9625 (fmax): Likewise.
9626 (fminf): Likewise.
9627 (fmin): Likewise.
9628
56f6f6a2
UD
9629 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9630 * math/math_private.h: Remove libc_fegetround* and
9631 libc_fesetround*.
9632 * sysdeps/i386/configure.in: Check for -msse2avx.
9633 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9634 also if SSE2AVX is defined.
9635 Remove libc_fegetround* and libc_fesetround*.
9636 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9637 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9638 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9639 of HAS_YMM_USABLE.
9640 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9641 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9642 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9643 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9644 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9645
73139a76
UD
9646 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9647
d73f93a4
AZ
96482012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9649
9650 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9651 size is not set.
9652 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9653
6ee65ed6
UD
96542012-01-27 Ulrich Drepper <drepper@gmail.com>
9655
9656 [BZ #13618]
9657 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9658 relocation.
9659 * Makeconfig (libm): Define.
9660 * elf/Makefile: Add rules to build and run tst-relsort1.
9661 * elf/tst-relsort1.c: New file.
9662 * elf/tst-relsort1mod1.c: New file.
9663 * elf/tst-relsort1mod2.c: New file.
9664
8db21882
JM
96652012-01-27 Joseph Myers <joseph@codesourcery.com>
9666
9667 * math/s_ldexp.c: Remove __STDC__ conditionals.
9668 * math/s_ldexpf.c: Likewise.
9669 * math/s_ldexpl.c: Likewise.
9670 * math/s_nextafter.c: Likewise.
9671 * math/s_nexttowardf.c: Likewise.
9672 * math/s_significand.c: Likewise.
9673 * math/s_significandf.c: Likewise.
9674 * math/s_significandl.c: Likewise.
9675 * math/w_jnl.c: Likewise.
9676 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9677 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9678 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9679 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9680 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9681 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9682 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9683 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9684 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9685 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9686 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9687 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9688 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9689 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9690 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9691 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9692 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9693 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9694 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9695 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9696 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9697 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9698 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9699 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9700 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9701 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9702 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9703 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9704 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9705 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9706 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9707 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9708 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9709 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9710 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9711 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9712 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9713 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9714 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9715 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9716 * sysdeps/ieee754/k_standard.c: Likewise.
9717 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9718 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9719 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9720 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9721 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9722 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9723 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9724 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9725 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9726 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9727 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9728 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9729 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9730 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9731 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9732 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9733 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9734 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9735 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9736 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9737 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9738 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9739 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9740 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9741 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9742 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9743 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9744 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9745 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9746 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9747 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9748 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9749 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9750 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9751 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9752 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9753 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9754 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9755 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9756 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9757 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9758 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9759 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9760 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9761 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9762 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9763 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9764 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9765 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9766 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9767 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9768 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9769 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9770 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9771 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9772 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9773 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9774 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9775 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9776 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9777 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9778 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9779 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9780 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9781 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9782 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9783 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9784 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9785 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9786 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9787 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9788 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9789 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9790 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9791 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9792 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9793 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9794 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9795 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9796 * sysdeps/ieee754/s_matherr.c: Likewise.
9797 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9798 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9799 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9800 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9801
965a54a4
JM
98022012-01-26 Joseph Myers <joseph@codesourcery.com>
9803
9804 * crypt/md5.h: Remove __STDC__ conditionals.
9805 * libio/libioP.h: Likewise.
9806 * locale/programs/config.h: Likewise.
9807 * sysdeps/generic/sysdep.h: Likewise.
9808 * sysdeps/i386/asm-syntax.h: Likewise.
9809 * sysdeps/s390/asm-syntax.h: Likewise.
9810 * sysdeps/unix/sysdep.h: Likewise.
9811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9813
7071ad79
JM
98142012-01-26 Joseph Myers <joseph@codesourcery.com>
9815
9816 * libio/libio.h: Remove __STDC__ conditionals.
9817 * malloc/obstack.h: Likewise.
9818 * math/complex.h: Likewise.
9819 * math/math.h: Likewise.
9820 * sysdeps/generic/_G_config.h: Likewise.
9821 * sysdeps/gnu/_G_config.h: Likewise.
9822 * sysdeps/mach/hurd/_G_config.h: Likewise.
9823 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9824 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9825 * sysdeps/sparc/bits/mathdef.h: Likewise.
9826
afc5ed09
UD
98272012-01-26 Ulrich Drepper <drepper@gmail.com>
9828
9829 [BZ #13583]
9830 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 9831 Clean up HAS_* macros.
afc5ed09 9832 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
9833 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9834 possible.
9835 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9836 HAS_AVX.
9837 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9838 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9839 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9840 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9841 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 9842
bdb6de1d
JM
98432012-01-25 Joseph Myers <joseph@codesourcery.com>
9844
9845 * elf/tst-unique3.cc (gets): Remove declaration.
9846 * elf/tst-unique3lib.cc (gets): Likewise.
9847 * elf/tst-unique3lib2.cc (gets): Likewise.
9848 * elf/tst-unique4.cc (gets): Likewise.
9849
b15549e6
UD
98502012-01-24 Ulrich Drepper <drepper@gmail.com>
9851
9852 * include/stdio.h: Add C++ protection. Add gets declarations and
9853 definitions.
9854 * debug/tst-chk1.c: Don't declare gets here.
9855 * stdio-common/tst-gets.c: Likewise.
9856
a037381f
JM
98572012-01-24 Joseph Myers <joseph@codesourcery.com>
9858
9859 * posix/glob: Remove directory.
9860
f1d4aa75
JM
98612012-01-24 Joseph Myers <joseph@codesourcery.com>
9862
9863 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9864
81c0c964
PT
98652012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9866
9867 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9868 of the non-standard EPFNOSUPPORT.
9869
0ea698ae
ST
98702011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9871
9872 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9873 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9874 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9875
d220b117
UD
98762012-01-21 Ulrich Drepper <drepper@gmail.com>
9877
9878 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9879
3e1aa84e
UD
98802012-01-20 Ulrich Drepper <drepper@gmail.com>
9881
9882 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9883 transient errors.
9884 * nscd/grpcache.c (cache_addgr): Likewise.
9885 * nscd/hstcache.c (cache_addhst): Likewise.
9886 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9887 * nscd/pwdcache.c (cache_addpw): Likewise.
9888 * nscd/servicescache.c (cache_addserv): Likewise.
9889
400aa020
UD
98902012-01-16 Ulrich Drepper <drepper@gmail.com>
9891
d77e7869
UD
9892 * malloc/malloc.c: Various cleanups.
9893 * malloc/hooks.c: Likewise.
9894
400aa020
UD
9895 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9896 * stdlib/bug-fmtmsg1.c: New file.
9897
9898 * stdlib/fmtmsg.c (init): Add missing unlock.
9899 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9900
e0a309cf
MP
99012012-01-12 Marek Polacek <polacek@redhat.com>
9902
9903 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9904 and _GNU_SOURCE.
9905
929d11c7
WS
99062012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9907
9908 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9909 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9910 macro to ensure uniqueness of label name.
9911 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9912 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9913
41d0e869
UD
99142012-01-11 Ulrich Drepper <drepper@gmail.com>
9915
0cc5ed3b
UD
9916 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9917
41d0e869
UD
9918 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9919 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9920 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9921 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9922
a47a831a
UD
99232012-01-10 Ulrich Drepper <drepper@gmail.com>
9924
daa891c0
UD
9925 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9926
9927 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9928 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9929 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9930
e58ef0f2
UD
9931 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9932
a47a831a 9933 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9934 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9935 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9936 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9937
9938 * math/bits/math-finite.h: Add ldexp support.
9939
a0bfc9c7
MP
99402012-01-10 Marek Polacek <polacek@redhat.com>
9941
9942 * locale/programs/localedef.h (show_archive_content): Add noreturn
9943 attribute.
9944
d6e97a1d
UD
99452012-01-09 Ulrich Drepper <drepper@gmail.com>
9946
9947 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9948
d5835c26
UD
99492012-01-08 Ulrich Drepper <drepper@gmail.com>
9950
e5f484c6
UD
9951 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9952
d5835c26
UD
9953 * io/Makefile (headers): Add bits/poll2.h.
9954
d1f741e9
WS
99552011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9956
9957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9958 typo #include statement.
9959
ec09c1c4
UD
99602012-01-08 Ulrich Drepper <drepper@gmail.com>
9961
9962 * include/sys/cdefs.h: Define __attribute_alloc_size.
9963 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9964 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9965 * elf/pldd.c: Likewise.
9966 * iconv/iconv_charmap.c: Likewise.
9967 * iconv/iconvconfig.c: Likewise.
9968 * iconv/strtab.c: Likewise.
9969 * locale/programs/locale.c: Likewise.
9970 * locale/programs/localedef.h: Likewise.
9971 * locale/programs/simple-hash.c: Likewise.
9972 * nscd/nscd.h: Likewise.
9973 * nss/makedb.c: Likewise.
9974 * sysdeps/generic/ldconfig.h: Likewise.
9975 * locale/programs/localedef.c: Remove xmalloc prototype.
9976 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9977
20b38e03
PP
99782012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9979
9980 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9981 appropriate.
9982
a0da5fe1
UD
99832012-01-08 Ulrich Drepper <drepper@gmail.com>
9984
1d5a644a 9985 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9986 * math/tst-CMPLX.c: New file.
1d5a644a 9987
8784a6db
UD
9988 * math/complex.h (CMPLXL): Fix typo.
9989
d9a216c0
UD
9990 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9991 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9992 GLIBC_2.16.
9993 * debug/tst-chk1.c: Add poll and ppoll tests.
9994 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9995 * include/sys/poll.h: Add hidden proto for ppoll.
9996 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9997 * sysdeps/mach/hurd/ppoll.c: Likewise.
9998 * io/ppoll.c: Likewise.
9999 * debug/poll_chk.c: New file.
10000 * debug/ppoll_chk.c: New file.
10001 * include/bits/poll2.h: New file.
10002 * io/bits/poll2.h: New file.
10003
ac097f5c
UD
10004 [BZ #1350]
10005 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10006
2119dcfa
UD
10007 * configure.in: static is always set to yes. Remove.
10008 * config.make.in: Don't set build-static.
10009 * Makeconfig: Remove use of build-static.
10010 * dlfcn/Makefile: Likewise.
10011 * elf/Makefile: Likewise.
10012 * math/Makefile: Likewise.
10013 * misc/Makefile: Likewise.
10014 * nptl/Makefile: Likewise.
10015 * sysdeps/mach/hurd/Makefile: Likewise.
10016
121766a9
UD
10017 * configure.in: PWD_P is not used anymore.
10018 * config.make.in: Remove PWD_P entry.
10019
51a1d39c 10020 * configure.in: Remove last remnants of RANLIB.
8720d066 10021 No need to check for signed size_t anymore.
215f4bdc
UD
10022 Don't set libc_commonpagesize and libc_relro_required here for Alpha
10023 and IA-64.
3857022a 10024 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
10025 * aclocal.m4: Likewise.
10026
d3ed7225
UD
10027 * wcsmbs/mbrtoc16.c: Implement using towc function.
10028 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10029 * wcsmbs/wcsmbsload.c: Likewise.
10030 * iconv/gconv_simple.c: Likewise.
10031 * iconv/gconv_int.h: Likewise.
10032 * iconv/gconv_builtin.h: Likewise.
10033 * iconv/iconv_prog.c: Remove CHAR16 handling.
10034
10035 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10036
10037 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10038
a0da5fe1
UD
10039 * configure.in: Remove --with-elf and --enable-bounded options.
10040 Dont set base_machine for ia64. More non-ELF conditions removed.
10041 Remove testing and setting of leading underscore information.
10042 * config.make.in (build-bounded): Set to no.
10043 * config.h.in: Remove NO_UNDERSCORES entry.
10044 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
10045 them.
10046 * csu/start.c: Remove !NO_UNDERSCORE code.
10047 * locale/localeinfo.h: Likewise.
10048 * sysdeps/generic/machine-gmon.h: Likewise.
10049 * sysdeps/generic/sysdep.h: Likewise.
10050 * sysdeps/i386/sysdep.h: Likewise.
10051 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10052 * sysdeps/mach/sysdep.h: Likewise.
10053 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10054 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10055 * sysdeps/sh/sysdep.h: Likewise.
10056 * sysdeps/sparc/sparc32/alloca.S: Likewise.
10057 * sysdeps/unix/i386/sysdep.S: Likewise.
10058 * sysdeps/unix/sparc/start.c: Likewise.
10059 * sysdeps/unix/sparc/sysdep.S: Likewise.
10060 * sysdeps/unix/sparc/sysdep.h: Likewise.
10061 * sysdeps/unix/start.c: Likewise.
10062 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10063 * sysdeps/x86_64/sysdep.h: Likewise.
10064
df78418a
UD
100652012-01-07 Ulrich Drepper <drepper@gmail.com>
10066
a784e502
UD
10067 [BZ #13553]
10068 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
10069 for non-gcc.
10070 * argp/argp-fmtstream.h: Use const instead __const.
10071 * argp/argp.h: Likewise.
10072 * assert/assert.h: Likewise.
10073 * bits/fenv.h: Likewise.
10074 * bits/sched.h: Likewise.
10075 * bits/sigset.h: Likewise.
10076 * bits/sigthread.h: Likewise.
10077 * catgets/nl_types.h: Likewise.
10078 * conform/data/pthread.h-data: Likewise.
10079 * crypt/crypt-private.h: Likewise.
10080 * crypt/crypt.h: Likewise.
10081 * crypt/crypt_util.c: Likewise.
10082 * ctype/ctype.h: Likewise.
10083 * debug/execinfo.h: Likewise.
10084 * debug/mbsnrtowcs_chk.c: Likewise.
10085 * debug/mbsrtowcs_chk.c: Likewise.
10086 * debug/wcsnrtombs_chk.c: Likewise.
10087 * debug/wcsrtombs_chk.c: Likewise.
10088 * debug/wcstombs_chk.c: Likewise.
10089 * dirent/dirent.h: Likewise.
10090 * dlfcn/dlfcn.h: Likewise.
10091 * elf/neededtest4.c: Likewise.
10092 * grp/grp.h: Likewise.
10093 * gshadow/gshadow.h: Likewise.
10094 * iconv/gconv.h: Likewise.
10095 * iconv/gconv_int.h: Likewise.
10096 * iconv/gconv_simple.c: Likewise.
10097 * iconv/iconv.h: Likewise.
10098 * iconv/loop.c: Likewise.
10099 * iconv/skeleton.c: Likewise.
10100 * include/aio.h: Likewise.
10101 * include/aliases.h: Likewise.
10102 * include/argz.h: Likewise.
10103 * include/arpa/inet.h: Likewise.
10104 * include/assert.h: Likewise.
10105 * include/dirent.h: Likewise.
10106 * include/dlfcn.h: Likewise.
10107 * include/execinfo.h: Likewise.
10108 * include/fcntl.h: Likewise.
10109 * include/fenv.h: Likewise.
10110 * include/glob.h: Likewise.
10111 * include/grp.h: Likewise.
10112 * include/libintl.h: Likewise.
10113 * include/mntent.h: Likewise.
10114 * include/netdb.h: Likewise.
10115 * include/pwd.h: Likewise.
10116 * include/rpc/netdb.h: Likewise.
10117 * include/sched.h: Likewise.
10118 * include/search.h: Likewise.
10119 * include/shadow.h: Likewise.
10120 * include/signal.h: Likewise.
10121 * include/stdio.h: Likewise.
10122 * include/stdlib.h: Likewise.
10123 * include/string.h: Likewise.
10124 * include/sys/socket.h: Likewise.
10125 * include/sys/stat.h: Likewise.
10126 * include/sys/statfs.h: Likewise.
10127 * include/sys/statvfs.h: Likewise.
10128 * include/sys/syslog.h: Likewise.
10129 * include/sys/time.h: Likewise.
10130 * include/sys/uio.h: Likewise.
10131 * include/time.h: Likewise.
10132 * include/unistd.h: Likewise.
10133 * include/utmp.h: Likewise.
10134 * include/wchar.h: Likewise.
10135 * include/wctype.h: Likewise.
10136 * inet/aliases.h: Likewise.
10137 * inet/arpa/inet.h: Likewise.
10138 * inet/netinet/ether.h: Likewise.
10139 * inet/netinet/in.h: Likewise.
10140 * intl/libintl.h: Likewise.
10141 * io/bits/fcntl2.h: Likewise.
10142 * io/fcntl.h: Likewise.
10143 * io/ftw.h: Likewise.
10144 * io/sys/poll.h: Likewise.
10145 * io/sys/stat.h: Likewise.
10146 * io/sys/statfs.h: Likewise.
10147 * io/sys/statvfs.h: Likewise.
10148 * io/utime.h: Likewise.
10149 * libio/bits/stdio.h: Likewise.
10150 * libio/bits/stdio2.h: Likewise.
10151 * libio/libio.h: Likewise.
10152 * libio/libioP.h: Likewise.
10153 * libio/stdio.h: Likewise.
10154 * locale/lc-ctype.c: Likewise.
10155 * locale/locale.h: Likewise.
10156 * login/utmp.h: Likewise.
10157 * malloc/arena.c: Likewise.
10158 * malloc/malloc.c: Likewise.
10159 * malloc/malloc.h: Likewise.
10160 * malloc/mcheck.c: Likewise.
10161 * malloc/mtrace.c: Likewise.
10162 * math/bits/mathcalls.h: Likewise.
10163 * math/fenv.h: Likewise.
10164 * math/math_private.h: Likewise.
10165 * misc/bits/error.h: Likewise.
10166 * misc/bits/syslog.h: Likewise.
10167 * misc/err.h: Likewise.
10168 * misc/error.h: Likewise.
10169 * misc/fstab.h: Likewise.
10170 * misc/mntent.h: Likewise.
10171 * misc/regexp.h: Likewise.
10172 * misc/search.h: Likewise.
10173 * misc/sgtty.h: Likewise.
10174 * misc/sys/mman.h: Likewise.
10175 * misc/sys/syslog.h: Likewise.
10176 * misc/sys/uio.h: Likewise.
10177 * misc/sys/xattr.h: Likewise.
10178 * misc/ttyent.h: Likewise.
10179 * nis/rpcsvc/ypclnt.h: Likewise.
10180 * nss/nss.h: Likewise.
10181 * posix/bits/unistd.h: Likewise.
10182 * posix/fnmatch.h: Likewise.
10183 * posix/glob.h: Likewise.
10184 * posix/sched.h: Likewise.
10185 * posix/spawn.h: Likewise.
10186 * posix/sys/wait.h: Likewise.
10187 * posix/unistd.h: Likewise.
10188 * posix/wordexp.h: Likewise.
10189 * pwd/pwd.h: Likewise.
10190 * resolv/netdb.h: Likewise.
10191 * resource/sys/resource.h: Likewise.
10192 * rt/aio.h: Likewise.
10193 * rt/bits/mqueue2.h: Likewise.
10194 * rt/mqueue.h: Likewise.
10195 * shadow/shadow.h: Likewise.
10196 * signal/signal.h: Likewise.
10197 * socket/send.c: Likewise.
10198 * socket/sendto.c: Likewise.
10199 * socket/sys/socket.h: Likewise.
10200 * stdio-common/printf.h: Likewise.
10201 * stdlib/bits/stdlib.h: Likewise.
10202 * stdlib/fmtmsg.h: Likewise.
10203 * stdlib/monetary.h: Likewise.
10204 * stdlib/stdlib.h: Likewise.
10205 * stdlib/ucontext.h: Likewise.
10206 * streams/stropts.h: Likewise.
10207 * string/argz.h: Likewise.
10208 * string/bits/string2.h: Likewise.
10209 * string/string.h: Likewise.
10210 * string/strings.h: Likewise.
10211 * sunrpc/rpc/auth.h: Likewise.
10212 * sunrpc/rpc/auth_des.h: Likewise.
10213 * sunrpc/rpc/clnt.h: Likewise.
10214 * sunrpc/rpc/netdb.h: Likewise.
10215 * sunrpc/rpc/pmap_clnt.h: Likewise.
10216 * sunrpc/rpc/xdr.h: Likewise.
10217 * sysdeps/generic/inttypes.h: Likewise.
10218 * sysdeps/generic/net/if.h: Likewise.
10219 * sysdeps/generic/sys/swap.h: Likewise.
10220 * sysdeps/gnu/net/if.h: Likewise.
10221 * sysdeps/gnu/utmpx.h: Likewise.
10222 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10223 * sysdeps/i386/i486/bits/string.h: Likewise.
10224 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10225 * sysdeps/s390/bits/string.h: Likewise.
10226 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10227 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10228 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10229 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10230 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10231 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10232 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10233 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10234 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10235 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10236 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10237 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10238 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10239 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10240 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10241 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10242 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10243 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10244 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10245 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10246 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10247 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10248 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10249 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10250 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10251 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10252 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10253 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10254 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10255 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10256 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10257 * sysvipc/sys/ipc.h: Likewise.
10258 * sysvipc/sys/msg.h: Likewise.
10259 * sysvipc/sys/sem.h: Likewise.
10260 * sysvipc/sys/shm.h: Likewise.
10261 * termios/termios.h: Likewise.
10262 * time/sys/time.h: Likewise.
10263 * time/time.h: Likewise.
10264 * wcsmbs/bits/wchar2.h: Likewise.
10265 * wcsmbs/uchar.h: Likewise.
10266 * wcsmbs/wchar.h: Likewise.
10267 * wctype/wctype.h: Likewise.
10268
0269750c
UD
10269 [BZ #13551]
10270 * Makeconfig: Remove all but ELF support including AIX support.
10271 * Makerules: Likewise.
10272 * config.h.in: Likewise.
10273 * config.make.in: Likewise.
10274 * configure: Likewise.
10275 * configure.in: Likewise.
10276 * csu/Makefile: Likewise.
10277 * csu/version.c: Likewise.
10278 * debug/Makefile: Likewise.
10279 * dlfcn/Makefile: Likewise.
10280 * elf/Makefile: Likewise.
10281 * extra-lib.mk: Likewise.
10282 * iconv/Makefile: Likewise.
10283 * include/libc-symbols.h: Likewise.
10284 * include/shlib-compat.h: Likewise.
10285 * resolv/Makefile: Likewise.
10286 * resolv/res_libc.c: Likewise.
10287 * rt/Makefile: Likewise.
10288 * sysdeps/i386/asm-syntax.h: Likewise.
10289 * sysdeps/i386/sysdep.h: Likewise.
10290 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10291 * sysdeps/mach/sysdep.h: Likewise.
10292 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10293 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10294 * sysdeps/s390/asm-syntax.h: Likewise.
10295 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10296 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10297 * sysdeps/sh/sysdep.h: Likewise.
10298 * sysdeps/unix/sparc/sysdep.h: Likewise.
10299 * sysdeps/wordsize-32/divdi3.c: Likewise.
10300 * sysdeps/x86_64/sysdep.h: Likewise.
10301
00bbd29b
UD
10302 * argp/Versions: Remove _argp_unlock_xxx.
10303
10304 [BZ #13559]
10305 * abilist/ld.abilist: Update. Adjust for removal of tls option.
10306 * abilist/libBrokenLocale.abilist: Likewise.
10307 * abilist/libanl.abilist: Likewise.
10308 * abilist/libc.abilist: Likewise.
10309 * abilist/libcrypt.abilist: Likewise.
10310 * abilist/libdl.abilist: Likewise.
10311 * abilist/libm.abilist: Likewise.
10312 * abilist/libnsl.abilist: Likewise.
10313 * abilist/libpthread.abilist: Likewise.
10314 * abilist/libresolv.abilist: Likewise.
10315 * abilist/librt.abilist: Likewise.
10316 * abilist/libthread_db.abilist: Likewise.
10317 * abilist/libutil.abilist: Likewise.
10318 * abilist/libnss_db.abilist: New file.
10319
10320 * scripts/abilist.awk: Add support for indirect functions.
10321
a2693a0e
UD
10322 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10323
3f05895f
UD
10324 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10325
ecb6fb48
UD
10326 * shlib-versions: Remove entries for ports architectures.
10327
664f8cb9
UD
10328 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10329 files in ports.
10330 * elf/stackguard-macros.h: Remove support for IA-64.
10331 * elf/tst-auditmod1.c: Likewise.
10332 * sysdeps/generic/ldsodefs.h: Likewise.
10333
7ae81d88
UD
10334 * sysdeps/unix/sysv/linux/configure.in: Ports should define
10335 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10336 configure files.
10337
bdeba135
UD
10338 [BZ #13552]
10339 * configure.in: Remove --enable-omitfp support.
10340 * FAQ.in: Adjust.
10341 * config.make.in: Likewise.
10342 * Makeconfig: Likewise.
10343 * manual/install.texi: Likewise.
10344
d75a0a62
UD
10345 In case anyone cares, the IA-64 architecture could move to ports.
10346 * sysdeps/ia64/*: Removed.
10347 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 10348 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 10349
dcc9756b
UD
10350 [BZ #13555]
10351 * configure.in: Remove entries for unsupported architectures.
10352
d3761ebc 10353 [BZ #13533]
9954432e
UD
10354 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10355 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
10356 routines.
10357 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10358 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10359 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
10360 fall back to using wcrtomb.
10361 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10362 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
10363 renaming.
10364 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10365 * wcsmbs/tst-c16c32-1.c: New file.
10366
10367 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10368 local variable.
10369
c3a87236
UD
10370 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10371
28926a1b
UD
10372 * elf/tst-unique3.cc: Add explicit declaration of gets.
10373 * elf/tst-unique3lib.cc: Likewise.
10374 * elf/tst-unique3lib2.cc: Likewise.
10375 * elf/tst-unique4.cc: Likewise.
10376
df78418a
UD
10377 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10378
8ecd6b2a
JM
103792012-01-06 Joseph Myers <joseph@codesourcery.com>
10380
10381 [BZ #13566]
10382 * assert/assert.h (static_assert): Don't define for C++.
10383 * libio/stdio.h (gets): Do declare for C++ <= C++11.
10384 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10385
9f115170
UD
103862012-01-03 Ulrich Drepper <drepper@gmail.com>
10387
5e0d0300
UD
10388 * iconv/loop.c (single loop): Fix assertion in storing of
10389 remaining bytes.
10390
9f115170
UD
10391 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10392
81fb02b0
UD
103932012-01-01 Ulrich Drepper <drepper@gmail.com>
10394
10395 * posix/getconf.c: Update copyright year.
10396 * nss/getent.c: Likewise.
a316c1f6 10397 * nss/makedb.c: Likewise.
81fb02b0
UD
10398 * iconv/iconvconfig.c: Likewise.
10399 * iconv/iconv_prog.c: Likewise.
10400 * elf/ldconfig.c: Likewise.
a316c1f6
UD
10401 * elf/pldd.c: Likewise.
10402 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
10403 * catgets/gencat.c: Likewise.
10404 * csu/version.c: Likewise.
10405 * elf/ldd.bash.in: Likewise.
10406 * elf/sprof.c (print_version): Likewise.
10407 * locale/programs/locale.c: Likewise.
10408 * locale/programs/localedef.c: Likewise.
a316c1f6 10409 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
10410 * nscd/nscd.c (print_version): Likewise.
10411 * debug/xtrace.sh: Likewise.
10412 * malloc/memusage.sh: Likewise.
10413 * malloc/mtrace.pl: Likewise.
10414 * debug/catchsegv.sh: Likewise.
10415
2ba92745
JJ
104162011-12-30 Jakub Jelinek <jakub@redhat.com>
10417
10418 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10419 pure attribute.
10420
dadebdae
UD
104212011-12-24 Ulrich Drepper <drepper@gmail.com>
10422
d3761ebc 10423 [BZ #13533]
db6af3eb
UD
10424 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10425 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10426 transformations.
10427 * iconv/gconv_int.h: Likewise.
10428 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10429 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10430 from libc for GLIBC_2.16.
10431 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10432 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10433 * wcsmbs/uchar.h: Really define mbstate_t.
10434 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10435 * wcsmbs/c16rtomb.c: New file.
10436 * wcsmbs/mbrtoc16.c: New file.
10437 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10438 for C/POSIX locale.
10439 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10440 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10441
dadebdae
UD
10442 * wcsmbs/wchar.h: Add missing __restrict.
10443
67371b56
UD
104442011-12-23 Ulrich Drepper <drepper@gmail.com>
10445
74033a25
UD
10446 [BZ #13532]
10447 * time/Makefile (routines): Add timespec_get.
10448 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10449 * time/time.h: Define TIME_UTC and declare timespec_get. Define
10450 timespec for ISO C11.
10451 * time/timespec_get.c: New file.
10452 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10453 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10454
380d7e87
UD
10455 [BZ #13531]
10456 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10457 * stdlib/stdlib.h: Declare aligned_alloc.
10458 * Versions.def: Add GLIBC_2.16 for libc.
10459 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10460
4e9e7a35
UD
10461 [BZ 13527]
10462 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10463 ISO C11.
10464
380d7e87 10465 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
10466 code.
10467
03a71829
UD
10468 [BZ #13528]
10469 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10470
839e283e
UD
10471 [BZ #13529]
10472 * assert/assert.h (static_assert): Define.
10473
ce5294e2 10474 * version.h: Update for 2.16 development version.
90fa7312 10475
8d44e150 10476 [BZ #13526]
d7809905
UD
10477 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10478 _ISOC11_SOURCE.
10479
c0da14cd
UD
10480 * version.h (RELEASE): Bump for 2.15 release.
10481 * include/features.h (__GLIBC_MINOR__): Bump to 15.
10482
530a3249
MP
10483 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10484 Patch by Marek Polacek <mpolacek@redhat.com>.
10485
67371b56
UD
10486 * bits/byteswap.h: Protect long long constants with __extension__.
10487 * sysdeps/i386/bits/byteswap.h: Likewise.
10488 * sysdeps/ia64/bits/byteswap.h: Likewise.
10489 * sysdeps/s390/bits/byteswap.h: Likewise.
10490 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10491
15db4de1
LD
104922011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10493
10494 [BZ #13540]
bbe315ea
LD
10495 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
10496 destination buffer.
15db4de1
LD
10497 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10498
2b2596b1
MP
104992011-12-23 Marek Polacek <polacek@redhat.com>
10500
10501 * elf/dl-addr.c (determine_info): Add inline keyword.
10502 * elf/tst-auditmod4b.c (check_avx): Likewise.
10503 * elf/tst-auditmod6b.c (check_avx): Likewise.
10504 * elf/tst-auditmod6c.c (check_avx): Likewise.
10505 * elf/tst-auditmod7b.c (check_avx): Likewise.
10506
70c6c246
UD
105072011-12-23 Ulrich Drepper <drepper@gmail.com>
10508
10509 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10510 !__SSE_MATH__.
10511
c044cf14
LD
105122011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10513
15db4de1 10514 [BZ #13540]
c044cf14
LD
10515 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
10516 processing for last bytes.
10517
6b13d9d9
BH
105182011-08-06 Bruno Haible <bruno@clisp.org>
10519
d455f537
BH
10520 [BZ #13061]
10521 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10522 U+0385, not to U+1FEE.
10523
6b13d9d9
BH
10524 [BZ #13062]
10525 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10526 entry for U+00A5 U+0301.
10527
db910efd
UD
105282011-12-22 Ulrich Drepper <drepper@gmail.com>
10529
27deeafc
UD
10530 [BZ #13166]
10531 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10532 buffer for the output is too small.
10533
aed9d171
UD
10534 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10535 optimization.
10536
db910efd
UD
10537 [BZ #13185]
10538 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10539 SSE flags if possible.
10540
2bd779ae
LD
105412011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10542
e7f9dac3 10543 [BZ #13540]
2bd779ae
LD
10544 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10545 processing for last bytes.
10546
154bfc16
JM
105472011-12-22 Joseph Myers <joseph@codesourcery.com>
10548
10549 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10550 (syscall-list-default-options, syscall-list-default-condition)
10551 (syscall-list-includes): Define.
10552 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10553 list of ABIs and options and #if conditions for each ABI. Do not
10554 handle common syscalls between ABIs specially.
10555 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10556 Remove.
10557 (syscall-list-variants, syscall-list-32bit-options)
10558 (syscall-list-32bit-condition, syscall-list-64bit-options)
10559 (syscall-list-64bit-condition): Define.
10560 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10561 (syscall-list-variants, syscall-list-32bit-options)
10562 (syscall-list-32bit-condition, syscall-list-64bit-options)
10563 (syscall-list-64bit-condition): Define.
10564 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10565 Remove.
10566 (syscall-list-variants, syscall-list-32bit-options)
10567 (syscall-list-32bit-condition, syscall-list-64bit-options)
10568 (syscall-list-64bit-condition): Define.
10569 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10570 Remove.
10571 (syscall-list-variants, syscall-list-32bit-options)
10572 (syscall-list-32bit-condition, syscall-list-64bit-options)
10573 (syscall-list-64bit-condition): Define.
10574
21eaf3a5
UD
105752011-12-22 Ulrich Drepper <drepper@gmail.com>
10576
16c6f992
UD
10577 * locale/iso-639.def: Add brx entry.
10578
41043168
UD
10579 [BZ #13328]
10580 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10581 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10582
21eaf3a5
UD
10583 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10584 __feraiseexcept_renamed.
10585
e3a851a2
UD
105862011-12-21 Ulrich Drepper <drepper@gmail.com>
10587
4920765e
UD
10588 [BZ #13538]
10589 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10590 EPOLLET with unsigned values.
10591 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10592 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10593
e3a851a2
UD
10594 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10595 to large cancellation.
10596 * math/s_cacoshf.c: Likewise.
10597 * math/s_cacoshl.c: Likewise.
10598
b27e24b8
RK
105992011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10600
10601 [BZ #13305]
aebefeee 10602 [BZ #12786]
b27e24b8
RK
10603 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10604 * math/s_cacoshf.c: Likewise.
10605 * math/s_cacoshl.c: Likewise.
10606
ee190f67
UD
106072011-12-21 Ulrich Drepper <drepper@gmail.com>
10608
10609 [BZ #13439]
10610 * iconv/gconv.h: Define __GCONV_SWAP.
10611 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10612 * iconvdata/utf-16.c: Likewise.
10613 * iconvdata/utf-32.c: Likewise.
10614
707f25df
AS
106152011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10616
10617 [BZ #13524]
10618 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10619 numerator after shifting it by one limb.
10620
d2daaa1e
RÁE
106212011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10622
10623 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10624 under [__USE_EXTERN_INLINES].
10625
a4647e72
UD
106262011-12-17 Ulrich Drepper <drepper@gmail.com>
10627
10628 [BZ #13446]
10629 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10630
f0b264f1
AZ
106312011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10632
10633 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10634 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10635 optimized code.
10636 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10637 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10638 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10639 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10640 for strncasecmp/strncasecmp_l compilation.
10641 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10642 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10643
8ef4f244
MP
106442011-12-08 Marek Polacek <mpolacek@redhat.com>
10645
10646 [BZ #13484]
10647 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10648 of __asm__.
10649
97ac2654
UD
106502011-12-17 Ulrich Drepper <drepper@gmail.com>
10651
10652 [BZ #13506]
10653 * time/tzfile.c (__tzfile_read): Check values from file header.
10654
91d2a845
WS
106552011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10656
10657 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10658 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10659 * powerpc/powerpc32/dl-start.S: Likewise.
10660 * powerpc/powerpc32/elf/start.S: Likewise.
10661 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10662 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10663 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10664 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10665 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10666 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10667 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10668 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10669 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10670 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10671 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10672 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10673 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10674 * powerpc/powerpc32/memset.S: Likewise.
10675 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10676 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10677 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10678 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10679 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10680 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10681 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10682 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10683 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10684 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10685 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10686 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10687 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10688
a1267ba1
AZ
106892011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10690
10691 * math/libm-test.inc: Added more nearbyint tests.
10692 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10693 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10694 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10695 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10696
ad8ac1bd
RL
106972011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10698
10699 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10700 FD_CLOEXEC.
10701
1d3e4b61
UD
107022011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10703
10704 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10705 Add wcscpy-ssse3 wcscpy-c.
10706 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10707 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10708 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10709 * sysdeps/x86_64/wcschr.S: New file.
10710 * sysdeps/x86_64/wcsrchr.S: New file.
10711 * string/test-strcmp.c: Remove checking of wcscmp function for
10712 wrong alignments.
10713 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10714 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10715 wcsrchr-sse2 wcsrchr-c.
10716 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10717 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10718 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10719 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10720 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10721 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10722 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10723 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10724 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10725 * wcsmbc/wcschr.c (WCSCHR): New macro.
10726
5b330a2d
UD
107272011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10728
10729 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10730 * wcsmbs/test-wcsrchr.c: New file.
10731 * string/test-strrchr.c: Add wcsrchr support.
10732 (WIDE): New macro.
10733 * wcsmbs/test-wcscpy.c: New file.
10734 * string/test-strcpy.c: Add wcscpy support.
10735 (WIDE): New macro.
26428b7c 10736
f039c043
UD
107372011-12-10 Ulrich Drepper <drepper@gmail.com>
10738
10739 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10740 the inner loop.
10741
850fb039
AS
107422011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10743
10744 [BZ #13472]
10745 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10746
4efbd5cb
UD
107472011-12-04 Ulrich Drepper <drepper@gmail.com>
10748
52ff5dd0 10749 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 10750 Minor optimizations.
52ff5dd0 10751
4efbd5cb
UD
10752 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10753 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10754 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10755
8a426e12
UD
107562011-12-03 Ulrich Drepper <drepper@gmail.com>
10757
aff2453d
UD
10758 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10759 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10760 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10761 for gcc to avoid warnings.
10762 * inet/Makefile (tests): Add tst-checks.
10763 * inet/tst-checks.c: New file.
10764
10765 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10766 warning.
10767
10768 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10769 __wmemcmp_sse2.
10770
10771 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10772 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10773
8a426e12
UD
10774 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10775
9bea3473
UD
107762011-12-02 Ulrich Drepper <drepper@gmail.com>
10777
3a965496
UD
10778 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10779 problem.
10780
9bea3473
UD
10781 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10782
f101631b
UD
107832011-11-29 Joseph Myers <joseph@codesourcery.com>
10784
10785 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10786 conditional on GCC version.
10787 (__arch_compare_and_exchange_val_8_acq)
10788 (__arch_compare_and_exchange_val_16_acq)
10789 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10790 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10791 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10792
a98275aa
UD
107932011-12-02 Joseph Myers <joseph@codesourcery.com>
10794
10795 * sysdeps/sh/backtrace.c: New file.
10796
d4cc29a2
AS
107972011-12-02 Andreas Schwab <schwab@redhat.com>
10798
10799 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10800 parenthesis.
10801
6257af2d
AS
108022011-12-01 Andreas Schwab <schwab@redhat.com>
10803
10804 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10805 falling back to utime.
10806
b5f44c1a
AS
108072011-11-30 Andreas Schwab <schwab@redhat.com>
10808
10809 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10810 expectations for float.
10811
f3a6cc0a
AS
108122011-11-29 Andreas Schwab <schwab@redhat.com>
10813
10814 * locale/weight.h (findidx): Add parameter len.
10815 * locale/weightwc.h (findidx): Likewise.
10816 * posix/fnmatch_loop.c (FCT): Adjust caller.
10817 * posix/regcomp.c (build_equiv_class): Likewise.
10818 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10819 * posix/regexec.c (check_node_accept_bytes): Likewise.
10820 * string/strcoll_l.c (STRCOLL): Likewise.
10821 * string/strxfrm_l.c (STRXFRM): Likewise.
10822
9d65ea3a
UD
108232011-11-17 Ulrich Drepper <drepper@gmail.com>
10824
10825 * Makefile.in: Remove CVSOPT handling.
10826 * configure.in: Remove use of AC_REVISION.
10827 * iconvdata/Makefile (distribute): No need to filter out CVS.
10828 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10829 handling.
10830
5583a086
AS
108312011-11-16 Andreas Schwab <schwab@redhat.com>
10832
10833 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10834 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10835 [USE_AS_STRNCASECMP_L]: Likewise.
10836 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10837 NO_TLS_DIRECT_SEG_REFS.
10838 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10839 Fix argument offsets for non-PIC.
10840 [USE_AS_STRNCASECMP_L]: Likewise.
10841 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10842 NO_TLS_DIRECT_SEG_REFS.
10843
d62a8200
UD
108442011-11-15 Ulrich Drepper <drepper@gmail.com>
10845
9d65ea3a 10846 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
10847 O_CLOEXEC.
10848 * locale/loadlocale.c (_nl_load_locale): Likewise.
10849
09f93bd3
AS
108502011-11-15 Andreas Schwab <schwab@redhat.com>
10851
446514f9
AS
10852 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10853 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10854 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10855 (SYSCALL_GETTIME): Set errno on error.
10856
09f93bd3
AS
10857 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10858 count references to noai6ai_cached.
10859
312be3f9
UD
108602011-11-15 Ulrich Drepper <drepper@gmail.com>
10861
10862 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10863
10864 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10865 FD_CLOEXEC for /proc/self/maps.
10866
10867 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10868 FD_CLOEXEC for /proc/meminfo.
10869
10870 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10871 gai.conf.
10872
10873 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10874 FD_CLOEXEC for given file.
10875
10876 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10877
10878 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10879 FD_CLOEXEC for /etc/hosts.
10880 (_gethtent): Likewise.
10881
10882 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10883
10884 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10885 cancellation and set FD_CLOEXEC for /etc/netgroup.
10886
10887 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10888 reading /etc/publickey.
10889
10890 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10891 allow cancellation when reading /etc/group.
10892
10893 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10894 cancellation.
10895 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10896
10897 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10898 when using data file.
10899
10900 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10901
10902 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10903 (write_nis_obj): Use "c" and "e" in fopen.
10904
10905 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10906
10907 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10908
10909 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10910
10911 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10912
10913 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10914 locale.alias.
10915
10916 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10917
10918 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10919
10920 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10921
10922 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10923 file parsing and set FD_CLOEXEC.
10924
82af0fa8
UD
109252011-11-14 Ulrich Drepper <drepper@gmail.com>
10926
10927 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10928
a5fb313c
AS
109292011-11-14 Andreas Schwab <schwab@redhat.com>
10930
10931 * malloc/arena.c (arena_get2): Don't call reused_arena when
10932 _int_new_arena failed.
10933
6abf3465
UD
109342011-11-14 Ulrich Drepper <drepper@gmail.com>
10935
10936 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10937 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10938 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10939 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10940 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10941 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10942 to compile strcasecmp and strncasecmp.
10943 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10944 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10945
10946 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10947
76e3966e
UD
109482011-11-13 Ulrich Drepper <drepper@gmail.com>
10949
10950 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10951 locale-defines.sym to gen-as-const-headers.
10952 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10953 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10954 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10955 to compile strcasecmp and strncasecmp.
10956 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10957 strcasecmp_l and strncasecmp_l.
10958 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10959 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10960 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10961 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10962 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10963 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10964 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10965 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10966 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10967 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10968 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10969
ab26144e
UD
109702011-11-12 Ulrich Drepper <drepper@gmail.com>
10971
7edb22ef
UD
10972 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10973 result of SYSDEP_GETTIME_CPU to retval.
10974 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10975 parameter list to macro. Remove trailing semicolon. Adjust users.
10976
9694fc44
UD
10977 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10978 variable.
10979
8ad89ef8
UD
10980 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10981 mantissa words.
10982 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10983
0c822ef9
UD
10984 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10985 from unused variable.
10986
874e0564
UD
10987 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10988 DWARF definitions.
10989 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10990 for assembling.
10991
3a2edc79
UD
10992 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10993 over namespaces.
10994
f3c2577f
UD
10995 * sunrpc/rpc_prot.c (rejected): Fix case value.
10996
294ce126
UD
10997 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10998 unsigned long long int to avoid warnings in shift.
10999
5e2b63c6
UD
11000 * posix/regex_internal.c (re_string_reconstruct): Actually use result
11001 of use of trans.
11002 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11003 variable tmp.
11004
e7f4b08e
UD
11005 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11006 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11007 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11008
ab26144e
UD
11009 * nis/nis_table.c (nis_list): Use variable of correct type for
11010 result of __follow_path call.
11011
8a6d5255
AZ
110122011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11013
11014 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11015 of math functions ceil, trunc, floor, round, and sqrt, when
11016 avaliable on the platform.
11017 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11018 name clash.
11019 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11020 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11021 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11022
aaddc98c
MP
110232011-10-30 Marek Polacek <mpolacek@redhat.com>
11024
11025 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11026 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11027
95b7042b
RM
110282011-11-11 Roland McGrath <roland@hack.frob.com>
11029
11030 * include/unistd.h: Fix __readlink return type.
11031 Reported by Chris Metcalf <cmetcalf@tilera.com>.
11032
57769839
UD
110332011-11-11 Ulrich Drepper <drepper@gmail.com>
11034
11035 * stdlib/ucontext.h: Undo last change for makecontext.
11036
edc5984d
AS
110372011-11-11 Andreas Schwab <schwab@redhat.com>
11038
98591e58
AS
11039 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11040
edc5984d
AS
11041 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11042 * setjmp/setjmp.h: Mark functions as non-leaf.
11043 * setjmp/bits/setjmp2.h: Likewise.
11044 * stdlib/ucontext.h: Likewise.
11045
77cdc054
AS
110462011-11-10 Andreas Schwab <schwab@redhat.com>
11047
11048 * malloc/arena.c (_int_new_arena): Don't increment narenas.
11049 (reused_arena): Don't check arena limit.
11050 (arena_get2): Atomically check arena limit.
11051
fe72eebd
UD
110522011-11-08 Ulrich Drepper <drepper@gmail.com>
11053
5f078c32
UD
11054 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11055 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11056
fe72eebd
UD
11057 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11058 instructions.
11059
ae1bc2fa
AS
110602011-11-07 Andreas Schwab <schwab@redhat.com>
11061
7583a88d
AS
11062 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11063 handler when locking.
11064
ae1bc2fa
AS
11065 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11066 Fix size of allocated buffer.
11067
10fb0bfa
AS
110682011-11-04 Andreas Schwab <schwab@redhat.com>
11069
998832a4
AS
11070 [BZ #10103]
11071 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
11072 declarations for long double functions.
11073 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
11074
10fb0bfa
AS
11075 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
11076
3d7ba52b
AS
110772011-11-03 Andreas Schwab <schwab@redhat.com>
11078
a9ae54a1
AS
11079 * nscd/nscd.c (main): Don't start AVC thread until credentials are
11080 installed.
11081
3d7ba52b
AS
11082 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
11083 is disabled.
11084
bc8db248
ST
110852011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11086
11087 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
11088
45b96dd6
AS
110892011-11-01 Andreas Schwab <schwab@linux-m68k.org>
11090
647776f6
AS
11091 * include/alloca.h (stackinfo_alloca_round): Define.
11092 (extend_alloca): Use it.
11093 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
11094 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
11095 here.
11096
d91a8b93
AS
11097 * scripts/check-local-headers.sh: Ignore libaudit.h.
11098
45b96dd6
AS
11099 * nscd/Makefile (extra-objs): Make recursively expanded.
11100
432d41ce
UD
111012011-11-01 Ulrich Drepper <drepper@gmail.com>
11102
34372fc6
UD
11103 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11104 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11105
fadb59f8
UD
11106 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11107 * posix/tst-rfc3484-2.c: Likewise.
11108 * posix/tst-rfc3484-3.c: Likewise.
11109
78239589
UD
11110 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11111 process_vm_writev.
11112 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11113 process_vm_writev.
11114 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11115 process_vm_writev from libc using GLIBC_2.15 version.
11116
432d41ce
UD
11117 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11118
02f9c6cf
PP
111192011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11120
11121 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11122 stack usage.
11123
3a2c0242
UD
111242011-10-31 Ulrich Drepper <drepper@gmail.com>
11125
f4ec4833
UD
11126 [BZ #13367]
11127 * nss/getent.c (initgroups_keys): Show error message in case no group
11128 names are given.
11129
3a2c0242
UD
11130 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11131 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11132 __bump_nl_timestamp.
11133 * nscd/connections (nscd_init): When host database is served open
11134 netlink socket and request notification about configuration changes.
11135 (main_loop_poll): Track netlink file descriptor and bump timestamp
11136 in case data becomes available.
11137 (main_loop_epoll): Likewise.
11138 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11139 (database_pers_head): Add extra_data fileds.
11140 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11141 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11142 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11143 Adjust caller.
11144 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11145 in6ai data, call __free_in6ai.
11146 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11147 Add -DHAVE_NETLINK.
11148 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
11149 interface information. Reuse previous data if netlink timestamp
11150 is not changed.
11151 (__bump_nl_timestamp): New function.
11152 (__free_in6ai): New function.
11153
636064eb
UD
111542011-10-30 Ulrich Drepper <drepper@gmail.com>
11155
11156 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11157 close_not_cancel_no_status here.
11158 (__check_pf): Reorganize code a bit to not call close twice if OOM.
11159
9beb2334
UD
111602011-10-29 Ulrich Drepper <drepper@gmail.com>
11161
6ef76f3b
UD
11162 [BZ #13276]
11163 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11164 return value.
11165
0ffc4f3e 11166 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
11167 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11168 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11169
cb95113e
UD
111702011-07-03 Andreas Jaeger <aj@suse.de>
11171
11172 [BZ #10709]
11173 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11174 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11175 * math/libm-test.inc (sin_test): Add test case.
11176
a1b560ff
UD
111772011-10-29 Ulrich Drepper <drepper@gmail.com>
11178
c9aaface
UD
11179 [BZ #13337]
11180 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11181 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11182
d272e7f1
UD
11183 * elf/chroot_canon.c (chroot_canon): Cleanups.
11184
1bc33071
UD
11185 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11186
1760874d
TJ
11187 [BZ #13335]
11188 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11189 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11190
51d91b18
UD
11191 * string/test-strchr.c: Make usable for strchrnul testing.
11192 * string/test-strchrnul.c: New file.
11193 * string/Makefile (strop-tests): Add strchrnul.
11194
a1b560ff 11195 * po/it.po: Update from translation team.
b611fb81 11196 * po/es.po: Likewise.
a1b560ff 11197
a5b81e1f
UD
111982011-10-28 Ulrich Drepper <drepper@gmail.com>
11199
fd52bc6d
UD
11200 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11201 the three constants needed as parameters. Drop the others.
11202 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11203 __m128i_strloadu_tolower.
52e4b9eb
UD
11204 Create and initialize variable zero and use it in all the places
11205 where _mm_setzero_si128 was used.
fd52bc6d 11206
a5b81e1f
UD
11207 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11208 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11209 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11210 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11211 anymore.
11212 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11213 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11214 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11215 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11216 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11217 __mpranred, __mptan.
11218 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11219 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11220 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11221 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11222 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11223 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11224 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11225 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11226 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11227
b4343346
AS
112282011-10-28 Andreas Schwab <schwab@redhat.com>
11229
0c92d8a8
AS
11230 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11231 redefine if SHARED.
11232 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11233
b4343346
AS
11234 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11235 wide char related routines to wcsmbs subdir.
11236
3871f58f
AS
112372011-10-27 Andreas Schwab <schwab@redhat.com>
11238
11239 [BZ #13344]
11240 * misc/sys/cdefs.h (__THROWNL): Define.
11241 * posix/unistd.h: Use __THREADNL instead of __THREAD
11242 for memory synchronization functions.
11243
94d44d9f
RM
112442011-10-26 Roland McGrath <roland@hack.frob.com>
11245
21b64b15 11246 [BZ #13349]
94d44d9f
RM
11247 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11248 doesn't exist.
11249 * manual/stdio.texi (Obstack Streams): Node removed.
11250
f6ce9294
AS
112512011-10-26 Andreas Schwab <schwab@redhat.com>
11252
80479147
AS
11253 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11254 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11255 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11256
f6ce9294
AS
11257 * math/math_private.h (math_force_eval): Allow non-addressable
11258 arguments.
11259 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11260
618280a1
UD
112612011-10-25 Ulrich Drepper <drepper@gmail.com>
11262
e0016b11
UD
11263 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11264 file is not needed.
11265
11266 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11267 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11268 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11269 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11270 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11271 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11272 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11273 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11274 Add AVX variants.
11275 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11276 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11277 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11278 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11279 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11280 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11281 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11282 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11283 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11284 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11285 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11286 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11287 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11288 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11289 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11290 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11291 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11292 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11293 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11294
11295 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11296 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
11297
618280a1
UD
11298 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11299 place. Use VEX encoding when compiling for AVX.
11300
37822576
AS
113012011-10-25 Andreas Schwab <schwab@redhat.com>
11302
1f1e1947
AS
11303 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11304 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11305
37822576
AS
11306 * string/test-strchr.c (do_test): Don't generate NUL bytes.
11307
31ea014d
UD
113082011-10-25 Ulrich Drepper <drepper@gmail.com>
11309
d7826aa1 11310 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 11311 useless if() expression.
d7826aa1
UD
11312 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11313 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11314 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11315 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11316 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11317 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11318 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11319 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11320 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11321 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11322 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11323 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11324 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11325 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11326 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11327 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11328 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11329 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11330 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11331
31ea014d
UD
11332 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11333
16437fec
AS
113342011-10-25 Andreas Schwab <schwab@redhat.com>
11335
11336 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11337 condition.
11338 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11339
31d3cc00
UD
113402011-10-25 Ulrich Drepper <drepper@gmail.com>
11341
11342 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11343 .text section. Avoid duplicate constants.
11344 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11345 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11346 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11347 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11348 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11349 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11350 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11351 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11352 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11353 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11354 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11355 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11356 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11357 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11358 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11359 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11360 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11361 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11362 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11363 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11364 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11365 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11366 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11367 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11368 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11369 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11370 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11371 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11372 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11373 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11374 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11375 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11376 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11377 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11378 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11379 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11380 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11381 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11382 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11383 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11384 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11385 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11386 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11387 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11388 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11389
58985aa9
UD
113902011-10-24 Ulrich Drepper <drepper@gmail.com>
11391
202c9deb
UD
11392 * sysdeps/x86_64/dla.h: Move to ...
11393 * sysdeps/x86_64/fpu/dla.h: ...here.
11394 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11395 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 11396
af968f62
UD
11397 * config.make.in: Add have-mfma4 entry.
11398 * configure.in: Substitute libc_cv_cc_fma4.
11399 * math/Makefile (dbl-only-routines): Add sincostab.
11400 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11401 Use __sincostab not sincos.
11402 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11403 name is a macro.
11404 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11405 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11406 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11407 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11408 using __copysign.
11409 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11410 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11411 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11412 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11413 and __inv.
11414 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11415 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11416 __copysign.
11417 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
11418 define aliases when function name is a macro.
11419 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11420 sysdeps/ieee754/dbl-64/sincos.tbl.
11421 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11422 fma4-enabled routines.
11423 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11424 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11425 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11426 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11427 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11428 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11429 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11430 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11431 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11432 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11433 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11434 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11435 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11436 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11437 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11438 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11439 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11440 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11441 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11442 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11443 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11444 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11445 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11446 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11447 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11448 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11449 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11450 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11451 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11452 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11453
58985aa9
UD
11454 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11455 rename.
11456 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11457 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11458 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11459 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11460 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11461 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11462 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11463 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11464
a201fbcf
AS
114652011-10-24 Andreas Schwab <schwab@redhat.com>
11466
11467 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11468
fc2ee42a
LD
114692011-10-23 Ulrich Drepper <drepper@gmail.com>
11470
bb3129bd
UD
11471 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11472
0275fff8
UD
11473 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11474 prediction.
11475 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11476
2fa2ae85
UD
11477 * string/strnlen.c: Don't define STRNLEN, reverse logic.
11478 Remove unused variable magic_bits.
11479 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11480
fc2ee42a
LD
11481 * string/strnlen.c: Define and use STRNLEN macro.
11482 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11483 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11484 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11485 * wcsmbs/wcslen.c: Define and use WCSLEN.
11486 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11487 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11488 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11489 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11490 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11491 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11492 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11493
ce7dd29f
LD
114942011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11495
11496 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11497 strnlen-sse2-no-bsf.
11498 Rename strlen-no-bsf to strlen-sse2-no-bsf.
11499 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
11500 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
11501 Add strnlen support.
11502 (USE_AS_STRNLEN): New macro.
11503 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11504 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11505 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11506 * sysdeps/x86_64/wcslen.S: New file.
11507
979c70a3
MZ
115082011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
11509
11510 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11511 XMM-moves are used for copying on small sizes.
11512
2d09f82f
LD
115132011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11514
11515 * wcsmbs/Makefile (strop-tests): Add wcschr.
11516 * wcsmbs/test-wcschr.c: New file.
11517 * string/test-strchr.c: Update.
11518 Add wcschr support.
11519 (WIDE): New macro.
11520
619fccca
LD
115212011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11522
2d09f82f 11523 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
11524 * wcsmbs/test-wcslen.c: New file.
11525 * string/test-strlen.c: Update.
11526 Add wcslen support.
11527 (WIDE): New macro.
11528
09f699ea
UD
115292011-10-23 Ulrich Drepper <drepper@gmail.com>
11530
11531 * po/it.po: Update from translation team.
11532
95584d3b
LD
115332011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11534
11535 * sysdeps/x86_64/wcscmp.S: Update.
11536 Fix wrong comparison semantics.
11537 wcscmp shall use signed comparison not unsigned.
11538 Don't use substraction to avoid overflow bug.
11539 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11540 * wcsmbc/wcscmp.c: Likewise.
11541 * string/test-strcmp.c: Likewise.
11542 Add new tests to check cases with negative values.
11543
c8b3296b
UD
115442011-10-23 Ulrich Drepper <drepper@gmail.com>
11545
11546 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11547 * sysdeps/x86_64/dla.h: ...here. New file.
11548 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11549 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11550 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11551 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11552 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11553 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11554 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11555 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11556 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11557
246ad57a
AS
115582011-10-23 Andreas Schwab <schwab@linux-m68k.org>
11559
11560 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11561 __ynl_finite aliases.
11562
a1a87169
UD
115632011-10-22 Ulrich Drepper <drepper@gmail.com>
11564
0d355eb7
UD
11565 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11566
a1a87169
UD
11567 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11568 define DLA_FMA.
11569 [DLA_FMA] (EMULV): Use DLA_FMA.
11570 [DLA_FMA] (MUL12): Use EMULV.
11571 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11572 that are not needed.
11573 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11574 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11575 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11576 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11577 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11578 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11579 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11580
ee2aafe0
AS
115812011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11582
11583 * math/s_nan.c: Undef __nan.
11584 * math/s_nanf.c: Undef __nanf.
11585 * math/s_nanl.c: Undef __nanl.
11586 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11587 "math_private.h".
11588
bc62c2fb
UD
115892011-10-22 Ulrich Drepper <drepper@gmail.com>
11590
77425c63
UD
11591 * math/s_catan.c: Add branch predictions.
11592 * math/s_catanf.c: Likewise.
11593 * math/s_catanh.c: Likewise.
11594 * math/s_catanhf.c: Likewise.
11595 * math/s_catanhl.c: Likewise.
11596 * math/s_catanl.c: Likewise.
11597 * math/s_cexp.c: Likewise.
11598 * math/s_cexpf.c: Likewise.
11599 * math/s_cexpl.c: Likewise.
11600 * math/s_clog.c: Likewise.
11601 * math/s_clog10.c: Likewise.
11602 * math/s_clog10f.c: Likewise.
11603 * math/s_clog10l.c: Likewise.
11604 * math/s_clogf.c: Likewise.
11605 * math/s_clogl.c: Likewise.
11606 * math/s_csqrt.c: Likewise.
11607 * math/s_csqrtf.c: Likewise.
11608 * math/s_csqrtl.c: Likewise.
11609 * math/s_ctanf.c: Likewise.
11610 * math/s_ctanh.c: Likewise.
11611 * math/s_ctanhf.c: Likewise.
11612 * math/s_ctanhl.c: Likewise.
11613 * math/s_ctanl.c: Likewise.
11614
bc62c2fb
UD
11615 * math/math_private.h: Define __nan, __nanf, __nanl.
11616 * math/s_cacosh.c: Include <math_private.h>.
11617 * math/s_cacoshl.c: Likewise.
11618 * math/s_casinh.c: Likewise.
11619 * math/s_casinhf.c: Likewise.
11620 * math/s_casinhl.c: Likewise.
11621 * math/s_ccos.c: Rely entire on ccosh.
11622 * math/s_ccosf.c: Rely entire on ccoshf.
11623 * math/s_ccosl.c: Rely entirely on ccoshl.
11624 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11625 Remove tests for FE_INVALID.
11626 * math/s_ccoshf.c: Likewise.
11627 * math/s_ccoshl.c: Likewise.
11628 * math/s_csin.c: Likewise.
11629 * math/s_csinf.c: Likewise.
11630 * math/s_csinh.c Likewise.
11631 * math/s_csinhf.c: Likewise.
11632 * math/s_csinhl.c: Likewise.
11633 * math/s_csinl.c: Likewise.
11634 * math/s_ctan.c: Likewise.
11635 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11636 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11637 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11638
8ec250a4
UD
116392011-10-21 Ulrich Drepper <drepper@gmail.com>
11640
c196fed8
UD
11641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11642 compilation problems.
11643
8ec250a4
UD
11644 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11645 __builtin_expect.
11646
8d4f46c6
UD
116472011-10-20 Ulrich Drepper <drepper@gmail.com>
11648
ed72b654
UD
11649 * sysdeps/i386/configure.in: Test for -mfma4 option.
11650 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11651 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11652 COMMON_CPUID_INDEX_80000001.
11653 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11654 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11655 use it if FMA3 is not supported.
11656 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11657
8d4f46c6
UD
11658 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11659 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11660
d45c60c2
AS
116612011-10-20 Andreas Schwab <schwab@redhat.com>
11662
11663 [BZ #12892]
11664 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11665 it would create a cycle with a link time dependency.
11666
d9a4d2ab
UD
116672011-10-19 Ulrich Drepper <drepper@gmail.com>
11668
855d1560
UD
11669 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11670 instruction.
11671 * string/Makefile (strop-tests): Add rawmemchr.
11672 * string/test-rawmemchr.c: New file.
11673
d9a4d2ab
UD
11674 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11675 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11676 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11677 when compiling str{,n}casecmp and when AVX is available. Hook up
11678 new optimized code in initializers.
11679
8f3b1ffe
AS
116802011-10-19 Andreas Schwab <schwab@redhat.com>
11681
11682 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11683 __feraiseexcept instead of feraiseexcept.
11684
d38f1dba
UD
116852011-10-18 Ulrich Drepper <drepper@gmail.com>
11686
d9a8d0ab
UD
11687 * math/math_private.h: Define defaults for libc_fetestexcept and
11688 libc_feupdateenv.
11689 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11690 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11691 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11692 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11693 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11694 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11695 libc_fetestexcept and libc_feupdateenv.
11696
4855e3dd
UD
11697 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11698 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11699 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11700 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11701 libc_feholdexcept_setround.
11702
581d30e3
UD
11703 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11704 Add s_nearbyint-c and s_nearbyintf-c.
11705 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11706 nearbyintf inlines.
11707 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11708 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11709 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11710 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11711
d38f1dba
UD
11712 * math/math_private.h: Define defaults for libc_fegetround,
11713 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11714 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11715 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11716 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11717 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11718 standard functions.
11719 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11720 Remove comments and hacks for old compiler versions.
11721 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11722 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11723 libc_feholdexceptl.
11724
caa6c9d8
AS
117252011-10-18 Andreas Schwab <schwab@redhat.com>
11726
11727 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
11728 (__feraiseexcept_renamed): Add __NTH.
11729 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
11730 namespace violations.
11731
97c066e6
UD
117322011-10-17 Ulrich Drepper <drepper@gmail.com>
11733
99ce7b04
UD
11734 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11735
1004d182
UD
11736 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11737
228a984d
UD
11738 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11739 recently added interfaces.
11740 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11741
c8553a6a
UD
11742 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11743 about macro parameter expansion.
11744
ed22dcf6
UD
11745 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11746 __NO_MATH_INLINES is defined. Cleanups.
11747
11748 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11749 and __floorf is target has SSE4.1.
11750 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11751 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11752 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11753 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11754
b171c137
UD
11755 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11756 name.
11757 (floorf): Likewise.
11758
97c066e6
UD
11759 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11760
629f62ef
AS
117612011-10-17 Andreas Schwab <schwab@redhat.com>
11762
49a43d80
AS
11763 * misc/sys/cdefs.h: Fix last change.
11764
629f62ef
AS
11765 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11766 database lookup.
11767
e453f6cd
UD
117682011-10-16 Ulrich Drepper <drepper@gmail.com>
11769
aa78043a
UD
11770 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11771
ad0f5cad
UD
11772 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11773 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11774 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11775 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11776 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11777 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11778 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11779 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11780 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11781 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11782 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11783 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11784 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11785 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11786 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11787 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11788 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11789 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11790 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11791 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11792 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11793 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11794
11795 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11796 ceil, ceilf, floor, floorf.
11797
11798 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11799 Perform IRELATIVE relocations last.
11800
e453f6cd
UD
11801 * elf/do-rel.h: Add another parameter nrelative, replacing the
11802 local variable with the same name. Change name of the function
11803 to end in Rel or Rela (uppercase).
11804 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11805 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11806 elf_dynamic_do_##reloc function.
11807
fd5bdc09
UD
118082011-10-15 Ulrich Drepper <drepper@gmail.com>
11809
79b195b5
UD
11810 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11811 is sufficient, at least on modern CPUs.
11812
d4a28569
UD
11813 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11814
b61099b5
UD
11815 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11816 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11817
bcf01e6d
UD
11818 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11819 __expl_finite.
11820 * math/bits/math-finite.h: Add entries for exp.
11821 * math/e_expl.c: Add __*_finite alias.
11822 * sysdeps/i386/fpu/e_exp.S: Likewise.
11823 * sysdeps/i386/fpu/e_expf.S: Likewise.
11824 * sysdeps/i386/fpu/e_expl.c: Likewise.
11825 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11826 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11827 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11828 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11829 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11830 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11831 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11832
ba1a0d59
UD
11833 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11834 is sufficient, at least on modern CPUs.
11835
fd5bdc09
UD
11836 * ctype/ctype-info.c (__ctype_init): Define.
11837 * include/ctype.h (__ctype_init): Declare.
11838 (__ctype_b_loc): The variable is always initialized.
11839 (__ctype_toupper_loc): Likewise.
11840 (__ctype_tolower_loc): Likewise.
11841 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11842 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11843
7872cfb0
AS
118442011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11845
b468825a
AS
11846 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11847
7872cfb0
AS
11848 * configure.in: Also look in $cxxmachine/include for C++ system
11849 headers.
11850
be13f7bf
LD
118512011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11852
11853 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11854 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11855 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11856 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11857 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11858 (USE_AS_WMEMCMP): New macro.
11859 Fixing indents.
11860 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11861 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11862 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11863 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11864 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11865 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11866 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11867 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11868 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11869 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11870 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11871 (USE_AS_WMEMCMP): New macro.
11872 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11873 * sysdeps/string/test-memcmp.c: Update.
11874 Fix simple_wmemcmp.
11875 Add new tests.
11876 * wcsmbs/wmemcmp.c: Update.
11877 (WMEMCMP): New macro.
11878 Fix overflow bug.
11879
556a2007
AJ
118802011-10-12 Andreas Jaeger <aj@suse.de>
11881
11882 [BZ #13268]
11883 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11884
538faaa7
UD
118852011-10-15 Ulrich Drepper <drepper@gmail.com>
11886
ab6737ff
UD
11887 * libio/iofwide.c (do_length): Avoid warning.
11888
538faaa7
UD
11889 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11890
396a21b1
UD
118912011-10-14 Ulrich Drepper <drepper@gmail.com>
11892
cdf2901f
UD
11893 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11894
38ad40ce
UD
11895 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11896 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11897 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11898 * sysdeps/i386/i686/fpu/e_log.S: New file.
11899 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11900 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11901
396a21b1
UD
11902 * ctype/ctype.h: Add support for inlined isXXX functions when
11903 compiling C++ code.
11904
6b1f68c9
AS
119052011-10-14 Andreas Schwab <schwab@redhat.com>
11906
349290c0
AS
11907 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11908
6b1f68c9
AS
11909 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11910
f2282d42
RM
119112011-10-13 Roland McGrath <roland@hack.frob.com>
11912
11913 [BZ #13291]
11914 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11915
5298ffa8
AS
119162011-10-13 Andreas Schwab <schwab@redhat.com>
11917
714fad23
AS
11918 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11919 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11920 feraiseexcept.
11921
81dcc7fb
AS
11922 * sysdeps/x86_64/memrchr.S: Check for zero size.
11923
5298ffa8
AS
11924 * string/stratcliff.c: Add memrchr tests.
11925
951fbcec
LD
119262011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11927
11928 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11929 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11930 rawmemchr-sse2 rawmemchr-sse2-bsf.
11931 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11932 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11933 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11934 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11935 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11936 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11937 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11938 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11939 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11940 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11941 * string/memrchr.c (MEMRCHR): New macro.
11942
0ac5ae23
UD
119432011-10-12 Ulrich Drepper <drepper@gmail.com>
11944
11945 Add integration with gcc's -ffinite-math-only and optimize wrapper
11946 functions in libm.
11947 * Versions.def: Define GLIBC_2.15 version for libm.
11948 * math/Makefile (headers): Add bits/math-finite.h.
11949 * math/bits/math-finite.h: New file.
11950 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11951 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11952 * math/e_acoshl.c: Add __*_finite alias.
11953 * math/e_acosl.c: Likewise.
11954 * math/e_asinl.c: Likewise.
11955 * math/e_atan2l.c: Likewise.
11956 * math/e_atanhl.c: Likewise.
11957 * math/e_coshl.c: Likewise.
11958 * math/e_exp10.c: Likewise.
11959 * math/e_exp10f.c: Likewise.
11960 * math/e_exp10l.c: Likewise.
11961 * math/e_exp2l.c: Likewise.
11962 * math/e_fmodl.c: Likewise.
11963 * math/e_gammal_r.c: Likewise.
11964 * math/e_hypotl.c: Likewise.
11965 * math/e_j0l.c: Likewise.
11966 * math/e_j1l.c: Likewise.
11967 * math/e_jnl.c: Likewise.
11968 * math/e_lgammal_r.c: Likewise.
11969 * math/e_log10l.c: Likewise.
11970 * math/e_log2l.c: Likewise.
11971 * math/e_logl.c: Likewise.
11972 * math/e_powl.c: Likewise.
11973 * math/e_sinhl.c: Likewise.
11974 * math/e_sqrtl.c: Likewise.
11975 * math/e_scalb.c: Completely rewritten and optimized.
11976 * math/e_scalbf.c: Likewise.
11977 * math/e_scalbl.c: Likewise.
11978 * math/w_acos.c: Likewise.
11979 * math/w_acosf.c: Likewise.
11980 * math/w_acosl.c: Likewise.
11981 * math/w_acosh.c: Likewise.
11982 * math/w_acoshf.c: Likewise.
11983 * math/w_acoshl.c: Likewise.
11984 * math/w_asin.c: Likewise.
11985 * math/w_asinf.c: Likewise.
11986 * math/w_asinl.c: Likewise.
11987 * math/w_atan2.c: Likewise.
11988 * math/w_atan2f.c: Likewise.
11989 * math/w_atan2l.c: Likewise.
11990 * math/w_atanh.c: Likewise.
11991 * math/w_atanhf.c: Likewise.
11992 * math/w_atanhl.c: Likewise.
11993 * math/w_exp10.c: Likewise.
11994 * math/w_exp10f.c: Likewise.
11995 * math/w_exp10l.c: Likewise.
11996 * math/w_fmod.c: Likewise.
11997 * math/w_fmodf.c: Likewise.
11998 * math/w_fmodl.c: Likewise.
11999 * math/w_j0.c: Likewise.
12000 * math/w_j0f.c: Likewise.
12001 * math/w_j0l.c: Likewise.
12002 * math/w_j1.c: Likewise.
12003 * math/w_j1f.c: Likewise.
12004 * math/w_j1l.c: Likewise.
12005 * math/w_jn.c: Likewise.
12006 * math/w_jnf.c: Likewise.
12007 * math/w_log.c: Likewise.
12008 * math/w_logf.c: Likewise.
12009 * math/w_logl.c: Likewise.
12010 * math/w_log10.c: Likewise.
12011 * math/w_log10f.c: Likewise.
12012 * math/w_log10l.c: Likewise.
12013 * math/w_log2.c: Likewise.
12014 * math/w_log2f.c: Likewise.
12015 * math/w_log2l.c: Likewise.
12016 * math/w_pow.c: Likewise.
12017 * math/w_powf.c: Likewise.
12018 * math/w_powl.c: Likewise.
12019 * math/w_remainder.c: Likewise.
12020 * math/w_remainderf.c: Likewise.
12021 * math/w_remainderl.c: Likewise.
12022 * math/w_scalb.c: Likewise.
12023 * math/w_scalbf.c: Likewise.
12024 * math/w_scalbl.c: Likewise.
12025 * math/w_sqrt.c: Likewise.
12026 * math/w_sqrtf.c: Likewise.
12027 * math/w_sqrtl.c: Likewise.
12028 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12029 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
12030 used.
12031 * math/math_private.h: Declare __kernel_standard_f.
12032 * math/w_cosh.c: Remove cruft and optimize a bit.
12033 * math/w_coshf.c: Likewise.
12034 * math/w_coshl.c: Likewise.
12035 * math/w_exp2.c: Likewise.
12036 * math/w_exp2f.c: Likewise.
12037 * math/w_exp2l.c: Likewise.
12038 * math/w_hypot.c: Likewise.
12039 * math/w_hypotf.c: Likewise.
12040 * math/w_hypotl.c: Likewise.
12041 * math/w_lgamma.c: Likewise.
12042 * math/w_lgamma_r.c: Likewise.
12043 * math/w_lgammaf.c: Likewise.
12044 * math/w_lgammaf_r.c: Likewise.
12045 * math/w_lgammal.c: Likewise.
12046 * math/w_lgammal_r.c: Likewise.
12047 * math/w_sinh.c: Likewise.
12048 * math/w_sinhf.c: Likewise.
12049 * math/w_sinhl.c: Likewise.
12050 * math/w_tgamma.c: Likewise.
12051 * math/w_tgammaf.c: Likewise.
12052 * math/w_tgammal.c: Likewise.
12053 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12054 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12055 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12056 Minor optimizations. Pretty printing. Remove cruft.
12057 * sysdeps/i386/fpu/e_acosf.S: Likewise.
12058 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12059 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12060 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12061 * sysdeps/i386/fpu/e_acosl.c: Likewise.
12062 * sysdeps/i386/fpu/e_asin.S: Likewise.
12063 * sysdeps/i386/fpu/e_asinf.S: Likewise.
12064 * sysdeps/i386/fpu/e_atan2.S: Likewise.
12065 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
12066 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
12067 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12068 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12069 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12070 * sysdeps/i386/fpu/e_exp10.S: Likewise.
12071 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
12072 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
12073 * sysdeps/i386/fpu/e_exp2.S: Likewise.
12074 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
12075 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
12076 * sysdeps/i386/fpu/e_fmod.S: Likewise.
12077 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
12078 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
12079 * sysdeps/i386/fpu/e_hypot.S: Likewise.
12080 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
12081 * sysdeps/i386/fpu/e_log.S: Likewise.
12082 * sysdeps/i386/fpu/e_log10.S: Likewise.
12083 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12084 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12085 * sysdeps/i386/fpu/e_log2.S: Likewise.
12086 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12087 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12088 * sysdeps/i386/fpu/e_logf.S: Likewise.
12089 * sysdeps/i386/fpu/e_logl.S: Likewise.
12090 * sysdeps/i386/fpu/e_pow.S: Likewise.
12091 * sysdeps/i386/fpu/e_powf.S: Likewise.
12092 * sysdeps/i386/fpu/e_powl.S: Likewise.
12093 * sysdeps/i386/fpu/e_remainder.S: Likewise.
12094 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
12095 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12096 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12097 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12098 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12099 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12100 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12101 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12102 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12103 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12104 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12105 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12106 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12107 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12108 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12109 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12110 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12111 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12112 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12113 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12114 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12115 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12116 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12117 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12118 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12119 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12120 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12121 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12122 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12123 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12124 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12125 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12126 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12127 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12128 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12129 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12130 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12131 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12132 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12133 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12134 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12135 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12136 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12137 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12138 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12139 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12140 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12141 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12142 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12143 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12144 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12145 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12146 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12147 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12148 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12149 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12150 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12151 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12152 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12153 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12154 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12155 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12156 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12157 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12158 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12159 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12160 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12161 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12162 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12163 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12164 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12165 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12166 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12167 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12168 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12169 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12170 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12171 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12172 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12173 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12174 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12175 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12176 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12177 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12178 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12179 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12180 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12181 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12182 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12183 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12184 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12185 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12186 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12187 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12188 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12189 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12190 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12191 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12192 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12193 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12194 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12195 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12196 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12197 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12198 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12199 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12200 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12201 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12202 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12203 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12204 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12205 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12206 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12207 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12208 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12209 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12210 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12211 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12212 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12213 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12214 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12215 (__isnanf): Likewise.
12216 (__isinf_ns): Likewise.
12217 (__isinf_nsf): Likewise.
12218 (__finite): Likewise.
12219 (__finitef): Likewise.
12220 (__ieee754_sqrt): Define as macro.
12221 (__ieee754_sqrtf): Define as macro.
12222 (__ieee754_sqrtl): Define as macro.
12223 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12224 inlined copy.
12225 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12226 __FINITE_MATH_ONLY__ consistent.
12227 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12228
12cc2fcd
AS
122292011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12230
a843a204
AS
12231 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12232 of rawmemchr.
12233
12cc2fcd
AS
12234 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12235
c853acd5
UD
122362011-10-09 Ulrich Drepper <drepper@gmail.com>
12237
12238 * po/ja.po: Update from translation team.
12239
c658d255
RM
122402011-10-08 Roland McGrath <roland@hack.frob.com>
12241
110946e4
RM
12242 * locale/programs/locarchive.c (prepare_address_space): New function.
12243 (create_archive, enlarge_archive, open_archive): Use it.
12244
50604220
RM
12245 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12246 inside [SHARED], where it is used.
12247
c658d255
RM
12248 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12249
12250 * nss/getent.c (netgroup_keys): Remove unused variable.
12251 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12252
6a621eb7
UD
122532011-10-08 Ulrich Drepper <drepper@gmail.com>
12254
7edb55ce
UD
12255 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12256 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12257 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12258 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12259 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12260 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12261 * math/Makefile (libm-calls): Add s_isinf_ns.
12262 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12263 * math/multc3.c: Likewise.
12264 * math/s_casin.c: Likewise.
12265 * math/s_casinf.c: Likewise.
12266 * math/s_casinl.c: Likewise.
12267 * math/s_ccos.c: Likewise.
12268 * math/s_ccosf.c: Likewise.
12269 * math/s_ccosl.c: Likewise.
12270 * math/s_ctan.c: Likewise.
12271 * math/s_ctanf.c: Likewise.
12272 * math/s_ctanh.c: Likewise.
12273 * math/s_ctanhf.c: Likewise.
12274 * math/s_ctanhl.c: Likewise.
12275 * math/s_ctanl.c: Likewise.
12276 * math/w_fmod.c: Likewise.
12277 * math/w_fmodf.c: Likewise.
12278 * math/w_fmodl.c: Likewise.
12279 * math/w_remainder.c: Likewise.
12280 * math/w_remainderf.c: Likewise.
12281 * math/w_remainderl.c: Likewise.
12282 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12283 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12284 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12285 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12286 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12287 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12288 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12289 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12290
187da0ae
UD
12291 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12292 of the number.
12293 * stdio-common/printf_fphex.c: Likewise.
12294 * stdio-common/printf_size.c: Likewise.
12295
9277c064
UD
12296 * math/e_exp10.c: Include math_private.h using <...> not "...".
12297 * math/e_exp10f.c: Likewise.
12298 * math/e_exp10l.c: Likewise.
12299 * math/e_exp2l.c: Likewise.
12300 * math/e_j0l.c: Likewise.
12301 * math/e_j1l.c: Likewise.
12302 * math/e_jnl.c: Likewise.
12303 * math/e_lgammal_r.c: Likewise.
12304 * math/e_rem_pio2l.c: Likewise.
12305 * math/e_scalb.c: Likewise.
12306 * math/e_scalbf.c: Likewise.
12307 * math/e_scalbl.c: Likewise.
12308 * math/k_cosl.c: Likewise.
12309 * math/k_sinl.c: Likewise.
12310 * math/k_tanl.c: Likewise.
12311 * math/s_cacoshf.c: Likewise.
12312 * math/s_catan.c: Likewise.
12313 * math/s_catanf.c: Likewise.
12314 * math/s_catanh.c: Likewise.
12315 * math/s_catanhf.c: Likewise.
12316 * math/s_catanhl.c: Likewise.
12317 * math/s_catanl.c: Likewise.
12318 * math/s_ccosh.c: Likewise.
12319 * math/s_ccoshf.c: Likewise.
12320 * math/s_ccoshl.c: Likewise.
12321 * math/s_cexp.c: Likewise.
12322 * math/s_cexpf.c: Likewise.
12323 * math/s_cexpl.c: Likewise.
12324 * math/s_clog.c: Likewise.
12325 * math/s_clog10.c: Likewise.
12326 * math/s_clog10f.c: Likewise.
12327 * math/s_clog10l.c: Likewise.
12328 * math/s_clogf.c: Likewise.
12329 * math/s_clogl.c: Likewise.
12330 * math/s_csin.c: Likewise.
12331 * math/s_csinf.c: Likewise.
12332 * math/s_csinh.c: Likewise.
12333 * math/s_csinhf.c: Likewise.
12334 * math/s_csinhl.c: Likewise.
12335 * math/s_csinl.c: Likewise.
12336 * math/s_csqrt.c: Likewise.
12337 * math/s_csqrtf.c: Likewise.
12338 * math/s_csqrtl.c: Likewise.
12339 * math/s_ctan.c: Likewise.
12340 * math/s_ctanf.c: Likewise.
12341 * math/s_ctanh.c: Likewise.
12342 * math/s_ctanhf.c: Likewise.
12343 * math/s_ctanhl.c: Likewise.
12344 * math/s_ctanl.c: Likewise.
12345 * math/s_ldexp.c: Likewise.
12346 * math/s_ldexpf.c: Likewise.
12347 * math/s_ldexpl.c: Likewise.
12348 * math/s_significand.c: Likewise.
12349 * math/s_significandf.c: Likewise.
12350 * math/s_significandl.c: Likewise.
12351 * math/w_acos.c: Likewise.
12352 * math/w_acosf.c: Likewise.
12353 * math/w_acosh.c: Likewise.
12354 * math/w_acoshf.c: Likewise.
12355 * math/w_acoshl.c: Likewise.
12356 * math/w_acosl.c: Likewise.
12357 * math/w_asin.c: Likewise.
12358 * math/w_asinf.c: Likewise.
12359 * math/w_asinl.c: Likewise.
12360 * math/w_atan2.c: Likewise.
12361 * math/w_atan2f.c: Likewise.
12362 * math/w_atan2l.c: Likewise.
12363 * math/w_atanh.c: Likewise.
12364 * math/w_atanhf.c: Likewise.
12365 * math/w_atanhl.c: Likewise.
12366 * math/w_cosh.c: Likewise.
12367 * math/w_coshf.c: Likewise.
12368 * math/w_coshl.c: Likewise.
12369 * math/w_dremf.c: Likewise.
12370 * math/w_exp10.c: Likewise.
12371 * math/w_exp10f.c: Likewise.
12372 * math/w_exp10l.c: Likewise.
12373 * math/w_exp2.c: Likewise.
12374 * math/w_exp2f.c: Likewise.
12375 * math/w_fmod.c: Likewise.
12376 * math/w_fmodf.c: Likewise.
12377 * math/w_fmodl.c: Likewise.
12378 * math/w_hypot.c: Likewise.
12379 * math/w_hypotf.c: Likewise.
12380 * math/w_hypotl.c: Likewise.
12381 * math/w_j0.c: Likewise.
12382 * math/w_j0f.c: Likewise.
12383 * math/w_j0l.c: Likewise.
12384 * math/w_j1.c: Likewise.
12385 * math/w_j1f.c: Likewise.
12386 * math/w_j1l.c: Likewise.
12387 * math/w_jn.c: Likewise.
12388 * math/w_jnf.c: Likewise.
12389 * math/w_jnl.c: Likewise.
12390 * math/w_lgamma.c: Likewise.
12391 * math/w_lgamma_r.c: Likewise.
12392 * math/w_lgammaf.c: Likewise.
12393 * math/w_lgammaf_r.c: Likewise.
12394 * math/w_lgammal.c: Likewise.
12395 * math/w_lgammal_r.c: Likewise.
12396 * math/w_log.c: Likewise.
12397 * math/w_log10.c: Likewise.
12398 * math/w_log10f.c: Likewise.
12399 * math/w_log10l.c: Likewise.
12400 * math/w_log2.c: Likewise.
12401 * math/w_log2f.c: Likewise.
12402 * math/w_log2l.c: Likewise.
12403 * math/w_logf.c: Likewise.
12404 * math/w_logl.c: Likewise.
12405 * math/w_pow.c: Likewise.
12406 * math/w_powf.c: Likewise.
12407 * math/w_powl.c: Likewise.
12408 * math/w_remainder.c: Likewise.
12409 * math/w_remainderf.c: Likewise.
12410 * math/w_remainderl.c: Likewise.
12411 * math/w_scalb.c: Likewise.
12412 * math/w_scalbf.c: Likewise.
12413 * math/w_scalbl.c: Likewise.
12414 * math/w_sinh.c: Likewise.
12415 * math/w_sinhf.c: Likewise.
12416 * math/w_sinhl.c: Likewise.
12417 * math/w_sqrt.c: Likewise.
12418 * math/w_sqrtf.c: Likewise.
12419 * math/w_sqrtl.c: Likewise.
12420 * math/w_tgamma.c: Likewise.
12421 * math/w_tgammaf.c: Likewise.
12422 * math/w_tgammal.c: Likewise.
12423
6a621eb7
UD
12424 * po/ja.po: Update from translation team.
12425
bf582445
AJ
124262011-09-29 Andreas Jaeger <aj@suse.de>
12427
f9efbf3a
AJ
12428 [BZ #13179]
12429 * sunrpc/netname.c (netname2host): Fix logic.
12430
bf582445
AJ
12431 [BZ #6779]
12432 [BZ #6783]
12433 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12434 correctly.
12435 * math/w_remainder.c (__remainder): Likewise.
12436 * math/w_remainderf.c (__remainderf): Likewise.
12437 * math/libm-test.inc (remainder_test): Add test cases.
12438
48693bea
AK
124392011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12440
12441 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
12442 sdiv_qrnnd.
12443
42622229
LD
124442011-10-07 Ulrich Drepper <drepper@gmail.com>
12445
12446 * string/test-memcmp.c: Avoid unncessary #defines.
12447 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12448
093ecf92
LD
124492011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12450
12451 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12452 Use new sse2 version for core i3 - i7 as it's faster
12453 than sse42 version.
12454 (bit_Prefer_PMINUB_for_stringop): New.
12455 * sysdeps/x86_64/rawmemchr.S: Update.
12456 Replace with faster SSE2 version.
12457 * sysdeps/x86_64/memrchr.S: New file.
12458 * sysdeps/x86_64/memchr.S: Update.
12459 Replace with faster SSE2 version.
12460
fde56e5c
MP
124612011-09-12 Marek Polacek <mpolacek@redhat.com>
12462
12463 * elf/dl-load.c (lose): Add cast to avoid warning.
12464
21fd49a9
UD
124652011-10-07 Ulrich Drepper <drepper@gmail.com>
12466
5a06e643
UD
12467 * po/ca.po: Update from translation team.
12468
684ae515
UD
12469 * inet/getnetgrent_r.c: Hook up nscd.
12470 * nscd/Makefile (routines): Add nscd_netgroup.
12471 (nscd-modules): Add netgroupcache.
12472 (CFLAGS-netgroupcache.c): Define.
12473 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12474 (cache_search): Add const to second parameter.
12475 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12476 INNETGR.
12477 (dbs): Add netgrdb entry.
12478 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12479 (verify_persistent_db): Handle netgrdb.
12480 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12481 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12482 GETFDNETGR.
12483 (netgroup_response_header): Define.
12484 (innetgroup_response_header): Define.
12485 (datahead): Add netgroup_response_header and innetgroup_response_header
12486 elements.
12487 * nscd/nscd.conf: Add entries for netgroup cache.
12488 * nscd/nscd.h (dbtype): Add netgrdb.
12489 (_PATH_NSCD_NETGROUP_DB): Define.
12490 (netgroup_iov_disabled): Declare.
12491 (xmalloc, xcalloc, xrealloc): Move declarations here.
12492 (cache_search): Adjust prototype.
12493 Add netgroup-related prototypes.
12494 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
12495 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
12496 (__nscd_innetgr): Declare.
12497 * nscd/selinux.c (perms): Use access_vector_t as element type and
12498 add netgroup-related initializers.
12499 * nscd/netgroupcache.c: New file.
12500 * nscd/nscd_netgroup.c: New file.
12501 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12502 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12503 For four parameters use innetgr.
12504 * nss/nss_files/files-init.c: Add definition and callback for netgr.
12505 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12506 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12507 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12508
21fd49a9
UD
12509 * nscd/connections.c (register_traced_file): Don't register file
12510 for disabled databases.
12511
054c0457
UD
125122011-10-06 Ulrich Drepper <drepper@gmail.com>
12513
32b63198
UD
12514 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
12515
054c0457
UD
12516 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
12517 from tree and freeing node.
12518
64031225
JO
125192011-09-25 Jiri Olsa <jolsa@redhat.com>
12520
12521 * nss/nsswitch.c (__nss_database_lookup): Handle
12522 nss_parse_service_list out of memory case.
12523
0490345c
JO
125242011-09-15 Jiri Olsa <jolsa@redhat.com>
12525
12526 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12527 out of memory case.
12528
3a62d00d
AS
125292011-10-04 Andreas Schwab <schwab@redhat.com>
12530
12531 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12532 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12533 pass it down.
12534 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12535 elf_machine_rela, elf_machine_lazy_rel.
12536 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12537 (ELF_DYNAMIC_DO_REL): Likewise.
12538 (ELF_DYNAMIC_DO_RELA): Likewise.
12539 (ELF_DYNAMIC_RELOCATE): Likewise.
12540 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12541 to ELF_DYNAMIC_DO_REL.
12542 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12543 (dl_main): In trace mode always set __RTLD_NOIFUNC.
12544 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12545 elf_machine_rela.
12546 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12547 skip_ifunc, don't call ifunc function if non-zero.
12548 (elf_machine_rela): Likewise.
12549 (elf_machine_lazy_rel): Likewise.
12550 (elf_machine_lazy_rela): Likewise.
12551 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12552 (elf_machine_lazy_rel): Likewise.
12553 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12554 Likewise.
12555 (elf_machine_lazy_rel): Likewise.
12556 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12557 Likewise.
12558 (elf_machine_lazy_rel): Likewise.
12559 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12560 (elf_machine_lazy_rel): Likewise.
12561 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12562 (elf_machine_lazy_rel): Likewise.
12563 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12564 (elf_machine_lazy_rel): Likewise.
12565 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12566 (elf_machine_lazy_rel): Likewise.
12567 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12568 (elf_machine_lazy_rel): Likewise.
12569 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12570 (elf_machine_lazy_rel): Likewise.
12571
68577918
UD
125722011-09-28 Ulrich Drepper <drepper@gmail.com>
12573
12574 * nss/nss_files/files-init.c (_nss_files_init): Use static
12575 initialization for all the *_traced_file variables.
12576
68822d74
AS
125772011-09-28 Andreas Schwab <schwab@redhat.com>
12578
12579 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12580
2056100b
RM
125812011-09-27 Roland McGrath <roland@hack.frob.com>
12582
12583 [BZ #13226]
12584 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12585
32c76b63
AS
125862011-09-27 Andreas Schwab <schwab@redhat.com>
12587
12588 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12589 Reread the line before reparsing it.
12590
bf972c9d
AS
125912011-09-26 Andreas Schwab <schwab@redhat.com>
12592
12593 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12594
e057a1b5
JM
125952011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12596 Maxim Kuvyrkov <maxim@codesourcery.com>
12597 Joseph Myers <joseph@codesourcery.com>
12598
12599 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12600 if needed for __stack_chk_guard.
12601
bc7e1c36
RM
126022011-09-19 Roland McGrath <roland@hack.frob.com>
12603
ecb1482f
RM
12604 * sysdeps/posix/spawni.c (script_execute): Always define it.
12605 It will be optimized away if unused.
12606 (maybe_script_execute): New function.
12607 (__spawni): Call it.
12608
bc7e1c36
RM
12609 * Makerules: Don't include tls.make.
12610 (config-tls): Always set to thread.
12611 * tls.make.c: File removed.
12612
1c3b002b
MF
126132011-09-19 Mike Frysinger <vapier@gentoo.org>
12614
12615 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12616 * config.make.in (CPPFLAGS-config): New substituted variable.
12617
2840865d
UD
126182011-09-15 Ulrich Drepper <drepper@gmail.com>
12619
88738eb6
UD
12620 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12621
cbf645a6 12622 [BZ #13192]
2840865d
UD
12623 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12624 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12625
b402e91a
RM
126262011-09-15 Roland McGrath <roland@hack.frob.com>
12627
12628 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12629 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12630 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12631 (CALL_FAIL): Likewise.
12632 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12633 (CALL_FAIL): Macro removed.
12634 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12635
4c1a1f71
UD
126362011-09-15 Ulrich Drepper <drepper@gmail.com>
12637
12638 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12639 for __FINITE_MATH_ONLY__ == 1.
12640
edc121be
AS
126412011-09-15 Andreas Schwab <schwab@redhat.com>
12642
12643 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12644 __ieee754_sqrt instead of sqrt.
12645 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12646 __ieee754_sqrtf instead of sqrtf.
12647 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12648 __floorf instead of floorf.
12649 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12650 __floorf, __truncf instead of floorf, truncf.
12651
cd205654
UD
126522011-09-14 Ulrich Drepper <drepper@gmail.com>
12653
ee4d0315
UD
12654 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12655
cd205654
UD
12656 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12657 __extern_always_inline.
12658 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12659 32-bit.
12660
48b67d71
AS
126612011-09-14 Andreas Schwab <schwab@redhat.com>
12662
12663 * elf/rtld.c (dl_main): Also relocate in dependency order when
12664 doing symbol dependency testing.
12665
1ae12c75
AS
126662011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12667
12668 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12669 Always define `refsym'.
12670
995a80df
AS
126712011-09-13 Andreas Schwab <schwab@redhat.com>
12672
e529793b
AS
12673 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12674 (__FD_ELT): Renamed from __FDELT.
12675 * misc/bits/select2.h (__FD_ELT): Likewise.
12676 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12677 __FD_MASK instead of __FDELT, __FDMASK.
12678 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12679 Likewise.
12680 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12681 Likewise.
12682
52d4fef8
AS
12683 * elf/Makefile (gen-ldd): Fix pattern.
12684
995a80df
AS
12685 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12686 (init_tls): Likewise.
12687
8682f8b0
UD
126882011-09-12 Ulrich Drepper <drepper@gmail.com>
12689
12690 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12691
de82006d
AS
126922011-09-12 Andreas Schwab <schwab@redhat.com>
12693
a7c8e6a1
AS
12694 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12695 `struct cmsghdr *' instead of `void *'.
12696 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12697 Likewise.
12698
0f31fe77
AS
126992011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12700
12701 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12702 if non-absolute.
12703 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12704 ldd_rewrite_script.
0f31fe77 12705
32b4c839
UD
127062011-09-11 Ulrich Drepper <drepper@gmail.com>
12707
83cd1420
UD
12708 * configure.in: Remove --with-tls option.
12709 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12710 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12711 out in case it is missing.
12712 * sysdeps/ia64/elf/configure.in: Likewise.
12713 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12714 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12715 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12716 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12717 * sysdeps/sh/elf/configure.in: Likewise.
12718 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12719 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12720 * sysdeps/x86_64/elf/configure.in: Likewise.
12721 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12722 * sysdeps/mach/hurd/tls.h: Likewise.
12723
633f745d
UD
12724 [BZ #13067]
12725 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12726
f318beb8
UD
12727 [BZ #13090]
12728 * configure.in: Fix use of AC_INIT.
12729
32b4c839
UD
12730 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12731
3ce1f295
UD
127322011-09-10 Ulrich Drepper <drepper@gmail.com>
12733
bb016596
UD
12734 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12735 __set_errno.
8e58439c
UD
12736 * malloc/hooks.c: Likewise.
12737
aebae053 12738 [BZ #11929]
02d46fc4
UD
12739 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12740 variables statically.
12741 (narenas): Initialize.
12742 (list_lock): Initialize.
bb016596
UD
12743 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12744 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
12745 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12746 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12747 Add initializers to main_arena and mp_.
12748 (malloc_state): Remove pagesize member. Change all users to use
12749 GLRO(dl_pagesize).
12750
12751 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12752 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12753 is always initialized.
12754
22a89187
UD
12755 * malloc/malloc.c: Removed unused configurations and dead code.
12756 * malloc/arena.c: Likewise.
12757 * malloc/hooks.c: Likewise.
02d46fc4 12758 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 12759
d063d164
UD
12760 * include/tls.h: Removed. USE___THREAD must always be defined.
12761 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12762 * elf/dl-libc.c: Likewise.
12763 * elf/dl-tsd.c: Likewise.
12764 * include/errno.h: Likewise.
12765 * include/netdb.h: Likewise.
12766 * include/resolv.h: Likewise.
12767 * inet/herrno-loc.c: Likewise.
12768 * inet/herrno.c: Likewise.
12769 * malloc/arena.c: Likewise.
12770 * malloc/hooks.c: Likewise.
12771 * malloc/malloc.c: Likewise.
12772 * resolv/res-state.c: Likewise.
12773 * resolv/res_libc.c: Likewise.
12774 * sysdeps/i386/dl-machine.h: Likewise.
12775 * sysdeps/ia64/dl-machine.h: Likewise.
12776 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12777 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12778 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12779 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12780 * sysdeps/sh/dl-machine.h: Likewise.
12781 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12782 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12783 * sysdeps/unix/i386/sysdep.S: Likewise.
12784 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12785 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12786 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12787 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12788 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12789 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12790 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12791 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12792 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12793 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12794 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12795 * sysdeps/x86_64/dl-machine.h: Likewise.
12796 * tls.make.c: Likewise.
12797
3ce1f295
UD
12798 * configure.in: Remove --with-__thread option. Make tests for
12799 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12800 tls_model attribute fail if no support is available. Remove
12801 USE_IN_LIBIO.
12802 * Makeconfig: Adjust for dropped configure option. All features are
12803 now mandatory.
12804 * Makerules: Likewise.
12805 * Versions.def: Likewise.
12806 * argp/argp-fmtstream.c: Likewise.
12807 * argp/argp-fmtstream.h: Likewise.
12808 * argp/argp-help.c: Likewise.
12809 * assert/assert.c: Likewise.
12810 * config.h.in: Likewise.
12811 * config.make.in: Likewise.
12812 * configure: Likewise.
12813 * configure.in: Likewise.
12814 * csu/Versions: Likewise.
12815 * csu/init.c: Likewise.
12816 * elf/tst-audit2.c: Likewise.
12817 * elf/tst-tls10.c: Likewise.
12818 * elf/tst-tls10.h: Likewise.
12819 * elf/tst-tls11.c: Likewise.
12820 * elf/tst-tls12.c: Likewise.
12821 * elf/tst-tls14.c: Likewise.
12822 * elf/tst-tlsmod11.c: Likewise.
12823 * elf/tst-tlsmod12.c: Likewise.
12824 * elf/tst-tlsmod13.c: Likewise.
12825 * elf/tst-tlsmod13a.c: Likewise.
12826 * elf/tst-tlsmod14a.c: Likewise.
12827 * elf/tst-tlsmod15b.c: Likewise.
12828 * elf/tst-tlsmod16a.c: Likewise.
12829 * elf/tst-tlsmod16b.c: Likewise.
12830 * elf/tst-tlsmod7.c: Likewise.
12831 * elf/tst-tlsmod8.c: Likewise.
12832 * elf/tst-tlsmod9.c: Likewise.
12833 * gmon/gmon.c: Likewise.
12834 * grp/fgetgrent_r.c: Likewise.
12835 * grp/putgrent.c: Likewise.
12836 * hurd/fopenport.c: Likewise.
12837 * include/libc-symbols.h: Likewise.
12838 * include/tls.h: Likewise.
12839 * intl/gettextP.h: Likewise.
12840 * intl/loadinfo.h: Likewise.
12841 * locale/global-locale.c: Likewise.
12842 * locale/localeinfo.h: Likewise.
12843 * mach/devstream.c: Likewise.
12844 * malloc/arena.c: Likewise.
12845 * malloc/set-freeres.c: Likewise.
12846 * misc/err.c: Likewise.
12847 * misc/getttyent.c: Likewise.
12848 * misc/mntent_r.c: Likewise.
12849 * posix/getopt.c: Likewise.
12850 * posix/wordexp.c: Likewise.
12851 * pwd/fgetpwent_r.c: Likewise.
12852 * resolv/Versions: Likewise.
12853 * resolv/res_hconf.c: Likewise.
12854 * shadow/fgetspent_r.c: Likewise.
12855 * shadow/putspent.c: Likewise.
12856 * stdio-common/printf_fphex.c: Likewise.
12857 * stdio-common/tmpfile.c: Likewise.
12858 * stdlib/abort.c: Likewise.
12859 * stdlib/fmtmsg.c: Likewise.
12860 * sunrpc/auth_unix.c: Likewise.
12861 * sunrpc/clnt_perr.c: Likewise.
12862 * sunrpc/clnt_tcp.c: Likewise.
12863 * sunrpc/clnt_udp.c: Likewise.
12864 * sunrpc/clnt_unix.c: Likewise.
12865 * sunrpc/openchild.c: Likewise.
12866 * sunrpc/svc_simple.c: Likewise.
12867 * sunrpc/svc_tcp.c: Likewise.
12868 * sunrpc/svc_udp.c: Likewise.
12869 * sunrpc/svc_unix.c: Likewise.
12870 * sunrpc/xdr.c: Likewise.
12871 * sunrpc/xdr_array.c: Likewise.
12872 * sunrpc/xdr_rec.c: Likewise.
12873 * sunrpc/xdr_ref.c: Likewise.
12874 * sunrpc/xdr_stdio.c: Likewise.
12875
1248c1c4
PB
128762011-09-09 Ulrich Drepper <drepper@gmail.com>
12877
12878 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12879
128802011-07-03 Andreas Jaeger <aj@suse.de>
12881
12882 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12883 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12884 regenerate with gen-libm-tests.pl.
12885
128862010-05-12 Petr Baudis <pasky@suse.cz>
12887
12888 [BZ #11589]
12889 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12890 around j0() zero points by switching to j1().
12891 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12892 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12893 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12894 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12895
f22e1074
UD
128962011-09-09 Ulrich Drepper <drepper@gmail.com>
12897
f19009c1
UD
12898 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12899 instead of 0.
12900 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12901 instead of 0. .
12902 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12903 Patch in part by Pavel Roskin <proski@gnu.org>.
12904
3f8cc204
UD
12905 [BZ #13138]
12906 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12907 realloc.
12908 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12909 Free memory block if necessary.
12910
f22e1074
UD
12911 [BZ #12847]
12912 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12913 be NULL. Don't lock in this case.
12914
0a2349f9
RM
129152011-09-09 Roland McGrath <roland@hack.frob.com>
12916
12917 * elf/elf.h (ELFOSABI_GNU): New macro.
12918 (ELFOSABI_LINUX): Define to that.
12919
f3cdd467
DZ
129202011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12921
12922 * string/strncat.c (strncat): Undef the symbol in case it has been
12923 defined in bits/string.h.
12924
74718d13
UD
129252011-09-09 Ulrich Drepper <drepper@gmail.com>
12926
633e9e0f
UD
12927 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12928
0a2349f9 12929 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12930 link map.
12931
f9924780
AJ
129322011-08-17 Andreas Jaeger <aj@suse.de>
12933
12934 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12935
7f5517aa
PP
129362011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12937 Ian Lance Taylor <iant@google.com>
12938
12939 * math/libm-test.inc (lround_test): New testcase.
12940 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12941
762011fe
UD
129422011-09-08 Ulrich Drepper <drepper@gmail.com>
12943
92963737
UD
12944 * Makefile: Remove support for automatic cvs check-ins.
12945 * Makerules: Likewise.
12946 * config.make.in: Likewise.
12947 * configure.in: Likewise.
12948 * intl/Makefile: Likewise.
12949 * locale/Makefile: Likewise.
12950 * po/Makefile: Likewise.
12951 * posix/Makefile: Likewise.
12952 * sysdeps/gnu/Makefile: Likewise.
12953 * sysdeps/mach/hurd/Makefile: Likewise.
12954 * sysdeps/sparc/sparc32/Makefile: Likewise.
12955
b0727fd8
JS
12956 [BZ #13118]
12957 * posix/Makefile (bug-regex32-ENV): Define.
12958 Patch by John Stanley <jpsinthemix@verizon.net>.
12959
a0f33f99
UD
12960 * misc/Makefile (headers): Add bits/select2.h.
12961 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12962 * misc/bits/select2.h: New file.
12963 * include/bits/select2.h: New file.
12964 * debug/Makefile (routines): Add fdelt_chk.
12965 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12966 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12967 FD_ISSET.
12968 * debug/fdelt_chk.c: New file.
12969
762011fe
UD
12970 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12971 * wcsmbs/test-wmemcmp.c: Likewise.
12972 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12973 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12974
129752011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12976
12977 * string/Makefile (strop-tests): Add memcmp.
12978 * string/test-wmemcmp.c: New file.
12979 * string/test-memcmp.c: Add wmemcmp support.
12980
7f513ec8
RM
129812011-09-08 Roland McGrath <roland@hack.frob.com>
12982
0442afb4
RM
12983 [BZ #13153]
12984 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12985 2011-07-19 change.
12986
7f513ec8
RM
12987 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12988 garbage value in a __mach_port_mod_refs call in the cases of the
12989 task-self and thread-self ports.
12990
a12b2239
ST
129912011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12992
12993 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12994
610f9ab4
AS
129952011-09-08 Andreas Schwab <schwab@redhat.com>
12996
7f513ec8 12997 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12998
48882a1a
LD
129992011-09-07 Ulrich Drepper <drepper@gmail.com>
13000
b49865be
UD
13001 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13002
fdc86bc9
UD
13003 * elf/dl-libc.c (dlerror_run): Pass back error code from
13004 dl_catch_error.
13005
c966526a
UD
13006 [BZ #13123]
13007 * elf/dl-load.c (lose): Free l_origin if it is valid.
13008
48882a1a
LD
13009 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13010 names.
13011 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13012 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13013 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13014 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13015 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13016 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13017
77a2a8b4
AZ
130182011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13019
13020 * sysdeps/powerpc/fpu/e_hypot.c: New file.
13021 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13022 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13023 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13024 * sysdeps/powerpc/fpu/k_cosf.c: New file.
13025 * sysdeps/powerpc/fpu/k_sinf.c: New file.
13026 * sysdeps/powerpc/fpu/s_cosf.c: New file.
13027 * sysdeps/powerpc/fpu/s_sinf.c: New file.
13028 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13029 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13030
24f579d8
AM
130312011-08-15 Alan Modra <amodra@gmail.com>
13032
13033 [BZ #13092]
13034 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13035 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13036 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
13037 ppc_mcount to static-only-routines.
13038 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13039 __mcount_internal.
13040 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13041 __mcount_internal with usual JUMPTARGET. Remove useless nop.
13042
3d4837df
UD
130432011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
13044
13045 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13046 for finite and infinity parameters.
13047
22700377
WS
130482011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13049
13050 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13051 and add nop instructions for throughput optimization.
13052 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13053
5025581e
WS
130542011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
13055
13056 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13057 aligned copy for power7 with vector-scalar instructions.
13058 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13059
08a300c9
L
130602011-07-24 H.J. Lu <hongjiu.lu@intel.com>
13061
13062 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13063 AVX check.
13064
59178ef9
AS
130652011-09-07 Andreas Schwab <schwab@redhat.com>
13066
13067 [BZ #13144]
13068 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
13069 last change.
13070
e38ba7ab
UD
130712011-09-07 Ulrich Drepper <drepper@gmail.com>
13072
13073 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13074 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
13075 syscall wrapper around clock_gettime in __vdso_clock_gettime.
13076 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13077 clock_gettime.
13078
d53a73ac
UD
130792011-09-06 Ulrich Drepper <drepper@gmail.com>
13080
fc8bffcc
UD
13081 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
13082 Forgot to demangle the pointer.
13083
ceaa0c5d
UD
13084 * sysdeps/i386/sysdep.h: Define atom_text_section.
13085 * sysdeps/x86_64/sysdep.h: Likewise.
13086 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
13087 section with atom_text_section.
13088 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13089 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13090 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13091 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13092 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
13093
a77d3c17
UD
13094 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
13095 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13096 already be defined. Change to take two parameters and don't assign
13097 result to variable. Adjust all users.
13098 Define INTERNAL_GETTIME if not already defined.
13099 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13100 call.
13101 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13102 HAVE_CLOCK_GETTIME_VSYSCALL.
13103 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13104
d53a73ac
UD
13105 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13106 gettimeofday vsyscall, just use time.
13107
a8f84144
AS
131082011-09-06 Andreas Schwab <schwab@redhat.com>
13109
13110 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13111 <errno.h>.
13112
ef606249
UD
131132011-09-06 Ulrich Drepper <drepper@gmail.com>
13114
13115 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13116 syscall on x86-64.
13117 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13118 syscall.
13119 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13120 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13121 syscall if possible.
13122
6585cb60
UD
131232011-09-05 Ulrich Drepper <drepper@gmail.com>
13124
13125 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13126 e_ident. Don't pass to find_mapsXX.
13127 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13128
a5f524e4
LD
131292011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13130
13131 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13132 strchr-sse2-no-bsf strrchr-sse2-no-bsf
13133 * sysdeps/x86_64/multiarch/strchr.S: Update.
13134 Check bit_slow_BSF bit.
13135 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13136 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13137 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13138
554881ef
UD
131392011-09-05 Ulrich Drepper <drepper@gmail.com>
13140
d96de963
UD
13141 [BZ #13134]
13142 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13143 before glibc 2.15.
13144 (tryshell): Define.
13145 (__spawni): Change last parameter to be flag. Test
13146 SPAWN_XFLAGS_USE_PATH flag to use path or not.
13147 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13148 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13149 * posix/spawni.c: Likewise.
13150 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13151 * posix/spawnp.c: Likewise. Change normal version to use
13152 SPAWN_XFLAGS_USE_PATH.
13153 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13154 SPAWN_XFLAGS_TRY_SHELL.
13155
d48e5868
UD
13156 [BZ #13150]
13157 * posix/glob.h: Remove gcc 1.x support.
13158
554881ef
UD
13159 [BZ #13068]
13160 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13161
693fb948
LD
131622011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13163
13164 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13165 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13166 strrchr-sse2-bsf
13167 * sysdeps/i386/i686/multiarch/strchr.S: New file.
13168 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13169 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13170 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13171 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13172 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13173
1b48c537
UD
131742011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13175
49d42c37
UD
13176 * sysdeps/x86_64/wcscmp.S: New file.
13177
1b48c537
UD
13178 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13179 wcscmp-c wcscmp-sse2
13180 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13181 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13182 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13183 * wcsmbs/wcscmp.c: Allow renaming.
13184
15c95c5d
DM
131852011-09-05 David S. Miller <davem@davemloft.net>
13186
13187 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13188 stack slot, rather than the struct return pointer slot.
13189 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13190 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13192 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13193
2f0ad8f3
UD
131942011-09-05 Ulrich Drepper <drepper@gmail.com>
13195
d88ae418
UD
13196 * po/ja.po: Update from translation team.
13197
2f0ad8f3
UD
13198 [BZ #13144]
13199 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13200 kernel in 64-bit binaries.
13201
5f4318d1
DM
132022011-09-01 David S. Miller <davem@davemloft.net>
13203
13204 * elf/elf.h (HWCAP_SPARC_*): Move to..
13205 * sysdeps/sparc/sysdep.h: this new file and add new values.
13206 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13207 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13208 _DL_HWCAP_COUNT to 24.
13209 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13210 entries.
13211 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13212 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13213 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13214 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13215 instead of magic constants.
13216 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13217
3ba57516
DM
132182011-08-31 David S. Miller <davem@davemloft.net>
13219
13220 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13221 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13222 Reimplement to do errno handling inline.
13223 (SYSCALL_ERROR_HANDLER): New macro.
13224 (__SYSCALL_STRING): Do not do errno handling in asm.
13225 (__CLONE_SYSCALL_STRING): Delete.
13226 (__INTERNAL_SYSCALL_STRING): Delete.
13227 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13228 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13229 (PSEUDO): Reimplement to do errno handling inline.
13230 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
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/sysdep.h (INLINE_SYSCALL):
13236 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13237 i386.
13238 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13239 (inline_syscall*): Add 'err' argument.
13240 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13241 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13242 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13243 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13244
13245 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13246 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13247
2bc17433
AS
132482011-08-30 Andreas Schwab <schwab@redhat.com>
13249
13250 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13251
fbeb5f4d
JO
132522011-08-29 Jiri Olsa <jolsa@redhat.com>
13253
13254 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13255 directive.
13256
ad69cc26
DM
132572011-08-24 David S. Miller <davem@davemloft.net>
13258
13259 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13260
39dd69df
AS
132612011-08-24 Andreas Schwab <schwab@redhat.com>
13262
13263 * elf/Makefile: Add rules to build and run unload8 test.
13264 * elf/unload8.c: New file.
13265 * elf/unload8mod1.c: New file.
13266 * elf/unload8mod1x.c: New file.
13267 * elf/unload8mod2.c: New file.
13268 * elf/unload8mod3.c: New file.
13269
13270 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13271 it wasn't used.
13272
2c0b250a
DM
132732011-08-23 David S. Miller <davem@davemloft.net>
13274
13275 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13276 subtract stack bias.
13277 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13278 %sp not %fp in calculations.
13279 (_JMPBUF_UNWINDS_ADJ): Likewise.
13280
22044b48
DM
13281 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13282 (aio_suspend): Call it to force an exception region around the
13283 AIO_MISC_WAIT() invocation.
13284
2cae4995
AS
132852011-08-23 Andreas Schwab <schwab@redhat.com>
13286
13287 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13288 backslash.
13289
873a772e
AJ
132902011-07-04 Aurelien Jarno <aurelien@aurel32.net>
13291
13292 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13293 protection macro.
13294 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13295 and <dl-machine.h>.
13296 (Elf64_FuncDesc): Remove.
13297
25ad0df1
DM
132982011-08-22 David S. Miller <davem@davemloft.net>
13299
13300 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13301 sigaltstack check, add missing cfi directives.
13302 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13303 missing cfi directives, and sigaltstack handling.
13304
e888bcbe
AS
133052011-08-16 Andreas Schwab <schwab@redhat.com>
13306
13307 [BZ #11724]
13308 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13309 object is seen twice.
13310 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13311
13312 * elf/Makefile (distribute): Add tst-initorder2.c.
13313 (tests): Add tst-initorder2.
13314 (modules-names): Add tst-initorder2a tst-initorder2b
13315 tst-initorder2c tst-initorder2d. Add rules to build them.
13316 ($(objpfx)tst-initorder2.out): New rule.
13317 * elf/tst-initorder2.c: New file.
13318 * elf/tst-initorder2.exp: New file.
13319
87162f46
AS
133202011-08-22 Andreas Schwab <schwab@redhat.com>
13321
70538b7f
AS
13322 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13323
f55ffe58
AS
13324 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13325 dependencies back to end of function.
13326
87162f46
AS
13327 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13328 $(elfobjdir)/ld.so.
13329
91b392a4
UD
133302011-08-21 Ulrich Drepper <drepper@gmail.com>
13331
13332 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13333 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13334 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13335 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13336 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13337 of __vdso_gettimeofday.
13338 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13339 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
13340 attribute_hidden.
13341 (_libc_vdso_platform_setup): Remove initialization of
13342 __vdso_gettimeofday and __vdso_time.
13343
5c43483f
UD
133442011-08-20 Ulrich Drepper <drepper@gmail.com>
13345
775a77e7
UD
13346 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13347 and fgetc_unlocked.
13348 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13349 getc_unlocked.
89f447ed 13350
49c74ba9
UD
13351 * elf/dl-open.c (add_to_global): Report additions to the global scope
13352 for LD_DEBUG=scopes.
13353 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 13354 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 13355
5c43483f
UD
13356 [BZ #13114]
13357 * stdio-common/Makefile (tests): Add bug24.
13358 * stdio-common/bug24.c: New file.
13359
a101b025
AJ
133602011-08-19 Andreas Jaeger <aj@suse.de>
13361
13362 [BZ #13114]
13363 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13364 non-existant file when using close-on-exec mode.
13365
c88f1766
UD
133662011-08-20 Ulrich Drepper <drepper@gmail.com>
13367
0276a718
UD
13368 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13369 the very first instruction.
13370
c88f1766
UD
13371 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13372 the CFI state in the end.
13373 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13374 inclusion of dl-trampoline.h.
13375 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13376
51ccffa0
AS
133772011-08-19 Andreas Schwab <schwab@redhat.com>
13378
94d7165f
AS
13379 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13380 expectations for long double.
13381
51ccffa0
AS
13382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13383 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13384
fd708658 133852011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
13386
13387 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13388 artificual limit depends upon the system page size.
13389
44f0a71e
UD
133902011-08-17 Ulrich Drepper <drepper@gmail.com>
13391
13392 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13393 * resolv/Makefile: Define CFLAGS-libresolv.
13394
8de79a24
AS
133952011-08-17 Andreas Schwab <schwab@redhat.com>
13396
13397 * nss/makedb.c (compute_tables): Make variables used in nested
13398 function static.
13399
27724598
UD
134002011-08-17 Ulrich Drepper <drepper@gmail.com>
13401
c5305d88
UD
13402 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13403 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13404 if buffer was too small.
13405
27724598
UD
13406 * elf/pldd.c (main): Attach to all threads in the process.
13407 Rewrite /proc handling to use *at functions.
13408
076fe015
UD
134092011-08-16 Ulrich Drepper <drepper@gmail.com>
13410
174baab3
UD
13411 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13412 specifies first scope to show.
13413 (dl_open_worker): Update callers. Move printing scope of new
13414 object to before the relocation.
44f0a71e 13415 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
13416 * sysdeps/generic/ldsodefs.h: Update declaration.
13417
076fe015
UD
13418 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13419 string for the scope number.
13420
a60df2c3
UD
134212011-08-14 Ulrich Drepper <drepper@gmail.com>
13422
13423 * nscd/servicescache.c (cache_addserv): Make sure written is always
13424 initialized.
13425
5e4287d1
RM
134262011-08-14 Roland McGrath <roland@hack.frob.com>
13427
85ae0589
RM
13428 * sysdeps/i386/i486/bits/atomic.h
13429 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13430 statement expression, so as to suppress "set but not used" warning.
13431 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13432
69f63097
RM
13433 * string/strncat.c (STRNCAT): Use prototype definition.
13434
675456ef
RM
13435 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13436 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13437 -Iprograms here.
13438 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13439 (localedef-modules): Add localedef.
13440 (locale-modules): Add locale.
13441
5e4287d1
RM
13442 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13443 * elf/rtld.c (dl_main): Invert order of assignment in last change,
13444 to avoid a warning.
13445
9c96ff23
DM
134462011-08-14 David S. Miller <davem@davemloft.net>
13447
13448 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13449 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13450
f9ddf089
UD
134512011-08-13 Ulrich Drepper <drepper@gmail.com>
13452
44f0a71e 13453 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
13454 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13455 * elf/rtld.c (dl_main): Set l_name of vDSO.
13456 Call _dl_show_scope when DL_DEBUG_SCOPES.
13457 (process_dl_debug): Recognize scopes flag and also set it for all.
13458 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13459 Declare _dl_show_scope.
13460
1dc27704
UD
13461 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13462 (do_dlopen): Pass caller_dlopen to dl_open.
13463 (__libc_dlopen_mode): Initialize caller_dlopen.
13464
f9ddf089
UD
13465 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13466 of libc. Make tolower call locale-independent. Optimize a bit by
13467 using isdigit instead of isalnum.
13468 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13469
9ac533d3
UD
134702011-08-12 Ulrich Drepper <drepper@gmail.com>
13471
13472 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13473 was a dependency or dynamically loaded.
13474
89edf2e9
UD
134752011-08-11 Ulrich Drepper <drepper@gmail.com>
13476
8e999d29
UD
13477 * intl/l10nflist.c: Allow architecture-specific pop function.
13478 * sysdeps/x86_64/l10nflist.c: New file.
13479
89edf2e9
UD
13480 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13481 classification.
13482
14d96785
AS
134832011-08-10 Andreas Schwab <schwab@redhat.com>
13484
13485 * include/dirent.h: Add libc_hidden_proto for scandirat and
13486 scandirat64. Don't declare __scandirat64.
13487 * dirent/scandirat.c: Add libc_hidden_def.
13488 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13489 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13490
6761ac04
DM
134912011-08-10 David S. Miller <davem@davemloft.net>
13492
13493 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
13494 enum.
13495 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13496 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13497 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13498
c55fbd1e
UD
134992011-08-09 Ulrich Drepper <drepper@gmail.com>
13500
13501 * Versions.def [libc]: Add GLIBC_2.15.
13502 * dirent/Makefile (routines): Add scandirat and scandirat64.
13503 * dirent/Versions [libc]: Export scandirat and scandirat64 for
13504 GLIBC_2.15.
13505 * dirent/dirent.h: Declare scandirat and scandirat64.
13506 * dirent/scandirat.c: New file.
13507 * dirent/scandirat64.c: New file.
13508 * sysdeps/wordsize-64/scandirat.c: New file.
13509 * sysdeps/wordsize-64/scandirat64.c: New file.
13510 * dirent/opendir.c: Define opendirat.
13511 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
13512 using scandirat.
13513 * dirent/scandir64.c: Adjust for scandir.c change.
13514 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
13515 __scandirat64, and __scandir_cancel_handler.
13516 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
13517 additional parameter and use openat instead of open (outside of ld.so).
13518 Add new __opendir as wrapper around __opendirat.
13519 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13520 here without requiring old scandirat implementation.
13521
879165f2
UD
135222011-08-08 Ulrich Drepper <drepper@gmail.com>
13523
13524 * dirent/scandir.c (cancel_handler): Renamed to
13525 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
13526 defined. Adjust users.
13527 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13528 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13529
cb7e923b
UD
135302011-08-04 Ulrich Drepper <drepper@gmail.com>
13531
16292edd
UD
13532 * string/test-string.h (IMPL): Use __STRING to expand name and then
13533 stringify it.
13534
cb7e923b
UD
13535 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
13536 of cleanups.
13537
cff82933
LD
135382011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13539
13540 * string/Makefile: Update.
13541 (strop-tests): Append strncat.
13542 * string/test-wcscmp.c: New file.
13543 New comprehensive test for wcscmp.
13544 * string/test-strcmp.c: Update.
13545 (WIDE): New define.
13546
9be9bfcc
AS
135472011-07-22 Andreas Schwab <schwab@redhat.com>
13548
13549 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13550 line.
13551
2e96f1c7
AS
135522011-07-26 Andreas Schwab <schwab@redhat.com>
13553
13554 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13555 encoding to ACE if AI_IDN.
13556
85188888
JJ
135572011-08-01 Jakub Jelinek <jakub@redhat.com>
13558
13559 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13560 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13561
5fa16e9b
LD
135622011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13563
13564 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13565 Fix overflow bug in strncat.
13566 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13567
13568 * string/test-strncat.c: Update.
13569 Add new tests for checking overflow bugs.
13570
135712011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13572
13573 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13574 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13575 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13576 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13577 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13578 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13579 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13580 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13581 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13582
13583 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13584 (USE_AS_STRCAT): Define.
13585 Add strcat and strncat support.
13586 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13587
8c1a459f
AS
135882011-07-25 Andreas Schwab <schwab@redhat.com>
13589
13590 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13591 __n bigger than INT_MAX+1.
13592 (__strncmp_g): Likewise.
13593
bba33c28
UD
135942011-07-23 Ulrich Drepper <drepper@gmail.com>
13595
798be72d
UD
13596 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13597 * libio/stido.h: Likewise.
13598
8accd4dc
UD
13599 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13600 (AF_NFC): Define.
13601 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13602 (AF_NFC): Define.
13603
cbff0d96
UD
13604 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13605 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13606 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13607 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13608 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13609
9191c04a
UD
13610 [BZ #13021]
13611 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13612 installed.
13613
bba33c28
UD
13614 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13615 typo.
13616 (_dl_x86_64_save_sse): Likewise.
13617
90f139dd
UD
136182011-07-22 Ulrich Drepper <drepper@gmail.com>
13619
1aae088a
UD
13620 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13621 OSXSAVE.
13622 (_dl_x86_64_save_sse): Likewise.
13623
8e2045f5
UD
13624 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13625
90f139dd
UD
13626 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13627
1d002f25
AS
136282011-07-21 Andreas Schwab <schwab@redhat.com>
13629
13630 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13631 change.
13632 (_dl_x86_64_save_sse): Use correct AVX check.
13633
21137f89
UD
136342011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13635
13636 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13637 bug in strncpy/strncat.
13638 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13639
a65c0b7a
UD
136402011-07-21 Ulrich Drepper <drepper@gmail.com>
13641
13642 * string/tester.c (test_strcat): Add tests for different alignments
13643 of source and destination.
13644 (test_strncat): Likewise.
13645
6986b98a
UD
136462011-07-20 Ulrich Drepper <drepper@gmail.com>
13647
90bb2039
UD
13648 [BZ #12852]
13649 * posix/glob.c (glob): Check passed in values before using them in
13650 expressions to avoid some overflows.
13651 (glob_in_dir): Likewise.
13652
5644ef54
UD
13653 [BZ #13007]
13654 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13655 check for AVX enablement so that we don't crash with old kernels and
13656 new hardware.
13657 * elf/tst-audit4.c: Add same checks here.
13658 * elf/tst-audit6.c: Likewise.
13659
13660 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 13661
bfc9dc9b
AS
136622011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13663
13664 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13665
702e64bb
UD
136662011-07-20 Ulrich Drepper <drepper@gmail.com>
13667
13668 * po/cs.po: Update from translation team.
13669 * po/bg.po: Likewise.
13670
295e904f
MP
136712011-07-12 Marek Polacek <mpolacek@redhat.com>
13672
13673 * misc/sys/cdefs.h: Add support for const attribute.
13674 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13675 to gnu_dev_{major,minor,makedev} functions.
13676
3ff94596
MP
136772011-07-20 Marek Polacek <mpolacek@redhat.com>
13678
13679 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13680
28b59fca
AS
136812011-07-20 Andreas Schwab <schwab@redhat.com>
13682
13683 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13684 strlen results.
13685
19df733e
AK
136862011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13687
13688 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13689 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13690 register in order to avoid conflicts with the soft frame pointer
13691 being held in r11 when necessary.
13692 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13693 (INTERNAL_VSYSCALL_NCS): Likewise.
13694
c8835729
MP
136952011-07-14 Marek Polacek <mpolacek@redhat.com>
13696
13697 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13698 * elf/dl-fini.c (_dl_fini): Adjust caller.
13699 * elf/dl-close.c (_dl_close_worker): Likewise.
13700 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13701
b902330c
MP
137022011-07-15 Marek Polacek <mpolacek@redhat.com>
13703
8991e135
MP
13704 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13705 "aux_cache->nlibs < 0".
13706
b902330c
MP
13707 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13708 in the reload-count case.
13709
99710781
LD
137102011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13711
13712 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13713 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13714 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13715 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13716 * sysdeps/x86_64/multiarch/strcat.S: New file.
13717 * sysdeps/x86_64/multiarch/strncat.S: New file.
13718 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13719 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13720 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13721 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13722 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13723 (USE_AS_STRCAT): Define.
13724 Add strcat and strncat support.
13725 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13726 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13727 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13728 * string/strncat.c: Update.
13729 (USE_AS_STRNCAT): Define.
13730 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13731 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13732 and i7.
13733 * sysdeps/x86_64/multiarch/init-arch.h
13734 (bit_Prefer_PMINUB_for_stringop): New.
13735 (index_Prefer_PMINUB_for_stringop): Likewise.
13736 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13737 bit_Prefer_PMINUB_for_stringop.
13738
7dc6bd90
UD
137392011-07-19 Ulrich Drepper <drepper@gmail.com>
13740
13741 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13742 buffer64.
13743 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13744 of casting of buffer.
13745 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13746 buffer32 and buffer64.
13747 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13748 writes instead of casting of buffer.
13749 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13750 buffer32.
13751 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13752 casting of buffer.
13753
e0e72284
AS
137542011-07-19 Andreas Schwab <schwab@redhat.com>
13755
13756 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13757
feb1eb0b
UD
137582011-07-19 Ulrich Drepper <drepper@gmail.com>
13759
13760 * nscd/nscd.c (termination_handler): Don't do anything for a database
13761 if it has not yet been initialized.
13762
298711ff
UD
137632011-07-18 Ulrich Drepper <drepper@gmail.com>
13764
13765 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13766
137672011-07-15 Marek Polacek <mpolacek@redhat.com>
13768
13769 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13770
f9d68389
UD
137712011-07-18 Ulrich Drepper <drepper@gmail.com>
13772
13773 * po/nl.po: Update from translation team.
13774 * po/sv.po: Likewise.
13775
db290cf5
RM
137762011-07-16 Roland McGrath <roland@hack.frob.com>
13777
13778 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13779 now disallowed by GCC.
5c550700 13780
fd5e21c7
RM
13781 * configure.in (use-default-link): Default to yes if a test -shared
13782 link meets our qualifications.
13783 * configure: Regenerated.
13784
5c550700
RM
13785 * config.make.in (output-format): New variable.
13786 * configure.in: Check for ld --print-output-format support.
13787 * configure: Regenerated.
13788 * Makerules ($(common-objpfx)format.lds)
13789 [$(output-format) != unknown]: Just use $(output-format),
13790 instead of the linker-script munging.
13791
9fa2c032
RM
137922011-07-14 Roland McGrath <roland@hack.frob.com>
13793
a6928d51
RM
13794 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13795 of $(common-objpfx)shlib.lds.
13796 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13797
661607b3
RM
13798 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13799 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13800
9fa2c032
RM
13801 * configure.in (-z relro check): Adjust test code to add a large
13802 writable data section after it.
13803 * configure: Regenerated.
13804
defe9061
RM
138052011-07-11 Roland McGrath <roland@hack.frob.com>
13806
13807 * configure.in (-z relro check): Fix test code to make the variable
13808 truly const.
13809 * configure: Regenerated.
13810
319b9ad4
UD
138112011-07-11 Ulrich Drepper <drepper@gmail.com>
13812
13813 * nscd/nscd.h (struct traced_file): Define.
13814 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13815 elements. Add traced_files.
13816 (inotify_fd): Declare.
13817 (register_traced_file): Declare.
13818 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13819 (inotify_fd): Export.
13820 (resolv_conf_descr): Remove.
13821 (nscd_init): Move inotify descriptor creation to main.
13822 Don't register files for notification here.
13823 (register_traced_file): New function.
13824 (invalidate_cache): Don't use reset_res to determine whether to call
13825 res_init, go through the list of registered files.
13826 (main_loop_poll): The inotify descriptors are now stored in the
13827 structures for the traced files.
13828 (main_loop_epoll): Likewise
13829 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13830 to __nss_disable_nscd.
13831 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13832 for a database anymore. Check the records for all the registered
13833 files instead.
13834 * nss/Makefile (libnss_files-routines): Add files-init.
13835 (libnss_db-routines): Add db-init.
13836 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13837 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13838 * nss/nss_db/db-init.c: New file.
13839 * nss/nss_files/files-init.c: New file.
13840 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13841 __nss_lookup_function.
13842 (__nss_lookup_function): Call nss_load_library.
13843 (nss_load_all_libraries): New function.
13844 (__nss_disable_nscd): Take parameter with callback function for files
13845 to register. Set is_nscd. Load all the DSOs for the NSS modules
13846 used for the cached services.
13847 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13848 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13849 options for features to all the files in nscd.
13850
13851 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13852
23bee3e8
RM
138532011-07-10 Roland McGrath <roland@hack.frob.com>
13854
13855 * csu/elf-init.c (__libc_csu_init): Comment typo.
13856
46a5b7f0
UD
138572011-07-09 Ulrich Drepper <drepper@gmail.com>
13858
13859 * po/pl.po: Update from translation team.
13860 * po/ja.po: Likewise.
13861 * po/ru.po: Likewise.
13862 * po/ko.po: Likewise.
13863 * po/fr.po: Likewise.
13864
d30cf5bb
RM
138652011-07-09 Roland McGrath <roland@hack.frob.com>
13866
113ddea4
RM
13867 * configure.in (.ctors/.dtors header and trailer check):
13868 Use an empirical test on a built program.
13869 * configure: Regenerated.
13870
574920b4
RM
13871 * configure.in (-z relro check): Use an empirical test on a built DSO.
13872 Detect, but do not require, on ia64.
13873 * configure: Regenerated.
13874
d30cf5bb
RM
13875 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13876 Update tests that use readelf to use $READELF instead.
13877 * configure: Regenerated.
13878
8538fdb3
UD
138792011-07-08 Ulrich Drepper <drepper@gmail.com>
13880
13881 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13882 if the result is not used.
13883
04d08991
AJ
138842011-07-05 Andreas Jaeger <aj@suse.de>
13885
13886 [BZ#9696]
13887 * stdlib/tst-strtod.c: Add testcase.
13888
de283087
AD
138892011-07-07 Ulrich Drepper <drepper@gmail.com>
13890
4e5f31c8 13891 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 13892 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13893 The latter has a higher limit. Take additional parameter to pass to
13894 the new function.
13895 (__pathconf): Pass file to __statfs_link_max.
13896 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13897 __statfs_link_max.
13898 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13899 __statfs_link_max.
13900
de283087
AD
13901 [BZ #12868]
13902 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13903 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13904 Handle Lustre.
13905 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13906 (__statfs_filesize_max): Likewise.
13907 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13908
c75fa153
AJ
139092011-07-05 Andreas Jaeger <aj@suse.de>
13910
13911 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13912
1a544854
UD
139132011-07-06 Marek Polacek <mpolacek@redhat.com>
13914
13915 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13916 `status' variable.
13917 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13918 Likewise.
13919
6f0eec67
UD
139202011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13921
13922 * Makefile (strop-tests): Add strncat.
13923 * string/test-strncat.c: New file.
13924
aae30307
UD
139252011-06-30 Marek Polacek <mpolacek@redhat.com>
13926
13927 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13928
c0cfb5eb
UD
139292011-06-21 Andreas Jaeger <aj@suse.de>
13930
13931 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13932 Copy rule from iconvdata/Makefile.
13933
01636b21
UD
139342011-07-06 Ulrich Drepper <drepper@gmail.com>
13935
13936 [BZ #12922]
13937 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13938 but no long options are defined, just return 'W'.
13939
9895c8bc
UD
139402011-06-22 Marek Polacek <mpolacek@redhat.com>
13941
13942 [BZ #9696]
13943 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13944
5d4cf042
UD
139452011-07-06 Ulrich Drepper <drepper@gmail.com>
13946
13947 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13948 netgroups to read.
960e5535 13949 (innetgr): Likewise.
5d4cf042 13950
751eb97e
RM
139512011-07-05 Roland McGrath <roland@hack.frob.com>
13952
13953 * config.make.in (install_root): Default to $(DESTDIR).
13954
f15f1e45
UD
139552011-07-05 Ulrich Drepper <drepper@gmail.com>
13956
13957 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13958
4e34ac6a
RM
139592011-07-02 Roland McGrath <roland@hack.frob.com>
13960
5e9b6af4
RM
13961 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13962
84f9ea0f
RM
13963 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13964 containing directory rather than embedding absolute directory names.
13965
ea5ee9f7
RM
13966 * scripts/check-local-headers.sh: Rewritten using awk.
13967 Match by word, not by line. Print error messages for matches.
13968 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13969
1b74661a
RM
13970 * Makerules [shlib-lds-flags empty]:
13971 ($(common-objpfx)libc_pic.opts): New target.
13972 ($(common-objpfx)libc_pic.os.clean): New target.
13973 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13974
13975 * config.make.in (OBJCOPY): New variable.
13976 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13977 * configure: Regenerated.
13978
f781ef40
RM
13979 * config.make.in (use-default-link): New variable.
13980 * configure.in (use_default_link): Grok --with-default-link to set it.
13981 * configure: Regenerated.
13982 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13983 (shlib-lds, shlib-lds-flags): Define to empty.
13984
2d4fa81e
RM
13985 * Makerules (shlib-lds): New variable.
13986 (shlib-lds-flags): New variable.
13987 (build-shlib, build-moduile, build-module-asneeded): Use it.
13988 ($(common-objpfx)libc.so): Use $(shlib-lds).
13989 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13990 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13991
31fffa6b
RM
13992 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13993 DT_FLAGS/DT_FLAGS_1 with zero flags.
13994
4e34ac6a
RM
13995 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13996 linker script munging.
13997
fcfc776b
UD
139982011-07-02 Ulrich Drepper <drepper@gmail.com>
13999
14000 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14001 as 128-bit value.
14002 * crypt/sha512.c (sha512_process_block): Perform total addition using
14003 128-bit if possible.
14004 (__sha512_finish_ctx): Likewise.
14005 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14006 as 64-bit value.
14007 * crypt/sha256.c (SWAP64): Define.
14008 (sha256_process_block): Perform total addition using 64-bit if
14009 possible.
14010 (__sha256_finish_ctx): Likewise.
14011
99231d9a
UD
140122011-07-01 Ulrich Drepper <drepper@gmail.com>
14013
14014 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
14015 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14016 * nscd/hstcache.c (cache_addhst): Likewise.
14017 * nscd/grpcache.c (cache_addgr): Likewise.
14018 * nscd/aicache.c (addhstaiX): Likewise
14019 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14020
445b4a53
TK
140212011-07-01 Thorsten Kukuk <kukuk@suse.de>
14022
14023 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14024 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14025 * nscd/hstcache.c (cache_addhst): Likewise.
14026 * nscd/grpcache.c (cache_addgr): Likewise.
14027 * nscd/aicache.c (addhstaiX): Likewise
14028
6d4d8e8e
AS
140292011-07-01 Andreas Schwab <schwab@redhat.com>
14030
14031 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14032 domain only when needed.
14033
89f654c5
AS
140342011-06-30 Andreas Schwab <schwab@redhat.com>
14035
14036 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14037 is always restored.
14038
cf3b23ff
UD
140392011-06-29 Ulrich Drepper <drepper@gmail.com>
14040
14041 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14042 are re-adding the entry.
14043 * nscd/servicescache.c (cache_addserv): Likewise.
14044
751626f9
AJ
140452011-06-30 Aurelien Jarno <aurelien@aurel32.net>
14046
14047 * sysdeps/generic/dl-irel.h: fix protection against multiple
14048 inclusions.
14049 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14050
9113ea1f
UD
140512011-06-28 Ulrich Drepper <drepper@gmail.com>
14052
5c0b8d90
UD
14053 [BZ #12935]
14054 * malloc/memusage.sh: Fix quoting in message.
14055 * debug/xtrace.sh: Likewise.
14056
9113ea1f
UD
14057 * configure.in: Remove support for --experimental-malloc option, make
14058 it the default.
14059 * config.make.in: Likewise.
14060 * malloc/Makefile: Likewise.
14061
a4172181
AS
140622011-06-27 Andreas Schwab <schwab@redhat.com>
14063
14064 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
14065 two-byte characters.
14066
78a7eee7
RM
140672011-06-27 Roland McGrath <roland@hack.frob.com>
14068
62bede13
RM
14069 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
14070 AC_CACHE_CHECK invocation.
14071 * configure: Regenerated.
14072
78a7eee7
RM
14073 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
14074
5ce33a62
UD
140752011-06-27 Ulrich Drepper <drepper@gmail.com>
14076
034807a9
UD
14077 [BZ #12350]
14078 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
14079 bit from old_res_options.
14080
4902da17
UD
14081 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
14082
5ce33a62
UD
14083 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
14084 value type for setfct.
14085
c2344f56
L
140862011-06-23 H.J. Lu <hongjiu.lu@intel.com>
14087
14088 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14089 __gettimeofday instead of gettimeofday.
14090
68468076
UD
140912011-06-26 Ulrich Drepper <drepper@gmail.com>
14092
14093 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
14094
acb0d739
L
140952011-06-24 H.J. Lu <hongjiu.lu@intel.com>
14096
14097 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14098
14099 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14100 info.
14101
8912479f
L
141022011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14103
14104 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14105 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14106 strcpy-sse2-unaligned strncpy-sse2-unaligned
14107 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14108 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14109 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14110 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14111 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14112 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14113 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14114 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14115 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14116 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14117 (STRCPY): Support SSE2 and SSSE3 versions.
14118
d5495a11
UD
141192011-06-24 Ulrich Drepper <drepper@gmail.com>
14120
14121 [BZ #12874]
14122 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14123 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14124 kernels which artificially limit size of requests.
14125
0b1cbaae
L
141262011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14127
14128 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14129 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14130 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14131 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14132 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14133 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14134 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14135 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14136 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14137 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14138 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14139 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14140 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14141 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14142 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14143 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14144 Enable unaligned load optimization for Intel Core i3, i5 and i7
14145 processors.
14146 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14147 Define.
14148 (index_Fast_Unaligned_Load): Define.
14149 (HAS_FAST_UNALIGNED_LOAD): Define.
14150
07f494a0
MP
141512011-06-23 Marek Polacek <mpolacek@redhat.com>
14152
14153 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14154
fa3fc0fe
UD
141552011-06-22 Ulrich Drepper <drepper@gmail.com>
14156
14157 [BZ #12907]
14158 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14159 until it is clear that the information is realy needed.
14160 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14161
e12df166
AS
141622011-06-22 Andreas Schwab <schwab@redhat.com>
14163
14164 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14165
852eb34d
UD
141662011-06-22 Ulrich Drepper <drepper@gmail.com>
14167
84e2a551
UD
14168 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14169 /sys/devices/system/cpu/online if it is usable.
14170
852eb34d
UD
14171 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14172 reading the information from the /proc filesystem to once a second.
14173
6e502e19
UD
141742011-06-21 Andreas Jaeger <aj@suse.de>
14175
14176 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14177 NULL after inclusion of kernel headers.
14178
75d39ff2
UD
141792011-06-21 Ulrich Drepper <drepper@gmail.com>
14180
51f9aa6a
UD
14181 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14182 calls to internal_setent.
14183
c0244a9d
UD
14184 [BZ #12885]
14185 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14186 addresses using gethostbyname4_r ignore IPv4 addresses.
14187
c5e3c2ae
UD
14188 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14189 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
14190
75d39ff2
UD
14191 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14192
42675c6f
DM
141932011-06-20 David S. Miller <davem@davemloft.net>
14194
14195 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14196 inclusions.
14197 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14198
14199 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14200 (elf_irel): Use it.
14201 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14202 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14203 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14204 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14205 * sysdeps/x86_64/dl-irel.h: Likewise.
14206
14207 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14208 * elf/dl-sym.c: Likewise.
14209
57912a71
UD
142102011-06-15 Ulrich Drepper <drepper@gmail.com>
14211
14212 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14213 need to dereference resplen2.
14214
ee22793d
AS
142152011-06-14 Andreas Schwab <schwab@redhat.com>
14216
14217 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14218
a9e836b0
UD
142192011-06-15 Ulrich Drepper <drepper@gmail.com>
14220
77fb9117
UD
14221 * Makeconfig: Define vardbdir and inst_vardbdir.
14222 * nss/Makefile: Add rules to install db-Makefile.
14223
40c1b22c
UD
14224 * nss/nss_db/db-XXX.c: Cleanup.
14225
9f2da732
UD
14226 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14227 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14228 GLIBC_PRIVATE.
14229 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14230 * nss/makedb.c: Implement -g option to specify that value strings
14231 are generated and should not be added to table iterated over for
14232 get*ent calls.
14233 * nss/nss_db/db-initgroups.c: New file.
14234
82e9a1f7
UD
14235 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14236 interface.
14237
c41af17e
UD
14238 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14239 (internal_getgrouplist): Adjust to name change.
14240 Update use_initgroups_entry if this is not the first call.
14241 * nss/databases.def: Add initgroups entry.
14242
a9e836b0
UD
14243 * nss/makedb.c (compute_tables): Check result of multiple hash table
14244 sizes to minimize maximum chain length.
14245
2666d441
UD
142462011-06-14 Ulrich Drepper <drepper@gmail.com>
14247
14248 * Versions.def: Add entry for libnss_db.
14249 * shlib-versions: Likewise.
14250 * nss/Makefile: Add rules to build libnss_db.
14251 * nss/Versions: Add libnss_db information. Organize libnss_files
14252 entries better.
14253 * nss/db-Makefile: Add gshadow support. Change rules for the new
14254 makedb progra. Some minor improvements to generate smaller files.
14255 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14256 here from...
14257 * nss/makedb.c: ...here.
14258 Improve database format to be smaller and require less memory at
14259 runtime.
14260 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14261 db anymore.
14262 * nss/nss_db/db-netgrp.c: Likewise.
14263 * nss/nss_db/db-open.c: Likewise.
14264 * nss/nss_files/flies-XXX.x: Adjust comments.
14265 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14266 * nss/nss_files/files-grp.c: Likewise.
14267 * nss/nss_files/files-hosts.c: Likewise.
14268 * nss/nss_files/files-network.c: Likewise.
14269 * nss/nss_files/files-proto.c: Likewise.
14270 * nss/nss_files/files-pwd.c: Likewise.
14271 * nss/nss_files/files-rpc.c: Likewise.
14272 * nss/nss_files/files-service.c: Likewise.
14273 * nss/nss_files/files-sgrp.c: Likewise.
14274 * nss/nss_files/files-spwd.c: Likewise.
14275 * nss/nss_db/db-alias.c: Removed.
14276 * nss/nss_db/dummy-db.h: Removed.
14277
9ee76b5a
UD
142782011-06-02 Ulrich Drepper <drepper@gmail.com>
14279
14280 * nss/makedb.c: Rewritten to not use database library.
14281 * nss/Makefile: Update to build new makedb program.
14282
c71ca1f8
AJ
142832011-06-14 Andreas Jaeger <aj@suse.de>
14284
14285 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14286 memset declaration.
14287
3154bfb8
UD
142882011-06-10 Andreas Schwab <schwab@redhat.com>
14289
14290 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14291 tmpbuf.
14292
b350afab
RM
142932011-06-10 Roland McGrath <roland@hack.frob.com>
14294
decd4e50
RM
14295 * Makerules (shlib.lds): Fail if the linker script comes out empty.
14296 * elf/Makefile ($(objpfx)ld.so): Likewise.
14297
5615eaf2
RM
14298 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14299 Don't list ld.so twice in dependencies.
14300
14301 * posix/bug-regex31.c: Include <stdlib.h>.
14302
14303 * nscd/hstcache.c (cache_addhst): Remove unused variable.
14304
14305 * nis/nss_compat/compat-spwd.c
14306 (getspent_next_nss_netgr): Remove unused variable.
14307 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14308
14309 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14310 nonmembers" output to use the right array.
14311
14312 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14313
14314 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14315
14316 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14317 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14318 * catgets/gencat.c (read_input_file): Likewise.
14319 * locale/programs/locarchive.c (enlarge_archive): Likewise.
14320
14321 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14322 variable definition inside #if's controlling its use.
14323
14324 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14325
14326 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14327
14328 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14329
14330 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14331 unreachable code.
14332
14333 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14334
b68e08db
RM
14335 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14336 * configure: Regenerated.
14337
b350afab
RM
14338 * Makerules: Revert last change.
14339 * elf/Makefile: Likewise.
14340
28368601
RM
143412011-06-09 Roland McGrath <roland@hack.frob.com>
14342
14343 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14344 * elf/Makefile ($(objpfx)librtld.os): Likewise.
14345 (reloc-link): Likewise.
14346
11988f8f
UD
143472011-06-09 Ulrich Drepper <drepper@gmail.com>
14348
14349 * elf/Makefile: Add rules to build pldd.
14350 * elf/pldd.c: New file.
14351 * elf/pldd-xx.c: New file.
14352
e80fab37
UD
143532011-06-07 Ulrich Drepper <drepper@gmail.com>
14354
14355 * version.h: Update for 2.15 development version.
14356
9b849836
DM
143572011-06-07 David S. Miller <davem@davemloft.net>
14358
14359 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14360 ifuncs.
14361 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14362 elf_machine_lazy_rel): Likewise.
14363 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14364 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14365 elf_machine_lazy_rel): Likewise.
14366 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14367 dl_hwcap via passed in argument.
14368 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14369 Likewise.
14370
5a31b283
AK
143712011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14372
14373 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
14374
069e52f8
RM
143752011-06-06 Roland McGrath <roland@hack.frob.com>
14376
14377 [BZ #12849]
14378 * manual/fdl-1.1.texi: New file, verbatim from:
14379 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14380 * manual/lgpl-2.1.texi: New file, verbatim from:
14381 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14382 * manual/Makefile (licenses): New variable, list those new file names.
14383 (texis): Use it.
14384 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14385
14386 * manual/fdl.texi: File removed.
14387 * manual/lesser.texi: File removed.
14388 * manual/libc.texinfo (Copying, Documentation License):
14389 Use new @include file names, put @appendix directive before @include.
14390
f16846a5
JJ
143912011-06-04 Jakub Jelinek <jakub@redhat.com>
14392
14393 [BZ #12841]
14394 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14395 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14396 (mq_open): Add __NTH.
14397
3d29045b
L
143982011-06-02 H.J. Lu <hongjiu.lu@intel.com>
14399
14400 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14401 Assume Intel Core i3/i5/i7 processor if AVX is available.
14402
8c297311
UD
144032011-05-31 Ulrich Drepper <drepper@gmail.com>
14404
14405 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14406 typo.
14407
c8fc0c91
UD
144082011-05-31 Andreas Schwab <schwab@redhat.com>
14409
14410 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14411 memory. Use alloca_account. Fix memory leak when retrying.
14412
5b27a807
UD
144132011-05-31 Ulrich Drepper <drepper@gmail.com>
14414
356f8bc6
UD
14415 * version.h (RELEASE): Bump for 2.14 release.
14416 * include/features.h (__GLIBC_MINOR__): Bump to 14.
14417
5b27a807
UD
14418 * config.make.in (RANLIB): Remove entry.
14419
01f16ab0
UD
144202011-05-30 Ulrich Drepper <drepper@gmail.com>
14421
41fce8bd
UD
14422 * po/Makefile (po-sed-cmd): Add ksh to extensions.
14423 (libc.pot): Work around missing support for .ksh extension in xgettext.
14424
4769ae77
UD
14425 [BZ #12684]
14426 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14427 if both request failed.
14428 (send_dg): In case of server errors clear resplen or *resplen2.
14429
6b1e7d19
UD
14430 [BZ #12454]
14431 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14432 when there are multiple maps.
14433 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14434 (_dl_fini): Remove test here.
14435
01f16ab0
UD
14436 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14437
b1ebd700
UD
144382011-05-29 Ulrich Drepper <drepper@gmail.com>
14439
7ae22829
UD
14440 [BZ #12350]
14441 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14442 bit from old_res_options.
14443 (gaih_inet): Likewise.
14444
553149f6 14445 [BZ #11099]
18a84741 14446 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
14447 as signed.
14448
652ffab1
UD
14449 * resolv/res_init.c (res_setoptions): Make the code more compact.
14450
16985fd0
UD
14451 [BZ #11558]
14452 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14453 set RES_USEVC.
14454
0464f746
UD
14455 [BZ #11634]
14456 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14457
7d17596c
UD
14458 * malloc/malloc.h: Mark malloc hook variables as deprecated.
14459
cf6bbbd7
UD
14460 [BZ #11781]
14461 * malloc/malloc.h: Declare malloc hook variables as volatile.
14462
13f1ab36
UD
14463 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14464 in last patch.
14465
b1ebd700
UD
14466 [BZ #11799]
14467 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 14468 raise in the comment.
80e2212d
UD
14469 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14470 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14471 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 14472
ce67228d
UD
144732011-05-28 Ulrich Drepper <drepper@gmail.com>
14474
8887a920
UD
14475 [BZ #12811]
14476 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14477 grow the buffers more if it already has to be sufficient.
14478 (build_wcs_upper_buffer): Likewise.
14479 * posix/regexec.c (check_matching): Likewise.
14480 (clean_state_log_if_needed): Likewise.
14481 (extend_buffers): Don't enlarge buffers beyond size of the input
14482 buffer.
14483 Patches mostly by Emil Wojak <emil@wojak.eu>.
14484 * posix/bug-regex32.c: New file.
14485 * posix/Makefile (tests): Add bug-regex32.
14486
4f031072
UD
14487 * locale/findlocale.c (_nl_find_locale): Return right away if
14488 _nl_explode_name failed.
14489 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14490
d0478f0c
UD
14491 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14492
de81b246
UD
14493 * debug/xtrace.sh: Unify messages.
14494 * malloc/memusage.sh: Likewise.
14495
c738465a
UD
14496 [BZ #12813]
14497 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
14498 time symbol from vDSO. Substitute with vsyscall if not available.
14499 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
14500 __vdso_time.
14501
f1f929d7
UD
14502 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14503 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14504 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14505 Add sendmmsg and internal_sendmmsg.
14506 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14507 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14508 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14509
ce67228d
UD
14510 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14511 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14512 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14513
e57420c6
UD
145142011-05-27 Ulrich Drepper <drepper@gmail.com>
14515
a8509ca5
UD
14516 [BZ #12813]
14517 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
14518 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
14519 available.
14520 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14521 __vdso_getcpu.
14522
e57420c6
UD
14523 [BZ #12814]
14524 * iconvdata/Makefile (tests): Add bug-iconv9.
14525 * iconvdata/bug-iconv9.c: New file.
14526
4d07db15
AS
145272011-05-27 Andreas Schwab <schwab@redhat.com>
14528
14529 [BZ #12814]
14530 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14531
ea486f69
JJ
145322011-05-25 Jakub Jelinek <jakub@redhat.com>
14533
14534 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14535 (struct user_regs_struct): Change intcs field back to cs.
14536
6f038433
UD
145372011-05-25 Ulrich Drepper <drepper@gmail.com>
14538
14539 * po/ja.po: Update from translation team.
14540
67f86a25
UD
145412011-05-23 Ulrich Drepper <drepper@gmail.com>
14542
14543 [BZ #12795]
14544 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14545 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14546
def7fbd6
AS
145472011-05-20 Andreas Schwab <schwab@redhat.com>
14548
14549 * stdlib/longlong.h: Update from GCC.
14550
f50ef8f1
AS
145512011-05-23 Andreas Schwab <schwab@redhat.com>
14552
14553 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14554 parameter name.
14555 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14556 Add parameter name.
14557 (__sysconf): Pass it down.
14558
de7ce8f1
UD
145592011-05-22 Ulrich Drepper <drepper@gmail.com>
14560
f2962a71
UD
14561 [BZ #12671]
14562 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14563 some situations.
14564 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14565 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14566 add in in __libc_use_alloca calls. Adjust callers.
14567 (glob): Use malloc in some situations.
14568
de7ce8f1
UD
14569 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14570 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14571 pltexit.
14572
aec84f53
UD
145732011-05-21 Ulrich Drepper <drepper@gmail.com>
14574
05bb4a68
UD
14575 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14576 and CLOCK_BOOTTIME_ALARM.
14577
7ea72f99
UD
14578 [BZ #12782]
14579 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14580 is returned.
14581
7e4afad5
UD
14582 * string/_strerror.c (__strerror_r): Print negative errors as signed
14583 numbers.
14584
8e211fec
UD
14585 [BZ #12777]
14586 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14587 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14588 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14589
f7d82dc9
UD
14590 * configure.in: Fix typo in redirection and correct removal of test
14591 files in two cases.
14592
cc9e536d
UD
14593 [BZ #12788]
14594 * locale/setlocale.c (new_composite_name): Fix test to check for
14595 identical name of all categories.
14596
aec84f53
UD
14597 [BZ #12792]
14598 * libio/filedoalloc.c (local_isatty): New function.
14599 (_IO_file_doallocate): Use local_isatty.
14600 * stdio-common/perror.c (perror): In case a new stream is used
14601 forward the stream error.
14602 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14603 error flag.
14604
78e64fdc
RT
146052011-05-20 Ulrich Drepper <drepper@gmail.com>
14606
34a9094f
UD
14607 [BZ #11869]
14608 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14609 alloca.
14610 * include/alloca.h (extend_alloca_account): Define.
14611
78e64fdc
RT
14612 [BZ #11857]
14613 * posix/regex.h: Fix comments with documentation of user-accessible
14614 fields after compilation and describe correct free'ing of pattern
14615 after re_compile_pattern.
14616 Patch by Reuben Thomas <rrt@sc3d.org>.
14617
457bddfc
RA
146182011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14619
14620 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14621 and -mno-altivec to prevent the compiler from using Altivec and/or
14622 VSX instructions when the corresponding registers are not available.
14623
a4527b51
AS
146242011-05-19 Andreas Schwab <schwab@redhat.com>
14625
14626 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14627
ed690b2f
UD
146282011-05-19 Ulrich Drepper <drepper@gmail.com>
14629
14630 * libio/freopen.c (freopen): Use __dup2, not dup2.
14631 * libio/freopen64.c (freopen64): Likewise.
14632
8db73634
L
146332011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14634
14635 [BZ #12775]
14636 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14637 * math/Makefile (tests): Add test-powl.
14638 (CFLAGS-test-powl.c): Define.
14639 * math/test-powl.c: New file.
14640
0a197a9d
L
146412011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14642
14643 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14644
ee30c380
UD
146452011-05-17 Ulrich Drepper <drepper@gmail.com>
14646
14647 [BZ #11837]
14648 * iconvdata/gb18030.c: Update to GB18020-2005.
14649
6ce75379
UD
146502011-05-16 Ulrich Drepper <drepper@gmail.com>
14651
a4b89fd8
AR
14652 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14653 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14654 Patch by Aharon Robbins <arnold@skeeve.com>.
14655
ea389b12
UD
14656 [BZ #11892]
14657 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14658 on the stack.
14659
68a3f91f
UD
14660 [BZ #11895]
14661 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14662 through underflows.
14663
15cc7dd1
UD
14664 [BZ #12766]
14665 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14666 point to strings before performing equality test for error_one_per_line
14667 mode.
14668
f3799213
UD
14669 [BZ #11697]
14670 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14671
d79a9c94
UD
14672 [BZ #11820]
14673 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14674 (struct user_fpregs_struct): Avoid __uint*_t types.
14675
56e5eb46
UD
14676 [BZ #6420]
14677 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14678 symbol info. Use it instead of calling _dl_addr locally.
14679 (lock_and_info): New function.
14680 (tr_freehook): Call lock_and_info and pass symbol info as additional
14681 parameter to tr_where.
14682 (tr_mallochook): Likewise.
14683 (tr_reallochook): Likewise.
14684 (tr_memalignhook): Likewise.
14685
6ce75379
UD
14686 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14687 used and couldn't be at all thread-safe.
14688
f8a3b5bf
UD
146892011-05-15 Ulrich Drepper <drepper@gmail.com>
14690
94b7cc37
UD
14691 * libio/freopen.c (freopen): Don't close old file descriptor
14692 before the new one is opened. Instead dup the new file descriptor
14693 to the old one after the new stream is created.
14694 * libio/freopen64.c (freopen64): Likewise.
14695 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14696 * libio/fileops.c (_IO_new_file_close_it): Handle new
14697 _IO_FLAGS2_NOCLOSE flag.
14698 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14699 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14700 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14701 _IO_FLAGS2_NOCLOSE flag.
14702 * include/unistd.h: Add hidden_proto for dup3.
14703 Define __have_dup3.
14704 * io/dup3.c: Define hidden symbol.
14705 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14706
bd25564e
UD
14707 [BZ #7101]
14708 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14709 when an incomplete long option is used.
14710 * posix/tst-getopt_long1.c: New file.
14711 * posix/Makefile (tests): Add tst-getopt_long1.
14712
c84cfef4
UD
14713 [BZ #10138]
14714 * scripts/config.guess: Update from autoconf-2.68.
14715 * scripts/config.sub: Likewise.
14716
3b85df27
UD
14717 [BZ #10157]
14718 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14719 tests into ...
14720 (has_cpuclock): ...this. New function.
14721 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14722 macro here based on has_cpuclock code.
14723
15a856b1
UD
14724 [BZ #10149]
14725 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14726 First byte (not low byte) is now always NUL.
14727 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14728
05f399e6
UD
14729 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14730 Use non-cancelable interfaces.
14731
10a52685 14732 [BZ #9809]
94ecc67d
UD
14733 * locale/iso-639.def: Add entry for Sorani.
14734
f8a3b5bf
UD
14735 [BZ #11901]
14736 * include/stdlib.h: Move include protection to the right place.
14737 Define abort_msg_s. Declare __abort_msg with it.
14738 * stdlib/abort.c (__abort_msg): Adjust type.
14739 * assert/assert.c (__assert_fail_base): New function. Majority
14740 of code from __assert_fail. Allocate memory for __abort_msg with
14741 mmap.
14742 (__assert_fail): Now call __assert_fail_base.
14743 * assert/assert-perr.c: Remove bulk of implementation. Use
14744 __assert_fail_base.
14745 * include/assert.hL Declare __assert_fail_base.
14746 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14747 mmap.
14748 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14749
1af4e298
UD
147502011-05-14 Ulrich Drepper <drepper@gmail.com>
14751
f8a3b5bf 14752 [BZ #11952]
d26dfc60
MG
14753 [BZ #12453]
14754 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14755 until all modules are registered in the DTV.
14756 * elf/Makefile: Add rules to build and run tst-tls19.
14757 * elf/tst-tls19.c: New file.
14758 * elf/tst-tls19mod1.c: New file.
14759 * elf/tst-tls19mod2.c: New file.
14760 * elf/tst-tls19mod3.c: New file.
14761 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14762
2fc54d6f
UD
14763 [BZ #12083]
14764 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14765 correctly.
14766
98d76b46
UD
14767 [BZ #12601]
14768 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14769 two-byte sequence errors.
14770 * iconvdata/Makefile (tests): Add bug-iconv8.
14771 * iconvdata/bug-iconv8.c: New file.
14772
da3c19ef
UD
14773 [BZ #12626]
14774 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14775 buf2 definition.
14776
ca408c15
UD
14777 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14778
d6f67f7d
UD
14779 [BZ #12432]
14780 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14781 (dummy_getcfa): New function.
14782 (init): Get _Unwind_GetCFA address, use dummy if not found.
14783 (backtrace_helper): In recursion check, also check whether CFA changes.
14784 (__backtrace): Completely initialize arg.
14785
1af4e298 14786 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
14787 storing incomplete byte sequence in state object. Avoid testing for
14788 guaranteed too small input if we know there is enough data available.
1af4e298 14789
da62f81b
AS
147902011-05-11 Andreas Schwab <schwab@redhat.com>
14791
14792 * Makeconfig (+link-pie): Indent.
14793 * Rules (binaries-pie): Define if $(have-fpie) and
14794 $(build-shared).
14795 (binaries-shared): Also filter out $(binaries-pie).
14796 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14797 * nscd/Makefile (others-pie): Add nscd.
14798 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14799 ($(objpfx)nscd): Remove command override.
14800 * login/Makefile (others-pie): Add pt_chown.
14801 ($(objpfx)pt_chown): Remove command override.
14802 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14803 remove command overrides.
14804
fcabc0f8
UD
148052011-05-13 Ulrich Drepper <drepper@gmail.com>
14806
20030ae6
UD
14807 * libio/tst_putwc.c: Fix error messages.
14808
fcabc0f8
UD
14809 [BZ #12724]
14810 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14811 currently writing and seek to current position when not.
14812 * libio/Makefile (tests): Add bug-fclose1.
14813 * libio/bug-fclose1.c: New file.
14814
320a5dc0
PB
148152011-05-12 Ulrich Drepper <drepper@gmail.com>
14816
14817 [BZ #12511]
14818 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14819 don't set DF_1_NODELETE here.
14820 (do_lookup_x): When entering new entry test for copy relocation
14821 and if necessary set DF_1_NODELETE flag.
14822 * elf/tst-unique4.cc: New file.
14823 * elf/tst-unique4.h: New file.
14824 * elf/tst-unique4lib.cc: New file.
14825 * elf/Makefile: Add rules to build and run tst-unique4.
14826 Patch by Piotr Bury <pbury@goahead.com>.
14827
22836f52
UD
148282011-05-11 Ulrich Drepper <drepper@gmail.com>
14829
f574184a
UD
14830 [BZ #12052]
14831 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14832
e1fb097f
UD
14833 [BZ #12625]
14834 * misc/mntent_r.c (addmntent): Flush the stream after the output
14835
22836f52
UD
14836 [BZ #12393]
14837 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14838 (is_trusted_path_normalize): Skip initial colon. Append slash
14839 to empty buffer. Duplicate is_trusted_path code but allow
14840 constructed patch to be prefix.
14841 (is_dst): Allow $ORIGIN followed by /.
14842 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14843 Correct testing of result of is_trusted_path_normalize
14844 (decompose_rpath): Fix warning.
14845
7b3b0b2a
UD
148462011-05-10 Ulrich Drepper <drepper@gmail.com>
14847
14848 [BZ #11257]
14849 * grp/initgroups.c (internal_getgrouplist): When we found the service
14850 list through the initgroups entry in nsswitch.conf do not always
14851 continue on a successful lookup. Don't always use the
eac80ce2 14852 __nss_group_database value if it is set.
7b3b0b2a
UD
14853 * nss/nsswitch.conf (initgroups): Change action for successful db
14854 lookup to continue for compatibility.
14855
2a81eaa5
UD
148562011-05-09 Ulrich Drepper <drepper@gmail.com>
14857
be97a69e
UD
14858 [BZ #11532]
14859 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14860 and CP774 modules.
14861 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14862 and CP774 modules.
14863 * iconvdata/tst-tables.sh: Likewise.
14864 * iconvdata/cp770.c: New file.
14865 * iconvdata/cp771.c: New file.
14866 * iconvdata/cp772.c: New file.
14867 * iconvdata/cp773.c: New file.
14868 * iconvdata/cp774.c: New file.
14869 * iconvdata/testdata/CP770: New file.
14870 * iconvdata/testdata/CP770..UTF8: New file.
14871 * iconvdata/testdata/CP771: New file.
14872 * iconvdata/testdata/CP771..UTF8: New file.
14873 * iconvdata/testdata/CP772: New file.
14874 * iconvdata/testdata/CP772..UTF8: New file.
14875 * iconvdata/testdata/CP773: New file.
14876 * iconvdata/testdata/CP773..UTF8: New file.
14877 * iconvdata/testdata/CP774: New file.
14878 * iconvdata/testdata/CP774..UTF8: New file.
14879
14880 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14881 END CHARMAP line.
14882 * iconvdata/gen-8bit-gap.sh: Likewise.
14883 * iconvdata/gen-8bit.sh: Likewise.
14884
c1e9e399
UD
14885 * locale/iso-639.def: Add ary entry.
14886
24c55fb3 14887 [BZ #11258]
96b4b1b0
UD
14888 * locale/C-translit.h.in: Add U20A1 transliteration.
14889
bdc2f971
KB
14890 [BZ #12178]
14891 * locale/iso-639.def: Add wae entry.
14892 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14893
2952b117
UD
14894 [BZ #12545]
14895 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14896 for n.
14897
2a81eaa5
UD
14898 [BZ #12711]
14899 * locale/C-translit.h.in: Add entry for U20B9.
14900 Patch by pravin.d.s@gmail.com.
14901
28377d1b
UD
149022011-05-08 Ulrich Drepper <drepper@gmail.com>
14903
7fb90fb8
UD
14904 [BZ #12713]
14905 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14906 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14907 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14908 in rtld. Use *stat64.
7fb90fb8 14909 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14910 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14911 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14912 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14913 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14914 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14915 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14916 __fstatat64 macros.
7fb90fb8
UD
14917 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14918 * dirent/rewinddir.c: Add libc_hidden_def.
14919 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14920 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14921
28377d1b
UD
14922 * include/dirent.h (__alloc_dir): Add flags parameter.
14923 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14924 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14925 __alloc_dir.
14926 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14927 from fdopendir if O_CLOEXEC is already set.
14928
66bdbaa4
AM
149292011-03-15 Alan Modra <amodra@gmail.com>
14930
14931 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14932 l_tls_firstbyte_offset non-zero. Save padding offset in
14933 l_tls_firstbyte_offset for later use.
14934 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14935 freeing static tls block.
14936
95721191
JN
149372011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14938
14939 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14940 where #ifdef was intended. The intent is to prevent ARG_MAX from
14941 being defined by the kernel headers.
14942
f87dfb1f
UD
149432011-05-07 Ulrich Drepper <drepper@gmail.com>
14944
14945 [BZ #12734]
14946 * resolv/resolv.h: Define RES_NOTLDQUERY.
14947 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14948 no-tld-query and set RES_NOTLDQUERY.
14949 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14950 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14951 modern BIND to search name as TLD unless forbidden.
14952
47c3cd7a
UD
149532011-05-07 Petr Baudis <pasky@suse.cz>
14954 Ulrich Drepper <drepper@gmail.com>
14955
14956 [BZ #12393]
14957 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14958 (is_trusted_path): ...to here.
c1e9ea35 14959 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14960 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14961 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14962
8a35c912
PP
149632011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14964
14965 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14966 __BEGIN/__END_DECLS.
14967
acd41f47
UD
149682011-05-06 Ulrich Drepper <drepper@gmail.com>
14969
14970 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14971 NSS_STATUS_NOTFOUND if no record was found.
14972
597df647
AS
149732011-05-05 Andreas Schwab <schwab@redhat.com>
14974
14975 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14976 (headers-not-in-tirpc): Remove rpc/netdb.h
14977 * resolv/netdb.h: Revert last change.
14978
b9af1301
PP
149792011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14980
14981 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14982 circular dependency between libgcc.a and libc.a.
14983
4e34d5f5
AS
149842011-05-05 Andreas Schwab <schwab@redhat.com>
14985
14986 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14987 * nis/Makefile: Don't install rpcsvc/*.
14988 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14989 instead of <rpc/types.h>.
14990 (MAXHOSTNAMELEN): Define.
14991
00ee369c
AS
149922011-05-03 Andreas Schwab <schwab@redhat.com>
14993
14994 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14995
0b592a30
MB
149962011-04-28 Maciej Babinski <mbabinski@google.com>
14997
14998 [BZ #12714]
14999 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15000 gethostbyname4_r when IPv6 results are possible.
15001
6e04cbbe
UD
150022011-05-02 Ulrich Drepper <drepper@gmail.com>
15003
15004 [BZ #12723]
15005 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15006 _PC_PIPE_BUF handling.
15007
e4ecafe0
BH
150082011-04-30 Bruno Haible <bruno@clisp.org>
15009
15010 [BZ #12717]
15011 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15012 * resolv/netdb.h (getnameinfo): Change type of flags parameter
15013 to 'int'.
15014 * inet/getnameinfo.c (getnameinfo): Likewise.
15015
125ee683
UD
150162011-04-29 Ulrich Drepper <drepper@gmail.com>
15017
15018 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15019 to groups setting in database lookup.
15020 * nss/nsswitch.conf: Add initgroups entry.
15021
b722481a
EB
150222011-04-22 Ulrich Drepper <drepper@gmail.com>
15023
15024 [BZ #12685]
15025 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15026 mode string.
15027 Patch by Eric Blake <eblake@redhat.com>.
15028
4df46dbd
L
150292011-04-20 H.J. Lu <hongjiu.lu@intel.com>
15030
15031 * sunrpc/Makefile (need-export-routines): Add svc_run.
15032 (routines): Remove svc_run.
15033 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15034 * sunrpc/clnt_perr.c (clnt_perrno): Export.
15035 * sunrpc/svc_run.c (svc_run): Likewise.
15036 * sunrpc/svc_udp.c (svcudp_create): Likewise.
15037
e84142d2
UD
150382011-04-21 Ulrich Drepper <drepper@gmail.com>
15039
15040 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15041 problem in reallocation in last patch.
15042
877175d8
UD
150432011-04-20 Ulrich Drepper <drepper@gmail.com>
15044
15045 * sunrpc/Makefile: Move inclusion of Rules.
15046
ab8eed78
UD
150472011-04-19 Ulrich Drepper <drepper@gmail.com>
15048
15049 * nss/nss_files/files-initgroups.c: New file.
15050 * nss/Makefile (libnss_files-routines): Add files-initgroups.
15051 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15052 _nss_files_initgroups_dyn.
15053
e3d8f584
RS
150542011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
15055
15056 * elf/elf.h (R_ARM_IRELATIVE): Define.
15057
af190f45
UD
150582011-04-19 Ulrich Drepper <drepper@gmail.com>
15059
15060 * po/ru.po: Update from translation team.
15061
53cf59ef
UD
150622011-04-17 Ulrich Drepper <drepper@gmail.com>
15063
15064 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
15065 dependencies.
15066
4c559bcd
MF
150672011-02-06 Mike Frysinger <vapier@gentoo.org>
15068
15069 [BZ #12653]
15070 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
15071 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15072 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15073 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15074 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15075
4420675c
AS
150762011-03-28 Andreas Schwab <schwab@linux-m68k.org>
15077
15078 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
15079 differing bytes.
15080 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15081 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15082 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15083
75ea32ab
UD
150842011-04-17 Ulrich Drepper <drepper@gmail.com>
15085
15086 [BZ #12420]
15087 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
15088 storing it.
15089 * stdlib/bug-getcontext.c: New file.
15090 * stdlib/Makefile: Add rules to build and run bug-getcontext.
15091
27390476
AK
150922011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15093
15094 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
15095 instructions into .machine "z9-109".
15096 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15097 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15098
10442705
AK
150992011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15100
15101 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15102 between environment variables and auxiliary vector.
15103
7b57bfe5
UD
151042011-04-16 Ulrich Drepper <drepper@gmail.com>
15105
15106 * Makefile: Add rules to build linkobj/libc.so.
15107 * include/libc-symbols.h: Define libc_hidden_nolink.
15108 * include/rpc/auth.h: Mark functions which are to be hidden.
15109 * include/rpc/auth_des.h: Likewise.
15110 * include/rpc/auth_unix.h: Likewise.
15111 * include/rpc/clnt.h: Likewise.
15112 * include/rpc/des_crypt.h: Likewise.
15113 * include/rpc/key_prot.h: Likewise.
15114 * include/rpc/pmap_clnt.h: Likewise.
15115 * include/rpc/pmap_prot.h: Likewise.
15116 * include/rpc/pmap_rmt.h: Likewise.
15117 * include/rpc/rpc_msg.h: Likewise.
15118 * include/rpc/svc.h: Likewise.
15119 * include/rpc/svc_auth.h: Likewise.
15120 * include/rpc/xdr.h: Likewise.
15121 * nis/Makefile: Link all DSOs against linkobj/libc.so.
15122 * nss/Makefile: Likewise.
15123 * sunrpc/Makefile: Don't install headers. Build library with normal
15124 entry points. Don't build rpcinfo. Link RPC tests appropriately.
15125 * sunrpc/auth_des.c: Hide exported symbols by default, export some
15126 for the compat linking library. Remove use of INTDEF/INTUSE.
15127 * sunrpc/auth_none.c: Likewise.
15128 * sunrpc/auth_unix.c: Likewise.
15129 * sunrpc/authdes_prot.c: Likewise.
15130 * sunrpc/authuxprot.c: Likewise.
15131 * sunrpc/clnt_gen.c: Likewise.
15132 * sunrpc/clnt_perr.c: Likewise.
15133 * sunrpc/clnt_raw.c: Likewise.
15134 * sunrpc/clnt_simp.c: Likewise.
15135 * sunrpc/clnt_tcp.c: Likewise.
15136 * sunrpc/clnt_udp.c: Likewise.
15137 * sunrpc/clnt_unix.c: Likewise.
15138 * sunrpc/des_crypt.c: Likewise.
15139 * sunrpc/des_soft.c: Likewise.
15140 * sunrpc/get_myaddr.c: Likewise.
15141 * sunrpc/key_call.c: Likewise.
15142 * sunrpc/key_prot.c: Likewise.
15143 * sunrpc/netname.c: Likewise.
15144 * sunrpc/pm_getmaps.c: Likewise.
15145 * sunrpc/pm_getport.c: Likewise.
15146 * sunrpc/pmap_clnt.c: Likewise.
15147 * sunrpc/pmap_prot.c: Likewise.
15148 * sunrpc/pmap_prot2.c: Likewise.
15149 * sunrpc/pmap_rmt.c: Likewise.
15150 * sunrpc/publickey.c: Likewise.
15151 * sunrpc/rpc_cmsg.c: Likewise.
15152 * sunrpc/rpc_common.c: Likewise.
15153 * sunrpc/rpc_dtable.c: Likewise.
15154 * sunrpc/rpc_prot.c: Likewise.
15155 * sunrpc/rpc_thread.c: Likewise.
15156 * sunrpc/rtime.c: Likewise.
15157 * sunrpc/svc.c: Likewise.
15158 * sunrpc/svc_auth.c: Likewise.
15159 * sunrpc/svc_authux.c: Likewise.
15160 * sunrpc/svc_raw.c: Likewise.
15161 * sunrpc/svc_run.c: Likewise.
15162 * sunrpc/svc_simple.c: Likewise.
15163 * sunrpc/svc_tcp.c: Likewise.
15164 * sunrpc/svc_udp.c: Likewise.
15165 * sunrpc/svc_unix.c: Likewise.
15166 * sunrpc/svcauth_des.c: Likewise.
15167 * sunrpc/xcrypt.c: Likewise.
15168 * sunrpc/xdr.c: Likewise.
15169 * sunrpc/xdr_array.c: Likewise.
15170 * sunrpc/xdr_float.c: Likewise.
15171 * sunrpc/xdr_intXX_t.c: Likewise.
15172 * sunrpc/xdr_mem.c: Likewise.
15173 * sunrpc/xdr_rec.c: Likewise.
15174 * sunrpc/xdr_ref.c: Likewise.
15175 * sunrpc/xdr_sizeof.c: Likewise.
15176 * sunrpc/xdr_stdio.c: Likewise.
15177
e6c61494
UD
151782011-04-10 Ulrich Drepper <drepper@gmail.com>
15179
15180 [BZ #12650]
15181 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15182 * sysdeps/ia64/dl-tls.h: Likewise.
15183 * sysdeps/powerpc/dl-tls.h: Likewise.
15184 * sysdeps/s390/dl-tls.h: Likewise.
15185 * sysdeps/sh/dl-tls.h: Likewise.
15186 * sysdeps/sparc/dl-tls.h: Likewise.
15187 * sysdeps/x86_64/dl-tls.h: Likewise.
15188 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15189
34fe483e
AS
151902011-03-14 Andreas Schwab <schwab@redhat.com>
15191
15192 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15193 rpath element also skip the following colon.
15194 (expand_dynamic_string_token): Add is_path parameter and pass
15195 down to DL_DST_REQUIRED and _dl_dst_substitute.
15196 (decompose_rpath): Call expand_dynamic_string_token with
15197 non-zero is_path. Ignore empty rpaths.
15198 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15199 with zero is_path.
15200
f12a32e6
AS
152012011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15202
15203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15204 Make cancelable.
15205
38a7d692
UD
152062011-04-09 Ulrich Drepper <drepper@gmail.com>
15207
15208 [BZ #12655]
15209 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15210 Patch by Filipe David Manana <fdmanana@apache.org>.
15211
e451d22b
AS
152122011-04-07 Andreas Schwab <schwab@redhat.com>
15213
15214 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15215 Maintain aligned stack.
15216 (CHECK_RSP): Remove unused macro.
15217
dedc7c7b
UD
152182011-04-03 Ulrich Drepper <drepper@gmail.com>
15219
15220 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15221 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15222
94521213
UD
152232011-04-02 Ulrich Drepper <drepper@gmail.com>
15224
15225 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15226
8cb700c0 15227 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 15228
0354e355
L
152292011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15230
15231 [BZ #12518]
15232 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15233 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15234 * sysdeps/x86_64/memmove.c: New file.
15235 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15236 (memcpy): Renamed to ...
15237 (__new_memcpy): This.
15238 (memcpy): Provide GLIBC_2_14 memcpy.
15239 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15240 (memcpy): Provide GLIBC_2_2_5 memcpy.
15241
8593482f
UD
152422011-04-01 Ulrich Drepper <drepper@gmail.com>
15243
15244 [BZ #12631]
15245 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15246
81a5726b
AS
152472011-03-30 Andreas Schwab <schwab@redhat.com>
15248
15249 * misc/syncfs.c: New file.
15250 * misc/Makefile (routines): Add syncfs.
15251 * posix/unistd.h: Declare syncfs.
15252 * sysdeps/unix/syscalls.list: Add syncfs.
15253
00e5419f
AS
152542011-04-01 Andreas Schwab <schwab@redhat.com>
15255
15256 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15257 open_by_handle_at.
15258 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15259 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15260 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15261 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15262 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15263 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15264 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15265
748876bf
UD
152662011-04-01 Ulrich Drepper <drepper@gmail.com>
15267
658e451d
UD
15268 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15269 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15270 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15271 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15272 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15273 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15274 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15275
748876bf
UD
15276 * io/Makefile: Compile fallocate.c, fallocate64.c, and
15277 sync_file_range.c with -fexceptions.
15278 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15279 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15280 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15281 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15282 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15283 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15284 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
15285 sync_file_range as cancellation point
15286 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
15287 now a wrapper around __call_sync_file_range with cancellation handling.
15288 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15289 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
15290 function name to __call_sync_file_range.
15291 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15292 Add call_sync_file_range.
748876bf 15293
6e63d5e1
AS
152942011-04-01 Andreas Schwab <schwab@redhat.com>
15295
15296 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 15297 bits/timex.h.
6e63d5e1 15298
46998f74
UD
152992011-04-01 Ulrich Drepper <drepper@gmail.com>
15300
4c1423ed
UD
15301 * iconv/iconv.h: Fix typo in comment.
15302 * io/fcntl.h: Likewise.
15303 * libio/stdio.h: Likewise.
15304 * posix/spawn.h: Likewise.
15305 * posix/unistd.h: Likewise.
15306 * stdlib/stdlib.h: Likewise.
15307 * time/time.h: Likewise.
15308 * wcsmbs/wchar.h: Likewise.
15309
158648c0
UD
15310 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15311 open_by_handle): Add.
15312 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15313 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
15314 Augment a few comments.
15315 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15316 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15317 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15318 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15319 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15320 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15321 open_by_handle.
15322
46998f74
UD
15323 * io/fcntl.h (AT_EMPTY_PATH): Define.
15324
83fe108b
UD
153252011-03-30 Ulrich Drepper <drepper@gmail.com>
15326
15327 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15328 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15329 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15330 to...
15331 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
15332 * Versions.def: Add GLIBC_2.14.
15333 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15334 Export.
83fe108b 15335
bb242059
UD
153362011-03-22 Ulrich Drepper <drepper@gmail.com>
15337
15338 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15339 round counter.
15340 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15341
c97a1282
L
153422011-03-20 H.J. Lu <hongjiu.lu@intel.com>
15343
15344 [BZ #12597]
15345 * string/test-strncmp.c (do_page_test): New function.
15346 (check2): Likewise.
15347 (test_main): Call check2.
15348 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15349
2a115601
UD
153502011-03-20 Ulrich Drepper <drepper@gmail.com>
15351
15352 [BZ #12587]
15353 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15354 Handle cache information in CPU leaf 4.
15355 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15356
8126d904
UD
153572011-03-18 Ulrich Drepper <drepper@gmail.com>
15358
042c49c6 15359 [BZ #12583]
8126d904
UD
15360 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15361 character representation.
15362 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15363
ccfe366e
RA
153642011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
15365
15366 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15367 END(__isnan) to END(__isnanf) to match function entry point/label
15368 EALIGN(__isnanf,...).
15369
c6e13027
JJ
153702011-03-10 Jakub Jelinek <jakub@redhat.com>
15371
15372 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15373
33f85a3f
UD
153742011-03-10 Ulrich Drepper <drepper@gmail.com>
15375
028478fa
UD
15376 [BZ #12510]
15377 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15378 copy from the symbol referenced in the relocation to initialize the
15379 used variable.
15380 Patch by Piotr Bury <pbury@goahead.com>.
15381 * elf/Makefile: Add rules to build and tst-unique3.
15382 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15383 * elf/tst-unique3.cc: New file.
15384 * elf/tst-unique3.h: New file.
15385 * elf/tst-unique3lib.cc: New file.
15386 * elf/tst-unique3lib2.cc: New file.
15387
33f85a3f
UD
15388 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15389
03592fc7
MF
153902011-03-10 Mike Frysinger <vapier@gentoo.org>
15391
15392 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15393 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
15394 to _start.
03592fc7 15395
6a5ee102
UD
153962011-03-06 Ulrich Drepper <drepper@gmail.com>
15397
15398 * elf/dl-load.c (_dl_map_object): If we are looking for the first
15399 to-be-loaded object along a path to loader is ld.so.
15400
7e4ba49c
HJ
154012011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15402 Ulrich Drepper <drepper@gmail.com>
15403
15404 * sysdeps/x86_64/memset.S: After aligning destination, code
15405 branches to different locations depending on the value of
15406 misalignment, when multiarch is enabled. Fix this.
15407
154082011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15409
15410 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15411 Set _x86_64_preferred_memory_instruction for AMD processsors.
15412 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15413 Set bit_Prefer_SSE_for_memop for AMD processors.
15414
13a804de
UD
154152011-03-04 Ulrich Drepper <drepper@gmail.com>
15416
15417 * libio/fmemopen.c (fmemopen): Optimize a bit.
15418
9d25c392
AS
154192011-03-03 Andreas Schwab <schwab@redhat.com>
15420
15421 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15422
a5543c6a
RM
154232011-03-03 Roland McGrath <roland@redhat.com>
15424
15425 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15426
012d35f7
DM
154272011-02-28 Aurelien Jarno <aurelien@aurel32.net>
15428
7e4ba49c 15429 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
15430 __bzero_ultra1 instead of __memset_ultra1.
15431
4bff6e01
AS
154322011-02-23 Andreas Schwab <schwab@redhat.com>
15433 Ulrich Drepper <drepper@gmail.com>
15434
15435 [BZ #12509]
15436 * include/link.h (struct link_map): Add l_orig_initfini.
15437 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15438 returning unsuccessfully.
15439 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15440 close of a file loaded at startup, restore the original l_initfini
15441 list.
15442 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15443 list, store the pointer.
15444 * elf/Makefile ($(objpfx)noload-mem): New rule.
15445 (noload-ENV): Define.
15446 (tests): Add $(objpfx)noload-mem.
15447 * elf/noload.c: Include <memcheck.h>.
15448 (main): Call mtrace. Close all opened handles.
15449
f2092faf
AS
154502011-02-17 Andreas Schwab <schwab@redhat.com>
15451
15452 [BZ #12454]
15453 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15454 dependencies are missing.
15455
6c8a2e88
ST
154562011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15457
f2092faf 15458 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
15459 Hurd needs munmap.
15460 * sysdeps/mach/hurd/ifreq.h: New file.
15461
84a42118
PB
154622011-01-27 Petr Baudis <pasky@suse.cz>
15463 Ulrich Drepper <drepper@gmail.com>
15464
071f805e 15465 [BZ 12445]#
84a42118
PB
15466 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15467 to extend_alloca().
15468 * stdio-common/bug23.c: New file.
15469 * stdio-common/Makefile (tests): Add bug23.
15470
e23fe25b
AS
154712010-09-28 Andreas Schwab <schwab@redhat.com>
15472 Ulrich Drepper <drepper@gmail.com>
15473
15474 [BZ #12489]
15475 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15476 before performing relro protection. At old place add assertion
15477 to make sure nothing changed.
15478
d3f02e10
NS
154792011-02-17 Nathan Sidwell <nathan@codesourcery.com>
15480 Glauber de Oliveira Costa <glommer@gmail.com>
15481
15482 * elf/elf.h: Add new ARM TLS relocs.
15483
d55fd7a5
RA
154842011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
15485
15486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15487 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15488 cast from r3.
15489 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
15490 'tests' variable.
15491 * sysdeps/wordsize-64/tst-writev.c: New file.
15492
2206397e
RA
154932011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
15494
15495 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
15496 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
15497 insns in _dl_start to prevent a TOC reference before relocs are
15498 resolved.
15499
e9433893
UD
155002011-02-15 Ulrich Drepper <drepper@gmail.com>
15501
15502 [BZ #12469]
15503 * Makeconfig: Remove RANLIB definition.
15504 * Makerules: Don't use RANLIB.
15505 * aclocal.m4: Remove ranlib test.
15506 * configure.in: No need to check for ranlib.
15507 * elf/rtld-Rules: Don't use RANLIB.
15508
f75286c6
ST
155092011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15510
8e31c82d
ST
15511 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15512 protection macro.
15513 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15514 inclusion protection macro.
15515
f75286c6
ST
15516 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
15517 SIGRTMIN and SIGRTMAX and print information in that case only when
15518 SIGRTMIN is defined.
15519
c1d0e639
JJ
155202011-02-11 Jakub Jelinek <jakub@redhat.com>
15521
15522 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15523 arginfo fn returning -1.
15524
15525 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15526 and thousands string is zero terminated.
15527
edf9294e
AS
155282011-02-03 Andreas Schwab <schwab@redhat.com>
15529
15530 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15531 sysdeps/unix/sysv/linux/bits/socket.h.
15532
2b7e92df
ST
155332011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15534
edf9294e
AS
15535 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15536 (__CPU_COUNT): Remove old macros.
15537 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15538 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15539 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
15540 (__sched_cpualloc, __sched_cpufree): Add declarations.
15541
a4c7ea7b
UD
155422011-02-05 Ulrich Drepper <drepper@gmail.com>
15543
15544 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15545 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15546 * nscd/aicache.c (addhstaiX): Return timeout of added value.
15547 (readdhstai): Return value of addhstaiX call.
15548 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15549 (addgrbyX): Return value returned by cache_addgr.
15550 (readdgrbyname): Return value returned by addgrbyX.
15551 (readdgrbygid): Likewise.
15552 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15553 (addpwbyX): Return value returned by cache_addpw.
15554 (readdpwbyname): Return value returned by addhstbyX.
15555 (readdpwbyuid): Likewise.
15556 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15557 (addservbyX): Return value returned by cache_addserv.
15558 (readdservbyname): Return value returned by addservbyX:
15559 (readdservbyport): Likewise.
15560 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15561 (addhstbyX): Return value returned by cache_addhst.
15562 (readdhstbyname): Return value returned by addhstbyX.
15563 (readdhstbyaddr): Likewise.
15564 (readdhstbynamev6): Likewise.
15565 (readdhstbyaddrv6): Likewise.
15566 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15567 (readdinitgroups): Return value returned by addinitgroupsX.
15568 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15569 (prune_cache): Keep track of timeout value of re-added entries.
15570 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15571 * nscd/nscd.h: Adjust prototypes of readd* functions.
15572
a0bf67cc
RM
155732011-02-04 Roland McGrath <roland@redhat.com>
15574
15575 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15576 (nis_stats): Likewise.
15577 * nis/nis_modify.c (nis_modify): Likewise.
15578 * nis/nis_remove.c (nis_remove): Likewise.
15579 * nis/nis_add.c (nis_add): Likewise.
15580
15581 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15582
15583 * posix/fnmatch_loop.c: Add some consts.
15584
15585 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15586
435b95eb
L
155872011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15588
15589 [BZ #12460]
15590 * config.make.in (config-cflags-novzeroupper): Define.
15591 * configure.in: Substitute libc_cv_cc_novzeroupper.
15592 * elf/Makefile (AVX-CFLAGS): Define.
15593 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15594 (CFLAGS-tst-auditmod4a.c): Likewise.
15595 (CFLAGS-tst-auditmod4b.c): Likewise.
15596 (CFLAGS-tst-auditmod6b.c): Likewise.
15597 (CFLAGS-tst-auditmod6c.c): Likewise.
15598 (CFLAGS-tst-auditmod7b.c): Likewise.
15599 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15600
8517b15e
UD
156012011-02-02 Ulrich Drepper <drepper@gmail.com>
15602
15603 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15604 function to the callback.
15605 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15606
10a656fe
AS
156072011-02-02 Andreas Schwab <schwab@redhat.com>
15608
15609 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15610 of errno.
15611
968dad0a
UD
156122011-01-19 Ulrich Drepper <drepper@gmail.com>
15613
9f94d2ea 15614 [BZ #11724]
968dad0a
UD
15615 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15616 of constructors.
15617 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15618 of destructors.
15619 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15620
15621 [BZ #11724]
15622 * elf/Makefile: Add rules to build and run new test.
15623 * elf/tst-initorder.c: New file.
15624 * elf/tst-initorder.exp: New file.
15625 * elf/tst-initordera1.c: New file.
15626 * elf/tst-initordera2.c: New file.
15627 * elf/tst-initordera3.c: New file.
15628 * elf/tst-initordera4.c: New file.
15629 * elf/tst-initorderb1.c: New file.
15630 * elf/tst-initorderb2.c: New file.
15631 * elf/tst-order-a1.c: New file.
15632 * elf/tst-order-a2.c: New file.
15633 * elf/tst-order-a3.c: New file.
15634 * elf/tst-order-a4.c: New file.
15635 * elf/tst-order-b1.c: New file.
15636 * elf/tst-order-b2.c: New file.
15637 * elf/tst-order-main.c: New file.
15638 New test case by George Gensure <werkt0@gmail.com>.
15639
86e92359
UD
156402010-10-01 Andreas Schwab <schwab@redhat.com>
15641
15642 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15643 decoding ACE if AI_CANONIDN.
15644
5d5732b0
UD
156452011-01-18 Ulrich Drepper <drepper@gmail.com>
15646
15647 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15648
a77e8cbc
UD
156492011-01-17 Ulrich Drepper <drepper@gmail.com>
15650
6392473f
UD
15651 * version.h (RELEASE): Bump for 2.13 release.
15652 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15653
620a0529
UD
15654 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15655
18ba70a5
UD
15656 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15657 MADV_NOHUGEPAGE.
32465c3e
UD
15658 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15659 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15660 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15661 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15662 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15663 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15664
c0dafcf1
UD
15665 * posix/getconf.c: Update copyright year.
15666 * catgets/gencat.c: Likewise.
15667 * csu/version.c: Likewise.
15668 * debug/catchsegv.sh: Likewise.
15669 * debug/xtrace.sh: Likewise.
15670 * elf/ldconfig.c: Likewise.
15671 * elf/ldd.bash.in: Likewise.
15672 * elf/sprof.c (print_version): Likewise.
15673 * iconv/iconv_prog.c: Likewise.
15674 * iconv/iconvconfig.c: Likewise.
15675 * locale/programs/locale.c: Likewise.
15676 * locale/programs/localedef.c: Likewise.
15677 * malloc/memusage.sh: Likewise.
15678 * malloc/mtrace.pl: Likewise.
15679 * nscd/nscd.c (print_version): Likewise.
15680 * nss/getent.c: Likewise.
15681
a77e8cbc
UD
15682 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15683 PF_CAIF, and PF_ALG.
15684 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15685
77e8bddf
AS
156862011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15687
1f20b93a
AS
15688 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15689 (modules-names): Use them.
15690 (ifunc-test-modules, ifunc-pie-tests): Define.
15691 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15692 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15693 (test-extras): Likewise.
15694 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15695 $(compile-command.c).
15696 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15697 (all-built-dso): Define.
15698 (check-textrel.out, check-execstack.out): Depend on it.
15699
77e8bddf
AS
15700 * configure.in: Don't override --enable-multi-arch.
15701
bc425b33
UD
157022011-01-15 Ulrich Drepper <drepper@gmail.com>
15703
15704 [BZ #6812]
15705 * nscd/hstcache.c (tryagain): Define.
15706 (cache_addhst): Return tryagain not notfound for temporary errors.
15707 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15708 failed.
15709
794c3ad3
UD
157102011-01-14 Ulrich Drepper <drepper@gmail.com>
15711
70181fdd
UD
15712 [BZ #10563]
15713 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15714 to make the syscall.
15715 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15716
794c3ad3
UD
15717 [BZ #12378]
15718 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15719 and fall back to matching as normal character if the string ends before
15720 the matching ']' is found. This is what POSIX requires.
15721 * posix/testfnm.c: Adjust test result.
15722 * posix/globtest.sh: Adjust test result. Add new test.
15723 * posix/tst-fnmatch.input: Likewise.
15724 * posix/tst-fnmatch2.c: Add new test.
15725
68dc9497
AS
157262010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15727
15728 * elf/Makefile (check-execstack): Revert last change. Depend on
15729 check-execstack.h.
15730 (check-execstack.h): New target.
15731 (generated): Add check-execstack.h.
15732 * elf/check-execstack.c: Include "check-execstack.h".
15733 (main): Revert last change.
15734 (handle_file): Return zero if GNU_STACK is absent and
15735 DEFAULT_STACK_PERMS doesn't include PF_X.
15736
451f001b
UD
157372011-01-13 Ulrich Drepper <drepper@gmail.com>
15738
cfa28e56
UD
15739 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15740 in child fails because the descriptor is already closed.
8cf8ce17
UD
15741 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15742 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15743 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 15744
1086d70d
UD
15745 [BZ #12397]
15746 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15747 syscall.
15748
451f001b
UD
15749 [BZ #10484]
15750 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15751 temporary buffer used to handle multi lookups locally.
a85b5cb4 15752 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 15753
08769175
UD
157542011-01-12 Ulrich Drepper <drepper@gmail.com>
15755
15756 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15757 loader is ld.so.
15758
5e49c52e
UD
157592011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15760
15761 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15762 alignment for SSE2.
15763
60522a5f
UD
157642011-01-12 Ulrich Drepper <drepper@gmail.com>
15765
15766 [BZ #12394]
15767 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15768 characters. When rounding increased number of integer digits recompute
15769 number of groups.
15770 * stdio-common/tst-grouping.c: New file.
15771 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15772
f257bbd7
UD
157732011-01-09 Ulrich Drepper <drepper@gmail.com>
15774
15775 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15776 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15777
15778 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15779 void.
15780 * bits/select.h: Likewise.
15781
fa9c15cb
UD
157822011-01-08 Ulrich Drepper <drepper@gmail.com>
15783
15784 * po/ja.po: Update from translation team.
15785
16c2895f
DM
157862011-01-04 David S. Miller <davem@sunset.davemloft.net>
15787
15788 [BZ #11155]
15789 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15790 implementation just like for lxstat, fxstatat, et al.
15791
2543fef2
JM
157922010-12-27 Jim Meyering <meyering@redhat.com>
15793
15794 [BZ #12348]
15795 * posix/regexec.c (build_trtable): Return failure indication upon
15796 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15797
98727dbe
UD
157982010-12-25 Ulrich Drepper <drepper@gmail.com>
15799
5bd6dc5c
UD
15800 [BZ #12201]
15801 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15802 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15803 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15804 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15805
97983464
UD
15806 [BZ #12207]
15807 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15808
98727dbe
UD
15809 [BZ #12204]
15810 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15811 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15812
4a531bb0
L
158132010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15814
15815 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15816 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15817 script has SORT_BY_INIT_PRIORITY.
15818 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15819 NO_CTORS_DTORS_SECTIONS is defined.
15820 * elf/soinit.c: Likewise.
15821 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15822 NO_CTORS_DTORS_SECTIONS is defined.
15823 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15824 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15825 * sysdeps/sh/init-first.c: Likewise.
15826 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15827
07eb4b71
UD
158282010-12-24 Ulrich Drepper <drepper@gmail.com>
15829
15830 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15831 always use the slow path.
15832
30950a5f
RA
158332010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15834
15835 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15836 similar rule which adds the sysdep directories to the header search in
15837 order to pick up the correct platform stackinfo.h.
15838 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15839 perform test if it is, otherwise return successfully without testing.
15840 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15841 DEFAULT_STACK_PERMS define in stackinfo.h.
15842 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15843 defined in stackinfo.h.
15844 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15845 DEFAULT_STACK_PERMS defined in stackinfo.h.
15846 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15847 * sysdeps/ia64/stackinfo.h: Likewise.
15848 * sysdeps/s390/stackinfo.h: Likewise.
15849 * sysdeps/sh/stackinfo.h: Likewise.
15850 * sysdeps/sparc/stackinfo.h: Likewise.
15851 * sysdeps/x86_64/stackinfo.h: Likewise.
15852 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15853 PF_X for powerpc64. Retain PF_X for powerpc32.
15854
db753e2c
UD
158552010-12-19 Ulrich Drepper <drepper@gmail.com>
15856
14b697f7
UD
15857 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15858 accurately.
db753e2c
UD
15859 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15860 GETDENTS_64BIT_ALIGNED.
15861
28300719
UD
158622010-12-14 Ulrich Drepper <dreper@gmail.com>
15863
14b697f7 15864 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15865
4f197237
AS
158662010-12-10 Andreas Schwab <schwab@redhat.com>
15867
dbb0472f
AS
15868 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15869 _GNU_SOURCE.
15870
4f197237
AS
15871 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15872 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15873 Remove __restrict.
15874 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15875 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15876
fb88ac72
UD
158772010-12-09 Ulrich Drepper <drepper@gmail.com>
15878
15879 [BZ #11655]
15880 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15881 are initialized.
15882
42acbb92
JJ
158832010-12-09 Jakub Jelinek <jakub@redhat.com>
15884
15885 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15886
c038d98d
UD
158872010-12-03 Ulrich Drepper <drepper@gmail.com>
15888
15889 * po/it.po: Update from translation team.
15890
3a4a2499
L
158912010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15892
15893 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15894 unused codes.
15895
1e24cf6e
UD
158962010-11-30 Ulrich Drepper <drepper@gmail.com>
15897
15898 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15899
a7690819
AS
159002010-11-24 Andreas Schwab <schwab@redhat.com>
15901
15902 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15903 specially.
15904 (gaih_getanswer_slice): Likewise.
15905
3bf8d1b1
JJ
159062010-10-20 Jakub Jelinek <jakub@redhat.com>
15907
15908 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15909
6db52fbb
PB
159102010-05-31 Petr Baudis <pasky@suse.cz>
15911
15912 [BZ #11149]
15913 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15914 silently even in the chroot mode.
15915
eaca7569
UD
159162010-11-22 Ulrich Drepper <drepper@gmail.com>
15917
15918 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15919 last patch a bit. Pretty printing
15920
3056dcdb
UD
159212010-05-31 Petr Baudis <pasky@suse.cz>
15922
15923 [BZ #10085]
15924 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15925 initialization of skip_initgroups_dyn.
15926
cf7c9078
UD
159272010-11-19 Ulrich Drepper <drepper@gmail.com>
15928
15929 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15930 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15931
a1fb5e3e
UD
159322010-11-16 Ulrich Drepper <drepper@gmail.com>
15933
15934 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15935
3540d66b
AS
159362010-11-11 Andreas Schwab <schwab@redhat.com>
15937
15938 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15939 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15940 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15941 ($(objpfx)tst-fnmatch-mem): New rule.
15942 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15943 * posix/tst-fnmatch.c (main): Call mtrace.
15944
13b69574
L
159452010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15946
15947 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15948 Support Intel processor model 6 and model 0x2c.
15949
da93d214
LM
159502010-11-10 Luis Machado <luisgpm@br.ibm.com>
15951
15952 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15953 signed comparison.
15954
8ca52c6e
L
159552010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15956
15957 [BZ #12205]
15958 * string/test-strncasecmp.c (check_result): New function.
15959 (do_one_test): Use it.
15960 (check1): New function.
15961 (test_main): Use it.
15962 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15963 Support strcasecmp and strncasecmp.
15964
69da074d
UD
159652010-11-08 Ulrich Drepper <drepper@gmail.com>
15966
15967 [BZ #12194]
15968 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15969 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15970
ff02d528
L
159712010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15972
15973 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15974 IFUNC support.
15975 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15976 memset-x86-64.
15977 * sysdeps/x86_64/multiarch/bzero.S: New file.
15978 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15979 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15980 * sysdeps/x86_64/multiarch/memset.S: New file.
15981 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15982 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15983 Set bit_Prefer_SSE_for_memop for Intel processors.
15984 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15985 Define.
15986 (index_Prefer_SSE_for_memop): Define.
15987 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15988
344d0b54
LM
159892010-11-04 Luis Machado <luisgpm@br.ibm.com>
15990
15991 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15992 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15993
c0dde15b
UD
159942010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15995
15996 [BZ #12191]
15997 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15998 (__x86_64_raw_data_cache_size_half): Likewise.
15999 (__x86_64_raw_shared_cache_size): Likewise.
16000 (__x86_64_raw_shared_cache_size_half): Likewise.
16001
16002 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16003 (__x86_64_raw_data_cache_size_half): Likewise.
16004 (__x86_64_raw_shared_cache_size): Likewise.
16005 (__x86_64_raw_shared_cache_size_half): Likewise.
16006 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16007 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16008 and __x86_64_raw_shared_cache_size_half. Round
16009 __x86_64_data_cache_size_half, __x86_64_data_cache_size
16010 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16011 to multiple of 256 bytes.
16012
0e516e0e
MS
160132010-11-03 Ulrich Drepper <drepper@gmail.com>
16014
16015 [BZ #12167]
16016 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16017 of inacessible symlinks. Verify result of symlink before returning it.
16018 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16019 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16020
0e012e87
ER
160212010-10-28 Erich Ritz <erichritz@gmail.com>
16022
16023 * math/math.h (isinf): Fix typo in comment.
16024
de0ff7bc
UD
160252010-11-01 Ulrich Drepper <drepper@gmail.com>
16026
16027 * po/da.po: Update from translation team.
16028
fa41c84d
UD
160292010-10-26 Ulrich Drepper <drepper@gmail.com>
16030
16031 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16032 is added to the list.
16033
f0967738
AK
160342010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16035 Ulrich Drepper <drepper@gmail.com>
16036
16037 * elf/dl-object.c (_dl_new_object): Don't append the new object to
16038 the global list here. Move code to...
16039 (_dl_add_to_namespace_list): ...here. New function.
16040 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16041 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16042 * elf/dl-load.c (lose): Don't remove the element from the list.
16043 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16044 (_dl_map_object): Likewise.
16045
160462010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
16047
16048 [BZ #12159]
16049 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16050 into all bytes of SSE register.
16051 Patch by Richard Li <richardpku@gmail.com>.
16052
f0967738 160532010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
16054
16055 [BZ #12140]
16056 * malloc/malloc.c (_int_free): Fill correct number of bytes when
16057 perturbing.
16058
d0b9e94f
MB
160592010-10-20 Michael B. Brutman <brutman@us.ibm.com>
16060
16061 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16062 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16063 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
16064 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
16066 submachine.
16067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16068
8e9f92e9
AS
160692010-10-22 Andreas Schwab <schwab@redhat.com>
16070
16071 * include/dlfcn.h (__RTLD_SECURE): Define.
16072 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
16073 mode & __RTLD_SECURE instead.
16074 (open_path): Rename preloaded parameter to secure.
16075 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
16076 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
16077 * elf/dl-deps.c (openaux): Likewise.
16078 * elf/rtld.c (struct map_args): Remove is_preloaded.
16079 (map_doit): Don't use it.
16080 (dl_main): Likewise.
16081 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
16082 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16083
bc96fbda
AS
160842010-09-09 Andreas Schwab <schwab@redhat.com>
16085
16086 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
16087 (sysd-rules-targets): Remove duplicates.
16088 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
16089 rtld-%.$o dependency.
16090
22cd1c9b
AS
160912010-10-18 Andreas Schwab <schwab@redhat.com>
16092
16093 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
16094 _dl_map_object do it.
16095
18edac48
UD
160962010-10-19 Ulrich Drepper <drepper@gmail.com>
16097
16098 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16099 fast fma builtins, define the macros in the C99 standard.
16100 (FP_FAST_FMAF): Likewise.
16101 (FP_FAST_FMAL): Likewise.
16102 * sysdeps/x86_64/bits/mathdef.h: Likewise.
16103
16104 * bits/mathdef.h: Update copyright year.
16105 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16106
d2050124
MM
161072010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
16108
16109 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16110 builtins, define the macros in the C99 standard.
16111 (FP_FAST_FMAF): Likewise.
16112 (FP_FAST_FMAL): Likewise.
16113 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16114 multiply/add.
16115 (FP_FAST_FMAF): Likewise.
16116
475facd1
JJ
161172010-10-15 Jakub Jelinek <jakub@redhat.com>
16118
16119 [BZ #3268]
16120 * math/libm-test.inc (fma_test): Some new testcases.
16121 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16122 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16123 y and infinite z. Do multiplication by C already in long double.
16124 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16125 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16126 y and infinite z. Do bitwise or of inexact bit into u.d.
16127 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16128 * sysdeps/i386/fpu/s_fmaf.S: Removed.
16129 * sysdeps/i386/fpu/s_fma.S: Removed.
16130 * sysdeps/i386/fpu/s_fmal.S: Removed.
16131
7c08a05c
JJ
161322010-10-16 Jakub Jelinek <jakub@redhat.com>
16133
16134 [BZ #3268]
16135 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16136 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16137 computation is not scheduled after fetestexcept. Fix value
16138 of minimum denormal long double.
16139
f3f7372d
JJ
161402010-10-14 Jakub Jelinek <jakub@redhat.com>
16141
16142 [BZ #3268]
16143 * math/libm-test.inc (fma_test): Add some more tests.
16144 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16145 correctly.
16146
14d43591
AS
161472010-10-15 Andreas Schwab <schwab@redhat.com>
16148
16149 * scripts/data/localplt-s390-linux-gnu.data: New file.
16150 * scripts/data/localplt-s390x-linux-gnu.data: New file.
16151
5e908464
JJ
161522010-10-13 Jakub Jelinek <jakub@redhat.com>
16153
16154 [BZ #3268]
16155 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16156 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16157 instead of dbl-64.
16158 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16159 inlines.
16160 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16161 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16162 if one of x and y is very large and the other is subnormal.
16163 * sysdeps/s390/fpu/s_fmaf.c: New file.
16164 * sysdeps/s390/fpu/s_fma.c: New file.
16165 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16166 * sysdeps/powerpc/fpu/s_fma.S: New file.
16167 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16168 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16169 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16170
161712010-10-12 Jakub Jelinek <jakub@redhat.com>
16172
16173 [BZ #3268]
16174 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16175 fma tests.
16176 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16177 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16178 * sysdeps/i386/i686/multiarch/s_fma.c: Include
16179 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16180 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16181 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16182 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16183
b833d51f
UD
161842010-10-12 Ulrich Drepper <drepper@redhat.com>
16185
16186 [BZ #12078]
16187 * posix/regcomp.c (parse_branch): One more memory leak plugged.
16188 * posix/bug-regex31.input: Add test case.
16189
1751705d
UD
161902010-10-11 Ulrich Drepper <drepper@gmail.com>
16191
e9b9cbf5
UD
16192 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16193 * posix/bug-regex31.input: New file.
16194
16195 [BZ #12078]
16196 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16197 (parse_sub_exp): Fix last change, use postorder.
16198
ef06edbe
UD
16199 * posix/bug-regex31.c: New file.
16200 * posix/Makefile: Add rules to build and run bug-regex31.
16201
a129c80d
UD
16202 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16203
16204 [BZ #12078]
16205 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16206
b76b818e
UD
16207 [BZ #12108]
16208 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16209 to have entries in sys_siglist.
16210
1751705d
UD
16211 [BZ #12093]
16212 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16213 be NULL.
16214
9ff8d36f
JJ
162152010-10-07 Jakub Jelinek <jakub@redhat.com>
16216
16217 [BZ #3268]
16218 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16219 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16220 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16221 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16222 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16223 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16224 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16225 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16226 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16227 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16228 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16229 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16230 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16231 * math/ftestexcept.c (fetestexcept): Likewise.
16232 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16233 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16234 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16235 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16236 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16237 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16238 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16239
af325969
UD
162402010-10-11 Ulrich Drepper <drepper@gmail.com>
16241
c579b202 16242 [BZ #12107]
af325969
UD
16243 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16244 newline.
16245
67a67b95
UD
162462010-10-06 Ulrich Drepper <drepper@gmail.com>
16247
16248 * string/bug-strstr1.c: New file.
16249 * string/Makefile: Add rules to build and run bug-strstr1.
16250
5fb308bc
EB
162512010-10-05 Eric Blake <eblake@redhat.com>
16252
16253 [BZ #12092]
16254 * string/str-two-way.h (two_way_long_needle): Always clear memory
16255 when skipping input due to the shift table.
16256
45db99c7
UD
162572010-10-03 Ulrich Drepper <drepper@gmail.com>
16258
3b111893
UD
16259 [BZ #12005]
16260 * malloc/mcheck.c: Handle large requests.
16261
45db99c7
UD
16262 [BZ #12077]
16263 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16264 for strncmp and strncasecmp.
16265 * string/stratcliff.c: Add tests for strcmp and strncmp.
16266 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16267
cf7a1eb8
NI
162682010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16269
16270 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16271 __set_fpscr.
16272
6484ba5e
AJ
162732010-09-30 Andreas Jaeger <aj@suse.de>
16274
16275 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16276 (CGROUP_SUPER_MAGIC): Define.
16277 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16278 Handle btrfs and cgroup file systems.
16279 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16280 Likewise.
16281
91c42559
LM
162822010-09-27 Luis Machado <luisgpm@br.ibm.com>
16283
16284 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16285 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16286
87a97932
AK
162872010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16288
16289 [BZ #12067]
16290 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16291 trying to locate the ELF header.
16292
c21cc9bc
AS
162932010-09-27 Andreas Schwab <schwab@redhat.com>
16294
16295 [BZ #11611]
16296 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16297 Mask out sign-bit copies when constructing f_fsid.
16298
315970f6
PB
162992010-09-24 Petr Baudis <pasky@suse.cz>
16300
16301 * debug/stack_chk_fail_local.c: Add missing licence exception.
16302 * debug/warning-nop.c: Likewise.
16303
1ac7a2c7
JM
163042010-09-15 Joseph Myers <joseph@codesourcery.com>
16305
16306 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16307 implementing getdents64 using getdents syscall, set d_type if
16308 __ASSUME_GETDENTS32_D_TYPE.
16309
56801c50
AS
163102010-09-16 Andreas Schwab <schwab@redhat.com>
16311
16312 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16313 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16314
dda51327
UD
163152010-09-21 Ulrich Drepper <drepper@redhat.com>
16316
16317 [BZ #12037]
16318 * posix/unistd.h: Undo change of feature selection for ftruncate from
16319 2010-01-11.
16320
8ffcee4a
UD
163212010-09-20 Ulrich Drepper <drepper@redhat.com>
16322
a545ecd9 16323 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
16324 detection.
16325
e24f0a8b
AS
163262010-09-20 Andreas Schwab <schwab@redhat.com>
16327
16328 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16329 fanotify_mark.
16330 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16331
7291c56f
AS
163322010-09-14 Andreas Schwab <schwab@redhat.com>
16333
16334 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16335 variables after CHECK_SP call.
16336 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16337
bc5fb037
AS
163382010-09-13 Andreas Schwab <schwab@redhat.com>
16339 Ulrich Drepper <drepper@redhat.com>
16340
16341 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16342 re-relocationg ld.so.
16343 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16344 _dl_init_paths call.
16345 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
16346 here anymore.
16347
e66e7419
UD
163482010-09-14 Ulrich Drepper <drepper@redhat.com>
16349
16350 * resolv/res_init.c (__res_vinit): Count the default server we added.
16351
c044aa75
CLT
163522010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
16353 Ulrich Drepper <drepper@redhat.com>
16354
16355 [BZ #11968]
16356 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16357 (____longjmp_chk): Use %ebx for saving value across system call.
16358 Add unwind info.
16359
32cf4069
AS
163602010-09-06 Andreas Schwab <schwab@redhat.com>
16361
16362 * manual/Makefile: Don't mix pattern rules with normal rules.
16363
817328ee
AS
163642010-09-05 Andreas Schwab <schwab@linux-m68k.org>
16365
16366 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16367 operation.
16368 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16369 * libio/iofopncook.c (_IO_cookie_init): Likewise.
16370 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16371 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16372 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16373 Likewise.
16374
29fddf61
UD
163752010-09-04 Ulrich Drepper <drepper@redhat.com>
16376
16377 [BZ #11979]
16378 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16379 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16380
0959ffc9
UD
163812010-09-02 Ulrich Drepper <drepper@redhat.com>
16382
16383 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16384 * sysdeps/x86_64/addmul_1.S: Likewise.
16385 * sysdeps/x86_64/lshift.S: Likewise.
16386 * sysdeps/x86_64/mul_1.S: Likewise.
16387 * sysdeps/x86_64/rshift.S: Likewise.
16388 * sysdeps/x86_64/sub_n.S: Likewise.
16389 * sysdeps/x86_64/submul_1.S: Likewise.
16390
ece29840
ST
163912010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
16392
0959ffc9
UD
16393 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16394 Define __sched_param instead of SCHED_* and sched_param when
ece29840 16395 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 16396 * bits/sched.h [__need_schedparam]
ece29840 16397 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
16398 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16399 (__defined_schedparam): Define to 1.
ece29840
ST
16400 (__sched_param): New structure, identical to sched_param.
16401 (__need_schedparam): Undefine.
16402
e53a31fe
MF
164032010-08-31 Mike Frysinger <vapier@gentoo.org>
16404
fdc0c10d
MF
16405 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16406 (epoll_create1): Declare.
16407
e53a31fe
MF
16408 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16409
a726d796
AS
164102010-08-31 Andreas Schwab <schwab@redhat.com>
16411
16412 [BZ #7066]
16413 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16414 shifting retval into place.
16415
2f3e3dc7
UD
164162010-09-01 Ulrich Drepper <drepper@redhat.com>
16417
f2933da9
UD
16418 * nis/rpcsvc/nis.h: Update copyright notice.
16419 * nis/rpcsvc/nis.x: Likewise.
16420 * nis/rpcsvc/nis_callback.h: Likewise.
16421 * nis/rpcsvc/nis_callback.x: Likewise.
16422 * nis/rpcsvc/nis_object.x: Likewise.
16423 * nis/rpcsvc/nis_tags.h: Likewise.
16424 * nis/rpcsvc/yp.h: Likewise.
16425 * nis/rpcsvc/yp.x: Likewise.
16426 * nis/rpcsvc/ypupd.h: Likewise.
16427 * nis/yp_xdr.c: Likewise.
16428 * nis/ypupdate_xdr.c: Likewise.
16429
2f3e3dc7
UD
16430 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
16431 mainly the body of pmap_getport. Add parameters to specify timeouts.
16432 (pmap_getport): Use __libc_rpc_getport.
16433 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16434 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16435 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16436
f3dcc2f9
AS
164372010-08-31 Andreas Schwab <schwab@linux-m68k.org>
16438
16439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16440 fanotify_mark.
16441
6d34eb5b
RM
164422010-08-27 Roland McGrath <roland@redhat.com>
16443
16444 * sysdeps/i386/i686/multiarch/Makefile
16445 (CFLAGS-varshift.c): New variable.
16446
9ea3de11
UD
164472010-08-27 Ulrich Drepper <drepper@redhat.com>
16448
c96d23fc
UD
16449 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16450 * sysdeps/i386/i686/multiarch/varshift.c: New file.
16451
9ea3de11
UD
16452 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16453
16454 * sysdeps/x86_64/strlen.S: Minimal code improvement.
16455
623aac7f
L
164562010-08-26 H.J. Lu <hongjiu.lu@intel.com>
16457
16458 * sysdeps/x86_64/strlen.S: Unroll the loop.
16459 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16460 strlen-sse2 strlen-sse2-bsf.
16461 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16462 __strlen_no_bsf if bit_Slow_BSF is set.
16463 (__strlen_sse42): Removed.
16464 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16465 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16466
8b2b7715
RM
164672010-08-25 Roland McGrath <roland@redhat.com>
16468
16469 * sysdeps/x86_64/multiarch/varshift.S: File removed.
16470 * sysdeps/x86_64/multiarch/varshift.c: New file.
16471 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16472 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16473 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16474 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16475
e73015f2
L
164762010-08-25 H.J. Lu <hongjiu.lu@intel.com>
16477
16478 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16479 strlen-sse2 strlen-sse2-bsf.
16480 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16481 __strlen_sse2_bsf if bit_Slow_BSF is unset.
16482 (__strlen_sse2): Removed.
16483 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16484 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16485 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16486 bit_Slow_BSF for Atom.
16487 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16488 (index_Slow_BSF): Define.
16489 (HAS_SLOW_BSF): Define.
16490
df24a73e
UD
164912010-08-25 Ulrich Drepper <drepper@redhat.com>
16492
16493 [BZ #10851]
16494 * resolv/res_init.c (__res_vinit): When no server address at all
16495 is given default to loopback.
16496
f2ac4868
RM
164972010-08-24 Roland McGrath <roland@redhat.com>
16498
09055553
RM
16499 * configure.in: Remove config-name.h generation.
16500 * configure: Regenerated.
16501 * config-name.in: File removed.
16502 * scripts/config-uname.sh: New file.
16503 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16504 ($(objdir)config-name.h): New target.
16505
f2ac4868
RM
16506 * sunrpc/rpc_parse.h: Avoid nested comment.
16507
73f27d5e
RH
165082010-08-24 Richard Henderson <rth@redhat.com>
16509 Ulrich Drepper <drepper@redhat.com>
16510 H.J. Lu <hongjiu.lu@intel.com>
16511
16512 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16513 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16514 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16515 Replace _mm_srli_si128 with __m128i_shift_right. Replace
16516 _mm_alignr_epi8 with _mm_loadu_si128.
16517 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
16518 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
16519 (__m128i_shift_right): Removed.
16520 * sysdeps/i386/i686/multiarch/varshift.h: New file.
16521 * sysdeps/i386/i686/multiarch/varshift.S: New file.
16522 * sysdeps/x86_64/multiarch/varshift.h: New file.
16523 * sysdeps/x86_64/multiarch/varshift.S: New file.
16524
84b9230c
MF
165252010-08-21 Mike Frysinger <vapier@gentoo.org>
16526
16527 * configure.in: Move assembler checks to before sysdep dir checking.
16528
9bbd0ddc
PB
165292010-08-20 Petr Baudis <pasky@suse.cz>
16530
16531 * LICENSES: Sync the sunrpc license.
16532
9da4bb31
UD
165332010-08-19 Ulrich Drepper <drepper@redhat.com>
16534
a7ab6ec8
UD
16535 * sunrpc/auth_des.c: Update copyright notice once again.
16536 * sunrpc/auth_none.c: Likewise.
16537 * sunrpc/auth_unix.c: Likewise.
16538 * sunrpc/authdes_prot.c: Likewise.
16539 * sunrpc/authuxprot.c: Likewise.
16540 * sunrpc/bindrsvprt.c: Likewise.
16541 * sunrpc/clnt_gen.c: Likewise.
16542 * sunrpc/clnt_perr.c: Likewise.
16543 * sunrpc/clnt_raw.c: Likewise.
16544 * sunrpc/clnt_simp.c: Likewise.
16545 * sunrpc/clnt_tcp.c: Likewise.
16546 * sunrpc/clnt_udp.c: Likewise.
16547 * sunrpc/clnt_unix.c: Likewise.
16548 * sunrpc/des_crypt.c: Likewise.
16549 * sunrpc/des_soft.c: Likewise.
16550 * sunrpc/get_myaddr.c: Likewise.
16551 * sunrpc/getrpcport.c: Likewise.
16552 * sunrpc/key_call.c: Likewise.
16553 * sunrpc/key_prot.c: Likewise.
16554 * sunrpc/openchild.c: Likewise.
16555 * sunrpc/pm_getmaps.c: Likewise.
16556 * sunrpc/pm_getport.c: Likewise.
16557 * sunrpc/pmap_clnt.c: Likewise.
16558 * sunrpc/pmap_prot.c: Likewise.
16559 * sunrpc/pmap_prot2.c: Likewise.
16560 * sunrpc/pmap_rmt.c: Likewise.
16561 * sunrpc/rpc/auth.h: Likewise.
16562 * sunrpc/rpc/auth_unix.h: Likewise.
16563 * sunrpc/rpc/clnt.h: Likewise.
16564 * sunrpc/rpc/des_crypt.h: Likewise.
16565 * sunrpc/rpc/key_prot.h: Likewise.
16566 * sunrpc/rpc/netdb.h: Likewise.
16567 * sunrpc/rpc/pmap_clnt.h: Likewise.
16568 * sunrpc/rpc/pmap_prot.h: Likewise.
16569 * sunrpc/rpc/pmap_rmt.h: Likewise.
16570 * sunrpc/rpc/rpc.h: Likewise.
16571 * sunrpc/rpc/rpc_des.h: Likewise.
16572 * sunrpc/rpc/rpc_msg.h: Likewise.
16573 * sunrpc/rpc/svc.h: Likewise.
16574 * sunrpc/rpc/svc_auth.h: Likewise.
16575 * sunrpc/rpc/types.h: Likewise.
16576 * sunrpc/rpc/xdr.h: Likewise.
16577 * sunrpc/rpc_clntout.c: Likewise.
16578 * sunrpc/rpc_cmsg.c: Likewise.
16579 * sunrpc/rpc_common.c: Likewise.
16580 * sunrpc/rpc_cout.c: Likewise.
16581 * sunrpc/rpc_dtable.c: Likewise.
16582 * sunrpc/rpc_hout.c: Likewise.
16583 * sunrpc/rpc_main.c: Likewise.
16584 * sunrpc/rpc_parse.c: Likewise.
16585 * sunrpc/rpc_parse.h: Likewise.
16586 * sunrpc/rpc_prot.c: Likewise.
16587 * sunrpc/rpc_sample.c: Likewise.
16588 * sunrpc/rpc_scan.c: Likewise.
16589 * sunrpc/rpc_scan.h: Likewise.
16590 * sunrpc/rpc_svcout.c: Likewise.
16591 * sunrpc/rpc_tblout.c: Likewise.
16592 * sunrpc/rpc_util.c: Likewise.
16593 * sunrpc/rpc_util.h: Likewise.
16594 * sunrpc/rpcinfo.c: Likewise.
16595 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16596 * sunrpc/rpcsvc/key_prot.x: Likewise.
16597 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16598 * sunrpc/rpcsvc/mount.x: Likewise.
16599 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16600 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16601 * sunrpc/rpcsvc/rex.x: Likewise.
16602 * sunrpc/rpcsvc/rstat.x: Likewise.
16603 * sunrpc/rpcsvc/rusers.x: Likewise.
16604 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16605 * sunrpc/rpcsvc/spray.x: Likewise.
16606 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16607 * sunrpc/rtime.c: Likewise.
16608 * sunrpc/svc.c: Likewise.
16609 * sunrpc/svc_auth.c: Likewise.
16610 * sunrpc/svc_authux.c: Likewise.
16611 * sunrpc/svc_raw.c: Likewise.
16612 * sunrpc/svc_run.c: Likewise.
16613 * sunrpc/svc_simple.c: Likewise.
16614 * sunrpc/svc_tcp.c: Likewise.
16615 * sunrpc/svc_udp.c: Likewise.
16616 * sunrpc/svc_unix.c: Likewise.
16617 * sunrpc/svcauth_des.c: Likewise.
16618 * sunrpc/xcrypt.c: Likewise.
16619 * sunrpc/xdr.c: Likewise.
16620 * sunrpc/xdr_array.c: Likewise.
16621 * sunrpc/xdr_float.c: Likewise.
16622 * sunrpc/xdr_mem.c: Likewise.
16623 * sunrpc/xdr_rec.c: Likewise.
16624 * sunrpc/xdr_ref.c: Likewise.
16625 * sunrpc/xdr_sizeof.c: Likewise.
16626 * sunrpc/xdr_stdio.c: Likewise.
16627
9da4bb31
UD
16628 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16629 handling.
16630
bdaa77bc
AS
166312010-08-19 Andreas Schwab <schwab@redhat.com>
16632
16633 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16634
fe2f79db
LM
166352010-08-19 Luis Machado <luisgpm@br.ibm.com>
16636
16637 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16638 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16639 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16640 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16641 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16642 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16643 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16644 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16645 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16646 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16647 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16648 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16649 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16650 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16651
b9b42ee0
AB
166522010-07-26 Anton Blanchard <anton@samba.org>
16653
16654 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16655 * malloc/arena.c (heap_trim): Likewise.
16656
1c06ba31
UD
166572010-08-16 Ulrich Drepper <drepper@redhat.com>
16658
16659 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16660 here. Not...
16661 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16662 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16663
f8392f40
L
166642010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16665
16666 * sysdeps/i386/elf/Makefile: New file.
16667
3162f12e
AS
166682010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16669
16670 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16671 from fanotify_init.
16672 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16673 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16674
28c90b2c
UD
166752010-08-15 Ulrich Drepper <drepper@redhat.com>
16676
16677 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16678 of strncasecmp_l.
1feccb6c 16679 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 16680
ca6bb004
UD
166812010-08-14 Ulrich Drepper <drepper@redhat.com>
16682
e9f82e0d
UD
16683 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16684 strncase_l-nonascii.
16685 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16686 Add strncase_l-ssse3.
16687 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16688 * sysdeps/x86_64/strcmp.S: Likewise.
16689 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16690 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16691 * sysdeps/x86_64/strncase.S: New file.
16692 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16693 * sysdeps/x86_64/strncase_l.S: New file.
16694 * string/Makefile (strop-tests): Add strncasecmp.
16695 * string/test-strncasecmp.c: New file.
16696
16697 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16698 warning.
16699
ca6bb004
UD
16700 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16701 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16702
052fa7b3
AS
167032010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16704
16705 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16706
962dba78
UD
167072010-08-12 Ulrich Drepper <drepper@redhat.com>
16708
16709 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16710 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16711 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16712
bebff237
AM
167132010-05-01 Alan Modra <amodra@gmail.com>
16714
16715 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16716 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16717 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16718 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16719 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16720 tidying. Don't tail-call __sigjmp_save for static lib.
16721 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16722 save location.
16723 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16724 (CALL_MCOUNT): Add eh info, and nop after bl.
16725 (TAIL_CALL_SYSCALL_ERROR): New macro.
16726 (PSEUDO_RET): Use it.
16727 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16728 Correct save location of integer regs and cr.
16729 (_dl_profile_resolve): Correct cr save location. Delete nops
16730 after bl when SHARED. Reduce cfi size a little by better
16731 placement of cfi directives.
16732 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16733 make a stack frame. Instead use parm save area as a temp.
16734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16735 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16737 Don't make a stack frame for parent, use parm save area.
16738 Increase child stack frame to 112 bytes. Don't save unused reg,
16739 and adjust reg usage. Set up cfi on error recovery and
16740 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16742 (__makecontext): Add dummy nop after jump to exit.
16743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16744 Use correct parm save area and cr save, reduce stack frame.
16745 Correct cfi for possible PSEUDO_RET frame setup.
16746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16747 Branch to local label emitted by PSEUDO_RET rather than
16748 __syscall_error.
16749
02637374
AS
167502010-08-12 Andreas Schwab <schwab@redhat.com>
16751
16752 [BZ #11904]
16753 * locale/programs/locale.c (print_assignment): New function.
16754 (show_locale_vars): Use it.
16755
c3e2f19b
UD
167562010-08-11 Ulrich Drepper <drepper@redhat.com>
16757
3cdaa6ad
UD
16758 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16759 field.
16760 (struct statfs64): Likewise.
16761 (_STATFS_F_FLAGS): Define.
16762 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16763 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16764 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16765 (ST_VALID): Define locally.
16766 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16767 __statvfs_getflags, use the provided value.
16768 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16769 __ASSUME_STATFS_F_FLAGS.
16770
754f7da3
UD
16771 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16772
10b3bedc
UD
16773 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16774 Add sys/fanotify.h.
16775 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16776 fanotify_mask for GLIBC_2.13.
16777 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16778 fanotify_init and fanotify_mark.
16779 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16780 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16781
c08fb0d7
UD
16782 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16783 Add prlimit.
16784 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16785 prlimit64 for GLIBC_2.13.
16786 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16787 prlimit64.
16788 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16789 syscall.
16790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16791 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16792 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16793 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16794 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16795 add prlimit alias.
16796 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16797
15bac72b
UD
16798 [BZ #11903]
16799 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16800 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16801
c3e2f19b
UD
16802 * nss/Makefile: Add rules to build and run tst-nss-test1.
16803 * shlib-versions: Add entry for libnss_test1.
16804 * nss/nss_test1.c: New file.
16805 * nss/tst-nss-test1.c: New file.
16806
16807 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16808 (__nss_configure_lookup): Set appropriate entry in
16809 __nss_configure_lookup to true.
16810 * nss/nsswitch.h: Define enum with indeces of databases in
16811 databases and __nss_database_custom arrays. Declare
16812 __nss_database_custom.
16813 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16814 to avoid using nscd when custom rules are installed.
16815 * nss/getXXbyYY_r.c: Likewise.
16816 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16817
16818 * nss/nss_files/files-parse.c: Whitespace fixes.
16819
f15ce4d8
UD
168202010-08-09 Ulrich Drepper <drepper@redhat.com>
16821
16822 [BZ #11883]
16823 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16824 * posix/fnmatch_loop.c: Likewise.
16825
d22e4cc9
AK
168262010-07-17 Andi Kleen <ak@linux.intel.com>
16827
16828 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16829 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16830 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16831 * Versions.def [GLIBC_2.13]: Add.
16832
805bc17d
UD
168332010-08-06 Ulrich Drepper <drepper@redhat.com>
16834
16835 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16836 Also fail if tpwd after pwuid call is NULL.
16837
5a42321d
ST
168382010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16839
16840 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16841 when converting to ms.
16842
fd3ebeda
ST
168432010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16844
16845 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16846 EOPNOTSUPP errors with ENOTTY.
16847 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16848 EOPNOTSUPP errors with ENOTTY.
16849
73507d3a
UD
168502010-07-31 Ulrich Drepper <drepper@redhat.com>
16851
16852 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16853 Add strcasecmp_l-ssse3.
16854 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16855 strcasecmp.
16856 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16857 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16858 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16859
fe36dd02
UD
168602010-07-30 Ulrich Drepper <drepper@redhat.com>
16861
66f6765a
UD
16862 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16863
42e08a54
UD
16864 * string/Makefile (strop-tests): Add strcasecmp.
16865 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16866 strcasecmp_l-nonascii.
16867 (gen-as-const-headers): Add locale-defines.sym.
16868 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16869 * sysdeps/x86_64/strcasecmp.S: New file.
16870 * sysdeps/x86_64/strcasecmp_l.S: New file.
16871 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16872 * sysdeps/x86_64/locale-defines.sym: New file.
16873 * string/test-strcasecmp.c: New file.
16874
fe36dd02
UD
16875 * string/test-strcasestr.c: Test both ends of the range of characters.
16876 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16877
48cbc0d6
RM
168782010-07-29 Roland McGrath <roland@redhat.com>
16879
76e6d6bc 16880 [BZ #11856]
48cbc0d6
RM
16881 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16882
880113d9
UD
168832010-07-27 Ulrich Drepper <drepper@redhat.com>
16884
16885 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16886 for ld.so.
16887
deb9cabb
AS
168882010-07-27 Andreas Schwab <schwab@redhat.com>
16889
16890 * manual/memory.texi (Malloc Tunable Parameters): Document
16891 M_PERTURB.
16892
1c7570ff
RM
168932010-07-26 Roland McGrath <roland@redhat.com>
16894
16895 [BZ #11840]
16896 * configure.in (-fgnu89-inline check): Set and substitute
16897 gnu89_inline, not libc_cv_gnu89_inline.
16898 * configure: Regenerated.
16899 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16900
24fb0f88
UD
169012010-07-26 Ulrich Drepper <drepper@redhat.com>
16902
16903 * string/test-strnlen.c: New file.
16904 * string/Makefile (strop-tests): Add strnlen.
16905 * string/tester.c (test_strnlen): Add a few more test cases.
16906 * string/tst-strlen.c: Better error reporting.
16907
16908 * sysdeps/x86_64/strnlen.S: New file.
16909
8e96b93a
UD
169102010-07-24 Ulrich Drepper <drepper@redhat.com>
16911
16912 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16913 lower-latency instructions.
16914
dbc676d4
UD
169152010-07-23 Ulrich Drepper <drepper@redhat.com>
16916
16917 * string/test-strcasestr.c: New file.
16918 * string/test-strstr.c: New file.
16919 * string/Makefile (strop-tests): Add strstr and strcasestr.
16920 * string/str-two-way.h: Don't undefine MAX.
16921 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16922
f6a31e0e
AS
169232010-07-21 Andreas Schwab <schwab@redhat.com>
16924
16925 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16926 strcasestr-nonascii.
16927 (CFLAGS-strcasestr-nonascii.c): Define.
16928 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16929 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16930 Remove unused attribute.
16931
5dbc3b6c
RM
169322010-07-20 Roland McGrath <roland@redhat.com>
16933
16934 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16935 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16936 ld.so.cache was broken. With it, there is no way to disable dsocaps
16937 like LD_HWCAP_MASK can disable hwcaps.
16938
23d101d8
EPM
169392010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16940
16941 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16942
cc9f2e47
UD
169432010-07-16 Ulrich Drepper <drepper@redhat.com>
16944
16945 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16946 call in strcasestr.
16947 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16948 __strcasestr_sse42_nonascii.
16949 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16950 strcasestr-nonascii.c.
16951 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16952
77c1b069
LM
169532010-06-15 Luis Machado <luisgpm@br.ibm.com>
16954
16955 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16956 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16957 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16958 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16959
440566c3
UD
169602010-07-09 Ulrich Drepper <drepper@redhat.com>
16961
16962 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16963 fcntl.
16964
5be9d05d
AS
169652010-07-06 Andreas Schwab <schwab@redhat.com>
16966
c30b7ee2 16967 [BZ #11577]
5be9d05d
AS
16968 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16969 dl_signal_cerror.
16970
8a492a67
UD
169712010-07-06 Ulrich Drepper <drepper@redhat.com>
16972
16973 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16974 _PC_PIPE_BUF using F_GETPIPE_SZ.
16975
713df3d5
RM
169762010-07-05 Roland McGrath <roland@redhat.com>
16977
16978 * manual/arith.texi (Rounding Functions): Fix rint description
16979 implicit in round description.
16980
702e8f14
UD
169812010-07-02 Ulrich Drepper <drepper@redhat.com>
16982
16983 * elf/Makefile: Fix linking for a few tests to make recent linker
16984 happy.
16985
52ed8be9
AS
169862010-06-30 Andreas Schwab <schwab@redhat.com>
16987
16988 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16989 $(common-objpfx)libc_nonshared.a.
16990
f47c9a11
LM
169912010-06-21 Luis Machado <luisgpm@br.ibm.com>
16992
16993 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16994 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16995 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16996 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16997 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16998 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16999 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17000 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17015 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17016 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17017 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17018 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17019 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17020 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17021 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17022 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17023 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17024 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17025 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17026 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17041
6fb8cbcb
L
170422010-06-25 H.J. Lu <hongjiu.lu@intel.com>
17043
17044 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17045 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
17046 * string/memmove.c (memmove): Renamed to ...
17047 (MEMMOVE): ...this. Default to memmove.
17048 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17049 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17050 (END_CHK): Define.
17051 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17052 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17053 mempcpy-ssse3-back memmove-ssse3-back.
17054 * sysdeps/x86_64/multiarch/bcopy.S: New file .
17055 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17056 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17057 * sysdeps/x86_64/multiarch/memcpy.S: New file.
17058 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17059 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17060 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17061 * sysdeps/x86_64/multiarch/memmove.c: New file.
17062 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17063 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
17064 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
17065 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
17066 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
17067 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
17068 Define.
17069 (index_Fast_Copy_Backward): Define.
17070 (HAS_ARCH_FEATURE): Define.
17071 (HAS_FAST_REP_STRING): Define.
17072 (HAS_FAST_COPY_BACKWARD): Define.
17073
4e733bac 170742010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
17075
17076 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17077 Restore proper fallback handling.
17078
63c4ed22
UD
170792010-06-19 Ulrich Drepper <drepper@redhat.com>
17080
ac2b484c
UD
17081 [BZ #11701]
17082 * posix/group_member.c (__group_member): Correct checking loop.
17083
63c4ed22
UD
17084 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
17085 OOM in getpwuid_r correctly. Return error number when the caller
17086 should return, otherwise -1.
17087 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
17088 call returning > 0 value.
17089 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
17090
765ade4b
AS
170912010-06-07 Andreas Schwab <schwab@redhat.com>
17092
17093 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
17094 libc_nonshared.a from targets in modules-names.
17095
80da2e09
KS
170962010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
17097
17098 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17099 requires it.
17100
158db122
LM
171012010-06-10 Luis Machado <luisgpm@br.ibm.com>
17102
17103 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17104 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17105 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17106 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17107
caa78cf8
AS
171082010-06-02 Andreas Schwab <schwab@redhat.com>
17109
17110 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17111
b2ef2c01
UD
171122010-06-14 Ulrich Drepper <drepper@redhat.com>
17113
17114 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17115 and F_GETPIPE_SZ.
17116 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17117 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17118 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17119 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17120 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17121 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17122
fbd643b6
RM
171232010-06-14 Roland McGrath <roland@redhat.com>
17124
17125 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17126
f32f2869
JJ
171272010-06-07 Jakub Jelinek <jakub@redhat.com>
17128
17129 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17130 __REDIRECT followed by __THROW.
17131 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17132 * posix/getopt.h (getopt): Likewise.
17133
2a50c078
EPM
171342010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17135
17136 * hurd/lookup-at.c (__file_name_lookup_at): Accept
17137 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
17138 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17139 in AT_FLAGS.
17140 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17141 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17142
eb5ad2eb
LM
171432010-05-28 Luis Machado <luisgpm@br.ibm.com>
17144
17145 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17146
3c88fe1e
L
171472010-05-26 H.J. Lu <hongjiu.lu@intel.com>
17148
17149 [BZ #11640]
17150 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17151 Properly check family and model.
17152
d2f73151
TY
171532010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
17154
17155 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17156
ebd2e13d
LM
171572010-05-24 Luis Machado <luisgpm@br.ibm.com>
17158
17159 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17160
b32b8b45
UD
171612010-05-21 Ulrich Drepper <drepper@redhat.com>
17162
17163 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17164 symbol reference.
17165
9acbe24d
AS
171662010-05-19 Andreas Schwab <schwab@redhat.com>
17167
17168 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17169 symbol reference.
17170
f0ccf6ea
AS
171712010-05-21 Andreas Schwab <schwab@redhat.com>
17172
3d04ff3a
AS
17173 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17174 and internal_recvmmsg.
17175 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17176 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17177 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17178 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17179
f0ccf6ea
AS
17180 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17181 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17182 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17183
5b08ac57
AS
171842010-05-20 Andreas Schwab <schwab@redhat.com>
17185
17186 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17187
4828935d
LM
171882010-05-17 Luis Machado <luisgpm@br.ibm.com>
17189
17190 POWER7 optimizations.
17191 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17192 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17193
373d545e
UD
171942010-05-19 Ulrich Drepper <drepper@redhat.com>
17195
17196 * version.h: Update for 2.13 development version.
17197
21a2b1ae
AS
171982010-05-12 Andrew Stubbs <ams@codesourcery.com>
17199
17200 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17201 exceptions. Return 0.
17202
3f7dcb2b
RM
172032010-05-07 Roland McGrath <roland@redhat.com>
17204
17205 * elf/ldconfig.c (main): Add a const.
17206
5f24d53a 172072010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 17208
a160f8d8
UD
17209 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17210 (args_options): Add no-idn option.
17211 (ahosts_keys_int): Add idn_flags to ai_flags.
17212 (parse_option): Handle 'i' option to clear idn_flags.
17213
5f24d53a
UD
17214 * malloc/malloc.c (_int_free): Possible race in the most recently
17215 added check. Only act on the data if no current modification
17216 happened.
265bb1ce
UD
17217
17218See ChangeLog.17 for earlier changes.