]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix comment that describes sighandler_setxid
[thirdparty/glibc.git] / ChangeLog
CommitLineData
3b05db33
MP
12012-07-17 Marek Polacek <polacek@redhat.com>
2
3 [BZ #14349]
4 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5 * sysdeps/s390/s390-64/configure.in: Likewise.
6 * sysdeps/sparc/configure.in: Likewise.
7 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
8 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9 * sysdeps/i386/configure.in: Likewise.
10 * sysdeps/x86_64/configure.in: Likewise.
11 * sysdeps/sh/configure.in: Likewise.
12 * sysdeps/s390/s390-32/configure: Regenerated.
13 * sysdeps/s390/s390-64/configure: Likewise.
14 * sysdeps/x86_64/configure: Likewise.
15 * sysdeps/sh/configure: Likewise.
16 * sysdeps/powerpc/powerpc64/configure: Likewise.
17 * sysdeps/powerpc/powerpc32/configure: Likewise.
18 * sysdeps/sparc/configure: Likwise.
19 * sysdeps/i386/configure: Likewise.
20
a66877c6
MP
21 * elf/dl-open.c: Comment fixes.
22
cfc82fd8
JM
232012-07-17 Joseph Myers <joseph@codesourcery.com>
24
bd29910a
JM
25 * Makefile [CXX] (check-data): Remove.
26 [CXX] (c++-types.data): New vpath directive.
27 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28 vpath. Do not allow for C++ type data being missing.
29 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
34 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
36 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37 ... here.
38 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40 ... here.
41 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
42 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
43 ... here.
44 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
45 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
46 ... here.
47 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
48 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
49 ... here.
50 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
51 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
52 ... here.
53 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
54 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
55 ... here.
56 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
57 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
58
cfc82fd8
JM
59 * elf/tls-macros.h (TLS_LE): Move architecture-specific
60 definitions to architecture-specific files.
61 (TLS_IE): Likewise.
62 (TLS_LD): Likewise.
63 (TLS_GD): Likewise.
64 * sysdeps/i386/tls-macros.h: New file.
65 * sysdeps/powerpc/tls-macros.h: Likewise.
66 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
67 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
68 * sysdeps/sh/tls-macros.h: Likewise.
69 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
70 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
71 * sysdeps/x86_64/tls-macros.h: Likewise.
72
f7db3170
TS
732012-07-17 Thomas Schwinge <thomas@codesourcery.com>
74
07cbfc23
TS
75 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
76 zero value for regular exit case.
77
f7db3170
TS
78 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
79 (__start_context): Preserve zero value for regular exit case.
80
dc97c227
TS
812012-07-17 Thomas Schwinge <thomas@codesourcery.com>
82 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83
84 * manual/setjmp.texi (setcontext): Clarify normal process
85 termination when uc_link is the null pointer.
86 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
87 exit call.
88
d0cd7d02
AS
892012-07-16 Andreas Schwab <schwab@linux-m68k.org>
90
91 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
92 preprocessor. Test for each exception mask separately.
93
dd318934
AJ
942012-07-16 Andreas Jaeger <aj@suse.de>
95
96 * po/ru.po: Update from translation team.
97
8048311a
JM
982012-07-15 Joseph Myers <joseph@codesourcery.com>
99
100 * conform/data/string.h-data (NULL): Use macro-constant. Require
101 equal to 0.
102 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
103 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
104 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
105 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
106 [ISO || ISO99 || ISO11] (*_t): Do not allow.
107
b637d46e
AJ
1082012-07-13 Andreas Jaeger <aj@suse.de>
109
110 * po/fr.po: Update from translation team.
111
541428fe
MP
1122012-07-12 Marek Polacek <polacek@redhat.com>
113
114 [BZ #14173]
115 * math/libm-test.inc (yn_test): Add test for BZ #14173.
116 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
117 loop condition.
118
ec332e94
JM
1192012-07-12 Joseph Myers <joseph@codesourcery.com>
120
121 [BZ #13717]
122 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
123 Change to 2.4.1 where previously 2.4.0.
124 * sysdeps/unix/sysv/linux/configure: Regenerated.
125 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
126 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
127 version.
128 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
129 (__ASSUME_AT_CLKTCK): Remove.
130 (__ASSUME_AT_PAGESIZE): Likewise.
131 (__ASSUME_AT_XID): Likewise.
132 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
133 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
134 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
135 unconditionally.
136 (HAVE_AUX_PAGESIZE): Likewise.
137 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
138 [__ASSUME_AT_CLKTCK]: Make code unconditional.
139 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
140
7b6e99be
JB
1412012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
142
143 [BZ #14307]
144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
145 the temporary buffer used to invoke __gethostbyname2_r,
146 __gethostbyaddr_r and gethostbyname4_r to make room for struct
147 host_data / struct gaih_addrtuple.
148 * resolv/nss_dns/dns-host.c (global scope): Move definition of
149 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
150 header file nss/nsswitch.h.
151 * nss/nsswitch.h (global scope): Add definition of implementation
152 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
153 resolv/nss_dns/dns-host.c).
154
608404eb
AJ
1552012-07-11 Andreas Jaeger <aj@suse.de>
156
157 * po/fr.po: Update from translation team.
158
71220aca
AJ
159 * po/sv.po: Update from translation team
160 * po/fr.po: Another update from translation team.
161
28cfe843
AZ
1622012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
163
164 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
165 for subnormals or multiply small sinh result by itself.
166 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
168
6b90f981
DM
1692012-07-11 David S. Miller <davem@davemloft.net>
170
171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
172
c6825772
AS
1732012-07-10 Andreas Schwab <schwab@linux-m68k.org>
174
175 [BZ #14347]
176 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
177 (INTERNAL_MARK): Shift it here.
178
7b8e0d49
MP
1792012-07-10 Marek Polacek <polacek@redhat.com>
180
181 [BZ #14151]
182 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
183 libc_cv_asm_global_directive with .globl.
184 * configure: Regenerated.
185 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
186 with .globl.
187 * sysdeps/i386/configure: Regenerated.
188 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
189 with .globl.
190 * sysdeps/x86_64/configure: Regenerated.
191 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
192 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
193 * elf/tst-unique2mod2.c: Likewise.
194 * elf/tst-unique2mod1.c: Likewise.
195 * elf/tst-unique1mod2.c: Likewise.
196 * elf/tst-unique1mod1.c: Likewise.
197 * sysdeps/s390/s390-32/sysdep.h: Likewise.
198 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
199 * sysdeps/s390/s390-64/sysdep.h: Likewise.
200 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
201 * sysdeps/mach/sysdep.h: Likewise.
202 * sysdeps/i386/sysdep.h: Likewise.
203 * sysdeps/i386/i386-mcount.S: Likewise.
204 * sysdeps/x86_64/_mcount.S: Likewise.
205 * sysdeps/x86_64/sysdep.h: Likewise.
206 * sysdeps/sh/_mcount.S: Likewise.
207 * sysdeps/sh/sysdep.h: Likewise.
208 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
209 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
210 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
211 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
212 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
213 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
214 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
215 * locale/localeinfo.h: Likewise.
216 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
217 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
218
6c55cda3
RM
2192012-07-09 Roland McGrath <roland@hack.frob.com>
220
221 [BZ #14336]
222 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
223 system".
224 * manual/message.texi (The Uniforum approach): Likewise.
225 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
226 (glibc iconv Implementation): Likewise.
227
638a572e
JM
2282012-07-09 Joseph Myers <joseph@codesourcery.com>
229
230 [BZ #14337]
231 * math/s_clog.c (__clog): Avoid scaling a value down where that
232 could result in underflow.
233 * math/s_clog10.c (__clog10): Likewise.
234 * math/s_clog10f.c (__clog10f): Likewise.
235 * math/s_clog10l.c (__clog10l): Likewise.
236 * math/s_clogf.c (__clogf): Likewise.
237 * math/s_clogl.c (__clogl): Likewise.
238 * math/libm-test.inc (clog_test): Add more tests.
239 (clog10_test): Likewise.
240 * sysdeps/i386/fpu/libm-test-ulps: Update.
241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
242
261f4859
AS
2432012-07-06 Andreas Schwab <schwab@linux-m68k.org>
244
0abaf3e4
AS
245 [BZ #14283]
246 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
247 by 7 not 8 to examine high bit of fractional part.
248
261f4859
AS
249 [BZ #14042]
250 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
251 for call to __mcount_internal.
252 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
253 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
254 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
255
f17ac40d
JM
2562012-07-06 Joseph Myers <joseph@codesourcery.com>
257
9ad63c23
JM
258 [BZ #14154]
259 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
260 approximation for values within 0x1p-13f of an odd multiple of
261 pi/4.
262 * math/libm-test.inc (tan_test): Do not allow spurious underflow
263 exception. Add more tests.
264 * sysdeps/i386/fpu/libm-test-ulps: Update.
265
f17ac40d
JM
266 [BZ #6778]
267 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
268 inputs and return -1 for them. Do not check for +Inf in case not
269 reachable for +Inf.
270 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
271 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
272 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
273 and return -1 for them. Do not check for +Inf in case not
274 reachable for +Inf.
275 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
276 define.
277 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
278 and return -1 for them. Do not check for +Inf in case not
279 reachable for +Inf.
280 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
281 spurious underflow.
282 * sysdeps/i386/fpu/libm-test-ulps: Update.
283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
284
fb21f89b
MF
2852012-07-06 Mike Frysinger <vapier@gentoo.org>
286
287 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
288
cdfe2c5e
JM
2892012-07-05 Joseph Myers <joseph@codesourcery.com>
290
291 [BZ #14157]
292 [BZ #14331]
293 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
294 could result in spurious underflow. Scale down values above
295 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
296 * math/s_csqrtf.c (__csqrtf): Likewise.
297 * math/s_csqrtl.c (__csqrtl): Likewise.
298 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
299 spurious underflow.
300 * sysdeps/i386/fpu/libm-test-ulps: Update.
301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
302
70d35b67
AS
3032012-07-04 Andreas Schwab <schwab@linux-m68k.org>
304
704bc459
AS
305 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
306 xopen-msg.sed.
307 * catgets/xopen-msg.awk: New file.
308 * catgets/xopen-msg.sed: Removed.
309
70d35b67
AS
310 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
311 po2text.sed.
312 * intl/po2test.awk: New file.
313 * intl/po2test.sed: Removed.
314
ca61cf32
JM
3152012-07-04 Joseph Myers <joseph@codesourcery.com>
316
317 [BZ #14328]
318 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
319 or multiply small sinh result by itself.
320 * math/s_ctanf.c (__ctanf): Likewise.
321 * math/s_ctanh.c (__ctanh): Likewise.
322 * math/s_ctanhf.c (__ctanhf): Likewise.
323 * math/s_ctanhl.c (__ctanhl): Likewise.
324 * math/s_ctanl.c (__ctanl): Likewise.
325 * math/libm-test.inc (ctan_test_tonearest): New function.
326 (ctan_test_towardzero): Likewise.
327 (ctan_test_downward): Likewise.
328 (ctan_test_upward): Likewise.
329 (ctanh_test_tonearest): Likewise.
330 (ctanh_test_towardzero): Likewise.
331 (ctanh_test_downward): Likewise.
332 (ctanh_test_upward): Likewise.
333 (main): Call these new functions.
334 * sysdeps/i386/fpu/libm-test-ulps: Update.
335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
336
ca48a46a
MF
3372012-07-03 Mike Frysinger <vapier@gentoo.org>
338
339 * .gitignore: Delete /ports entry.
340
9d63d37d
AJ
3412012-07-03 Andreas Jaeger <aj@suse.de>
342
343 * po/bg.po: Update from translation team.
344 * po/cs.po: Likewise.
345 * po/de.po: Likewise.
346 * po/hr.po: Likewise.
347 * po/nl.pl: Likewise.
348 * po/pl.po: Likewise.
349 * po/vi.po: Likewise.
350
370ca3d2
JM
3512012-07-03 Joseph Myers <joseph@codesourcery.com>
352
95f5a9a8
JM
353 * Makeconfig [!+link] (+link-before-libc): New variable.
354 [!+link] (+link-after-libc): Likewise.
355 [!+link] (+link-tests): Likewise.
356 [!+link] (+link): Define in terms of $(+link-before-libc) and
357 $(+link-after-libc).
358 [!+link-static] (+link-static-before-libc): New variable.
359 [!+link-static] (+link-static-after-libc): Likewise.
360 [!+link-static] (+link-static-tests): Likewise.
361 [!+link-static] (+link-static): Define in terms of
362 $(+link-static-before-libc) and $(+link-static-after-libc).
363 [build-shared] (link-libc-before-gnulib): New variable.
364 [build-shared] (link-libc-tests): Likewise.
365 [build-shared] (link-libc): Define in terms of
366 $(link-libc-before-gnulib).
367 [!build-shared] (link-libc-tests): New variable.
368 (link-libc-static-tests): New variable.
369 [!gnulib] (gnulib-arch): New variable.
370 [!gnulib] (gnulib-tests): Likewise.
371 [!gnulib] (static-gnulib-arch): Likewise.
372 [!gnulib] (static-gnulib-tests): Likewise.
373 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
374 Define with "=" instead of ":=".
375 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
376 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
377 * Rules (binaries-all-notests): New variable.
378 (binaries-all-tests): Likewise.
379 (binaries-static-notests): Likewise.
380 (binaries-static-tests): Likewise.
381 (binaries-all): Define using $(binaries-all-notests) and
382 $(binaries-all-tests).
383 (binaries-static): Define using $(binaries-static-notests) and
384 $(binaries-static-tests).
385 (binaries-shared-tests): New variable.
386 (binaries-shared-notests): Likewise.
387 (binaries-shared): Remove variable.
388 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
389 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
390 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
391 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
392 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
393 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
394 * elf/Makefile (sln-modules): New variable.
395 (extra-objs): Add $(sln-modules:=.o).
396 (ldconfig-modules): Add static-stubs.
397 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
398 * elf/static-stubs.c: New file.
399
7a845b2c
JM
400 [BZ #14283]
401 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
402 by 7 not 8 to examine high bit of fractional part. Use volatile
403 variables when splitting into final array of floats if
404 __FLT_EVAL_METHOD__ != 0.
405 * math/libm-test.inc (cos_test): Add another test.
406 (sin_test): Likewise.
407 * sysdeps/i386/fpu/libm-test-ulps: Update.
408
e2283f38
JM
409 [BZ #14273]
410 * math/libm-test.inc (cosh_test): Add more tests.
411
370ca3d2
JM
412 * version.h (RELEASE): Set to "development".
413 (VERSION): Set to "2.16.90".
414
ee9247c3
CD
4152012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
416
417 * NEWS: Update copyright. Remove last-updated date.
418 Mention math library bug fixes and timezone data changes.
419 * README: Mention GNU/Hurd, x32, and HPPA support status.
420
4648c381
TS
4212012-06-28 Thomas Schwinge <thomas@codesourcery.com>
422
423 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
424
aac78a43
AJ
4252012-06-27 Andreas Jaeger <aj@suse.de>
426
427 * manual/contrib.texi (Contributors): Add Samuel Thibault.
428
ed3dbfad
AJ
4292012-06-25 Andreas Jaeger <aj@suse.de>
430
431 * sysdeps/s390/fpu/libm-test-ulps: Update.
432
4d0ee855
AS
4332012-06-23 Andreas Schwab <schwab@linux-m68k.org>
434 Thomas Schwinge <thomas@codesourcery.com>
435
436 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
437 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
438 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
439 fanotify_mark.
440
af1bce34
TS
4412012-06-23 Thomas Schwinge <thomas@codesourcery.com>
442
a9fa33ba
TS
443 * sysdeps/mach/start.c: Remove file.
444 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
445 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
446 * sysdeps/sh/init-first.c: Likewise.
447
58f902b8
TS
448 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
449 registers for frame unwinding purposes, add CFI directives.
450 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
451 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
452 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
453 Likewise.
454
1518f58b
TS
455 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
456 __fortify_fail returning.
457 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
458
db9b5059
TS
459 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
460 sysdeps/sh/____longjmp_chk.S.
461 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
462 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
463 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
464 (gen-as-const-headers): Append sigaltstack-offsets.sym.
465
967705fe
TS
466 * sysdeps/sh/abort-instr.h: New file.
467 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
468 process in case exit returns.
469
a9def8c4
TS
470 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
471 initialize the GOT register before use.
472
2a649725
TS
473 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
474 calculation of ARGC > 4.
475
af1bce34
TS
476 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
477 meaningful names to some local labels.
478
d230f50a
KK
4792012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
480 Kaz Kojima <kkojima@rr.iij4u.or.jp>
481
482 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
483 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
484 (__arch_compare_and_exchange_val_16_acq): Likewise.
485 (__arch_compare_and_exchange_val_32_acq): Likewise.
486 (atomic_exchange_and_add): Fix gUSA sequence.
487 (atomic_add): Likewise.
488 (atomic_add_negative): Likewise.
489 (atomic_add_zero): Likewise.
490 (atomic_bit_test_set): Likewise.
491
0479b305
AS
4922012-06-22 Andreas Schwab <schwab@redhat.com>
493
494 [BZ #13579]
495 * include/link.h (struct link_map): Add l_free_initfini.
496 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
497 l_initfini.
498 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
499 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
500 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
501 set.
502
0e3933b9
CD
5032012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
504
505 * configure.in: Use AC_LANG_SOURCE.
506 * configure: Regenerate.
507
4248b1b1
RM
5082012-06-22 Roland McGrath <roland@hack.frob.com>
509
510 * configure.in (libc_cv_localstatedir): New substituted variable.
511 * configure: Regenerated.
512 * config.make.in (localstatedir): New variable, substituted from
513 libc_cv_localstatedir.
514 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
515 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
516 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
517 * sysdeps/gnu/configure: Regenerated.
518
006dd861
JL
5192012-06-21 Jeff Law <law@redhat.com>
520
521 [BZ #14277]
522 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
523 free. Simplify list management for _LIBC case.
524
79662d42
JM
5252012-06-21 Joseph Myers <joseph@codesourcery.com>
526
b7abb4bf
JM
527 [BZ #14273]
528 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
529 Clear sign bit of 64-bit integer value before comparing against
530 overflow value.
531
79662d42
JM
532 * sysdeps/mach/configure: Regenerated.
533
1f150908
L
5342012-06-21 H.J. Lu <hongjiu.lu@intel.com>
535
536 [BZ #14278]
537 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
538
28363bbf
JL
5392012-06-21 Jeff Law <law@redhat.com>
540
541 [BZ #13882]
542 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
543 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 544 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
545 * elf/dl-open.c (dl_open_worker): Likewise.
546
09615db4
CD
5472012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
548
549 * scripts/list-sources.sh: Scan PORTS for translations.
550 * po/libc.pot: Regenerated.
551
2174c6dd
AJ
5522012-06-21 Andreas Jaeger <aj@suse.de>
553
554 [BZ #12194]
555 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
556 warning.
557 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
558 * bits/byteswap-16.h (__bswap_16): Likewise.
559 * bits/byteswap.h (__bswap_constant_16): Likewise.
560
3ee947b1
L
5612012-06-18 H.J. Lu <hongjiu.lu@intel.com>
562
563 [BZ #14117]
a2f34833
L
564 * sysdeps/i386/fpu_control.h: Removed.
565 * sysdeps/x86_64/fpu_control.h: Moved to ...
566 * sysdeps/x86/fpu_control.h: Here.
567
3ee947b1
L
568 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
569 (_FPU_SETCW): Likewise.
570
ed1825f8
L
5712012-06-15 H.J. Lu <hongjiu.lu@intel.com>
572
25f1282a
L
573 [BZ #14117]
574 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
575 * sysdeps/x86/fpu/bits/mathinline.h: This.
576 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
577
ed1825f8
L
578 [BZ #14050]
579 [BZ #14117]
580 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
581 functions if __x86_64__ is defined.
582
36d54b74
CLT
5832012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
584
585 * string/endian.h: Add !__ASSEMBLER__ condition for including
586 conversion interfaces.
587
10285c21
JM
5882012-06-15 Joseph Myers <joseph@codesourcery.com>
589
590 [BZ #14241]
591 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
592 of ABS(x) in calculating zero to negative powers other than odd
593 integers.
594 * math/libm-test.inc (pow_test): Add more tests.
595
06c5abbd
AJ
5962012-06-15 Andreas Jaeger <aj@suse.de>
597
598 * manual/contrib.texi (Contributors): Update entry of Liubov
599 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
600 Machado Filho.
601
a3aeac40
CH
6022012-06-15 Cyril Hrubis <metan@ucw.cz>
603
604 * string/string.h: Add __wur to GNU version of strerror_r.
605
49bdf4c1
L
6062012-06-14 H.J. Lu <hongjiu.lu@intel.com>
607
608 [BZ #14229]
609 * string/Makefile (tests): Add tst-strtok_r.
610 * string/tst-strtok_r.c: New file.
611 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
612 RAX_LP/RDX_LP on SAVE_PTR.
613
834f9b8d
RM
6142012-06-14 Roland McGrath <roland@hack.frob.com>
615
616 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
617
75fa1921
JM
6182012-06-14 Joseph Myers <joseph@codesourcery.com>
619
620 * libm_test.inc (csqrt_test): Allow more spurious underflow
621 exceptions.
622 (j0_test): Likewise.
623 (j1_test): Likewise.
624 (y0_test): Likewise.
625 (y1_test): Likewise.
626
771766df
CD
6272012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
628
629 * po/Makefile (libc.pot): Use UTF-8 charset.
630
ceb9e56b
PP
6312012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
632
633 [BZ #14210]
634 Suppress sign-conversion warning from FD_SET.
635 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
636 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
637 not unsigned long int.
638 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
639
ddb28975
L
6402012-06-12 H.J. Lu <hongjiu.lu@intel.com>
641
642 [BZ #14050]
643 [BZ #14117]
644 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
645 __extern_always_inline instead of __extern_inline.
646 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
647 (__signbit): Likewise.
648 (__signbitl): Support C++ namespace.
649 (lrintf): New inline function.
650 (lrint): Likewise.
651 (llrintf): Likewise.
652 (llrint): Likewise.
653 (fmaxf): Likewise.
654 (fmax): Likewise.
655 (fminf): Likewise.
656 (fmin): Likewise.
657 (rint): Likewise.
658 (rintf): Likewise.
659 (ceil): Likewise.
660 (ceilf): Likewise.
661 (floor): Likewise.
662 (floorf): Likewise.
663 (nearbyint): Likewise.
664 (nearbyintf): Likewise.
665
d7b4fb26
TS
6662012-06-12 Thomas Schwinge <thomas@codesourcery.com>
667
668 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
669 non-default versions.
670
eb55f5c2
RM
6712012-06-11 Roland McGrath <roland@hack.frob.com>
672
673 [BZ #14218]
674 * manual/argp.texi (Argp): Reword argp_parse description slightly.
675
366af02c
TS
6762012-06-09 Thomas Schwinge <thomas@codesourcery.com>
677
99ff6e5c
TS
678 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
679 (FE_UPWARD, FE_DOWNWARD): Don't define.
680 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
681 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
682
366af02c
TS
683 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
684 reading it.
685 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
686 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
687
793ea851
KK
6882012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
689
690 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
691 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
692 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
693 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
694
a728a38f
L
6952012-06-06 H.J. Lu <hongjiu.lu@intel.com>
696
697 [BZ #14117]
c08010c7
L
698 * sysdeps/i386/fpu/bits/fenv.h: Removed.
699 * sysdeps/i386/fpu/Implies: New file.
700 * sysdeps/x86_64/fpu/Implies: Likewise.
701 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
702 * sysdeps/x86/fpu/bits/fenv.h: This.
703
a728a38f
L
704 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
705 __SSE_MATH__.
706
6e230d11
SP
7072012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
708
709 [BZ #14134]
710 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
711 character 0xffff that matches the last element of the
712 conversion table.
713
1b671feb
AZ
7142012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
715
716 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
717 fmodl commit.
718
6043738b
AZ
7192012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
720
721 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
722 values higher than 25.6283.
723
34ae0b32
AZ
7242012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
725
726 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
727 subnormal exponent extraction and add some __builtin_expect.
728 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
729 Fix for subnormal mantissa calculation.
730
1214ec8f
MF
7312012-06-04 Mike Frysinger <vapier@gentoo.org>
732
733 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
734 cpu2 is -1 and errno is not ENOSYS.
735
f3d1f93c
L
7362012-06-04 H.J. Lu <hongjiu.lu@intel.com>
737
738 [BZ #14117]
0e4a3cd7
L
739 * sysdeps/i386/i486/bits/string.h: Renamed to ...
740 * sysdeps/x86/bits/string.h: This.
741 * sysdeps/x86_64/bits/string.h: Removed.
742
6704c645
L
743 * sysdeps/i386/i486/bits/string.h: Define inline functions only
744 if not compiling for x86-64, but compiling for >= i486.
745
48495318
L
746 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
747 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
748
14adcbfc
L
749 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
750 New macro from Linux kernel 3.4.0.
751 (FP_XSTATE_MAGIC2): Likewise.
752 (FP_XSTATE_MAGIC2_SIZE): Likewise.
753 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
754 (struct _fpx_sw_bytes): New struct.
755 (struct _xsave_hdr): Likewise.
756 (struct _ymmh_state): Likewise.
757 (struct _xstate): Likewise.
758
68e408ab
L
759 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
760 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
761 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
762 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
763 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
764 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
765
f3d1f93c
L
766 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
767 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
768 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
769 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
770 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
771 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
772
d9dc34cd
TMQMF
7732012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
774
775 [BZ #13743]
776 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
777 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
778 (sysdep_headers): Include sys/platform/ppc.h.
779 * sysdeps/powerpc/test-gettimebase.c: Test for
780 __ppc_get_timebase() to catch future ISA opcode/insn changes.
781 * manual/Makefile (appendices): Include platform.texi.
782 * manual/contrib.texi (Contributors): Update @node pointers.
783 * manual/maint.texi (Maintenance): Likewise.
784 (Platform): New node.
785 * manual/platform.texi: New file. Document the new features.
786
4af3879c
SP
7872012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
788 Jakub Jelinek <jakub@redhat.com>
789
790 [BZ #14188]
791 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
792 where __builtin_expect is unavailable.
793
2fd6ff13
DM
7942012-06-03 David S. Miller <davem@davemloft.net>
795
796 * stdlib/longlong.h: Updated from GCC.
797
173f7220
AS
7982012-06-02 Andreas Schwab <schwab@linux-m68k.org>
799
800 [BZ #14042]
801 * sysdeps/powerpc/powerpc32/mcount.c: New file.
802 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
803 __mcount_internal.
804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
805 (GLIBC_2.16): Likewise.
806
f34a1c6f
L
8072012-06-01 H.J. Lu <hongjiu.lu@intel.com>
808
809 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
810
88a4576f
JM
8112012-06-01 Joseph Myers <joseph@codesourcery.com>
812
ea32bcdd
JM
813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
814 (default-abi): New variable.
815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
816 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
817 variable.
818 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
819 Likewise.
820 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
821 Likewise.
822 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
823 Likewise.
824
88a4576f
JM
825 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
826 definition. Document in comment.
827
402fe938
DM
8282012-06-01 David S. Miller <davem@davemloft.net>
829
830 * stdlib/longlong.h: Updated from GCC.
831
3553723f
L
8322012-06-01 H.J. Lu <hongjiu.lu@intel.com>
833
834 [BZ #14117]
3bd872c4
L
835 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
836 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
837 sys/debugreg.h sys/io.h here.
838 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
839 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
840 sys/io.h.
841 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
842 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
843 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
844 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
845 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
846 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
847
3553723f
L
848 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
849 Define only if __x86_64__ is defined.
850
4842e4fe
JM
8512012-06-01 Joseph Myers <joseph@codesourcery.com>
852
c5bfe3d5
JM
853 [BZ #14048]
854 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
855 Use int64_t for variable i.
856 * math/libm-test.inc (fmod_test): Add more tests.
857
4842e4fe
JM
858 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
859 z computation is not scheduled after fetestexcept.
860 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
861 Use math_force_eval instead of asm to ensure calculation scheduled
862 before exception test.
863 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
864 Ensure a1 + u.d computation is not scheduled after fetestexcept.
865
efb73488
AJ
8662012-06-01 Aurelien Jarno <aurelien@aurel32.net>
867
868 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
869 computation is not scheduled after fetestexcept.
870
29bcce7c
L
8712012-06-01 H.J. Lu <hongjiu.lu@intel.com>
872
873 [BZ #14117]
874 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
875 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
876
73a68f94
AZ
8772012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
878
879 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
880 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
881
67b6df78
L
8822012-05-31 H.J. Lu <hongjiu.lu@intel.com>
883
edf2933a 884 [BZ #14117]
ebc64a18
L
885 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
886 <bits/wordsize.h>.
887 (__WCHAR_MIN): Support __WORDSIZE == 64.
888 (__WCHAR_MAX): Likewise.
889
edf2933a
L
890 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
891 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
892
57c6cf40
L
893 [BZ #14183]
894 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
895 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
896
67b6df78 897 [BZ #14117]
8eb6281e
L
898 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
899 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
900
aac639f4
L
901 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
902 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
903
67b6df78
L
904 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
905 Defined to 1 if __x86_64__ isn't defined.
906 (_STAT_VER_LINUX_OLD): New.
907 (st_atime): Remove duplicate.
908 (st_mtime): Likewise.
909 (st_ctime): Likewise.
910
1c2cfe81
DM
9112012-05-31 David S. Miller <davem@davemloft.net>
912
913 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
914 entries.
915
5be8418c
AS
9162012-06-01 Andreas Schwab <schwab@linux-m68k.org>
917
e7725326
AS
918 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
919 gen-libm-test.pl.
920
5be8418c
AS
921 [BZ #14132]
922 * elf/dl-reloc.c: Include <_itoa.h>.
923 (_dl_reloc_bad_type): Remove use of INTUSE.
924 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
925 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
926 * stdio-common/psiginfo.c (psiginfo): Likewise.
927 * stdio-common/psignal.c (psignal): Likewise.
928 * string/strsignal.c (strsignal): Likewise.
929 * include/signal.h (_sys_siglist): Declare hidden proto.
930 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
931 INTVARDEF with libc_hidden_data_def.
932 * stdio-common/itoa-udigits.c: Likewise.
933 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
934 (_itoa_lower_digits_internal): Remove declaration.
935 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
936 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
937 (_sys_sigabbrev_internal): Remove aliases.
938 (_sys_siglist): Define hidden alias.
939
507352f1
MT
9402012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
941
942 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
943 bits/sysctl.h.
944
42bbb1c3
L
9452012-05-31 H.J. Lu <hongjiu.lu@intel.com>
946
947 [BZ #14117]
6bd784b6
L
948 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
949 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
950
8bca20f0
L
951 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
952 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
953 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
954 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
955 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
956 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
957
f9e890a9
L
958 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
959 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
960 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
961
471101a1
L
962 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
963 with __addr.
964 (insw): Likewise.
965 (insl): Likewise.
966 (outsb): Likewise.
967 (outsw): Likewise.
968 (outsl): Likewise.
969
6451c862
L
970 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
971 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
972 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
973
a254b8c9
L
974 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
975 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
976 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
977 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
978 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
979 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
980
b8dfdd92
L
981 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
982 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
983
578cd270
L
984 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
985 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
986
de662f5f
L
987 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
988 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
989 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
990
25653439
L
991 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
992 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
993 to ...
994 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
995
6bad24a0
L
996 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
997 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
998 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
999
42bbb1c3
L
1000 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1001 for x86-64.
1002 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1003
2d10d547
JM
10042012-05-31 Joseph Myers <joseph@codesourcery.com>
1005
1006 * math/math.h (M_El): Use two more decimal places.
1007 (M_LOG2El): Likewise.
1008 (M_LOG10El): Likewise.
1009 (M_LN2l): Likewise.
1010 (M_LN10l): Likewise.
1011 (M_PIl): Likewise.
1012 (M_PI_2l): Likewise.
1013 (M_PI_4l): Likewise.
1014 (M_1_PIl): Likewise.
1015 (M_2_PIl): Likewise.
1016 (M_2_SQRTPIl): Likewise.
1017 (M_SQRT2l): Likewise.
1018 (M_SQRT1_2l): Likewise.
1019
f230c29b
DM
10202012-05-31 David S. Miller <davem@davemloft.net>
1021
1022 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1023 values between float registers.
1024 * sysdeps/sparc/sparc64/memset.S: Likewise.
1025 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1026
fed806c3
MF
10272012-05-31 Mike Frysinger <vapier@gentoo.org>
1028
1029 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1030 -D_FORTIFY_SOURCE=1.
1031 (CPPFLAGS-tst-longjmp_chk.c): Define.
1032 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1033 (CPPFLAGS-tst-longjmp_chk2.c): Define.
1034 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1035 CFLAGS-tst-wchar-h.c.
1036
30917259
MP
10372012-05-31 Marek Polacek <polacek@redhat.com>
1038
1039 [BZ #14132]
1040 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1041 __endmntent_internal): Remove declaration.
1042 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1043 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1044 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1045
1c58d5dc
DM
10462012-05-30 David S. Miller <davem@davemloft.net>
1047
1048 * sysdeps/sparc/sparc32/soft-fp/q_util.c
1049 (___Q_simulate_exceptions): Use real FP ops rather than writing
1050 into the %fsr.
1051 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1052 Likewise.
1053
7dc00e0d
L
10542012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1055
1056 [BZ #14117]
0bd53985
L
1057 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1058 * sysdeps/x86/bits/xtitypes.h: This.
1059
3a257e66
L
1060 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1061 * sysdeps/x86/bits/wordsize.h: This.
1062
62f62904
L
1063 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1064 * sysdeps/x86/bits/huge_vall.h: This.
1065
404fe9d9
L
1066 * sysdeps/i386/bits/select.h: Removed.
1067 * sysdeps/x86_64/bits/select.h: Renamed to ...
1068 * sysdeps/x86/bits/select.h: This.
1069
d48d0446
L
1070 * sysdeps/i386/bits/setjmp.h: Removed.
1071 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1072 * sysdeps/x86/bits/setjmp.h: This.
1073
7dc00e0d
L
1074 * sysdeps/i386/bits/mathdef.h: Removed.
1075 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1076 * sysdeps/x86/bits/mathdef.h: This.
1077
03277f8f
AS
10782012-05-30 Andreas Schwab <schwab@linux-m68k.org>
1079
1080 [BZ #14132]
1081 * include/sys/socket.h (__connect_internal)
1082 (__libc_sa_len_internal): Remove declaration.
1083 (__connect, __libc_sa_len): Declare hidden_proto.
1084 (SA_LEN): Remove use of INTUSE.
1085 * socket/connect.c: Add libc_hidden_def.
1086 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1087 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1088 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1089 alias.
1090 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1091 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1092 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1093 of adding _internal alias.
1094
13764867
L
10952012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1096
1097 [BZ #14117]
6bd97696
L
1098 * sysdeps/i386/bits/link.h: Removed.
1099 * sysdeps/i386/bits/linkmap.h: Likewise.
1100 * sysdeps/x86_64/bits/link.h: Renamed to ...
1101 * sysdeps/x86/bits/link.h: This.
1102 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1103 * sysdeps/x86/bits/linkmap.h: This.
1104
f726f0bb
L
1105 * sysdeps/i386/bits/endian.h: Removed.
1106 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1107 * sysdeps/x86/bits/endian.h: This.
1108
13764867
L
1109 * sysdeps/i386/bits/byteswap.h: Removed.
1110 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1111 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1112 * sysdeps/x86/bits/byteswap.h: This.
1113 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1114 * sysdeps/x86/bits/byteswap-16.h: This.
1115 * sysdeps/i386/Implies: Add x86.
1116 * sysdeps/x86_64/Implies: Likewise.
1117
ae251b0b
DM
11182012-05-30 David S. Miller <davem@davemloft.net>
1119
1120 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1121 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1122 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1123 (FP_TRAPPING_EXCEPTIONS): Define.
1124 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1125 (FP_TRAPPING_EXCEPTIONS): Define.
1126 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1127 subnormals only when inexact has been signalled or underflow
1128 exceptions are enabled.
1129 (_FP_PACK_CANONICAL): Likewise.
1130
d5c90867
L
11312012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1132
1133 [BZ #14183]
1134 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1135 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1136
63f1549e
RH
11372012-05-30 Richard Henderson <rth@twiddle.net>
1138
8d8f2279
RH
1139 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1140 with #ifndef NOT_IN_libc.
1141
63f1549e
RH
1142 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1143 marked to avoid plt entry.
1144
0ab0291b
L
11452012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1146
1147 [BZ #14112]
1148 * Makeconfig (default-abi): New macro.
1149 (abi-includes): Likewise.
1150 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1151 $(abi-$(default-abi)-lib-soname) for soname if defined.
1152 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1153 abi-variants.
1154 * Makefile (installed-stubs): Likewise.
1155 * include/stubs-biarch.h: Removed.
1156 * scripts/lib-names.awk: Only handle one library at a time.
1157 * scripts/soversions.awk: Remove WORDSIZE support.
1158 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1159 entries.
1160 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1161 Removed.
1162 (syscall-list-default-condition): Likewise.
1163 (syscall-list-default-condition): Likewise.
1164 (syscall-list-includes): Likewise.
1165 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1166 syscall-list-* with abi-*. Handle undefined abi-variants.
1167 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1168 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1169 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1170 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1171 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1172 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1173 Removed.
1174 (syscall-list-32-options): Likewise.
1175 (syscall-list-32-condition): Likewise.
1176 (syscall-list-64-options): Likewise.
1177 (syscall-list-64-condition): Likewise.
1178 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1179 macro.
1180 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1181 Renamed to ...
1182 (abi-*): This.
1183 (abi-64-ld-soname): New macro.
1184 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1185 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1186 Renamed to ...
1187 (abi-*): This.
1188 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1189 * sysdeps/x86_64/x32/shlib-versions: Likewise.
1190
4da0431d
JM
11912012-05-30 Joseph Myers <joseph@codesourcery.com>
1192
3a85279c
JM
1193 * sysdeps/unix/sysv/linux/kernel-features.h
1194 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1195 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1196 include <kernel-features.h>.
1197 [!__NR_ftruncate64]: Remove conditional code.
1198 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1199 [__NR_ftruncate64]: Make code unconditional.
1200 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1201 * sysdeps/unix/sysv/linux/truncate64.c: Do not
1202 include <kernel-features.h>.
1203 [!__NR_ftruncate64]: Remove conditional code.
1204 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1205 [__NR_ftruncate64]: Make code unconditional.
1206 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1208 include <kernel-features.h>.
1209 [!__NR_ftruncate64]: Remove conditional code.
1210 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1211 [__NR_ftruncate64]: Make code unconditional.
1212 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1214 include <kernel-features.h>.
1215 [!__NR_ftruncate64]: Remove conditional code.
1216 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1217 [__NR_ftruncate64]: Make code unconditional.
1218 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1219
4da0431d
JM
1220 * configure.in (libc_cv_fpie): Weaken to a compile test using
1221 LIBC_TRY_CC_OPTION.
1222 * configure: Regenerated.
1223
11ef492c
AK
12242012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1225
1226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1230 Refreshed.
1231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1237 Refreshed.
1238
d66ef399
DM
12392012-05-27 David S. Miller <davem@davemloft.net>
1240
1241 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1242 (___Q_zero): New.
1243 (__Q_simulate_exceptions): Return void. Change to simulate
1244 exceptions by writing into the %fsr.
1245 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1246 (__Qp_handle_exceptions): Likewise.
1247 (numbers): Delete.
1248 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1249 __Qp_handle_exceptions.
1250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1251 __Qp_handle_exceptions.
1252 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1253 as unused and give dummy FP_RND_NEAREST initializer.
1254 (FP_INHIBIT_RESULTS): Define.
1255 (___Q_simulate_exceptions): Update declaration.
1256 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1257 formatting.
1258 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1259 as unused and give dummy FP_RND_NEAREST initializer.
1260 (__Qp_handle_exceptions): Update declaration.
1261 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1262 formatting.
1263
04fb54b5
TS
12642012-05-27 Thomas Schwinge <thomas@codesourcery.com>
1265
1266 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1267 the temporary FPU control word.
1268 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1269 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1270 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1271 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1272 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1273 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1274 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1275 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1276 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1277 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1278 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1279
3f99608f
KK
12802012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1281
1282 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1283 fields.
1284
65a4de4e
CLT
12852012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
1286
1287 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1288 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1289 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1290 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1291 Likewise.
1292 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1293 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1294 Likewise.
1295
15749d40
UD
12962012-05-27 Ulrich Drepper <drepper@gmail.com>
1297
1298 * po/h.po: Update from translation team.
1299
25dbcb27
AS
13002012-05-26 Andreas Schwab <schwab@linux-m68k.org>
1301
3d3f8e55
AS
1302 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1303
25dbcb27
AS
1304 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1305 handling of denormals.
1306 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1307 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1308 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1309 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1310 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1311 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1312 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1313 Likewise.
1314
7ad47a80 13152012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
1316
1317 [BZ #14152]
1318 * math/libm-test.inc (fma_test): Don't always expect underflow
1319 exception.
1320
9c6ea9fa
SP
13212012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1322
1323 [BZ #12416]
1324 * elf/tst-execstack.c: Include stackinfo.h.
1325 (do_test): Adjust test case to ensure that pthread_getattr_np
1326 behaviour remains the same after marking stack executable.
1327
a8239222
JM
13282012-05-25 Joseph Myers <joseph@codesourcery.com>
1329
1330 * sysdeps/unix/sysv/linux/kernel-features.h
1331 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1332 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1333 kernel-features.h.
1334 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1335 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1336 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1337 kernel-features.h.
1338 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1339 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1340
918b5606
L
13412012-05-25 H.J. Lu <hongjiu.lu@intel.com>
1342
1343 * configure.in: Define the default includes to being none.
1344 * configure: Regenerated.
1345
3a097cc7
RM
13462012-05-25 Roland McGrath <roland@hack.frob.com>
1347
8422c9a5
RM
1348 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1349 * sysdeps/x86_64/setjmp.S: Likewise.
1350 * sysdeps/i386/bsd-setjmp.S: Likewise.
1351 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1352 * sysdeps/i386/setjmp.S: Likewise.
1353 * sysdeps/i386/__longjmp.S: Likewise.
1354 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1355 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1356
3a097cc7
RM
1357 * include/stap-probe.h: New file.
1358 * configure.in: Handle --enable-systemtap.
1359 * configure: Regenerated.
1360 * config.h.in (USE_STAP_PROBE): New #undef.
1361 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1362 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1363 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1364
21708942
JM
13652012-05-25 Joseph Myers <joseph@codesourcery.com>
1366
1367 [BZ #13717]
1368 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1369 to 2.4.0 where earlier.
1370 * sysdeps/unix/sysv/linux/configure: Regenerated.
1371 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1372 <kernel-features.h>.
1373 [__ASSUME_32BITUIDS]: Make code unconditional.
1374 [!__ASSUME_32BITUIDS]: Remove conditional code.
1375 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1376 <kernel-features.h>.
1377 [__ASSUME_32BITUIDS]: Make code unconditional.
1378 [!__ASSUME_32BITUIDS]: Remove conditional code.
1379 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
1380 [__ASSUME_32BITUIDS]: Make code unconditional.
1381 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1382 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
1383 <kernel-features.h>.
1384 [__ASSUME_32BITUIDS]: Make code unconditional.
1385 [!__ASSUME_32BITUIDS]: Remove conditional code.
1386 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
1387 <kernel-features.h>.
1388 [__ASSUME_32BITUIDS]: Make code unconditional.
1389 [!__ASSUME_32BITUIDS]: Remove conditional code.
1390 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
1391 <kernel-features.h>.
1392 [__ASSUME_32BITUIDS]: Make code unconditional.
1393 [!__ASSUME_32BITUIDS]: Remove conditional code.
1394 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
1395 <kernel-features.h>.
1396 [__ASSUME_32BITUIDS]: Make code unconditional.
1397 [!__ASSUME_32BITUIDS]: Remove conditional code.
1398 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1399 <kernel-features.h>.
1400 [__ASSUME_32BITUIDS]: Make code unconditional.
1401 [!__ASSUME_32BITUIDS]: Remove conditional code.
1402 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1403 <kernel-features.h>.
1404 [__ASSUME_32BITUIDS]: Make code unconditional.
1405 [!__ASSUME_32BITUIDS]: Remove conditional code.
1406 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
1407 <kernel-features.h>.
1408 [__ASSUME_32BITUIDS]: Make code unconditional.
1409 [!__ASSUME_32BITUIDS]: Remove conditional code.
1410 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1411 <kernel-features.h>.
1412 [__ASSUME_32BITUIDS]: Make code unconditional.
1413 [!__ASSUME_32BITUIDS]: Remove conditional code.
1414 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1415 <kernel-features.h>.
1416 [__ASSUME_32BITUIDS]: Make code unconditional.
1417 [!__ASSUME_32BITUIDS]: Remove conditional code.
1418 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
1419 <kernel-features.h>.
1420 [__ASSUME_32BITUIDS]: Make code unconditional.
1421 [!__ASSUME_32BITUIDS]: Remove conditional code.
1422 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
1423 <kernel-features.h>.
1424 [__NR_setresgid] (__setresgid): Do not declare.
1425 [__ASSUME_32BITUIDS]: Make code unconditional.
1426 [!__ASSUME_32BITUIDS]: Remove conditional code.
1427 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1428 <kernel-features.h>.
1429 [__NR_setresuid] (__setresuid): Do not declare.
1430 [__ASSUME_32BITUIDS]: Make code unconditional.
1431 [!__ASSUME_32BITUIDS]: Remove conditional code.
1432 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
1433 <kernel-features.h>.
1434 [__ASSUME_32BITUIDS]: Make code unconditional.
1435 [!__ASSUME_32BITUIDS]: Remove conditional code.
1436 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
1437 <kernel-features.h>.
1438 [__ASSUME_32BITUIDS]: Make code unconditional.
1439 [!__ASSUME_32BITUIDS]: Remove conditional code.
1440 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
1441 <kernel-features.h>.
1442 [__ASSUME_32BITUIDS]: Make code unconditional.
1443 [!__ASSUME_32BITUIDS]: Remove conditional code.
1444 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
1445 <kernel-features.h>.
1446 [__ASSUME_32BITUIDS]: Make code unconditional.
1447 [!__ASSUME_32BITUIDS]: Remove conditional code.
1448 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
1449 <kernel-features.h>.
1450 [__ASSUME_32BITUIDS]: Make code unconditional.
1451 [!__ASSUME_32BITUIDS]: Remove conditional code.
1452 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
1453 <kernel-features.h>.
1454 [__ASSUME_32BITUIDS]: Make code unconditional.
1455 [!__ASSUME_32BITUIDS]: Remove conditional code.
1456 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
1457 <kernel-features.h>.
1458 [__ASSUME_32BITUIDS]: Make code unconditional.
1459 [!__ASSUME_32BITUIDS]: Remove conditional code.
1460 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
1461 <kernel-features.h>.
1462 [__ASSUME_32BITUIDS]: Make code unconditional.
1463 [!__ASSUME_32BITUIDS]: Remove conditional code.
1464 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
1465 <kernel-features.h>.
1466 [__ASSUME_32BITUIDS]: Make code unconditional.
1467 [!__ASSUME_32BITUIDS]: Remove conditional code.
1468 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1469 <kernel-features.h>.
1470 [__ASSUME_32BITUIDS]: Make code unconditional.
1471 [!__ASSUME_32BITUIDS]: Remove conditional code.
1472 * sysdeps/unix/sysv/linux/kernel-features.h
1473 (__ASSUME_SETRESUID_SYSCALL): Remove.
1474 (__ASSUME_SETRESGID_SYSCALL): Likewise.
1475 (__ASSUME_32BITUIDS): Likewise.
1476 (__ASSUME_LDT_WORKS): Likewise.
1477 (__ASSUME_O_DIRECTORY): Likewise.
1478 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1479 architecture but not kernel version.
1480 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1481 (__ASSUME_MMAP2_SYSCALL): Likewise.
1482 (__ASSUME_STAT64_SYSCALL): Likewise.
1483 (__ASSUME_IPC64): Likewise.
1484 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1485 <kernel-features.h>.
1486 [__ASSUME_32BITUIDS]: Make code unconditional.
1487 [!__ASSUME_32BITUIDS]: Remove conditional code.
1488 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1489 <kernel-features.h>.
1490 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1491 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1492 132096]: Remove conditional code.
1493 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1494 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
1503 <kernel-features.h>.
1504 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1505 unconditional.
1506 (__setresgid): Do not declare.
1507 [__ASSUME_32BITUIDS]: Make code unconditional.
1508 [!__ASSUME_32BITUIDS]: Remove conditional code.
1509 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1510 <kernel-features.h>.
1511 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1512 unconditional.
1513 (__setresuid): Do not declare.
1514 [__ASSUME_32BITUIDS]: Make code unconditional.
1515 [!__ASSUME_32BITUIDS]: Remove conditional code.
1516 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1517 <kernel-features.h>.
1518 [__ASSUME_32BITUIDS]: Make code unconditional.
1519 [!__ASSUME_32BITUIDS]: Remove conditional code.
1520 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1521 <kernel-features.h>.
1522 [__ASSUME_32BITUIDS]: Make code unconditional.
1523 [!__ASSUME_32BITUIDS]: Remove conditional code.
1524
a386f1cc
RH
15252012-05-25 Richard Henderson <rth@twiddle.net>
1526
1527 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1528 dl_hwcap to ifunc resolver.
1529 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1530 elf_ifunc_invoke.
1531 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1532 dl_hwcap to ifunc resolver.
1533 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1534
b6550497
JM
15352012-05-24 Joseph Myers <joseph@codesourcery.com>
1536
1537 [BZ #14153]
1538 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1539 for |x| <= 2**-26, not 2**-57.
1540 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1541 exception.
1542
b0bc23a1
JL
15432012-05-24 Jeff Law <law@redhat.com>
1544
1545 * stdio-common/Makefile (tests): Add bug25.
1546 * stdio-common/bug25.c: New test.
1547
347c92e9
L
15482012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1549
1550 [BZ #13576]
1551 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1552 multiple of MALLOC_ALIGNMENT in size.
1553 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1554
6bcc8b3f
JM
15552012-05-24 Joseph Myers <joseph@codesourcery.com>
1556
1557 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1558 Require >= 256.
1559 (FILENAME_MAX): Use macro-int-constant.
1560 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1561 (_IOFBF): Use macro-int-constant.
1562 (_IOLBF): Likewise.
1563 (_IONBF): Likewise.
1564 (SEEK_CUR): Likewise.
1565 (SEEK_END): Likewise.
1566 (SEEK_SET): Likewise.
1567 (TMP_MAX): Likewise.
1568 (EOF): Use macro-int-constant. Require < 0.
1569 (NULL): Use macro-constant. Require == 0.
1570 (stdin): Require type to be FILE *.
1571 (stdout): Likewise.
1572 (stderr): Likewise.
1573 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1574 macro-int-constant.
1575 (EXIT_SUCCESS): Likewise.
1576 (NULL): Use macro-constant. Require == 0.
1577 (RAND_MAX): Use macro-int-constant.
1578 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1579 [C99-based standards] (strtof): Require function.
1580 [C99-based standards] (strtold): Likewise.
1581 [C99-based standards] (strtoll): Likewise.
1582 [C99-based standards] (strtoull): Likewise.
1583 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1584 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1585 [ISO || ISO99 || ISO11] (math.h): Likewise.
1586 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1587 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1588 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1589
d18ea0c5
AS
15902012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1591
1592 [BZ #14132]
56d25bb8
AS
1593 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1594 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1595 * intl/dgettext.c (DCGETTEXT): Likewise.
1596 * intl/gettext.c (DCGETTEXT): Likewise.
1597 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1598 * posix/regex_internal.h (gettext): Likewise.
1599 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1600 Remove declaration.
1601 * include/argz.h (__argz_count_internal)
1602 (__argz_stringify_internal): Remove declaration.
1603 (__argz_count, __argz_stringify): Declare hidden proto.
1604 * intl/dcgettext.c: Remove use of INTDEF.
1605 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1606 * string/argz-stringify.c: Likewise.
1607 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1608 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1609 Declare hidden proto.
d18ea0c5
AS
1610 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1611 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1612 Declare hidden proto.
1613 * include/stdio.h (__asprintf_internal): Don't declare.
1614 (__asprintf): Don't define as macro. Declare hidden proto.
1615 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1616 (__fsetlocking): Declare hidden proto.
1617 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1618 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1619 hidden proto.
1620 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1621 (_IO_setlinebuf): Remove use of INTUSE.
1622 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1623 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1624 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1625 Remove declaration.
1626 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1627 (_IO_do_flush): Remove use of INTUSE.
1628 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1629 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1630 (_IO_adjust_column, _IO_least_wmarker)
1631 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1632 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1633 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1634 (_IO_default_doallocate, _IO_wdefault_doallocate)
1635 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1636 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1637 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1638 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1639 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1640 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1641 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1642 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1643 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1644 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1645 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1646 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1647 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1648 proto.
1649 (_IO_flush_all_internal, _IO_adjust_column_internal)
1650 (_IO_default_uflow_internal, _IO_default_finish_internal)
1651 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1652 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1653 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1654 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1655 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1656 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1657 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1658 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1659 (_IO_file_close_internal, _IO_file_close_it_internal)
1660 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1661 (_IO_file_init_internal, _IO_file_attach_internal)
1662 (_IO_file_fopen_internal, _IO_file_read_internal)
1663 (_IO_file_sync_internal, _IO_file_seek_internal)
1664 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1665 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1666 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1667 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1668 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1669 (_IO_list_all_internal, _IO_link_in_internal)
1670 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1671 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1672 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1673 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1674 (_IO_do_write_internal, _IO_padn_internal)
1675 (_IO_getline_info_internal, _IO_getline_internal)
1676 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1677 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1678 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1679 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1680 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1681 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1682 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1683 with libc_hidden_ver, remove use of INTUSE.
1684 * libio/genops.c: Likewise.
1685 * libio/freopen.c: Likewise.
1686 * libio/freopen64.c: Likewise.
1687 * libio/iofclose.c: Likewise.
1688 * libio/iofdopen.c: Likewise.
1689 * libio/iofflush.c: Likewise.
1690 * libio/iofflush_u.c: Likewise.
1691 * libio/iofgets.c: Likewise.
1692 * libio/iofgets_u.c: Likewise.
1693 * libio/iofopen.c: Likewise.
1694 * libio/iofopncook.c: Likewise.
1695 * libio/iofread.c: Likewise.
1696 * libio/iofread_u.c: Likewise.
1697 * libio/ioftell.c: Likewise.
1698 * libio/iofwrite.c: Likewise.
1699 * libio/iogetline.c: Likewise.
1700 * libio/iogets.c: Likewise.
1701 * libio/iogetwline.c: Likewise.
1702 * libio/iopadn.c: Likewise.
1703 * libio/iopopen.c: Likewise.
1704 * libio/ioseekoff.c: Likewise.
1705 * libio/ioseekpos.c: Likewise.
1706 * libio/iosetbuffer.c: Likewise.
1707 * libio/iosetvbuf.c: Likewise.
1708 * libio/ioungetc.c: Likewise.
1709 * libio/ioungetwc.c: Likewise.
1710 * libio/iovdprintf.c: Likewise.
1711 * libio/iovsprintf.c: Likewise.
1712 * libio/iovsscanf.c: Likewise.
1713 * libio/memstream.c: Likewise.
1714 * libio/obprintf.c: Likewise.
1715 * libio/oldfileops.c: Likewise.
1716 * libio/oldiofclose.c: Likewise.
1717 * libio/oldiofdopen.c: Likewise.
1718 * libio/oldiofopen.c: Likewise.
1719 * libio/oldiopopen.c: Likewise.
1720 * libio/oldstdfiles.c: Likewise.
1721 * libio/putc.c: Likewise.
1722 * libio/setbuf.c: Likewise.
1723 * libio/setlinebuf.c: Likewise.
1724 * libio/stdfiles.c: Likewise.
1725 * libio/strops.c: Likewise.
1726 * libio/vasprintf.c: Likewise.
1727 * libio/vscanf.c: Likewise.
1728 * libio/vsnprintf.c: Likewise.
1729 * libio/vswprintf.c: Likewise.
1730 * libio/wfiledoalloc.c: Likewise.
1731 * libio/wfileops.c: Likewise.
1732 * libio/wgenops.c: Likewise.
1733 * libio/wmemstream.c: Likewise.
1734 * libio/wstrops.c: Likewise.
1735 * libio/__fpurge.c: Likewise.
1736 * libio/__fsetlocking.c: Likewise.
1737 * assert/assert.c: Likewise.
1738 * debug/fgets_chk.c: Likewise.
1739 * debug/fgets_u_chk.c: Likewise.
1740 * debug/fread_chk.c: Likewise.
1741 * debug/fread_u_chk.c: Likewise.
1742 * debug/gets_chk.c: Likewise.
1743 * debug/obprintf_chk.c: Likewise.
1744 * debug/vasprintf_chk.c: Likewise.
1745 * debug/vdprintf_chk.c: Likewise.
1746 * debug/vsnprintf_chk.c: Likewise.
1747 * debug/vsprintf_chk.c: Likewise.
1748 * malloc/mtrace.c: Likewise.
1749 * misc/error.c: Likewise.
1750 * misc/syslog.c: Likewise.
1751 * stdio-common/asprintf.c: Likewise.
1752 * stdio-common/fxprintf.c: Likewise.
1753 * stdio-common/getw.c: Likewise.
1754 * stdio-common/isoc99_fscanf.c: Likewise.
1755 * stdio-common/isoc99_scanf.c: Likewise.
1756 * stdio-common/isoc99_vfscanf.c: Likewise.
1757 * stdio-common/isoc99_vscanf.c: Likewise.
1758 * stdio-common/isoc99_vsscanf.c: Likewise.
1759 * stdio-common/printf-prs.c: Likewise.
1760 * stdio-common/printf_fp.c: Likewise.
1761 * stdio-common/printf_fphex.c: Likewise.
1762 * stdio-common/printf_size.c: Likewise.
1763 * stdio-common/putw.c: Likewise.
1764 * stdio-common/scanf.c: Likewise.
1765 * stdio-common/sprintf.c: Likewise.
1766 * stdio-common/tmpfile.c: Likewise.
1767 * stdio-common/vfprintf.c: Likewise.
1768 * stdio-common/vfscanf.c: Likewise.
1769 * stdlib/strfmon_l.c: Likewise.
1770 * sunrpc/openchild.c: Likewise.
1771 * sunrpc/xdr_stdio.c: Likewise.
1772 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1773 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1774
d6c33fda
RM
17752012-05-24 Roland McGrath <roland@hack.frob.com>
1776
c1487492
RM
1777 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1778
1779 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1780 in the third column, to generate for the shared library an IFUNC
1781 that uses _dl_vdso_vsym.
1782 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1783 * Makeconfig (object-suffixes-noshared): New variable.
1784
1785 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1786 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1787 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1788 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1789
d6c33fda
RM
1790 [BZ #14132]
1791 * include/sys/time.h (__gettimeofday): Remove macro.
1792 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1793 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1794 Remove INTDEF.
1795 (__gettimeofday): Add libc_hidden_def.
1796 (gettimeofday): Add libc_hidden_weak.
1797 * sysdeps/mach/gettimeofday.c: Likewise.
1798 * sysdeps/posix/gettimeofday.c: Likewise.
1799 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1800 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1801 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1802 (__gettimeofday_internal): Remove strong_alias.
1803 (__gettimeofday): Add libc_hidden_def.
1804 (gettimeofday): Add libc_hidden_weak.
1805 * sysdeps/unix/syscalls.list (gettimeofday):
1806 Remove __gettimeofday_internal alias.
1807
b5a2bbe6
L
18082012-05-24 Daniel Jacobowitz <drow@false.org>
1809 H.J. Lu <hongjiu.lu@intel.com>
1810
1811 [BZ #12495]
1812 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1813 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1814 (largebin_index_32_big): New.
1815 (largebin_index): Use it for 16-byte alignment.
1816 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1817 correction with front_misalign.
1818
cfba4fda
L
18192012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1820
7f907421
L
1821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1822 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1823 Likewise.
1824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1825 Likewise.
1826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1827 Likewise.
1828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1829 Likewise.
1830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1831 Likewise.
1832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1833 Likewise.
1834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1835 Likewise.
1836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1837 Likewise.
1838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1839 Likewise.
1840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1841 Likewise.
1842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1843 Likewise.
1844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1845 Likewise.
1846
cfba4fda
L
1847 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1848 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1849
80bad0cc
JM
18502012-05-24 Joseph Myers <joseph@codesourcery.com>
1851
7a25eb06
JM
1852 [BZ #10846]
1853 [BZ #14036]
1854 * math/libm-test.inc (exp_test): Add test from bug 14036.
1855 (pow_test): Add test from bug 10846.
1856
795405f9
JM
1857 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1858 and other flags.
1859 (special_function): Do not include flags in test name.
1860 (parse_args): Likewise.
1861 * sysdeps/i386/fpu/libm-test-ulps: Update.
1862 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1863 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1864 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1866
80bad0cc
JM
1867 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1868 exceptions.
1869 * math/libm-test.inc ("Philosophy"): Update comment about
1870 exception testing.
1871 (UNDERFLOW_EXCEPTION): New macro.
1872 (UNDERFLOW_EXCEPTION_OK): Likewise.
1873 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1874 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1875 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1876 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1877 (INVALID_EXCEPTION_OK): Update value.
1878 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1879 (OVERFLOW_EXCEPTION_OK): Likewise.
1880 (IGNORE_ZERO_INF_SIGN): Likewise.
1881 (test_exceptions): Handle underflow exceptions.
1882 (acos_test): Update for underflow exception expectations.
1883 (cexp_test): Likewise.
1884 (clog_test): Likewise.
1885 (clog10_test): Likewise.
1886 (csqrt_test): Likewise.
1887 (ctan_test): Likewise.
1888 (ctanh_test): Likewise.
1889 (exp_test): Likewise.
1890 (exp10_test): Likewise.
1891 (exp2_test): Likewise.
1892 (expm1_test): Likewise.
1893 (fma_test): Likewise.
1894 (j0_test): Likewise.
1895 (jn_test): Likewise.
1896 (nexttoward_test): Likewise.
1897 (pow_test): Likewise.
1898 (scalbn_test): Likewise.
1899 (scalbln_test): Likewise.
1900 (tan_test): Likewise.
1901 (y1_test): Likewise.
1902 * sysdeps/i386/fpu/libm-test-ulps: Update.
1903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1904
9e0e3d0b
DM
19052012-05-23 David S. Miller <davem@davemloft.net>
1906
1907 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1908 (__libc_sigaction): Remove unused local variables.
1909
ccd0a08f
L
19102012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1911
1912 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1913
62bdf9a6
PE
19142012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1915
f8591f80
PE
1916 mktime: avoid signed integer overflow
1917 * time/mktime.c (__mktime_internal): Do not mishandle the case
1918 where diff == INT_MIN.
1919
94c7d826
PE
1920 mktime: simplify computation of average
1921 * time/mktime.c (ranged_convert): Use new time_t_avg function
1922 instead of rolling our own (probably-slower) code.
1923
ce73d683
PE
1924 mktime: do not assume signed right shift propagates sign bit
1925 * time/mktime.c (isdst_differ): New static function.
1926 (__mktime_internal): No need to normalize tm_isdst now.
1927 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1928 tm_isdst values.
1929
72a22e59
PE
1930 mktime: merge another wrapv change from gnulib
1931 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1932 from some compilers.
1933
68605433
PE
1934 mktime: remove incorrect attempt at unusual arithmetics
1935 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1936 The code didn't really work on such machines anyway.
1937 (TYPE_MINIMUM): Assume two's complement.
1938 (twos_complement_arithmetic): Verify that long_int and time_t
1939 are two's complement (or unsigned, in the latter case).
1940
03cf7fe3
PE
1941 mktime: check signed shifts on long_int and time_t, too
1942 * time/mktime.c (SHR): Check that shifts work as desired
1943 on the types long_int and time_t too, as SHR is used on
1944 such types.
1945
f04dfbc2
PE
1946 mktime: do not assume 'long' is wide enough
1947 * time/mktime.c (verify): Move decl up.
1948 (long_int): New type.
1949 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1950 to remove assumption in the code that 'long' is wide enough to
1951 store year values. This assumption is not true on x32 and on
1952 some non-glibc platforms.
1953
62bdf9a6
PE
1954 mktime: merge wrapv change from gnulib
1955 * time/mktime.c (WRAPV): New macro.
1956 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1957 (guess_time_tm, __mktime_internal): Do not assume that signed
1958 integer overflow wraps around; modern compilers generate code
1959 where this assumption is no longer valid.
1960
5e292e4f
L
19612012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1962
1963 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1964 Replace "jmp L(pseudo_end)" with "ret".
1965 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1966 Likewise.
1967
8caf8c87
AJ
19682012-05-23 Andreas Jaeger <aj@suse.de>
1969
1970 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1971 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1972
1a09dc56
AJ
19732012-05-23 Andreas Jaeger <aj@suse.de>
1974 Maximilian Attems <max@stro.at>
1975
1976 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1977 New macros.
1978
1c87aba0
L
19792012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1980
1981 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1982 code so that pseudo_end is just ret and the stack pointer is
1983 correct also for static library in error case.
1984
40e45bd5
JM
19852012-05-23 Joseph Myers <joseph@codesourcery.com>
1986
c2670533
JM
1987 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1988 move to syscalls.list.
1989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1993
40e45bd5
JM
1994 * manual/install.texi (Running make install): Do not mention Linux
1995 kernel version for which pt_chown is not needed.
1996 (Linux): Do not mention problems with nscd with 2.0 kernels.
1997 * INSTALL: Regenerated.
1998
be08eda5
AJ
19992012-05-23 Andreas Jaeger <aj@suse.de>
2000
2001 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2002 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2003 macro.
2004 * sysdeps/unix/sysv/linux/s390/bits/mman.h
2005 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2006 * sysdeps/unix/sysv/linux/sh/bits/mman.h
2007 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2008 * sysdeps/unix/sysv/linux/i386/bits/mman.h
2009 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2010 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2011 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2012 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2013 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2014 * sysdeps/unix/sysv/linux/bits/in.h
2015 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2016
a6a056bb
RM
20172012-05-22 Roland McGrath <roland@hack.frob.com>
2018
2019 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2020 (PREPARE_VERSION): Just use assert instead, it will be elided
2021 under [NDEBUG] anyway.
2022
c9009328
L
20232012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2024
2025 * sysdeps/unix/sysv/linux/Makefile: Include
2026 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 2027 (sysdep_routines): Remove sysctl.
c9009328
L
2028 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2029 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2030 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2031 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2032 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2033
73338355
AJ
20342012-05-22 Andreas Jaeger <aj@suse.de>
2035
2036 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2037 that pseudo_end is just ret and the stack pointer is correct also
2038 for static library in error case.
2039
d44638b0
PP
20402012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2041
2042 [BZ #14122]
2043 * nss/nsswitch.c (defconfig_entries): New variable.
2044 (__nss_database_lookup): Don't leak defconfig entries.
2045 (nss_parse_service_list): Don't leak on error paths.
2046 (free_database_entries): New function.
2047 (free_defconfig): New function.
2048 (free_mem): Move common code to free_database_entries.
2049
31a39bd8
L
20502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2051
da0331a8
L
2052 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2053 Add arch_prctl.
2054 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2055
31a39bd8
L
2056 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2057 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2058 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2059 New macro.
2060 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2061 (INTERNAL_SYSCALL_TYPES): Likewise.
2062 (LOAD_ARGS_TYPES_[1-6]): Likewise.
2063 (LOAD_REGS_TYPES_[1-6]): Likewise.
2064 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2065 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2066
45470df3
AZ
20672012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2068
2069 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2070 copysignl for GLIBC_2_0.
2071 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2072 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2073 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2074 logbl for GLIBC_2_0.
2075 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2076 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2077
98a61bcb
L
20782012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2079
a4f6e481
L
2080 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2081 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2082
f63d5db6
L
2083 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2084 Use "neg %eax".
2085
98a61bcb
L
2086 * time/mktime.c: Update copyright years.
2087
95770f14
PE
20882012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2089
6226efbd
PE
2090 mktime: merge comment-quoting-style change from gnulib
2091 * time/mktime.c: Quote 'like this' in comments.
2092 The GNU coding standards suggest that we no longer quote `like this',
2093 as "`" and "'" are typically rendered asymmetrically nowadays.
2094 The typical gnulib style is to quote 'like this' when quoting
2095 code, and "like this" when quoting English.
2096
b99e4f78
PE
2097 * time/mktime.c (compile-command): Add "-I.".
2098
643e01e6
PE
2099 mktime: merge mktime-internal.h change from gnulib
2100 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2101
2554247d
PE
2102 mktime: merge time_r change from gnulib
2103 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2104
826dd0ab
PE
2105 mktime: merge DEBUG change from gnulib
2106 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2107 case system <time.h> has a #define.
2108
bd83aabe
PE
2109 mktime: merge <sys/types.h> change from gnulib
2110 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2111 since <time.t> is now guaranteed to define time_t.
2112
95770f14
PE
2113 mktime: merge HAVE_CONFIG_H change from gnulib
2114 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2115
5e1a27a9
L
21162012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2117
0e44a77e
L
2118 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2119 Use "neg %eax".
2120
5e1a27a9
L
2121 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2122 __rlim_t cast.
2123 (struct rusage): Use anonymous union to pad each field to
2124 __syscall_slong_t.
2125
46259bec
DM
21262012-05-21 David S. Miller <davem@davemloft.net>
2127
2128 * Makefules (o-iterator): Remove .s cases.
2129 (compile-command.s): Delete.
2130 (COMPILE.s): Delete.
2131 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2132
59f0c22e
JM
21332012-05-21 Joseph Myers <joseph@codesourcery.com>
2134
2135 * configure.in (libc_cv_predef_stack_protector): Only consider
2136 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2137 * configure: Regenerated.
2138
20c07380
L
21392012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2140
bbb3154b
L
2141 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2142 New macro. Use R*LP on int and pointer.
2143 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
2144 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2145 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
2146 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2147
20c07380
L
2148 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2149 [__WORDSIZE_TIME64_COMPAT32] instead of
2150 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2151 (struct utmp): Likewise.
2152 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2153 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2154 Renamed to ...
2155 (__WORDSIZE_TIME64_COMPAT32): This.
2156 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2157 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2158 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2159 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2160 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2161 (__WORDSIZE_TIME64_COMPAT32): New macro.
2162
d8d1017e
AJ
21632012-05-21 Andreas Jaeger <aj@suse.de>
2164
2165 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2166 only if [SHARED]. Add prototype for __wcschr_ia32.
2167
6c7fb145
RM
21682012-05-21 Roland McGrath <roland@hack.frob.com>
2169
2170 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2171 of %rbp unmolested in the jmp_buf while mangling the low bits.
2172 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2173 unmolested high bits of %rbp while demangling the low bits.
2174 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2175
66274218
AJ
21762012-05-21 Andreas Jaeger <aj@suse.de>
2177
07c58f8f
AJ
2178 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2179 * sunrpc/svc_simple.c: Use it for registerrpc.
2180 * sunrpc/xcrypt.c: Use it for passwd2des.
2181
66274218
AJ
2182 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2183
61f65140
L
21842012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2185
2186 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2187 Don't define if [__SYSCALL_WORDSIZE != 32].
2188 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2189 New macro.
2190
5fefb436
AJ
21912012-05-21 Bruno Haible <bruno@clisp.org>
2192 Andreas Jaeger <aj@suse.de>
2193
2194 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2195 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2196 inptr and inend for must_buffer_ch.
2197 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2198 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2199 * stdio-common/Makefile (tests): Remove bug15.
2200 (bug15-ENV): Remove macro.
2201 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2202 anymore.
2203
d8e272ab
AJ
22042012-05-19 Andreas Jaeger <aj@suse.de>
2205 Roland McGrath <roland@hack.frob.com>
2206
2207 * manual/contrib.texi: Completely rewritten. It contains now an
2208 alphabetical list of contributors and their contributions.
2209
4a56a162
RH
22102012-05-21 Richard Henderson <rth@twiddle.net>
2211
2212 * misc/getauxval.c (__getauxval): Use unsigned long int.
2213 * misc/sys/auxv.h: Include <sys/cdefs.h>.
2214 (getauxval): Use unsigned long int.
2215
d024d23c
L
22162012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2217
2218 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2219
cbc00a03
RM
22202012-05-21 Roland McGrath <roland@hack.frob.com>
2221
2222 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2223 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2224 __alignof__ (long double).
2225
478143fa
AZ
22262012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2227
2228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2229
c7683a6d
RH
22302012-05-20 Richard Henderson <rth@twiddle.net>
2231
2232 * misc/getauxval.c: New file.
2233 * misc/sys/auxv.h: New file.
2234 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2235 (routines): Add getauxval.
2236 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2237 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2238 * elf/dl-sysdep.c (_dl_auxv): Remove.
2239 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2240 * elf/dl-support.c (_dl_auxv): New variable.
2241 (_dl_aux_init): Initialize it.
2242 * manual/startup.texi (Auxiliary Vector): New node.
2243 * sysdeps/generic/bits/hwcap.h: New file.
2244 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2245 * sysdeps/powerpc/sysdep.h: ... here. Include it.
2246 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2247 * sysdeps/sparc/sysdep.h: ... here. Include it.
2248 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2249 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
2250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2251 Update.
c7683a6d
RH
2252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2255 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2260
a6f1845d
AZ
22612012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2262
2263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2264
cbcbe830
DM
22652012-05-19 David S. Miller <davem@davemloft.net>
2266
2267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2268
e0b16cc2
JM
22692012-05-19 Joseph Myers <joseph@codesourcery.com>
2270
2271 [BZ #14123]
2272 * math/s_ccosh.c: Include <float.h>
2273 (__ccosh): Avoid internal overflow calculating sinh and cosh
2274 values before multiplying by sin and cos values.
2275 * math/s_ccoshf.c: Likewise.
2276 * math/s_ccoshl.c: Likewise.
2277 * math/s_csin.c: Likewise.
2278 * math/s_csinf.c: Likewise.
2279 * math/s_csinl.c: Likewise.
2280 * math/s_csinh.c: Likewise.
2281 * math/s_csinhf.c: Likewise.
2282 * math/s_csinhl.c: Likewise.
2283 * math/libm-test.inc (ccos_test): Add more tests.
2284 (ccosh_test): Likewise.
2285 (csin_test): Likewise.
2286 (csinh_test): Likewise.
2287 * sysdeps/i386/fpu/libm-test-ulps: Update.
2288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2289
6ad13e08
L
22902012-05-19 H.J. Lu <hongjiu.lu@intel.com>
2291
f66f0ce8
L
2292 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2293 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2294
6ad13e08
L
2295 * sysdeps/x86_64/x32/_itoa.h: Add comment.
2296
b1d072a7
JM
22972012-05-19 Joseph Myers <joseph@codesourcery.com>
2298
2299 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2300 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2301 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2302 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2303 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2304 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2305 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2306 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2307 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2308 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2309 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2310 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2311 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2312 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2313 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2314 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2315 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2316 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2317 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2318 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2319 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2320 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2321 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2322 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2323 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2324 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2325 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2326 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2327 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2328 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2329 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2330
9eae47cb
AJ
23312012-05-18 Andreas Jaeger <aj@suse.de>
2332
2333 * csu/.gitignore: Delete.
2334
bb07f69f
L
23352012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2336
2337 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2338 (timex): Use __syscall_slong_t.
2339
e6bdb741
AJ
23402012-05-18 Andreas Jaeger <aj@suse.de>
2341 Carlos O'Donell <carlos_odonell@mentor.com>
2342
2343 * manual/install.texi (Configuring and compiling): Update
2344 description about files modified in the source directory.
d6c33fda 2345 * INSTALL: Regenerated.
e6bdb741 2346
1b74487e
L
23472012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2348
2349 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2350 value. Use "or" to set return value to -1.
2351 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2352 negate return value.
2353
a88b64b9
TMQMF
23542012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2355
2356 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2357 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2358 failure if the compiler has Graphite support disabled.
2359 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2360 Likewise.
2361 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2362 CFLAGS-memmove.c): Likewise.
2363 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2364 Likewise.
2365
3707636e
L
23662012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2367
610b8622
L
2368 * sysdeps/x86_64/x32/_itoa.h: New file.
2369
7cd195df
L
2370 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2371 getdents system call only if kernel and user dirents have the
2372 same d_ino and d_off.
2373
94b07d20
L
2374 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2375 LLONG_MAX != LONG_MAX.
2376 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2377 (_fitoa_word): Likewise.
2378
18298070
L
2379 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2380 years.
2381 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2382 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2383 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2384
553c7ea4
L
2385 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2386 include <bits/wordsize.h>. Check __x86_64__ instead of
2387 __WORDSIZE.
2388 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2389 if __x86_64__ is defined. Use anonymous union on fpstate.
2390
3707636e
L
2391 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2392 anonymous union.
2393
b53ef01a
AS
23942012-05-18 Andreas Schwab <schwab@linux-m68k.org>
2395
37fb1dc0
AS
2396 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2397 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
2398 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
2399 Refer to _rtld_local_ro instead of _rtld_global_ro.
2400 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
2401 Likewise.
2402 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
2403 Likewise.
2404 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
2405 Likewise.
2406 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2407 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2408 of _rtld_global, and rtld_progname instead of _dl_argv[0].
2409
b53ef01a
AS
2410 * sysdeps/powerpc/powerpc32/dl-machine.c
2411 (__elf_machine_runtime_setup) [PROF]: Don't reference
2412 _dl_prof_resolve.
2413
7a185db2
AJ
24142012-05-18 Andreas Jaeger <aj@suse.de>
2415
2416 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2417 function only available for GCCs before 3.4 since GCC 3.4
2418 introduced a builtin.
2419 (lrint): Likewise.
2420 (llrintf): Likewise.
2421 (llrint): Likewise.
2422 (fmaxf): Likewise.
2423 (fmax): Likewise.
2424 (fminf): Likewise.
2425 (fmin): Likewise.
2426 (rint): Likewise.
2427 (rintf): Likewise.
2428 (nearbyint): Likewise.
2429 (nearbyintf): Likewise.
2430 (ceil): Likewise.
2431 (ceilf): Likewise.
2432 (floor): Likewise.
2433 (floorf): Likewise.
2434
3e5aef87
L
24352012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2436
428bd707
L
2437 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2438 on both fields and cast pointer to __syscall_ulong_t.
2439
3e5aef87
L
2440 * bits/types.h (__fsword_t): New type.
2441 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2442 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2443 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2444 (__FSWORD_T_TYPE): Likewise.
2445 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2446 (__FSWORD_T_TYPE): Likewise.
2447 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2448 (__FSWORD_T_TYPE): Likewise.
2449 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2450 (__FSWORD_T_TYPE): Likewise.
2451 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2452 __SWORD_TYPE with __fsword_t.
2453 (statfs64): Likewise.
2454
1ba7c3dc
DM
24552012-05-17 David S. Miller <davem@davemloft.net>
2456
2457 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2458
59910343
AJ
24592012-05-17 Andreas Jaeger <aj@suse.de>
2460
2461 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2462 warning.
2463
2e4c1e9e
L
24642012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2465
2466 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2467
de7f5ce7
AJ
24682012-05-17 Andreas Jaeger <aj@suse.de>
2469
2470 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2471 when it is used.
2472
286abc3d
CM
24732012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2474
2475 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2476
477cc68e
L
24772012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2478
2479 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2480 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2481
1a0994f5
CD
24822012-05-17 Andreas Jaeger <aj@suse.de>
2483 Carlos O'Donell <carlos_odonell@mentor.com>
2484
2485 [BZ #14059]
2486 * sysdeps/x86_64/multiarch/init-arch.h
2487 (bit_YMM_Usable): Rename to...
2488 (bit_AVX_Usable): ... this.
2489 (bit_FMA4_Usable): New macro.
2490 (bit_XMM_state): New macro.
2491 (bit_YMM_state): New macro.
2492 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2493 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2494 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2495 (CPUID_OSXSAVE): New macro.
2496 (CPUID_AVX): New macro.
2497 (CPUID_FMA4): New macro.
2498 (index_YMM_Usable): Rename to...
2499 (index_AVX_Usable): ... this.
2500 (HAS_AVX): Use HAS_ARCH_FEATURE.
2501 (HAS_FMA4): Likewise.
2502 (HAS_YMM_USABLE): Remove.
2503 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2504 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2505 are present.
2506 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2507 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2508 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2509 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2510 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2511
0af797de
CM
25122012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2513
2514 * math/libm-test.c: Support platforms without multiple rounding modes.
2515 * math/bug-nextafter.c: Support platforms without FP exceptions.
2516 * math/bug-nexttoward.c: Likewise.
2517 * math/test-fenv.c: Likewise.
2518 * math/test-misc.c: Likewise.
2519 * stdlib/bug-getcontext.c: Likewise.
2520
e39745ff
AJ
25212012-05-17 Andreas Jaeger <aj@suse.de>
2522
2523 * manual/examples/search.c (critter_cmp): Change signature to
2524 avoid warnings.
2525 * manual/string.texi (Collation Functions): Likewise.
2526
48970aba
L
25272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2528
2529 * bits/types.h: Fold copyright years.
2530 * bits/typesizes.h: Likewise.
2531 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2532 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2533 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2534 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2535 * time/time.h: Likewise.
2536
bedee953
PP
25372012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2538
2539 [BZ #208]
2540 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2541 in instead of returning them. Return void.
2542 (__libc_mallinfo): Accumulate over all arenas.
2543 (__malloc_stats): Adjust for change in int_mallinfo interface.
2544
61653dfb
RM
25452012-05-16 Roland McGrath <roland@hack.frob.com>
2546
30b99d79
RM
2547 [BZ #10375]
2548 * configure.in (NM): Add AC_CHECK_TOOL for it.
2549 (libc_extra_cflags): New substituted variable.
2550 Check for -fstack-protector being used implicitly.
2551 * configure: Regenerated.
2552 * config.make.in (config-extra-cflags): New variable,
2553 gets @libc_extra_cflags@.
2554 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2555
61653dfb
RM
2556 [BZ #10375]
2557 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2558 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2559 * configure: Regenerated.
2560 * config.make.in (CPPUNDEFS): New substituted variable.
2561 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2562 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2563 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2564
661768bb
L
25652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2566
2567 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2568 (mq_attr): Use __syscall_slong_t.
2569
d4261567
L
25702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2571
2572 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2573 Check __x86_64__ instead of __WORDSIZE.
2574 (_STAT_VER_LINUX): Likewise.
2575 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2576 __syscall_ulong_t and __syscall_slong_t.
2577 (stat64): Likewise.
2578
cf3ff365
L
25792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2580
2581 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2582
76cf3e4d
L
25832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2584
2585 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2586
a637753a
L
25872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2588
2589 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2590 __syscall_ulong_t.
2591
d5e05119
L
2592 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2593 include <bits/wordsize.h>. Check __x86_64__ instead of
2594 __WORDSIZE.
2595 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2596 defined.
2597 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2598
f62ee380
L
2599 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2600 include <bits/wordsize.h>. Check __x86_64__ instead of
2601 __WORDSIZE.
2602 (user_regs_struct): Use "__extension__ unsigned long long"
2603 instead of "unsigned long" if __x86_64__ is defined.
2604 (user): Likewise. Pad after pointer field if __ILP32__ is
2605 defined.
2606
4e124ced
JM
26072012-05-16 Joseph Myers <joseph@codesourcery.com>
2608
6a3951a0
JM
2609 * configure.in (makeinfo): Require version 4.5 or later. Allow
2610 versions 5 to 9.
2611 * configure: Regenerated.
2612 * manual/install.texi (texinfo): Increase version requirement to
2613 4.5 or later.
2614 * INSTALL: Regenerated.
2615
4e124ced
JM
2616 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2617
953ca31a
L
26182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2619
2620 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2621
617aca05
L
2622 * sysdeps/x86_64/x32/ffs.c: New file.
2623
5762f7ae
L
2624 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2625 __syscall_ulong_t.
2626 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2627 defined. Use __syscall_ulong_t.
2628 (shminfo): Use __syscall_ulong_t.
2629 (shm_info): Likewise.
2630
a26b6856
L
2631 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2632 __syscall_ulong_t.
2633
cb2b9ef7
L
2634 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2635 <bits/wordsize.h>.
2636 (msgqnum_t): Use __syscall_ulong_t.
2637 (msglen_t): Likewise.
2638 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2639 __syscall_ulong_t.
2640
34683bb0
L
2641 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2642 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2643
84a68786
L
2644 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2645
48baa5f1
L
2646 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2647 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2648
180be88b
L
2649 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2650 __syscall_slong_t.
2651
5e90c8ad
L
2652 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2653 include <bits/wordsize.h>. Check __x86_64__ instead of
2654 __WORDSIZE.
2655
23dfb58b
L
2656 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2657 "unsigned long long int" if __x86_64__ is defined.
2658 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2659
ce5d54b0
L
2660 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2661 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2662 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2663
13dc9eac
L
2664 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2665 <stdint.h>.
2666 (GET_PC): Cast to uintptr_t first.
2667 (GET_FRAME): Likewise.
2668 (GET_STACK): Likewise.
2669
a7895d15
L
2670 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2671 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2672 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2673 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2674 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2675 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2676 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2677 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2678 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2679 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2680 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2681 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2682 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2683 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2684 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2685 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2686 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2687 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2688 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2689 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2690 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2691 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2692 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2693 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2694 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2695 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2696 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2697 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2698 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2699
656416c9
AS
27002012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2701
5bd66283
AS
2702 * Makerules (+depfiles): Also collect depfiles from .oS in
2703 $(extra-objs).
2704 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2705 .oS, $(libnldbl-routines)).
2706
656416c9
AS
2707 * Makerules (native-compile-mkdep-flags): Define.
2708 * sunrpc/Makefile (extra-objs): Add $(addprefix
2709 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2710 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2711 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2712 calling $(make-target-directory).
2713
a46f2169
L
27142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2715
2716 * bits/types.h (__snseconds_t): Removed.
2717 * time/time.h (struct timespec): Replace __snseconds_t with
2718 __syscall_slong_t.
2719 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2720 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2721 Likewise.
2722 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2723 (__SNSECONDS_T_TYPE): Likewise.
2724 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2725 (__SNSECONDS_T_TYPE): Likewise.
2726 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2727 (__SNSECONDS_T_TYPE): Likewise.
2728
6af6528b
L
27292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2730
2731 * sysdeps/mach/hurd/bits/typesizes.h
2732 (__SYSCALL_SLONG_TYPE): New macro.
2733 (__SYSCALL_ULONG_TYPE): Likewise.
2734
de986b56
L
27352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2736
2737 * bits/types.h (__syscall_slong_t): New type.
2738 (__syscall_ulong_t): Likewise.
2739
2740 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2741 (__SYSCALL_ULONG_TYPE): Likewise.
2742 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2743 (__SYSCALL_SLONG_TYPE): Likewise.
2744 (__SYSCALL_ULONG_TYPE): Likewise.
2745 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2746 (__SYSCALL_SLONG_TYPE): Likewise.
2747 (__SYSCALL_ULONG_TYPE): Likewise.
2748 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2749 (__SYSCALL_SLONG_TYPE): Likewise.
2750 (__SYSCALL_ULONG_TYPE): Likewise.
2751
85736dc7
L
27522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2753
2754 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2755 Add sigaltstack-offsets.sym.
2756 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2757 <sigaltstack-offsets.h>.
2758 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2759 longjmp_msg pointer.
2760 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2761 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2762 signal stack.
2763 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2764
cc03b296
JM
27652012-05-15 Joseph Myers <joseph@codesourcery.com>
2766
a9538892
JM
2767 * elf/stackguard-macros.h: Remove file.
2768 * sysdeps/generic/stackguard-macros.h: New file.
2769 * sysdeps/i386/stackguard-macros.h: Likewise.
2770 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2771 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2772 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2773 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2774 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2775 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2776 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2777 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2778 <elf/stackguard-macros.h>.
2779
cc03b296
JM
2780 [BZ #14109]
2781 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2782 __aligned__ in attribute.
2783 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2784 (gregset_t): Likewise.
2785
93171016
L
27862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2787
2788 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2789 * sysdeps/x86_64/64/Implies-after: Here. New file.
2790 * sysdeps/x86_64/x32/Implies-after: New file.
2791
d86813a0
L
27922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2793
2794 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2795 and access return value for _dl_profile_fixup. Use R10_LP to
2796 load frame size.
2797
2953ec75
L
27982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2799
2800 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2801
3b550e9e
L
28022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2803
2804 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2805 * sysdeps/x86_64/x32/sysdep.h: New file.
2806
eda41706
L
28072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2808
2809 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2810 * sysdeps/x86_64/setjmp.S: Likewise.
2811
9ea01d93
AZ
28122012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2813
2814 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2815 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2816 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2817 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2818 remove unused global constant.
2819
02a91938
CM
28202012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2821
2822 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2823 include of <not-cancel.h>.
2824
6540185f
RM
28252012-05-15 Roland McGrath <roland@hack.frob.com>
2826
2827 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2828
509072a0
AJ
28292012-05-15 Jeff Law <law@redhat.com>
2830 Andreas Jaeger <aj@suse.de>
2831
2832 [BZ #13594]
2833 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2834 out from...
2835 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2836 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2837 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2838 code changing __hst_map_handle.map.
2839
ba75122d
RM
28402012-05-15 Roland McGrath <roland@hack.frob.com>
2841
2842 * configure.in (sysnames): Look for Implies-before and Implies-after
2843 files.
2844 * configure: Regenerated.
2845
890d8bd8
L
28462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2847
2848 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2849 8-byte data alignment with LP_SIZE alignment.
2850
f6ee6623
L
28512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2852
2853 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2854 into R10_LP.
2855
ea2626f6
L
28562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2857
2858 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2859
085f715e
L
28602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2861
2862 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2863 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2864 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2865 Likewise.
2866 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2867
be8498fc
L
28682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2869
2870 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2871 (stackinfo_sub_sp): Likewise.
2872
70bc83b9
L
28732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2874
2875 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2876 RAX_LP.
2877
9bc0b730
L
28782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2879
2880 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2881 into R*_LP.
2882
6d2850e7
L
28832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2884
2885 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2886 sizes into R*_LP.
2887
3cb84561
L
28882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2889
2890 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2891
54e2ed81
L
28922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2893
2894 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2895 into R11_LP and load __x86_64_shared_cache_size_half into
2896 R8_LP.
2897
8a17f349
L
28982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2899
2900 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2901 R8_LP.
2902
777b1eea
AZ
29032012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2904
2905 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2906 logb for POWER7.
2907 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2908 logbf for POWER7.
2909 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2910 logbl for POWER7.
2911 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2912 powerpc32/power7/fpu/s_logb.c via #include.
2913 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2914 powerpc32/power7/fpu/s_logbf.c via #include.
2915 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2916 powerpc32/power7/fpu/s_logbl.c via #include.
2917
d20d4ac2
JM
29182012-05-15 Joseph Myers <joseph@codesourcery.com>
2919
2920 * README.libm: Remove file.
2921
6cdef1ab
L
29222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2923
2924 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2925 count for x32. Use R*_LP and omit operand-size suffix.
2926
0b254d8f
L
29272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2928
2929 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2930 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2931 * sysdeps/x86_64/x32/shlib-versions: New file.
2932
ceb809dc
RM
29332012-05-14 Roland McGrath <roland@hack.frob.com>
2934
2935 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2936 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2937 Use _dl_fatal_printf instead.
2938
37f1abd4
JM
29392012-05-14 Joseph Myers <joseph@codesourcery.com>
2940
2941 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2942 set if not set by the user. Do not allow for being unset.
2943 * sysdeps/unix/sysv/linux/configure: Regenerated.
2944
11de3a33
L
29452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2946
2947 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2948 the `q' suffix from lea and replace .quad with ASM_ADDR.
2949
e02f153a
L
29502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2951
2952 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2953 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2954 instead of $17.
2955 (PTR_DEMANGLE): Likewise.
2956
520ae0fd
L
29572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2958
2959 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2960 (LP_OP): Likewise.
2961 (ASM_ADDR): Likewise.
2962 (RAX_LP): Likewise.
2963 (RBP_LP): Likewise.
2964 (RBX_LP): Likewise.
2965 (RCX_LP): Likewise.
2966 (RDI_LP): Likewise.
2967 (RSI_LP): Likewise.
2968 (RSP_LP): Likewise.
2969 (R8_LP): Likewise.
2970 (R9_LP): Likewise.
2971 (R10_LP): Likewise.
2972 (R10_LP): Likewise.
2973 (R11_LP): Likewise.
2974 (R12_LP): Likewise.
2975 (R13_LP): Likewise.
2976 (R14_LP): Likewise.
2977 (R15_LP): Likewise.
2978
b985be81
L
29792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2980
2981 * sysdeps/x86_64/x32/dl-machine.h: New file.
2982
6a4888ff
AJ
29832012-05-14 Andreas Jaeger <aj@suse.de>
2984
2985 * manual/Makefile (subdir): Remove export of subdir.
2986 (all): Remove target.
2987 (.PHONY): Remove all from list.
2988 (mkinstalldirs): Remove.
2989 (.PHONY): Remove installdirs from list.
2990 ($(inst_infodir)/libc.info): Use make-target-directory.
2991 (installdirs): Remove.
2992 (subdir_%): Remove.
2993 (glibc-targets): Remove.
2994 (lib): Remove.
2995 (stubs): Remove.
2996 ($(objpfx)stubs ../po/manual.pot): Remove.
2997 ($(objpfx)stamp%): Remove.
2998 (make-target-directory): Remove.
2999 (subdir_install): Remove.
3000 (routines): Remove.
3001 (aux): Remove.
3002 (sources): Remove.
3003 (objects): Remove.
3004 (headers): Remove.
3005
3006 [BZ #13750]
3007 * manual/.gitignore: Remove, it's not needed anymore.
3008 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3009 all files in it.
3010 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3011 directory.
3012 (texis): Renamed to $(objpfx)texis.
3013 (texis-path): New, contains path to generated files.
3014 (chapters.%): Use texis-path for complete path, add extra argument
3015 libc-texinfo.sh.
3016 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3017 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3018 (summary,texi, stamp-summary): Use complete path of
3019 files. Generate files in build dir.
3020 (dir-add.texi): Build in build dir.
3021 (libm-err.texi,stamp-libm-err): Likewise.
3022 (version.texi, stamp-version): Likewise.
3023 (.%c.texi): Likewise.
3024 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3025 (mostlyclean): Remove target.
3026 (realclean): Remove target.
3027 (generated): Add new variable with contents from mostlyclean and
3028 realclean, remove entries duplicated in common-mostlyclean, add
3029 stamp-libm-err and stamp-version.
3030 (generated-dirs): Add libc directory.
3031 ($(inst_infodir)/libc.info): Install files from build dir.
3032
3033 * manual/install.texi (Configuring and compiling): Adjust since
3034 the info files are not part of the tar ball anymore.
3035
7ac77294
AJ
30362012-05-14 Andreas Jaeger <aj@suse.de>
3037
3038 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3039 variable.
3040
ffb7875d
JM
30412012-05-14 Joseph Myers <joseph@codesourcery.com>
3042
3043 [BZ #13717]
3044 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3045 to 2.2.0 where earlier.
3046 * sysdeps/unix/sysv/linux/configure: Regenerated.
3047 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3048 Remove conditional code.
3049 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3050 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3051 Remove conditional code.
3052 [!__NR_lchown]: Likewise.
3053 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3054 [__NR_lchown]: Likewise.
3055 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3056 comment referencing __ASSUME_LCHOWN_SYSCALL.
3057 * sysdeps/unix/sysv/linux/i386/sigaction.c
3058 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3059 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3060 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3061 Remove conditional code.
3062 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3063 (__protocol_available): Remove #if 0 code.
3064 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3065 conditional code.
3066 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3067 * sysdeps/unix/sysv/linux/kernel-features.h
3068 (__ASSUME_GETCWD_SYSCALL): Don't define.
3069 (__ASSUME_REALTIME_SIGNALS): Likewise.
3070 (__ASSUME_PREAD_SYSCALL): Likewise.
3071 (__ASSUME_PWRITE_SYSCALL): Likewise.
3072 (__ASSUME_POLL_SYSCALL): Likewise.
3073 (__ASSUME_LCHOWN_SYSCALL): Likewise.
3074 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3075 non-SPARC.
3076 (__ASSUME_SIOCGIFNAME): Don't define.
3077 (__ASSUME_MSG_NOSIGNAL): Likewise.
3078 (__ASSUME_SENDFILE): Define unconditionally.
3079 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3080 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3081 conditional code.
3082 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3083 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3084 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3085 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3086 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3087 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3088 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3090 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3091 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3093 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3094 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3096 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3097 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3099 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3100 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3102 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3103 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3105 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3106 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3108 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3109 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3111 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3112 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3113 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3114 Remove conditional code.
3115 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3116 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3117 Remove conditional code.
3118 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3119 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3120 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3121 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3122 Remove conditional code.
3123 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3124 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3125 Remove conditional code.
3126 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3127 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3128 Remove conditional code.
3129 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3130 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3131 Remove conditional code.
3132 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3133 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3134 Remove conditional code.
3135 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3136 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3137 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3138 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3139 * sysdeps/unix/sysv/linux/sigaction.c
3140 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3141 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3142 * sysdeps/unix/sysv/linux/sigpending.c
3143 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3144 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3145 * sysdeps/unix/sysv/linux/sigprocmask.c
3146 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3147 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3148 * sysdeps/unix/sysv/linux/sigsuspend.c
3149 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3150 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3151 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3152 (__libc_missing_rt_sigs): Remove.
3153 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3154 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3155 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3156 Remove conditional code.
3157 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3158 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3159 return 1.
3160 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3161 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3162 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3163 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3164
1bfb7291
AJ
31652012-05-14 Andreas Jaeger <aj@suse.de>
3166
caae5a81
AJ
3167 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3168 it's not used in glibc.
3169 (__coshm1): Likewise.
3170 (__acosh1p): Likewise.
3171 (__sgn): Likewise.
3172
1bfb7291
AJ
3173 * manual/string.texi (Copying and Concatenation): Add missing
3174 variable in concat example.
3175 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3176
c044d724
L
31772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3178
144c5467 3179 [BZ #14103]
c044d724
L
3180 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3181 __builtin_clzl with __builtin_clzll.
3182
2523c62b
L
31832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3184
3185 [BZ #14104]
3186 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3187 libc_freeres_ptr.
3188
d7bb4c42
LD
31892012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3190
3191 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3192 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3193 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3194 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3195
9dc4e1fb
MF
31962012-05-14 Mike Frysinger <vapier@gentoo.org>
3197
3198 * NEWS: Update ia64 info.
3199
c7df0112
AS
32002012-05-12 Andreas Schwab <schwab@linux-m68k.org>
3201
3202 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3203 used as bcopy.
3204
dc70356c
TS
32052012-05-12 Thomas Schwinge <thomas@codesourcery.com>
3206
3207 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3208 * sysdeps/unix/syscalls.list (dup3): Likewise.
3209 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3210 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3211
9fb1a21f
L
32122012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3213
3214 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3215 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3216
4822a2a5
L
32172012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3218
3219 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3220 thread pointer.
3221 (TLS_IE): Use mov/add instead of movq/addq to load thread
3222 pointer.
3223 (TLS_GD_PREFIX): New.
3224 (TLS_GD): Use it.
3225
842b81d6
DM
32262012-05-11 David S. Miller <davem@davemloft.net>
3227
3228 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3229 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3230 (_FPU_SETCW): Likewise.
3231
1cf463cd
L
32322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3233
3234 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3235 is 32-byte aligned.
3236
60cc4a18
AS
32372012-05-11 Andreas Schwab <schwab@linux-m68k.org>
3238
3239 [BZ #11837]
3240 * iconvdata/gb18030.c: Update tables.
3241 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
3242 characters specially.
3243 (BODY for TO_LOOP): Add encoding of missing ranges.
3244
febb44a4
TS
32452012-05-11 Thomas Schwinge <thomas@codesourcery.com>
3246
3247 [BZ #13673]
3248 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3249 * sysdeps/mach/hurd/dup3.c: Likewise.
3250 * sysdeps/mach/hurd/readlinkat.c: Likewise.
3251 * sysdeps/powerpc/memmove.c:: Likewise.
3252
0a10fb9e
L
32532012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3254
3255 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3256 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3257
df8a552f
L
32582012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3259
3260 * elf/elf.h (R_X86_64_RELATIVE64): New.
3261 (R_X86_64_NUM): Updated.
3262 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3263 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
3264 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3265 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3266 tst-quad1pie tst-quad2pie
3267 (modules-names): Add tst-quadmod1 tst-quadmod2.
3268 ($(objpfx)tst-quad1): New dependency.
3269 ($(objpfx)tst-quad2): Likewise.
3270 ($(objpfx)tst-quad1pie): Likewise.
3271 ($(objpfx)tst-quad2pie): Likewise.
3272 * sysdeps/x86_64/tst-quad1.c: New file.
3273 * sysdeps/x86_64/tst-quad1pie.c: New file.
3274 * sysdeps/x86_64/tst-quad2.c: Likewise.
3275 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3276 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3277 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3278 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3279 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3280
f34d6f84
ST
32812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3282
f42d41d1
ST
3283 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3284 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3285 * streams/stropts.h (t_scalar_t): Define type.
3286
3c3571fc
ST
3287 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3288 (_PATH_PRESERVE): Set to "/var/lib".
3289 (_PATH_RWHODIR): Set to "/var/spool/rwho".
3290
61f06bd3
ST
3291 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3292 instead of int.
3293
918d4d71
ST
3294 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3295 if __dir_mkfile succeeded.
3296
f34d6f84
ST
3297 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3298 checking for _hurd_dtablesize. Unlock it right after having
3299 finished _hurd_dtable allocation.
3300
10589b4a
TS
33012012-05-10 Thomas Schwinge <thomas@schwinge.name>
3302
674cdbc7
TS
3303 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3304 * sysdeps/mach/hurd/configure: Regenerated.
3305 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3306 special-casing to...
3307 * sysdeps/gnu/configure.in: ... this new file.
3308 * sysdeps/unix/sysv/linux/configure: Regenerated.
3309 * sysdeps/gnu/configure: New generated file.
3310
8e41b99f
TS
3311 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3312 for Linux: use nsec instead of usec, as well as:
3313 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3314 members of type struct timespec.
3315 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3316 New macros.
3317 (struct stat64): Likewise.
3318 (_STATBUF_ST_NSEC): New macro.
3319 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3320
10589b4a
TS
3321 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3322 __strtoul_internal rather than strtoul.
3323
63643c85
PT
33242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3325
3326 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3327 and reject them.
3328
3faebe6a
ST
33292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3330
3331 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3332 which preserves existing values.
3333 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3334
c6474b07
PT
33352012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3336
3337 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3338 TIMEOUT values. Return EINVAL for NFDS values either negative or
3339 greater than FD_SETSIZE.
3340
1043890b
ST
33412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3342
3343 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3344 allocated, call __vm_protect to finish enabling the existing space, and
3345 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3346 allocate the remainder.
3347
37ed8b9b
PT
33482012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3349
3350 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3351 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
3352
db653660
ST
33532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3354
37ed8b9b
PT
3355 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3356 sysdeps/mach/hurd/readlink.c.
b29d4053 3357
db653660
ST
3358 * posix/tst-sysconf.c (posix_options): Only use
3359 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3360 _POSIX_SYNCHRONIZED_IO when they are defined
3361 * sysdeps/mach/hurd/bits/posix_opt.h:
3362 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3363 (_XOPEN_REALTIME): Undefine macro.
3364 (_XOPEN_REALTIME_THREADS): Undefine macro.
3365 (_XOPEN_SHM): Undefine macro.
3366 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3367 macro to -1.
3368 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3369 macro to -1.
3370 (_POSIX_ASYNC_IO): Undefine macro.
3371 (_POSIX_PRIORITIZED_IO): Undefine macro.
3372 (_POSIX_SPIN_LOCKS): Define macro to -1.
3373
ee16e894
ST
3374 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3375 SA_NODEFER, SA_RESETHAND.
3376 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3377 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3378 F_DUPFD_CLOEXEC.
3379
6103ae3b
TS
33802012-05-10 Thomas Schwinge <thomas@schwinge.name>
3381
3382 * elf/Makefile (pldd-modules): Define unconditionally.
3383
80b4e5f3
TS
33842012-05-10 Thomas Schwinge <thomas@schwinge.name>
3385
3386 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3387
edadcbd6
ST
33882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3389
3390 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3391 Return ENOENT when name is empty.
3392 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3393
80694780
TS
33942012-05-10 Thomas Schwinge <thomas@schwinge.name>
3395
1792c087
TS
3396 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
3397
80694780
TS
3398 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
3399
6b645f0d
ST
34002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3401
80694780
TS
3402 Fix mlock in all cases except non-readable pages.
3403 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
3404 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 3405
6b645f0d
ST
3406 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3407 (__mkdir): When path is `/', just fail with EEXIST.
3408 * sysdeps/mach/hurd/mkdirat.c: Likewise.
3409
e468f8a3
TS
34102012-05-10 Thomas Schwinge <thomas@schwinge.name>
3411
3412 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3413 <sys/uio.h> (for writev).
3414 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3415 and <sys/param.h> (for MIN).
3416
a4186cff
PT
34172012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3418
3419 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
3420 REQUESTED_TIME. Properly set the remaining time and return EINTR
3421 if interrupted.
3422
510bbf14
TS
34232012-05-10 Thomas Schwinge <thomas@schwinge.name>
3424
3425 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3426 Depend on against $(link-rpcuserlibs).
3427
5d5722e8
ST
34282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3429
a4186cff
PT
3430 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3431 (__libc_stack_end): Do not use attribute_relro.
3432 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3433 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 3434 to libthread-provided value.
a4186cff
PT
3435 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3436 attribute_relro.
5d5722e8 3437
37233df9
TS
34382012-05-10 Thomas Schwinge <thomas@schwinge.name>
3439
be971a2b
TS
3440 [BZ #3748]
3441 * bits/libc-lock.h (__libc_once_get): New macro.
3442 * sysdeps/mach/bits/libc-lock.h: Likewise.
3443 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3444 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3445 instead of using implementation details.
3446
37233df9
TS
3447 * libio/fileops.c: Unconditionally include <kernel-features.h>.
3448 * libio/freopen.c: Likewise.
3449 * libio/freopen64.c: Likewise.
3450 * misc/syslog.c: Likewise.
3451 * nscd/connections.c: Likewise.
3452 * nscd/netgroupcache.c: Likewise.
3453 * sysdeps/posix/getcwd.c: Likewise.
3454
38de94a5
RM
34552012-05-10 Roland McGrath <roland@hack.frob.com>
3456
3457 * math/w_ilogbf.c: Add #include <limits.h>.
3458
67530489
ST
34592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3460
a4186cff 3461 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
3462 path instead of returning without unlocking.
3463
67530489
ST
3464 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3465 immediate-write ioctls.
3466 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3467
5aa3a74a
TS
34682012-05-10 Thomas Schwinge <thomas@schwinge.name>
3469
18bad2ae
TS
3470 * sysdeps/mach/hurd/i386/init-first.c (init): Use
3471 __builtin_frame_address instead of making assumptions about the
3472 location of the return address relative to DATA. Force early load of
3473 the return address.
3474 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3475 __builtin_frame_address.
3476
5aa3a74a
TS
3477 dup3 for GNU Hurd.
3478 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3479 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3480 implement dup3 and do some further code clean-ups.
3481 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3482 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3483
ecd0de9a
ST
34842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3485
cd9fa985
ST
3486 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3487
a4186cff
PT
3488 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3489 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3490 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3491 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3492 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3493 d->port.lock.
802ca5a5 3494
a4186cff
PT
3495 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3496 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3497 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 3498
bcf55240
TS
34992012-05-10 Thomas Schwinge <thomas@schwinge.name>
3500
6960eb42
TS
3501 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3502 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3503 definitions.
3504
eb43375f
TS
3505 accept4 for GNU Hurd.
3506 * include/sys/socket.h (__libc_accept4): New prototype.
3507 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3508 to implement __libc_accept4.
3509 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3510 __libc_accept4.
3511 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3512
bcf55240
TS
3513 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3514 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3515 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3516 signal-defines.sym.
3517
6178c55b
ST
35182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3519
a4186cff 3520 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 3521
6f080c2f
TS
35222012-05-10 Thomas Schwinge <thomas@schwinge.name>
3523
3524 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3525 assertion on O_CLOEXEC flag.
3526 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3527 * hurd/intern-fd.c: Likewise.
3528 * hurd/port2fd.c: Likewise.
3529
bcfe3a54
ST
35302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3531
3532 [BZ #3906]
3533 * bits/in.h (IPV6_PKTINFO): Define new macro.
3534 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3535
89c9aa49
AZ
35362012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3537
3538 [BZ #13954]
3539 [BZ #13955]
3540 [BZ #13956]
3541 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3542 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3543 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3544 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3545 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3546 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3547 * math/libm-test.inc (logb_test) : Additional logb tests.
3548
021db4be
AJ
35492012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3550 Andreas Jaeger <aj@suse.de>
3551
3552 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3553 * configure: Regenerated.
3554 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3555 * config.make.in (link-obsolete-rpc): New substituted variable.
3556 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3557 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3558 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3559 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3560 so that libc.a contains the symbols.
3561 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3562 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3563 * sunrpc/auth_none.c: Likewise.
3564 * sunrpc/auth_unix.c: Likewise.
3565 * sunrpc/authdes_prot.c: Likewise.
3566 * sunrpc/authuxprot.c: Likewise.
3567 * sunrpc/clnt_gen.c: Likewise.
3568 * sunrpc/clnt_perr.c: Likewise.
3569 * sunrpc/clnt_raw.c: Likewise.
3570 * sunrpc/clnt_simp.c: Likewise.
3571 * sunrpc/clnt_tcp.c: Likewise.
3572 * sunrpc/clnt_udp.c: Likewise.
3573 * sunrpc/clnt_unix.c: Likewise.
3574 * sunrpc/des_crypt.c: Likewise.
3575 * sunrpc/des_soft.c: Likewise.
3576 * sunrpc/get_myaddr.c: Likewise.
3577 * sunrpc/key_call.c: Likewise.
3578 * sunrpc/key_prot.c: Likewise.
3579 * sunrpc/netname.c: Likewise.
3580 * sunrpc/pm_getmaps.c: Likewise.
3581 * sunrpc/pm_getport.c: Likewise.
3582 * sunrpc/pmap_clnt.c: Likewise.
3583 * sunrpc/pmap_prot.c: Likewise.
3584 * sunrpc/pmap_prot2.c: Likewise.
3585 * sunrpc/pmap_rmt.c: Likewise.
3586 * sunrpc/publickey.c: Likewise.
3587 * sunrpc/rpc_cmsg.c: Likewise.
3588 * sunrpc/rpc_common.c: Likewise.
3589 * sunrpc/rpc_dtable.c: Likewise.
3590 * sunrpc/rpc_prot.c: Likewise.
3591 * sunrpc/rpc_thread.c: Likewise.
3592 * sunrpc/rtime.c: Likewise.
3593 * sunrpc/svc.c: Likewise.
3594 * sunrpc/svc_auth.c: Likewise.
3595 * sunrpc/svc_raw.c: Likewise.
3596 * sunrpc/svc_run.c: Likewise.
3597 * sunrpc/svc_tcp.c: Likewise.
3598 * sunrpc/svc_udp.c: Likewise.
3599 * sunrpc/svc_unix.c: Likewise.
3600 * sunrpc/svcauth_des.c: Likewise.
3601 * sunrpc/xcrypt.c: Likewise.
3602 * sunrpc/xdr.c: Likewise.
3603 * sunrpc/xdr_array.c: Likewise.
3604 * sunrpc/xdr_float.c: Likewise.
3605 * sunrpc/xdr_intXX_t.c: Likewise.
3606 * sunrpc/xdr_mem.c: Likewise.
3607 * sunrpc/xdr_rec.c: Likewise.
3608 * sunrpc/xdr_ref.c: Likewise.
3609 * sunrpc/xdr_sizeof.c: Likewise.
3610 * sunrpc/xdr_stdio.c: Likewise.
3611
b5c086a2
RM
36122012-05-10 Roland McGrath <roland@hack.frob.com>
3613
3614 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3615 change. Update copyright years.
3616
6d74dd09
JM
36172012-05-10 Joseph Myers <joseph@codesourcery.com>
3618
3619 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3620
28e72501
MK
36212012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3622 Joseph Myers <joseph@codesourcery.com>
3623 Paul Pluzhnikov <ppluzhnikov@google.com>
3624
3625 [BZ #14012]
3626 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3627 requiring rpcgen.
3628 [cross-compiling] (extra-libs): Likewise.
3629 [cross-compiling] (extra-libs-others): Likewise.
3630 [cross-compiling] (librpcsvc-routines): Likewise.
3631 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3632 [cross-compiling] (omit-deps): Likewise.
3633 (sunrpc-CPPFLAGS): New variable.
3634 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3635 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3636 (cross-rpcgen-objs): New variable.
3637 (extra-objs): Append $(cross-rpcgen-objs).
3638 ($(cross-rpcgen-objs)): New rule.
3639 ($(objpfx)cross-rpcgen): Likewise.
3640 (rpcgen-cmd): Define to use $(built-program-file). Expand
3641 comment.
3642 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3643 ($(objpfx)x%.stmp): Likewise.
3644 * sunrpc/proto.h [IS_IN_build] (_): Define.
3645 [IS_IN_build] (_libc_intl_domainname): Likewise.
3646
c8c59454
L
36472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3648
3649 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3650 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3651 and R_X86_64_TPOFF64.
3652
6f27cd16
JM
36532012-05-10 Joseph Myers <joseph@codesourcery.com>
3654
3655 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3656 sysdeps/unix/sysv/syscalls.list.
3657 (stime): Likewise.
3658 (utime): Likewise.
3659 * sysdeps/unix/sysv/syscalls.list: Remove file.
3660
02467e1c
PE
36612012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3662
3663 [BZ #3440]
3664 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3665 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3666 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3667 (__LC_IDENTIFICATION): Make these macros useful in #if
3668 expressions, as required by C99.
3669
da392631
AS
36702012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3671
3672 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3673 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3674 after this.
3675
8115f29b
L
36762012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3677
3678 * stdlib/longlong.h: Updated from GCC.
3679
bdd74070
AJ
36802012-05-09 Andreas Jaeger <aj@suse.de>
3681
edfe0dbe
AJ
3682 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3683 default is first entry.
3684 (run_mode): Set type.
3685 (main): Remove informal message about syslog.
3686 (options): Fix typo.
3687
bcfe3a54
ST
3688 [BZ #14053]
3689 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 3690 to asm.
bcfe3a54
ST
3691 (lrint): Likewise.
3692 (llrintf): Likewise.
3693 (llrint): Likewise.
3694 (rint): Likewise.
3695 (rintf): Likewise.
3696 (nearbyint): Likewise.
3697 (nearbyintf): Likewise.
bdd74070 3698
91d8d69e
AJ
36992012-05-09 Andreas Jaeger <aj@suse.de>
3700 Pedro Alves <palves@redhat.com>
3701
3702 * nscd/nscd.c (run_mode): Use enum.
3703 (main): Cleanup coding style issue.
3704
bb90b80b
AJ
37052012-05-09 Alexandre Oliva <aoliva@redhat.com>
3706 Andreas Jaeger <aj@suse.de>
3707
bcfe3a54
ST
3708 * nscd/nscd.c (go_background): Replaced with...
3709 (run_mode): ... this.
bb90b80b 3710 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
3711 (options): Add -F --foreground.
3712 (main): Implement it.
3713 (parse_opt): Parse it.
bb90b80b 3714
1a4b75a1
AJ
37152012-05-09 Andreas Jaeger <aj@suse.de>
3716
3717 [BZ #14083]
3718 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3719 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3720 -Wconversion warning.
3721 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3722 Likewise.
3723
b1cc2472
JM
37242012-05-09 Joseph Myers <joseph@codesourcery.com>
3725
3726 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3727 == 0.
3728 (LC_ALL): Use macro-int-constant.
3729 (LC_COLLATE): Likewise.
3730 (LC_CTYPE): Likewise.
3731 (LC_MESSAGES): Likewise.
3732 (LC_MONETARY): Likewise.
3733 (LC_NUMERIC): Likewise.
3734 (LC_TIME): Likewise.
3735 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3736 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3737 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3738 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3739 Specify type.
3740 [C99-based standards] (float_t): Expect type.
3741 [C99-based standards] (double_t): Expect type.
3742 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3743 type.
3744 [C99-based standards] (HUGE_VALL): Likewise.
3745 [C99-based standards] (INFINITY): Likewise.
3746 [C99-based standards] (NAN): Likewise.
3747 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3748 [C99-based standards] (FP_NAN): Likewise.
3749 [C99-based standards] (FP_NORMAL): Likewise.
3750 [C99-based standards] (FP_SUBNORMAL): Likewise.
3751 [C99-based standards] (FP_ZERO): Likewise.
3752 [C99-based standards] (FP_FAST_FMA): Use
3753 optional-macro-int-constant. Specify type. Require == 1.
3754 [C99-based standards] (FP_FAST_FMAF): Likewise.
3755 [C99-based standards] (FP_FAST_FMAL): Likewise.
3756 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3757 [C99-based standards] (FP_ILOGBNAN): Likewise.
3758 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3759 Specify type.
3760 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3761 [C99-based standards] (math_errhandling): Specify type.
3762 [ISO99 || ISO11] (signgam): Do not allow.
3763 [non-C99-based standards] (copysignf): Do not allow.
3764 [non-C99-based standards] (exp2f): Likewise.
3765 [non-C99-based standards] (log2f): Likewise.
3766 [non-C99-based standards] (modff): Allow.
3767 [non-C99-based standards] (erff): Do not allow.
3768 [non-C99-based standards] (erfcf): Likewise.
3769 [non-C99-based standards] (gammaf): Likewise.
3770 [non-C99-based standards] (hypotf): Likewise.
3771 [non-C99-based standards] (j0f): Likewise.
3772 [non-C99-based standards] (j1f): Likewise.
3773 [non-C99-based standards] (jnf): Likewise.
3774 [non-C99-based standards] (lgammaf): Likewise.
3775 [non-C99-based standards] (tgammaf): Likewise.
3776 [non-C99-based standards] (y0f): Likewise.
3777 [non-C99-based standards] (y1f): Likewise.
3778 [non-C99-based standards] (ynf): Likewise.
3779 [non-C99-based standards] (isnanf): Likewise.
3780 [non-C99-based standards] (acoshf): Likewise.
3781 [non-C99-based standards] (asinhf): Likewise.
3782 [non-C99-based standards] (atanhf): Likewise.
3783 [non-C99-based standards] (cbrtf): Likewise.
3784 [non-C99-based standards] (expm1f): Likewise.
3785 [non-C99-based standards] (ilogbf): Likewise.
3786 [non-C99-based standards] (log1pf): Likewise.
3787 [non-C99-based standards] (logbf): Likewise.
3788 [non-C99-based standards] (nextafterf): Likewise.
3789 [non-C99-based standards] (remainderf): Likewise.
3790 [non-C99-based standards] (rintf): Likewise.
3791 [non-C99-based standards] (scalbf): Likewise.
3792 [non-C99-based standards] (copysignl): Likewise.
3793 [non-C99-based standards] (exp2l): Likewise.
3794 [non-C99-based standards] (log2l): Likewise.
3795 [non-C99-based standards] (modfl): Allow.
3796 [non-C99-based standards] (erfl): Do not allow.
3797 [non-C99-based standards] (erfcl): Likewise.
3798 [non-C99-based standards] (gammal): Likewise.
3799 [non-C99-based standards] (hypotl): Likewise.
3800 [non-C99-based standards] (j0l): Likewise.
3801 [non-C99-based standards] (j1l): Likewise.
3802 [non-C99-based standards] (jnl): Likewise.
3803 [non-C99-based standards] (lgammal): Likewise.
3804 [non-C99-based standards] (tgammal): Likewise.
3805 [non-C99-based standards] (y0l): Likewise.
3806 [non-C99-based standards] (y1l): Likewise.
3807 [non-C99-based standards] (ynl): Likewise.
3808 [non-C99-based standards] (isnanl): Likewise.
3809 [non-C99-based standards] (acoshl): Likewise.
3810 [non-C99-based standards] (asinhl): Likewise.
3811 [non-C99-based standards] (atanhl): Likewise.
3812 [non-C99-based standards] (cbrtl): Likewise.
3813 [non-C99-based standards] (expm1l): Likewise.
3814 [non-C99-based standards] (ilogbl): Likewise.
3815 [non-C99-based standards] (log1pl): Likewise.
3816 [non-C99-based standards] (logbl): Likewise.
3817 [non-C99-based standards] (nextafterl): Likewise.
3818 [non-C99-based standards] (remainderl): Likewise.
3819 [non-C99-based standards] (rintl): Likewise.
3820 [non-C99-based standards] (scalbl): Likewise.
3821 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3822 [non-C99-based standards] (FP_*): Do not allow.
3823 [C99-based standards] (FP_*): Change to
3824 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3825 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3826 allow.
3827 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3828 (SIG_ERR): Likewise.
3829 [X/Open-based standards] (SIG_HOLD): Likewise.
3830 (SIG_IGN): Likewise.
3831 (SIGABRT): Use macro-int-constant. Specify type. Require
3832 positive value.
3833 (SIGFPE): Likewise.
3834 (SIGILL): Likewise.
3835 (SIGINT): Likewise.
3836 (SIGSEGV): Likewise.
3837 (SIGTER): Likewise.
3838 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3839 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3840 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3841 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3842 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3843 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3844 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3845 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3846 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3847 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3848 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3849 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3850 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3851 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3852 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3853 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3854 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3855 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3856 [X/Open-based standards] (SIGTRAP): Likewise.
3857 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3858 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3859 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3860 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3861 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3862 allow.
3863
b9f1922d
IW
38642012-05-08 Ian Wienand <ianw@vmware.com>
3865
3866 [BZ #14080]
3867 * time/tzset.c (__tzset_parse_tz): Update default rules for
3868 daylight time changes in the Energy Policy Act of 2005.
3869
1db86e88
AJ
38702012-05-09 Andreas Jaeger <aj@suse.de>
3871
3872 [BZ #13983]
3873 * elf/ldconfig.c (parse_conf): Change string to make clear that
3874 ldconfig only issued a warning if ld.so.conf does not exist.
3875
dee4a4e3
DM
38762012-05-08 David S. Miller <davem@davemloft.net>
3877
ee0db190
DM
3878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3879 movxtod instead of popping the value on the stack.
3880
dee4a4e3
DM
3881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3882
6a43ec98
CD
38832012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3884
3885 * config.h.in: Add HAVE_ARM_PCS_VFP.
3886
05c2c961
RMG
38872012-05-08 Roland Mc Grath <roland@hack.frob.com>
3888
bcfe3a54
ST
3889 [BZ #13979]
3890 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3891 checking but the checks are disabled for any reason.
05c2c961 3892
4b30f61a
L
38932012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3894
3895 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3896 and ELF64_R_TYPE with ELFW(R_TYPE).
3897
eee2bc67
JM
38982012-05-08 Joseph Myers <joseph@codesourcery.com>
3899
7ea5391a
JM
3900 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3901 (ulimit): Likewise.
3902
eee2bc67
JM
3903 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3904 (settimeofday): Likewise.
3905
abb66a67
MF
39062012-05-08 Mike Frysinger <vapier@gentoo.org>
3907
3908 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3909 a struct th_u2 inside the union, and move tu_block/tu_code into
3910 a new th_u3 union of tu_block/tu_code inside of that. Move
3911 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3912 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3913 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3914 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3915 (th_stuff): Change to th_u1.tu_stuff.
3916 (th_data): Define.
3917 (th_msg): Change to th_u1.th_u2.tu_data.
3918
7f18b530
DM
39192012-05-07 David S. Miller <davem@davemloft.net>
3920
05760585
DM
3921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3922
7f18b530
DM
3923 [BZ #14074]
3924 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3925 (SETUP_PIC_REG): Use it.
3926 (SETUP_PIC_REG_LEAF): Use it.
3927
495fd99f
JM
39282012-05-07 Joseph Myers <joseph@codesourcery.com>
3929
3930 [BZ #13885]
3931 [BZ #13923]
3932 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3933 USE_AS_EXPM1L.
3934 (EXPL_FINITE): Likewise.
3935 (FLDLOG): Likewise.
3936 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3937 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3938 e_expl.S.
3939 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3940 USE_AS_EXPM1L.
3941 (EXPL_FINITE): Likewise.
3942 (FLDLOG): Likewise.
3943 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3944 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3945 e_expl.S.
3946 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3947 test of -max_value argument for long double.
3948 * sysdeps/i386/fpu/libm-test-ulps: Update.
3949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3950
6693d694
DM
39512012-05-06 David S. Miller <davem@davemloft.net>
3952
3953 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3954 quad soft-float symbols whose references which are compiler
3955 generated.
3956 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3957
6c23e11c
JM
39582012-05-06 Joseph Myers <joseph@codesourcery.com>
3959
d8b82cad
JM
3960 [BZ #13884]
3961 [BZ #13914]
3962 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3963 USE_AS_EXP10L.
3964 (EXPL_FINITE): Likewise.
3965 (FLDLOG): Likewise.
3966 (c0): Likewise.
3967 (c1): Likewise.
3968 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3969 Adjust comments for base varying.
3970 (__expl_finite): Change alias to EXPL_FINITE.
3971 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3972 e_expl.S.
3973 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3974 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3975 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3976 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3977 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3978 USE_AS_EXP10L.
3979 (EXPL_FINITE): Likewise.
3980 (FLDLOG): Likewise.
3981 (c0): Likewise.
3982 (c1): Likewise.
3983 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3984 Adjust comments for base varying.
3985 (__expl_finite): Change alias to EXPL_FINITE.
3986 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3987 tests for bugs.
3988 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3989
6c23e11c
JM
3990 [BZ #14064]
3991 * math/libm-test.inc (check_float_internal): Correct ulp
3992 calculation for subnormal expected results.
3993
29ba805c
AJ
39942012-05-06 Andreas Jaeger <aj@suse.de>
3995
3996 * Makeconfig (+math-flags): New, set to -frounding-math.
3997 (+cflags): Add +math-flags so that all of glibc gets compiled with
3998 it.
3999
4000 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4001
7b17aeda
JM
40022012-05-05 Joseph Myers <joseph@codesourcery.com>
4003
5779f134
JM
4004 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4005 Disable one test.
4006
41498f4d
JM
4007 [BZ #13787]
4008 [BZ #13922]
4009 [BZ #14036]
4010 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4011 (__ieee754_expl): Allow for and saturate large arguments.
4012 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4013 (u_threshold): Likewise.
4014 (__exp): Call __ieee754_exp before checking for overflow and
4015 underflow.
4016 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4017 (u_threshold): Likewise.
4018 (__expf): Call __ieee754_expf before checking for overflow and
4019 underflow.
4020 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4021 (u_threshold): Likewise.
4022 (__expl): Call __ieee754_expl before checking for overflow and
4023 underflow.
4024 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4025 (__ieee754_expl): Allow for and saturate large arguments.
4026 * math/libm-test.inc (exp_test): Add another test. Do not allow
4027 missing overflow exception on overflow.
4028 (expm1_test): Do not allow missing overflow exception on overflow.
4029
6698b8bf
JM
4030 * sysdeps/i386/fpu/e_expl.c: Move to ...
4031 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
4032 rather than using inline asm.
4033 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4034 * sysdeps/x86_64/fpu/e_expl.S: Copy from
4035 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4036
7b17aeda
JM
4037 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4038 (nice): Likewise.
4039 (poll): Likewise.
4040 (signal): Likewise.
4041 (time): Likewise.
4042 (times): Likewise.
4043
f7c85819
JM
40442012-05-04 Joseph Myers <joseph@codesourcery.com>
4045
4046 * sysdeps/unix/syscalls.list (adjtime): Add entry from
4047 sysdeps/unix/common/syscalls.list.
4048 (fchmod): Likewise.
4049 (fchown): Likewise.
4050 (ftruncate): Likewise.
4051 (getrusage): Likewise.
4052 (gettimeofday): Likewise.
4053 (setpgid): Likewise.
4054 (setregid): Likewise.
4055 (setreuid): Likewise.
4056 (sigaction): Likewise.
4057 (truncate): Likewise.
4058 (vhangup): Likewise.
4059 * sysdeps/unix/common/syscalls.list: Remove file.
4060 * sysdeps/unix/bsd/Implies: Don't include unix/common.
4061 * sysdeps/unix/sysv/linux/Implies: Likewise.
4062
336270d0
L
40632012-05-04 H.J. Lu <hongjiu.lu@intel.com>
4064
4065 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4067 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4068 Moved to ...
4069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4070 Here.
4071 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4072 to ...
4073 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4074 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4075 to ...
4076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4077 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4078 to ...
4079 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4080 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4081 to ...
4082 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4083 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4084 to ...
4085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4086 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4087 to ...
4088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4089 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4090 to ...
4091 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4092 Here.
4093 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4094 to ...
4095 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4096 Here.
4097 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4098 to ...
4099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4100 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4101 Moved to ...
4102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4103 Here.
4104 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4105 to ...
4106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4107
d128e450
JM
41082012-05-04 Joseph Myers <joseph@codesourcery.com>
4109
fa8ee516
JM
4110 * sysdeps/unix/common/bits/dirent.h: Remove file.
4111 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4112
d128e450
JM
4113 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4114 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4115 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4116 * sysdeps/unix/bsd/isatty.c: Likewise.
4117 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4118 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4119 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4120
ff8faaf0 41212012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 4122
62881be4 4123 [BZ #13563]
31dc8730
AZ
4124 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4125 long double comparison inaccuracies.
4126 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4128
6fef930c
AS
41292012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4130
4131 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4132 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4133
8f203e6c
JM
41342012-05-04 Joseph Myers <joseph@codesourcery.com>
4135
4136 [BZ #14049]
4137 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4138 nonzero digits before rounding a hex value.
4139 * stdlib/tst-strtod.c (tests): Add another test.
4140
5197d9c2
AK
41412012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4142
4143 * sysdeps/s390/fpu/libm-test-ulps: Update.
4144
f0c1dedf
AJ
41452012-05-03 Andreas Jaeger <aj@suse.de>
4146
4147 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4148 does not get optimized out.
4149 (malloc_opt_barrier): New.
4150
a65ef2ae 41512012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 4152 Roland McGrath <roland@hack.frob.com>
a65ef2ae 4153
2b942cb7 4154 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 4155 intermediate file deletion.
2b942cb7 4156 (generated): Add .symlist files.
a65ef2ae 4157
54b71e02
JM
41582012-05-03 Joseph Myers <joseph@codesourcery.com>
4159
4160 [BZ #13775]
4161 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4162 Redirect under this condition.
4163 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4164 [__USE_GNU] (__dprintf_chk): Not under this condition.
4165 [__USE_GNU] (__vdprintf_chk): Likewise.
4166 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4167 under this condition.
4168 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4169 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4170 [__USE_XOPEN2K8] (vdprintf): Likewise.
4171 [__USE_GNU] (__dprintf_chk): Not under this condition.
4172 [__USE_GNU] (__vdprintf_chk): Likewise.
4173 [__USE_GNU] (dprintf): Likewise.
4174 [__USE_GNU] (vdprintf): Likewise.
4175
d3dfcc41
RM
41762012-05-03 Roland McGrath <roland@hack.frob.com>
4177
4178 * elf/Makefile (common-generated): Set this instead of generated for
4179 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
4180 $(all-built-dso)-derived lists.
4181
7ac30cc5
AJ
41822012-05-03 Andreas Jaeger <aj@suse.de>
4183
0c51e550
AJ
4184 * sysdeps/i386/fpu/libm-test-ulps: Update.
4185
7ac30cc5
AJ
4186 * FAQ: Removed.
4187 * FAQ.in: Likewise.
4188 * scripts/gen-FAQ.pl: Likewise.
4189 * manual/install.texi (Installation): Point to online location of
4190 FAQ.
4191 * Makefile (files-for-dist): Remove FAQ.
4192 (FAQ): Remove.
4193
d4c2917f
AM
41942012-05-02 Allan McRae <allan@archlinux.org>
4195
4196 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4197 (LDFLAGS-reldepmod5.so): Likewise.
4198 (LDFLAGS-reldep6mod1.so): Likewise.
4199 (LDFLAGS-reldep6mod4.so): Likewise.
4200 (LDFLAGS-reldep8mod3.so): Likewise.
4201 (LDFLAGS-unload4mod1.so): Likewise.
4202 (LDFLAGS-unload4mod2.so): Likewise.
4203 (LDFLAGS-tst-initorder): Likewise.
4204 (LDFLAGS-tst-initordera2.so): Likewise.
4205 (LDFLAGS-tst-initordera3.so): Likewise.
4206 (LDFLAGS-tst-initordera4.so): Likewise.
4207 (LDFLAGS-tst-initorderb2.so): Likewise.
4208 (LDFLAGS-noload): Likewise.
4209 (LDFLAGS-next): Likewise.
4210 (LDFLAGS-order2mod1.so): Likewise.
4211 (LDFLAGS-order2mod2.so): Likewise.
4212 (LDFLAGS-tst-initorder2): Likewise.
4213 (LDFLAGS-tst-initorder2a.so): Likewise.
4214 (LDFLAGS-tst-initorder2b.so): Likewise.
4215 (LDFLAGS-tst-initorder2c.so): Likewise.
4216 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4217
d77f993f
DM
42182012-05-02 David S. Miller <davem@davemloft.net>
4219
4220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4221
171a70b4
PP
42222012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4223
4224 [BZ #14055]
4225 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4226
0be196ad
AJ
42272012-05-02 Andreas Jaeger <aj@suse.de>
4228
4229 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4230 since we manipulate rounding mode.
4231 (CPPFLAGS-test-idouble.c): Likewise.
4232 (CPPFLAGS-test-ifloat.c): Likewise.
4233 (CFLAGS-test-ldouble.c): Likewise.
4234 (CFLAGS-test-double.c): Likewise.
4235 (CFLAGS-test-float.c): Likewise.
4236 (CFLAGS-test-misc.c): Likewise.
4237 (CFLAGS-test-test-fenv.c): Likewise.
4238
4f9d04aa
AZ
42392012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4240
2b942cb7
RM
4241 [BZ #2550]
4242 [BZ #2570]
4243 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4244 comparisons to determine direction to adjust input.
4f9d04aa 4245
82a79e7d
RM
42462012-05-01 Roland McGrath <roland@hack.frob.com>
4247
f5a01ca9
RM
4248 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4249 output to the target.
4250
90fe4186
RM
4251 * scripts/localplt.awk: New file.
4252 * elf/Makefile ($(objpfx)check-localplt): Target removed.
4253 (check-localplt-CFLAGS): Variable removed.
4254 ($(all-built-dso:=.jmprel)): New static pattern rule.
4255 (generated): Add those targets.
4256 (localplt-built-dso): New variable.
4257 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4258
4259 * elf/check-localplt.c: File removed.
4260
82397ed6
RM
4261 * scripts/check-execstack.awk: New file.
4262 * elf/Makefile ($(objpfx)check-execstack): Target removed.
4263 (check-execstack-CFLAGS): Variable removed.
4264 ($(objpfx)check-execstack.h): Target removed.
4265 ($(objpfx)execstack-default): New target.
4266 (generated): Add that instead of check-execstack.h.
4267 ($(all-built-dso:=.phdr)): New static pattern rule.
4268 (generated): Add those targets.
4269 * elf/check-execstack.c: File removed.
4270
82a79e7d
RM
4271 * scripts/check-textrel.awk: New file.
4272 * elf/Makefile ($(objpfx)check-textrel): Target removed.
4273 (check-textrel-CFLAGS): Variable removed.
4274 (all-built-dso): Use := to define.o
4275 ($(all-built-dso:=.dyn)): New static pattern rule.
4276 (generated): Add those targets.
4277 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4278 * config.make.in (READELF): New substituted variable.
4279 * elf/check-textrel.c: File removed.
4280
62fde54f 42812012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 4282
615605c9
JM
4283 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4284 allow.
4285 * conform/data/ctype.h-data [C99-based standards] (isblank):
4286 Expect function.
4287 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4288 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4289 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4290 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4291 Specify type. Require positive value.
4292 (EILSEQ): Likewise.
4293 (ERANGE): Likewise.
4294 [ISO || POSIX] (EILSEQ): Do not expect.
4295 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4296 Specify type. Require positive value.
4297 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4298 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4299 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4300 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4301 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4302 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4303 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4304 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4305 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4306 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4307 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4308 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4309 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4310 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4311 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4312 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4313 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4314 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4315 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4316 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4317 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4318 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4319 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4320 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4321 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4322 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4323 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4324 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4325 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4326 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4327 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4328 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4329 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4330 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4331 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4332 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4333 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4334 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4335 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4336 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4337 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4338 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4339 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4340 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4341 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4342 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4343 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4344 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4345 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4346 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4347 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4348 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4349 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4350 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4351 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4352 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4353 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4354 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4355 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4356 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4357 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4358 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4359 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4360 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4361 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4362 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4363 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4364 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4365 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4366 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4367 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4368 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4369 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4370 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4371 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4372 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4373 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4374 Require >= 2.
4375 (FLT_ROUNDS): Expect as macro, not constant.
4376 (FLT_MANT_DIG): Use macro-int-constant.
4377 (DBL_MANT_DIG): Likewise.
4378 (LDBL_MANT_DIG): Likewise.
4379 (FLT_DIG): Likewise.
4380 (DBL_DIG): Likewise.
4381 (LDBL_DIG): Likewise.
4382 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
4383 (DBL_MIN_EXP): Likewise.
4384 (LDBL_MIN_EXP): Likewise.
4385 (FLT_MAX_EXP): Use macro-int-constant.
4386 (DBL_MAX_EXP): Likewise.
4387 (LDBL_MAX_EXP): Likewise.
4388 (FLT_MAX_10_EXP): Likewise.
4389 (DBL_MAX_10_EXP): Likewise.
4390 (LDBL_MAX_10_EXP): Likewise.
4391 (FLT_MAX): Use macro-constant.
4392 (DBL_MAX): Likewise.
4393 (LDBL_MAX): Likewise.
4394 (FLT_EPSILON): Use macro-constant. Give upper bound.
4395 (DBL_EPSILON): Likewise.
4396 (LDBL_EPSILON): Likewise.
4397 (FLT_MIN): Likewise.
4398 (DBL_MIN): Likewise.
4399 (LDBL_MIN): Likewise.
4400 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
4401 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
4402 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
4403 [ISO11] (FLT_HAS_SUBNORM): Likewise.
4404 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
4405 [ISO11] (DBL_DECIMAL_DIG): Likewise.
4406 [ISO11] (FLT_DECIMAL_DIG): Likewise.
4407 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4408 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4409 [ISO11] (FLT_TRUE_MIN): Likewise.
4410 [ISO11] (LDBL_TRUE_MIN): Likewise.
4411 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4412 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4413 (SCHAR_MIN): Use macro-int-constant. Specify type.
4414 (SCHAR_MAX): Likewise.
4415 (UCHAR_MAX): Likewise.
4416 (CHAR_MIN): Likewise.
4417 (CHAR_MAX): Likewise.
4418 (MB_LEN_MAX): Use macro-int-constant.
4419 (SHRT_MIN): Use macro-int-constant. Specify type.
4420 (SHRT_MAX): Likewise.
4421 (USHRT_MAX): Likewise.
4422 (INT_MAX): Likewise.
4423 (INT_MIN): Use macro-int-constant. Specify type. Make upper
4424 bound negative.
4425 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
4426 bound with "U".
4427 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4428 bound with "L".
4429 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
4430 bound negative. Suffix upper bound with "L".
4431 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4432 bound with "UL".
4433 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4434 Specify type.
4435 [C99-based standards] (LLONG_MAX): Likewise.
4436 [C99-based standards] (ULLONG_MAX): Likewise.
4437 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
4438 == 0.
4439 [ISO11] (max_align_t): Require type.
4440 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4441
c9140a62
JM
4442 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4443 from $CFLAGS, without defining away __attribute__ calls.
4444 (checknamespace): Use $CFLAGS_namespace.
4445
9af0bf29
JM
4446 * conform/conformtest.pl (@keywords): Only include C99 keywords
4447 for standards based on C99 or C11.
4448
343222a2
JM
4449 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4450 Disable tests.
4451 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4452 UNIX98]: Likewise.
4453
661f8cf0
JM
4454 * conform/conformtest.pl: Handle "macro-int-constant" and test for
4455 usability of symbols in #if.
4456
ee74b9cb
JM
4457 * conform/conformtest.pl: If macro or constant types start
4458 "promoted:", expect the symbol to be of the following type
4459 promoted by the integer promotions.
62fde54f 4460
aafc49b3
JM
4461 * conform/conformtest.pl: Parse all "constant" and "macro" lines
4462 in one place. Also handle "macro-constant".
4463
fefdf574
JM
4464 * conform/conformtest.pl: Only accept expected macro values with
4465 "==". Parse all "macro" lines in one place.
4466 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4467
f2d922fe
JM
4468 * conform/conformtest.pl: Handle braced types on "constant" lines
4469 instead of handling "typed-constant".
4470 * conform/data/signal.h-data: Use "constant" instead of
4471 "typed-constant".
4472
d22956c9
JM
4473 * conform/conformtest.pl: Handle "optional-" at start of lines in
4474 one place rather than duplicating several cases. Handle each
4475 format of "macro" line with initial "optional-".
4476
028e2e38
JM
4477 * conform/conformtest.pl: Only accept expected constant or
4478 optional-constant values with "==". Parse all "constant" lines in
4479 one place. Parse all "optional-constant" lines in one place.
4480 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4481 * conform/data/fmtmsg.h-data: Likewise.
4482 * conform/data/netinet/in.h-data: Likewise.
4483 * conform/data/tar.h-data: Likewise.
4484 * conform/data/limits.h-data: Use "==" form on "constant" and
4485 "optional-constant" lines.
4486
1b8f2850
JM
4487 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4488 Use -std=c99 for XOPEN2K.
4489 (@knownproblems): Remove.
4490 (newtoken): Don't check %isknown.
4491
a05a144b
JM
4492 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4493 Do not expect macro.
4494 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4495 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4496 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4497 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4498 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4499 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4500 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4501 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4502 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4503 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4504 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4505 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4506 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4507 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4508 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4509 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4510 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4511 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4512 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4513 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4514 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4515 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4516 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4517 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4518 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4519 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4520 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4521 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4522 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4523 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4524 [XPG3] (acosh): Likewise.
4525 [XPG3] (asinh): Likewise.
4526 [XPG3] (atanh): Likewise.
4527 [XPG3] (cbrt): Likewise.
4528 [XPG3] (expm1): Likewise.
4529 [XPG3] (ilogb): Likewise.
4530 [XPG3] (log1p): Likewise.
4531 [XPG3] (logb): Likewise.
4532 [XPG3] (nextafter): Likewise.
4533 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4534 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4535 [XPG3] (remainder): Likewise.
4536 [XPG3] (rint): Likewise.
4537 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4538 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4539 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4540 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4541 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4542 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4543 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4544 [UNIX98 || XOPEN2K] (scalb): Expect.
4545 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4546 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4547 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4548 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4549 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4550 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4551 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4552 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4553 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4554 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4555 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4556 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4557 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4558 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4559 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4560 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4561 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4562 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4563 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4564 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4565 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4566 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4567 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4568 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4569 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4570 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4571 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4572 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4573 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4574 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4575 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4576 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4577 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4578 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4579 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4580 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4581 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4582 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4583 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4584 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4585 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4586 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4587 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4588 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4589 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4590 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4591 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4592 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4593 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4594 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4595 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4596 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4597 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4598 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4599 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4600 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4601 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4602 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4603 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4604 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4605 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4606 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4607 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4608 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4609 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4610 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4611 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4612 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4613 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4614 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4615 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4616 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4617 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4618 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4619 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4620 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4621 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4622 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4623 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4624 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4625 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4626 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4627 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4628 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4629 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4630 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4631 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4632 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4633 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4634 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4635 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4636 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4637 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4638 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4639 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4640 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4641 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4642 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4643 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4644 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4645 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4646 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4647 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4648 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4649 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4650 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4651 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4652 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4653 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4654 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4655 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4656 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4657 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4658 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4659 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4660 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4661 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4662 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4663 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4664 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4665 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4666 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4667 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4668 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4669 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4670 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4671 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4672 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4673 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4674 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4675 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4676 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4677 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4678 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4679 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4680 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4681 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4682
73c5ebe3
JM
4683 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4684 _XOPEN_SOURCE_EXTENDED for XPG4.
4685
39c33b6c
JM
4686 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4687
62fde54f
JM
4688 * Makeconfig (localtime): Remove variable.
4689 (inst_localtime-file): Likewise.
4690
0741d64c
AS
46912012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4692
4693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4694 Update.
4695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4696 Update.
4697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4698 Update.
4699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4700 Update.
4701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4702 Update.
4703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4704 Update.
4705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4706 Update.
4707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4708 Update.
4709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4710 Update.
4711
7cb029ee
JM
47122012-05-01 Joseph Myers <joseph@codesourcery.com>
4713
4714 [BZ #2550]
4715 [BZ #2570]
4716 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4717 comparisons to determine direction to adjust input.
4718 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4719 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4720 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4721 Likewise.
4722 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4723 Likewise.
4724 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4725 Likewise.
4726 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4727 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4728 Likewise.
4729 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4730 Likewise.
4731 * math/libm-test.inc (nexttoward_test): Add more tests.
4732
412bd966
AS
47332012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4734
4735 [BZ #14040]
4736 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4737 in version GLIBC_2.1, not GLIBC_2.0.
4738 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4739 Likewise.
4740
9568c0c2
JM
47412012-04-30 Joseph Myers <joseph@codesourcery.com>
4742
adfbc8ac
JM
4743 [BZ #13942]
4744 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4745 (1 - x) * (1 + x).
4746 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4747 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4748 * math/libm-test.inc (acos_test): Add more tests.
4749 (asin_test): Likewise.
4750 * sysdeps/i386/fpu/libm-test-ulps: Update.
4751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4752
5ba3cc69
JM
4753 [BZ #14034]
4754 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4755 of square root.
4756 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4757 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4758 * math/libm-test.inc (acos_test_tonearest): New function.
4759 (acos_test_towardzero): Likewise.
4760 (acos_test_downward): Likewise.
4761 (acos_test_upward): Likewise.
4762 (asin_test_tonearest): Likewise.
4763 (asin_test_towardzero): Likewise.
4764 (asin_test_downward): Likewise.
4765 (asin_test_upward): Likewise.
4766 (main): Call the new functions.
4767 * sysdeps/i386/fpu/libm-test-ulps: Update.
4768 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4769
9568c0c2
JM
4770 [BZ #13884]
4771 [BZ #13924]
4772 * math/e_exp10.c: Include <float.h>.
4773 (__ieee754_exp10): Handle underflow here rather than multiplying
4774 large negative argument by M_LN10.
4775 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4776 of __ieee754_expf.
4777 * math/e_exp10l.c: Include <float.h>.
4778 (__ieee754_exp10l): Handle underflow here rather than multiplying
4779 large negative argument by M_LN10l.
4780 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4781 spurious overflow exception on underflow.
4782
5ac3ea17
MP
47832012-04-29 Marek Polacek <polacek@redhat.com>
4784
4785 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4786 (__fortify_function): New macro.
4787 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4788 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4789 __extern_always_inline.
4790 * libio/bits/stdio2.h: Likewise.
4791 * libio/bits/stdio.h: Likewise.
4792 * string/string.h: Likewise.
4793 * string/bits/string3.h: Likewise.
4794 * include/stdio.h: Likewise.
4795 * stdlib/bits/stdlib.h: Likewise.
4796 * stdlib/stdlib.h: Likewise.
4797 * rt/bits/mqueue2.h: Likewise.
4798 * rt/mqueue.h: Likewise.
4799 * posix/bits/unistd.h: Likewise.
4800 * posix/unistd.h: Likewise.
4801 * io/bits/poll2.h: Likewise.
4802 * io/bits/fcntl2.h: Likewise.
4803 * io/fcntl.h: Likewise.
4804 * io/sys/poll.h: Likewise.
4805 * misc/bits/syslog.h: Likewise.
4806 * misc/bits/syslog-ldbl.h: Likewise.
4807 * misc/sys/syslog.h: Likewise.
4808 * socket/bits/socket2.h: Likewise.
4809 * socket/sys/socket.h: Likewise.
4810 * debug/tst-chk1.c: Likewise.
4811 * wcsmbs/bits/wchar2.h: Likewise.
4812 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4813 * wcsmbs/wchar.h: Likewise.
4814
ecf0ebfb
AJ
48152012-04-29 Andreas Jaeger <aj@suse.de>
4816
4817 * Makerules (tests): Remove enable-check-abi protection.
4818 (check-abi-warn): Remove.
4819 (check-abi-%): Remove check-abi-warn usage.
4820
4821 * configure.in: Remove check-abi configure option.
4822 * configure: Regenerated.
4823 * config.make.in (enable-check-abi): Remove.
4824
6d5c57fa
AS
48252012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4826
24c5d07e 4827 [BZ #14033]
ded5180a
AS
4828 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4829 double functions to double *_finite functions.
4830
7e0d315d
AS
4831 [BZ #13941]
4832 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4833 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4834 LDBL_MIN_EXP.
4835 * stdio-common/Makefile (tests): Add tst-sprintf3.
4836 * stdio-common/tst-sprintf3.c: New file.
4837
6d5c57fa
AS
4838 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4839 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4840
0749ff8b
JM
48412012-04-28 Joseph Myers <joseph@codesourcery.com>
4842
4843 * conform/conformtest.pl: Remove duplicate typed-constant
4844 handling.
4845
8dbd5d7b
DM
48462012-04-28 David S. Miller <davem@davemloft.net>
4847
4848 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4849 (check-abi-%): Remove AWK script prerequisite and explicit
4850 abilist directory.
4851 (check-abi): Rewrite to just diff the symlist with the abilist.
4852 (config-tls, config-abi-config): Delete, no longer used.
4853 (update-abi-%): Remove AWK script and explicit abilist directory.
4854 (update-abi): Rewrite to simply compare and conditionally copy the
4855 symlist and the sysdep abilist file. Remove update-abi-config
4856 checks.
4857 * abilist/ld.abilist: Remove.
4858 * abilist/libBrokenLocale.abilist: Remove.
4859 * abilist/libanl.abilist: Remove.
4860 * abilist/libcrypt.abilist: Remove.
4861 * abilist/libdl.abilist: Remove.
4862 * abilist/librt.abilist: Remove.
4863 * abilist/libthread_db.abilist: Remove.
4864 * abilist/libutil.abilist: Remove.
4865 * scripts/extract-abilist.awk: Remove.
4866 * scripts/merge-abilist.awk: Remove.
4867 * sysdeps/generic/libcidn.abilist: New file.
4868 * sysdeps/generic/libnss_compat.abilist: New file.
4869 * sysdeps/generic/libnss_db.abilist: New file.
4870 * sysdeps/generic/libnss_dns.abilist: New file.
4871 * sysdeps/generic/libnss_files.abilist: New file.
4872 * sysdeps/generic/libnss_hesiod.abilist: New file.
4873 * sysdeps/generic/libnss_nis.abilist: New file.
4874 * sysdeps/generic/libnss_nisplus.abilist: New file.
4875 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4876 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4877 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4878 file.
4879 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4880 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4881 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4882 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4883 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4884 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4885 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4886 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4887 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4888 file.
4889 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4890 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4891 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4892 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4893 file.
4894 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4895 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4896 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4897 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4898 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4899 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4900 file.
4901 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4902 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4903 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4904 file.
4905 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4906 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4907 New file.
4908 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4909 New file.
4910 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4911 New file.
4912 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4913 New file.
4914 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4915 New file.
4916 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4917 New file.
4918 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4919 New file.
4920 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4921 New file.
4922 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4923 New file.
4924 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4925 New file.
4926 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4927 New file.
4928 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4929 New file.
4930 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4931 New file.
4932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4933 file.
4934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4935 New file.
4936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4937 New file.
4938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4939 file.
4940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4941 New file.
4942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4943 New file.
4944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4945 file.
4946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4947 New file.
4948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4949 New file.
4950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4951 New file.
4952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4953 New file.
4954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4955 New file.
4956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4957 New file.
4958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4960 file.
4961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4962 New file.
4963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4964 file.
4965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4966 file.
4967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4968 file.
4969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4970 file.
4971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4972 file.
4973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4974 New file.
4975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4976 file.
4977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4978 file.
4979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4980 New file.
4981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4982 file.
4983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4985 file.
4986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4987 New file.
4988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4989 file.
4990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4991 file.
4992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4993 file.
4994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4995 file.
4996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4997 file.
4998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4999 New file.
5000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5001 file.
5002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5003 file.
5004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5005 New file.
5006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5007 file.
5008 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5009 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5010 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5011 file.
5012 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5013 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5014 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5015 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5016 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5017 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5018 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5019 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5020 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5021 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5024 file.
5025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5026 New file.
5027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5028 file.
5029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5030 file.
5031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5032 file.
5033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5034 file.
5035 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5036 file.
5037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5038 New file.
5039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5040 New file.
5041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5042 file.
5043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5044 New file.
5045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5046 file.
5047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5049 file.
5050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5051 New file.
5052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5053 file.
5054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5055 file.
5056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5057 file.
5058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5059 file.
5060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5061 file.
5062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5063 New file.
5064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5065 New file.
5066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5067 file.
5068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5069 New file.
5070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5071 file.
5072
41d73a1b
JM
50732012-04-28 Joseph Myers <joseph@codesourcery.com>
5074
5075 * conform/conformtest.pl: Fix typo in handling typed-constant from
5076 allow-header.
5077
28aeeda4
JM
50782012-04-27 Joseph Myers <joseph@codesourcery.com>
5079
adae8f5e
JM
5080 * README: Cut down references to pre-2.6 Linux kernels and
5081 Linuxthreads. Update lists of configurations in libc and ports
5082 and sort alphabetically. Say "or newer" with Linux kernel version
5083 requirements.
5084
28aeeda4
JM
5085 * config.h.in [IS_IN_build]: Allow compiling without optimization.
5086
a462cb63
RA
50872012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5088
5089 [BZ #887]
5090 * math/libm-test.inc (logb_test_downward): New test to expose
5091 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5092 rounding mode.
5093
6ad3493e
JM
50942012-04-27 Joseph Myers <joseph@codesourcery.com>
5095
5096 [BZ #14027]
5097 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5098 to be done.
5099 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5100 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5101
2ce4f015
JM
51022012-04-26 Joseph Myers <joseph@codesourcery.com>
5103
5aeb141a
JM
5104 * sysdeps/unix/i386/brk.S: Remove file.
5105 * sysdeps/unix/i386/dl-brk.S: Likewise.
5106 * sysdeps/unix/i386/pipe.S: Likewise.
5107 * sysdeps/unix/i386/sigreturn.S: Likewise.
5108 * sysdeps/unix/i386/syscall.S: Likewise.
5109 * sysdeps/unix/i386/vfork.S: Likewise.
5110 * sysdeps/unix/i386/wait.S: Likewise.
5111
7143acae
JM
5112 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5113 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5114
2ce4f015
JM
5115 * configure.in (arm*-none*): Do not allow without
5116 --enable-hacker-mode.
5117 (netbsd*): Remove case setting base_os.
5118 (386bsd*): Likewise.
5119 (freebsd*): Likewise.
5120 (bsdi*): Likewise.
5121 (osf*): Likewise.
5122 (sunos*): Likewise.
5123 (ultrix*): Likewise.
5124 (newsos*): Likewise.
5125 (dynix*): Likewise.
5126 (*bsd*): Likewise.
5127 (sysv*): Likewise.
5128 (isc*): Likewise.
5129 (esix*): Likewise.
5130 (sco*): Likewise.
5131 (minix*): Likewise.
5132 (irix4*): Likewise.
5133 (irix6*): Likewise.
5134 (solaris[2-9]*): Likewise.
5135 (none): Likewise.
5136 * configure: Regenerated.
5137
0ac229c8
AZ
51382012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5139
5140 [BZ #11521]
5141 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5142 overflow or cancellation in calculating denominator.
5143 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5144 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5145 down expression to avoid unexpected rounding in newer GCCs.
5146 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5147
33f244f4
DM
51482012-04-26 David S. Miller <davem@davemloft.net>
5149
5150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5151 long-double compat symbols.
5152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5165
cfa1f3e8
DM
51662012-04-25 David S. Miller <davem@davemloft.net>
5167
5168 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5169 HWCAP_* values only after the memory barriers have been defined.
5170 (atomic_full_barrier): Define.
5171 (atomic_read_barrier): Define.
5172 (atomic_write_barrier): Define.
5173
6e236b92
SP
51742012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5175
5176 * shlib-versions: Add libgcc_s version information.
5177 * sysdeps/generic/libgcc_s.h: Remove.
5178 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5179 libgcc_s.h.
5180 * sysdeps/gnu/unwind-resume.c: Likewise.
5181 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5182
aab39a09
DM
51832012-04-25 David S. Miller <davem@davemloft.net>
5184
5185 * sysdeps/unix/sparc/brk.S: Delete.
5186 * sysdeps/unix/sparc/dl-brk.S: Delete.
5187 * sysdeps/unix/sparc/pipe.S: Delete.
5188 * sysdeps/unix/sparc/sysdep.S: Delete.
5189 * sysdeps/unix/sparc/sysdep.h: Delete.
5190 * sysdeps/unix/sparc/vfork.S: Delete.
5191 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5192 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5193 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5194 ret_ERRVAL, r0, r1, MOVE): Define.
5195 (JUMPTARGET): Remove.
5196 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5197 sysdeps/unix/sparc/sysdep.h
5198 (ENTRY, END): Remove.
5199 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5200
a3cc4f48
JM
52012012-04-25 Joseph Myers <joseph@codesourcery.com>
5202
2ed8cda2
JM
5203 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5204 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5205 -DIS_IN_build.
5206
35d76d59
JM
5207 * timezone/README: Update upstream location and email address for
5208 tzcode and tzdata.
5209 * timezone/zdump.c: Update from tzcode 2012b.
5210 * timezone/zic.c: Likewise.
5211
a3cc4f48
JM
5212 * configure.in (libc_cv_as_needed): Remove test.
5213 * configure: Regenerated.
5214 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5215 conditional definition.
5216 [$(have-as-needed) != yes] (no-as-needed): Likewise.
5217 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5218 * config.make.in (have-as-needed): Remove variable.
5219
ceab42c3
SP
52202012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5221 Paul Pluzhnikov <ppluzhnikov@google.com>
5222
5223 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5224 strings correctly.
5225
3ce2865f
CLT
52262012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5227
5228 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5229 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5230 * sysdeps/sh/strlen.S: Likewise.
5231
f37e0d68
JM
52322012-04-24 Joseph Myers <joseph@codesourcery.com>
5233
ae186e9a
JM
5234 * sysdeps/unix/fork.S: Remove file.
5235 * sysdeps/unix/i386/fork.S: Likewise.
5236 * sysdeps/unix/sparc/fork.S: Likewise.
5237
b96914af
JM
5238 * sysdeps/unix/system.c: Remove file.
5239 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5240
f37e0d68
JM
5241 * sysdeps/unix/getegid.S: Remove file.
5242 * sysdeps/unix/geteuid.S: Likewise.
5243
87ef29ca
RM
52442012-04-24 Roland McGrath <roland@hack.frob.com>
5245
83bcd236
RM
5246 * scripts/check-localplt.awk: New file.
5247 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5248 of diff.
5249 * scripts/data/localplt-generic.data: Add a comment.
5250
87ef29ca
RM
5251 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5252 NODE when __dir_mkfile failed.
5253 * sysdeps/mach/hurd/symlinkat.c: Likewise.
5254 Reported by Ludovic Courtès <ludo@gnu.org>.
5255
e5a6e567
AJ
52562012-04-24 Andreas Jaeger <aj@suse.de>
5257
5258 * Makerules (common-clean): Also remove gen-as-const-headers
5259 files.
5260
c1820385
JM
52612012-04-24 Joseph Myers <joseph@codesourcery.com>
5262
5263 * Makerules (native-compile): Do not change working directory for
5264 build. Use $(OUTPUT_OPTION) in command.
5265 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5266
94e02fc4
AZ
52672012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5268
5269 [BZ #13886]
5270 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5271 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5272 * math/libm-test.inc (floor_test): Add more tests.
5273 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5274
3a533ca3
JM
52752012-04-24 Joseph Myers <joseph@codesourcery.com>
5276
940ab4b3
JM
5277 * sysdeps/unix/getdents.c: Remove file.
5278 * sysdeps/unix/sysv/getdents.c: Likewise.
5279 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5280
90e037bd
JM
5281 * sysdeps/unix/syscalls.list (madvise): Add syscall from
5282 sysdeps/unix/mman/syscalls.list.
5283 (mmap): Likewise.
5284 (mprotect): Likewise.
5285 (msync): Likewise.
5286 (munmap): Likewise.
5287 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5288 * sysdeps/unix/mman/syscalls.list: Remove.
5289 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5290
3a533ca3
JM
5291 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5292 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5293 * configure: Regenerated.
5294 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5295 $(libgcc_s_suffix).
5296 * config.make.in (libgcc_s_suffix): Remove variable.
5297
1ad743de
JM
52982012-04-23 Joseph Myers <joseph@codesourcery.com>
5299
4ad451e2
JM
5300 * sysdeps/unix/sysv/gethostname.c: Move to ...
5301 * sysdeps/posix/gethostname.c: ... here.
5302
5e37ce39
JM
5303 * sysdeps/unix/execve.S: Remove file.
5304
1ad743de
JM
5305 * sysdeps/unix/_exit.S: Remove file.
5306
4e681b5b
AJ
53072012-04-23 Andreas Jaeger <aj@suse.de>
5308
5309 [BZ #13739]
5310 * manual/Makefile: Remove make dist support, there's no
5311 need for a stand-alone documentation tar ball.
5312 (TEXI2DVI): Define always, it's not in Makeconfig.
5313 (dist): Removed.
5314 (tar-it): Removed.
5315 (edition): Removed.
5316 (glibc-doc-$(edition).tar): Removed
5317 (%.Z): Removed.
5318 (%.gz): Removed.
5319 (%.uu): Removed.
5320 (ETAGS): Remove, it's in Makeconfig.
5321 (move-if-change): Remove, it's in Makeconfig.
5322
c0baea34
PE
53232013-04-23 Paul Eggert <eggert@cs.ucla.edu>
5324
5325 [BZ #13970]
5326 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5327 (strtod, strtof, strtold, strtol, strtoul, strtoq)
5328 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5329 (strtod_l, strtof_l, strtold_l): Remove __wur.
5330 It is not necessarily an error to ignore strtol's return value.
5331 One can reliably look at the stored endptr to decide whether
5332 the number had valid syntax.
5333
7c0616fa
AJ
53342012-04-21 Andreas Jaeger <aj@suse.de>
5335
803cb6b7 5336 [BZ #13739]
7c0616fa
AJ
5337 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5338
b0fe253f
JM
53392012-04-21 Joseph Myers <joseph@codesourcery.com>
5340
5341 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5342 * sysdeps/unix/sysv/Versions: Remove file.
5343
8280f22d
MT
53442012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
5345
5346 [BZ #13927]
5347 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5348
75ce411f 53492012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
5350
5351 [BZ #7064]
5352 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5353 version from __vm86.
5354
097d59fa
JM
53552012-04-20 Joseph Myers <joseph@codesourcery.com>
5356
a90f3bcb
JM
5357 * sysdeps/unix/common/lxstat.c: Remove file.
5358 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5359
edc7ea78
JM
5360 * sysdeps/unix/sysv/Makefile: Remove file.
5361
cb78c221
JM
5362 * sysdeps/unix/sysv/direct.h: Remove file.
5363
efa6a45f
JM
5364 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5365 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5366 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5367 * sysdeps/unix/sysv/bits/signum.h: Likewise.
5368 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5369 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5370 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5371
9c9f2d0c
JM
5372 * sysdeps/unix/sysv/setrlimit.c: Remove file.
5373
4541c83b
JM
5374 * sysdeps/unix/xmknod.c: Remove file.
5375 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5376
f5d153a0
JM
5377 * sysdeps/unix/sysv/settimeofday.c: Remove file.
5378
aa746595
JM
5379 * sysdeps/unix/sysv/i386/time.S: Remove file.
5380
cce5905e
JM
5381 * sysdeps/unix/fxstat.c: Remove file.
5382 * sysdeps/unix/xstat.c: Likewise.
5383 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5384
37fa3841
JM
5385 * sysdeps/unix/sysv/sigaction.c: Remove file.
5386
ff1962a3
JM
5387 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5388 (sysdep_headers): Remove variable.
5389 [termio.h not in sysdep_headers] (generated): Likewise.
5390 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5391 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5392 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5393 * sysdeps/unix/sysv/tcflow.c: Likewise.
5394 * sysdeps/unix/sysv/tcflush.c: Likewise.
5395 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5396 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
5397 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5398 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5399 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
5400
e7740d31
JM
5401 * sysdeps/unix/siglist.c: Remove file.
5402
ee06f18b
JM
5403 * sysdeps/unix/getppid.S: Remove file.
5404
097d59fa
JM
5405 * sysdeps/unix/mkdir.c: Remove file.
5406 * sysdeps/unix/rmdir.c: Likewise.
5407
ff3d51ec
AS
54082012-04-19 Andreas Schwab <schwab@linux-m68k.org>
5409
5410 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5411 ERR_MAX value.
5412 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5413 errlist-compat value.
5414
50f81fd7
DM
54152012-04-18 David S. Miller <davem@davemloft.net>
5416
5417 * sysdeps/generic/memcopy.h (reg_char): Delete.
5418 * debug/strcat_chk.c: Use char, not reg_char.
5419 * debug/strcpy_chk.c: Likewise.
5420 * debug/strncat_chk.c: Likewise.
5421 * debug/strncpy_chk.c: Likewise.
5422 * string/memchr.c: Likewise.
5423 * string/memrchr.c: Likewise.
5424 * string/rawmemchr.c: Likewise.
5425 * string/strcat.c: Likewise.
5426 * string/strchr.c: Likewise.
5427 * string/strchrnul.c: Likewise.
5428 * string/strcmp.c: Likewise.
5429 * string/strcpy.c: Likewise.
5430 * string/strncat.c: Likewise.
5431 * string/strncmp.c: Likewise.
5432 * string/strncpy.c: Likewise.
5433
8ff41c46
WS
54342012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5435
5436 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5437 __builtin_memcopy is called when src and dest ranges are known to not
5438 overlap.
5439
6b652f46
WS
54402012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5441
5442 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5443 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5444 fwd_align_merge macro call.
5445 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5446 bwd_align_merge macro call.
5447 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5448
b282631e
WS
54492012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5450
5451 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5452 bwd_align_merge macros.
5453 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5454 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5455 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5456
95aa737c
DM
54572012-04-18 David S. Miller <davem@davemloft.net>
5458
5459 * sysdeps/sparc/sparc64/memcopy.h: Delete.
5460
7a99a614
AJ
54612012-04-18 Andreas Jaeger <aj@suse.de>
5462
5463 [BZ# 6794]
5464 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5465 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5466 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5467
5468 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5469 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5470 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5471
5472 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5473 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5474 Adjust for changed ldbl-128 files.
5475
5476 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5477 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5478 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5479
e5270c23
DM
54802012-04-17 David S. Miller <davem@davemloft.net>
5481
5482 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5483
fb5e92c9
AS
54842012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5485
5486 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5487 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5488 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5489 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5490 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5491 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5492
76da7265
AZ
54932012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5494
5495 [BZ #6794]
5496 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5497 * math/libm-test.inc: Add ilogb errno and exception tests.
5498 * math/w_ilogb.c: New file: ilogb wrapper.
5499 * math/w_ilogbf.c: New file: ilogbf wrapper.
5500 * math/w_ilogbl.c: New file: ilogbl wrapper.
5501 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5502 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5503 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5504 exception being thrown with 0.0 as argument.
5505 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5506 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5507 exception being thrown with 0.0 as argument.
5508 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5509 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5510 exception being thrown with 0.0 as argument.
5511 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5512 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5513 exception being thrown with 0.0 as argument.
5514 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5515 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 5516 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
5517 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5518 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5519 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5520 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5521 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5522 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5523
0396e69d
PB
55242012-04-17 Petr Baudis <pasky@ucw.cz>
5525
5526 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5527 with altivec.
5528
750b5926
MP
55292012-04-16 Marek Polacek <polacek@redhat.com>
5530
5531 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5532
751728a1
MP
55332012-04-16 Marek Polacek <polacek@redhat.com>
5534
5535 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5536 operands of fdivp instruction.
5537
34a27407
L
55382012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5539
5540 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5541 * elf/tst-auditmod3b.c: Likewise.
5542 * elf/tst-auditmod4b.c: Likewise.
5543 * elf/tst-auditmod5b.c: Likewise.
5544 * elf/tst-auditmod6b.c: Likewise.
5545 * elf/tst-auditmod6c.c: Likewise.
5546 * elf/tst-auditmod7b.c: Likewise.
5547 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5548 * sysdeps/x86_64/preconfigure.in: Likewise.
5549 * sysdeps/x86_64/preconfigure: Regenerated.
5550
7e73e17d
L
55512012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5552
5553 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5554 __ILP32__.
5555
c7a6ab72
AB
55562012-04-13 Antoine Balestrat <merkil33@gmail.com>
5557
5558 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5559 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5560
a9e8e0e0
CL
55612012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5562
5563 [BZ #13973]
5564 * locale/iso-639.def: Fix gl language name. Spotted by
5565 Yaron Shahrabani.
5566
ec98af7d
RM
55672012-04-12 Roland McGrath <roland@hack.frob.com>
5568
5569 [BZ #2074]
5570 * libio/libio.h (__io_write_fn): Update comment.
5571
247c3ede
PB
55722012-04-12 Petr Baudis <pasky@ucw.cz>
5573
5574 [BZ #2074]
5575 * stdio.texi (Hook Functions): The user provided writer function
5576 is not allowed to return -1.
5577
55939d6d
DM
55782012-04-11 David S. Miller <davem@davemloft.net>
5579
5580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5581
90020f5a
MF
55822012-04-11 Mike Frysinger <vapier@gentoo.org>
5583
5584 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5585 Add a leading slash to rtkaio.
5586
288f9098
JM
55872012-04-11 Jim Meyering <meyering@redhat.com>
5588
90020f5a
MF
5589 [BZ #11959]
5590 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5591 It is not necessarily an error to ignore fwrite's return
5592 value. One can reliably use ferror to test for errors after
5593 the fact.
288f9098 5594
4be2b570
L
55952012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5596
5597 * bits/types.h (__snseconds_t): New type.
5598 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5599
5600 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5601 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5602 (__SNSECONDS_T_TYPE): Likewise.
5603 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5604 (__SNSECONDS_T_TYPE): Likewise.
5605 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5606 (__SNSECONDS_T_TYPE): Likewise.
5607
288f9098 56082012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
5609
5610 [BZ #2636]
5611 * manual/time.texi (Processor Time): Return type of times is
5612 elapsed real time since an arbitrary point in the past.
5613 (CPU Time): Move CLK_TCK from here...
5614 (Processor Time): ...to here. Correct description.
5615 * manual/conf.texi (Constants for Sysconf): Correct description of
5616 _SC_CLK_TCK.
5617
d7dd4413
DM
56182012-04-10 David S. Miller <davem@davemloft.net>
5619
5620 [BZ #13967]
5621 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5622 where the is a gap between DT_REL(A) and DT_JMPREL.
5623
b46068fc
L
56242012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5625
5626 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5627 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5628 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5629
73d65cc3
SP
56302012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5631
5632 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5633 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5634 (dl_main): Handle --inhibit-cache.
5635 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5636 _dl_inhibit_cache.
5637 * elf/dl-load.c (_dl_map_object): Use it.
5638 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5639
bcc8d661
JM
56402012-04-09 Joseph Myers <joseph@codesourcery.com>
5641
8f9a2fae
JM
5642 [BZ #13872]
5643 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5644 (__ieee754_powl): Saturate large exponents rather than testing for
5645 overflow of y*log2(x).
5646 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5647 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5648 exceptions.
5649
bcc8d661
JM
5650 [BZ #11521]
5651 * math/s_ctan.c: Include <float.h>.
5652 (__ctan): Avoid internal overflow or cancellation in calculating
5653 denominator.
5654 * math/s_ctanf.c: Likewise.
5655 * math/s_ctanl.c: Likewise.
5656 * math/s_ctanh.c: Likewise.
5657 * math/s_ctanhf.c: Likewise.
5658 * math/s_ctanhl.c: Likewise.
5659 * math/libm-test.inc (ctan_test): Add more tests.
5660 (ctanh_test): Likewise.
5661 * sysdeps/i386/fpu/libm-test-ulps: Update.
5662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5663
823fbbb4
AJ
56642012-04-09 Andreas Jaeger <aj@suse.de>
5665
03879793
AJ
5666 [BZ #6894]
5667 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5668 is an optional BSD extension.
5669
823fbbb4
AJ
5670 [BZ #10254]
5671 * manual/stdio.texi (Opening Streams): Document additional fopen
5672 parameters.
5673
8de131cb
RM
56742012-04-09 Roland McGrath <roland@hack.frob.com>
5675
5676 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5677 %eax without telling the compiler.
5678
c0ed9d7d
CD
56792012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5680
5681 [BZ # 13963]
5682 * manual/install.texi: Use sourceware.org.
5683
c483f6b4
JM
56842012-04-09 Joseph Myers <joseph@codesourcery.com>
5685
d7dd9453
JM
5686 [BZ #13873]
5687 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5688 (__ieee754_pow): Generate overflow and underflow using huge*huge
5689 and tiny*tiny rather than just returning constant infinity or zero
5690 for large exponents.
5691 * math/libm-test.inc (pow_test): Require overflow exceptions for
5692 applicable cases of large exponents.
5693
c483f6b4
JM
5694 [BZ #706]
5695 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5696 (__ieee754_pow): Use iterative multiplication algorithm only for
5697 integer exponents with absolute value below 1024. Check for odd
5698 integer exponents when using algorithm for real exponents.
5699 * math/libm-test.inc (pow_test): Add more tests.
5700 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5701
d2de7579
JM
57022012-04-08 Joseph Myers <joseph@codesourcery.com>
5703
5704 [BZ #13705]
5705 * math/libm-test.inc (exp_test): Do not allow overflow exception
5706 on underflow test.
5707
f77f1232
AJ
57082012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5709
5710 [BZ #13705]
5711 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5712 instead of __kernel_standard_f.
5713
3884932b
MF
57142012-04-08 Mike Frysinger <vapier@gentoo.org>
5715
5716 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5717 * sysdeps/x86_64/memset_chk.S: Likewise.
5718
54472e9c
AJ
57192012-04-08 Andreas Jaeger <aj@suse.de>
5720
6ab0fbfc
AJ
5721 [BZ #10153]
5722 * manual/startup.texi (Environment Access): Describe return value
5723 for putenv and setenv.
5724
61efba8c
AJ
5725 [BZ #6895]
5726 * manual/filesys.texi (Directory Entries): Add description for
5727 DT_LNK.
5728
95c3f29a
AJ
5729 [BZ #6890]
5730 * manual/filesys.texi (Directory Entries): Clarify that it's file
5731 system not operating system in the description of DT_UNKNOWN.
5732
54472e9c
AJ
5733 [BZ #6578]
5734 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5735
624254b1
SC
57362012-04-08 Stephen Compall <s11@member.fsf.org>
5737
5738 [BZ #6649]
5739 * manual/llio.texi (Opening and Closing Files): Add cross
5740 reference to explain mode argument.
5741
1e4920e0
MF
57422012-04-07 Mike Frysinger <vapier@gentoo.org>
5743
5744 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5745 * sysdeps/x86_64/memset_chk.S: Likewise.
5746
5ed848f3
DM
57472012-04-07 David S. Miller <davem@davemloft.net>
5748
5749 * elf/elf.h (R_SPARC_WDISP10): Define.
5750 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5751 R_SPARC_SIZE32.
5752 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5753 R_SPARC_SIZE64 and R_SPARC_H34.
5754
96154cd8
CD
57552012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5756
5757 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5758 conditions and remove no longer applicable assertion.
5759
9904dc47
L
57602012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5761
5762 * bits/byteswap.h: Include <features.h>.
5763 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5764 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5765
f8887d0a
L
57662012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5767
5768 * bits/byteswap.h (__bswap_16): Removed.
5769 Include <bits/byteswap-16.h> to get __bswap_16.
5770 * sysdeps/i386/bits/byteswap.h: Likewise.
5771 * sysdeps/s390/bits/byteswap.h: Likewise.
5772 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5773 * bits/byteswap-16.h: New file.
5774 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5775 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5776 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5777 * string/Makefile (headers): Add bits/byteswap-16.h.
5778
62470f60
PP
57792012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5780
5781 [BZ #13895]
5782 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5783 extra indirection.
5784 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5785 * nss/tst-nss-static.c: New.
5786
4dad7bab
RM
57872012-04-06 Robert Millan <rmh@gnu.org>
5788
5789 [BZ #6486]
5790 * manual/llio.texi (File Position Primitive): lseek
5791 refers to WHENCE when it really means OFFSET.
5792
e9142a17
AJ
57932012-04-06 Andreas Jaeger <aj@suse.de>
5794
2c040eff
AJ
5795 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5796 strncmp declarations.
5797
e9142a17
AJ
5798 * abilist/libc.abilist: Add __poll and __ppoll.
5799
ff9f1c5f
DM
58002012-04-05 David S. Miller <davem@davemloft.net>
5801
dcd2ae90
DM
5802 * scripts/check-local-headers.sh: Accept a host triplet in the
5803 path matched by the exclude regexp.
5804
993eb054
DM
5805 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5806 definition.
5807 * sysdeps/powerpc/powerpc32/dl-machine.h
5808 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5809 * sysdeps/s390/s390-32/dl-machine.h
5810 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5811 * sysdeps/sparc/sparc32/dl-machine.h
5812 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5813 * sysdeps/sparc/sparc64/dl-machine.h
5814 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5815
ff9f1c5f
DM
5816 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5817 lazy binding.
48e2e132 5818 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5819 undefined symbol errors.
5820
48e2e132 5821 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5822 DT_NEEDED entries.
5823
e80d6f94
MM
58242012-04-05 Michael Matz <matz@suse.de>
5825
5826 [BZ #13592]
5827 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5828
349fa79f
AJ
58292012-04-05 Andreas Jaeger <aj@suse.de>
5830
5831 [BZ #13908]
5832 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5833 comment.
5834
f402708f
KK
58352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5836
5837 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5838 which ROUND is no valid rounding mode.
5839
2ecccfc9
KK
58402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5841
5842 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5843 read again.
5844 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5845
8a53f50f
KK
58462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5847
5848 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5849 an exception using FPU order intentionally.
5850
58512012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5852
5853 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5854 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5855 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5856 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5857
d653abb7
SJ
58582012-04-05 Simon Josefsson <simon@josefsson.org>
5859
5860 [BZ #12340]
5861 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5862 EINVAL when BUFLEN is too smal.
5863
c3b1bf7d
TS
58642012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5865
5866 [BZ #13553]
5867 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5868 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5869
b1aa60f3
AJ
58702012-04-03 Andreas Jaeger <aj@suse.de>
5871
c3b1bf7d 5872 [BZ #13938]
67f60a26
AJ
5873 * manual/setjmp.texi (System V contexts): Fix sentence.
5874
b1aa60f3
AJ
5875 [BZ #13926]
5876 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5877 New macro for this case.
5878 [!__GNUC__] (__bswap_64): New inline function for this case.
5879 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5880 * bits/byteswap.h: Likewise.
5881 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5882 ull, guard with __GLIBC_HAVE_LONG_LONG.
5883
5884 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5885 __GLIBC_HAVE_LONG_LONG.
5886
5887 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5888 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5889
39c59c35
TMQMF
58902012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5891
5892 [BZ #13691]
5893 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5894 inptr and inend, rather than using last_ch.
5895
135ffda8
DM
58962012-04-02 David S. Miller <davem@davemloft.net>
5897
5898 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5899 * stdio-common/printf-parse.h (read_int): Change return type to
5900 'int', return -1 on INT_MAX overflow.
5901 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5902 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5903 overflows INT_MAX. Check for overflow of in-format-string precision
5904 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5905 SIZE_MAX not INT_MAX for integer overflow test.
5906 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5907 skip the construct in the format string but do not record anything.
5908 * stdio-common/bug22.c: Adjust to test both width/prevision
5909 INT_MAX overflow as well as total length INT_MAX overflow. Check
5910 explicitly for proper errno values.
5911
228c019e
TS
59122012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5913
302cadd3
TS
5914 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5915 CHAR_MAX.
5916 * string/test-strcmp.c [! WIDE]: Likewise.
5917 * time/tst-mktime2.c: Likewise for INT_MAX.
5918 * string/test-string.h: #include <sys/param.h> for MIN.
5919
228c019e
TS
5920 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5921 * sysdeps/i386/init-first.c (init): Likewise.
5922 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5923 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5924 * sysdeps/sh/init-first.c (init): Likewise.
5925
cfa633f5
UD
59262012-04-01 Ulrich Drepper <drepper@gmail.com>
5927
5928 * po/ru.po: Update from translation team.
d1635ef8 5929 * po/vi.po: Likewise.
cfa633f5 5930
6cd0a5ea
SP
59312012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5932
5933 * resolv/nss_dns/dns-host.c: Merge copyright years.
5934
4b43400f
LD
59352012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5936
5937 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5938 Optimize memcpy with prefetch if
5939 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5940 src, dst pointers have unequal 16 byte alignments.
5941
48c41d04
SP
59422012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5943
5944 [BZ #13928]
5945 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5946 from a CNAME entry and return the minimum ttl for the query.
5947 (gaih_getanswer_slice): Likewise.
5948
b8dc394d
JL
59492012-03-30 Jeff Law <law@redhat.com>
5950
5951 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5952 due to long keys.
5953 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5954 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5955
2f5a5ed0
JL
5956 * resolv/nss_dns/dns-host.c: Update copyright year.
5957
1d39e359
UD
59582012-03-30 Ulrich Drepper <drepper@gmail.com>
5959
c030f70c 5960 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5961 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5962
1d39e359
UD
5963 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5964 comments for sendmmsg.
5965
59662012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5967
5968 [BZ #13691]
5969 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5970 with only 1 character between 0x0041 and 0x01b0.
5971 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5972 * wcsmbs/tst-mbsnrtowcs.c: New file.
5973
20fde227
DM
59742012-03-29 David S. Miller <davem@davemloft.net>
5975
5976 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5977 small copies by hand.
5978
984a4237
JL
59792012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5980
5981 [BZ #13761]
5982 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5983 _nss_compat_initgroups_dyn): Fall back to malloc/free
5984 for large group memberships.
5985
18c9d62b
DM
59862012-03-28 David S. Miller <davem@davemloft.net>
5987
88d85d4f
DM
5988 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5989 that branches into memcpy.
5990 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5991 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5992 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5993 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5994 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5995 bits.
5996 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5997 implementation too.
5998 * sysdeps/sparc/mempcpy.S: New file.
5999
e5aa83e1
DM
6000 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6001 the IFUNC routine in the libc case.
6002 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6003
88570753
DM
6004 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6005 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6006 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6007 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6008 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6009 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6010 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6011 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6012
249d7567
DM
6013 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6014 loop to 256 bytes instead of 64 bytes and fix test signedness.
6015
18c9d62b
DM
6016 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6017 * sysdeps/sparc/sparc32/Makefile: rather than here...
6018 * sysdeps/sparc/sparc64/Makefile: and here.
6019
05f3d1f6
UD
60202012-03-28 Ulrich Drepper <drepper@gmail.com>
6021
6022 * malloc/mallocbug.c: Avoid warnings about unused variables.
6023
86ae07a8
JL
60242012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6025
6026 [BZ #13760]
6027 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6028 in the right place. Discard and retry query if response is
6029 larger than input buffer size.
6030
41bf21a1
JM
60312012-03-28 Joseph Myers <joseph@codesourcery.com>
6032
d6270972
JM
6033 [BZ #369]
6034 [BZ #2678]
6035 [BZ #3866]
6036 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6037 x for large integer exponent.
6038 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6039 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
6040 sign of result as needed afterwards.
6041 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6042 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6043 result for underflowing pow the same as for overflow.
6044 (__kernel_standard_l): Handle powl overflow and underflow here
6045 rather than calling __kernel_standard.
6046 * math/libm-test.inc (pow_test): Add more tests.
6047
414fca03 6048 [BZ #3868]
41bf21a1
JM
6049 [BZ #13879]
6050 [BZ #13910]
6051 [BZ #13911]
6052 [BZ #13912]
6053 [BZ #13913]
6054 [BZ #13915]
6055 [BZ #13916]
6056 [BZ #13917]
6057 [BZ #13918]
6058 [BZ #13919]
6059 [BZ #13920]
6060 [BZ #13921]
6061 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6062 * sysdeps/ieee754/k_standard.c: Include <float.h>.
6063 (__kernel_standard_l): New function.
6064 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6065 __kernel_standard.
6066 * math/w_acosl.c (__acosl): Likewise.
6067 * math/w_asinl.c (__asinl): Likewise.
6068 * math/w_atan2l.c (__atan2l): Likewise.
6069 * math/w_atanhl.c (__atanhl): Likewise.
6070 * math/w_coshl.c (__coshl): Likewise.
6071 * math/w_exp10l.c (__exp10l): Likewise.
6072 * math/w_exp2l.c (__exp2l): Likewise.
6073 * math/w_fmodl.c (__fmodl): Likewise.
6074 * math/w_hypotl.c (__hypotl): Likewise.
6075 * math/w_j0l.c (__j0l, __y0l): Likewise.
6076 * math/w_j1l.c (__j1l, __y1l): Likewise.
6077 * math/w_jnl.c (__jnl, __ynl): Likewise.
6078 * math/w_lgammal.c (__lgammal): Likewise.
6079 * math/w_log10l.c (__log10l): Likewise.
6080 * math/w_log2l.c (__log2l): Likewise.
6081 * math/w_logl.c (__logl): Likewise.
6082 * math/w_powl.c (__powl): Likewise.
6083 * math/w_remainderl.c (__remainderl): Likewise.
6084 * math/w_scalbl.c (sysv_scalbl): Likewise.
6085 * math/w_sinhl.c (__sinhl): Likewise.
6086 * math/w_sqrtl.c (__sqrtl): Likewise.
6087 * math/w_tgammal.c (__tgammal): Likewise.
6088 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6089 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6090 * math/libm-test.inc (acos_test): Add more tests.
6091 (acosh_test): Likewise.
6092 (asin_test): Likewise.
6093 (atanh_test): Likewise.
6094 (exp_test): Likewise.
6095 (exp10_test): Likewise.
6096 (exp2_test): Likewise.
6097 (expm1_test): Likewise.
6098 (lgamma_test): Likewise.
6099 (log_test): Likewise.
6100 (log10_test): Likewise.
6101 (log1p_test): Likewise.
6102 (log2_test): Likewise.
6103 (pow_test): Do not allow some spurious overflow exceptions.
6104 (sqrt_test): Add more tests.
6105 (tgamma_test): Likewise.
6106 (y0_test): Likewise.
6107 (y1_test): Likewise.
6108 (yn_test): Likewise.
6109
dd62fda6
AB
61102012-03-27 Anton Blanchard <anton@samba.org>
6111
6112 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6113 MAP_HUGETLB.
6114 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6115 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6116 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6117
1e3cdfda
AJ
61182012-03-27 David S. Miller <davem@davemloft.net>
6119
b855ab85
DM
6120 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6121
1e3cdfda
AJ
6122 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6123 have-as-vis3 check.
6124
61252012-03-27 Andreas Jaeger <aj@suse.de>
6126
6127 * sysdeps/x86_64/elf/configure.in: Moved to ...
6128 * sysdeps/x86_64/configure.in: ... here.
6129 * sysdeps/x86_64/elf/start.S: Moved to ...
6130 * sysdeps/x86_64/start.S: ... here.
6131 * sysdeps/x86_64/elf/configure: Delete.
6132
6133 * sysdeps/x86_64/configure.in: Merge contents from
6134 sysdeps/i386/configure.in (without i686 check).
6135
6136 * sysdeps/i386/elf/Versions: Merge into ...
6137 * sysdeps/i386/Versions: ... this.
6138 * sysdeps/i386/elf/Versions: Delete file.
6139 * sysdeps/i386/elf/start.S: Moved to ...
6140 * sysdeps/i386/start.S: ...here.
6141 * sysdeps/i386/elf/configure.in: Merge into...
6142 * sysdeps/i386/configure.in: ...here.
6143 * sysdeps/i386/elf/configure.in: Delete file.
6144 * sysdeps/i386/elf/configure: Delete file.
6145
6146 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6147 * debug/backtracesyms.c: ... here.
6148 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6149 * debug/backtracesymsfd.c: ... here.
6150 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6151 * sysdeps/generic/ifunc-sel.h: ... here.
6152
6153 * sysdeps/unix/i386/start.c: Delete file.
6154 * sysdeps/unix/sparc/start.c: Delete file.
6155 * sysdeps/unix/start.c: Delete file.
6156
6157 * sysdeps/sh/elf/configure.in: Moved to ...
6158 * sysdeps/sh/configure.in: ... here.
6159 * sysdeps/sh/elf/start.S: Moved to ...
6160 * sysdeps/sh/start.S: ... here.
6161 * sysdeps/sh/elf/configure: Delete file.
6162
6163 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6164 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6165 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6166 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6167 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6168 * sysdeps/powerpc/powerpc64/start.S: here.
6169 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6170 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6171 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6172 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6173 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6174
6175 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6176 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6177 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6178 * sysdeps/powerpc/powerpc32/start.S: ... here.
6179 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6180 * sysdeps/powerpc/powerpc32/configure.in: ... this.
6181 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6182
6183 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6184 * sysdeps/powerpc/ifunc-sel.h: ... here.
6185 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6186 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6187
6188 * sysdeps/sparc/elf/configure.in: Moved to ...
6189 * sysdeps/sparc/configure.in: ... here.
6190 * sysdeps/sparc/elf/configure: Delete file.
6191 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6192 * sysdeps/sparc/sparc32/start.S: ... here.
6193 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6194 * sysdeps/sparc/sparc64/start.S: ... here.
6195 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6196 * sysdeps/sparc/sparc32/Makefile: ... this.
6197 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6198 * sysdeps/sparc/sparc64/Makefile: ... this.
6199
6200 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6201 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6202 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6203 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6204 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6205 * sysdeps/s390/s390-32/setjmp.S: ... here.
6206 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6207 * sysdeps/s390/s390-32/configure.in: ... here.
6208 * sysdeps/s390/s390-32/elf/configure: Delete file.
6209 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6210 * sysdeps/s390/s390-32/start.S: ... here.
6211
6212 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6213 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6214 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6215 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6216 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6217 * sysdeps/s390/s390-64/setjmp.S: ... here.
6218 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6219 * sysdeps/s390/s390-64/configure.in: ... here
6220 * sysdeps/s390/s390-64/elf/configure: Delete file.
6221 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6222 * sysdeps/s390/s390-64/start.S: ... here.
6223 * sysdeps/s390/s390-64/elf/configure: Delete.
6224
6225 * configure.in: Remove support for elf directories in sysdeps.
6226
6227 * configure: Regenerated.
6228 * sysdeps/i386/configure: Regenerated.
6229 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6230 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6231 * sysdeps/s390/s390-32/configure: Regenerated.
6232 * sysdeps/s390/s390-64/configure: Regenerated.
6233 * sysdeps/sh/configure: Regenerated.
6234 * sysdeps/sparc/configure: Regenerated.
6235 * sysdeps/x86_64/configure: Regenerated.
6236
a3f61311
AS
62372012-03-26 Andreas Schwab <schwab@linux-m68k.org>
6238
c876e002
AS
6239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6240
a3f61311
AS
6241 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6242 denormal result into account.
6243
ac4c54f0
RM
62442012-03-25 Roland McGrath <roland@hack.frob.com>
6245
6246 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6247 Reported by Allan McRae <allan@archlinux.org>.
6248
6a9b9c02
JL
62492012-03-23 Jeff Law <law@redhat.com>
6250
6251 * nss/getnssent.c (__nss_getent): Fix typo.
6252
4c42a0c1
DM
62532012-03-23 David S. Miller <davem@davemloft.net>
6254
6255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6256
1532c7ac
L
62572012-03-23 H.J. Lu <hongjiu.lu@intel.com>
6258
6259 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6260 to pad to uint64_t for each field.
6261 (dl_tls_index): Replace unsigned long with uint64_t.
6262
3ff42526
PP
62632012-03-23 Daniel Jacobowitz <dmj@google.com>
6264 Paul Pluzhnikov <ppluzhnikov@google.com>
6265
6266 [BZ #6528]
6267 * grp/Makefile (otherlibs): Don't set it.
6268 * inet/Makefile (otherlibs): Likewise.
6269 * login/Makefile (otherlibs): Likewise.
6270 * nscd/Makefile (otherlibs): Likewise.
6271 * posix/Makefile (otherlibs): Likewise.
6272 * pwd/Makefile (otherlibs): Likewise.
6273 * rt/Makefile (otherlibs): Likewise.
6274 * sunrpc/Makefile (otherlibs): Likewise.
6275 * nss/Makefile (otherlibs): Likewise.
6276 Add libnss_files to routines and static-only-routines.
6277 ($(objpfx)getent): Remove rule.
6278 * resolv/Makefile: Add libnss_dns and libresolv to routines and
6279 static-only-routines.
6280
7c69cd14
JM
62812012-03-22 Joseph Myers <joseph@codesourcery.com>
6282
6283 [BZ #13892]
6284 * math/s_cexp.c: Include <float.h>.
6285 (__cexp): Handle exp result overflowing not necessarily
6286 overflowing both real and imaginary parts of result.
6287 * math/s_cexpf.c: Likewise.
6288 * math/s_cexpl.c: Likewise.
6289 * math/libm-test.inc (cexp_test): Add more tests.
6290 * sysdeps/i386/fpu/libm-test-ulps: Update.
6291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6292
81b035fe
L
62932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6294
6295 * include/link.h (ELFW): New macro.
6296 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6297 Replace ELF64_R_TYPE with ELFW(R_TYPE).
6298
1da7940c
L
62992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6300
6301 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6302 with uint64_t.
6303
b749dbb9
L
63042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6305
6306 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6307 declaration.
6308 (struct La_x32_retval): Likewise.
6309
2ff87f3f
L
63102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6311
6312 * sysdeps/x86_64/preconfigure.in: New file.
6313 * sysdeps/x86_64/preconfigure: New generated file.
6314
c0df8e69
JM
63152012-03-22 Joseph Myers <joseph@codesourcery.com>
6316
48e44791
JM
6317 [BZ #13824]
6318 * math/e_exp2l.c: Include <float.h>.
6319 (__ieee754_exp2l): Handle overflow and underflow cases
6320 separately. Only pass fractional part of argument to
6321 __ieee754_expl.
6322 * math/libm-test.inc (exp2_test): Add more tests.
6323
c0df8e69
JM
6324 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6325 negating x to take absolute value.
6326 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6327 Likewise.
6328 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6329 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6330 Likewise.
6331 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6332 computing low part if x was negated.
6333 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6334
c8e43ba7
L
63352012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6336
6337 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6338 la_x32_gnu_pltexit.
6339 (pltexit): Cast int_retval to ptrdiff_t.
6340 * elf/tst-auditmod3b.c: Likewise.
6341 * elf/tst-auditmod4b.c: Likewise.
6342 * elf/tst-auditmod5b.c: Likewise.
6343 * elf/tst-auditmod6b.c: Likewise.
6344 * elf/tst-auditmod6c.c: Likewise.
6345 * elf/tst-auditmod7b.c: Likewise.
6346
6347 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6348 and x32_gnu_pltexit.
6349
6350 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6351 __ELF_NATIVE_CLASS.
6352 (La_x32_regs): New macro.
6353 (La_x32_retval): Likewise.
6354 (la_x32_gnu_pltenter): New function prototype.
6355 (la_x32_gnu_pltexit): Likewise.
6356
7998fa78
AS
63572012-03-21 Andreas Schwab <schwab@linux-m68k.org>
6358
dcb33988
AS
6359 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6360 exponent.
6361
233fc563
AS
6362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6363
7998fa78
AS
6364 * configure.in (libc_cv_cc_nofma): Check for option to disable
6365 generation of FMA instructions.
6366 * configure: Regenerate.
6367 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6368 * sysdeps/ieee754/dbl-64/Makefile: New file.
6369 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6370 Remove brandred-fma4.
6371 (CFLAGS-brandred-fma4.c): Remove.
6372 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6373 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6374 define.
6375 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6376 define.
6377
8e95c99a
L
63782012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6379
6380 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6381 LLONG_MAX != LONG_MAX.
6382 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6383 (_fitoa_word): Likewise.
6384 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6385 LLONG_MAX != LONG_MAX.
6386 * stdio-common/_itowa.h: Include <_itoa.h>.
6387 (_itowa_word): Use _ITOA_WORD_TYPE on value.
6388 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
6389 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
6390 only if not defined.
6391 (_ITOA_WORD_TYPE): Likewise.
6392 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6393 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6394
6f4db457
DM
63952012-03-21 David S. Miller <davem@davemloft.net>
6396
6397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6398
7785fe5a
L
63992012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6400
6401 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
6402 of x86_64 when setting libc_cv_slibdir, libdir and
6403 libc_cv_localedir.
6404 * sysdeps/unix/sysv/linux/configure: Regenerated.
6405
4535cd55
JM
64062012-03-21 Joseph Myers <joseph@codesourcery.com>
6407
6408 * manual/lang.texi (Old Varargs): Remove section.
6409 (How Variadic): Update menu.
6410 (va_start): Do not mention varargs.h.
6411
17228132
TS
64122012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6413 Joseph Myers <joseph@codesourcery.com>
6414
6415 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6416 link test.
6417 * configure: Regenerated.
6418
8149f976
TS
64192012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6420
05f3d1f6
UD
6421 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
6422 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
6423 conformtest.pl
8149f976 6424
1a4ac776
JM
64252012-03-21 Joseph Myers <joseph@codesourcery.com>
6426
be22ce65
JM
6427 * NOTES: Remove.
6428 * Makefile (files-for-dist): Remove NOTES.
6429 (NOTES): Remove rule.
6430 * README: Don't refer to NOTES.
6431 * manual/creature.texi: Don't include macros.texi.
6432 * manual/intro.texi (creature.texi): Remove comment referring to
6433 NOTES.
6434
40b601fb
JM
6435 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6436 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6437 * configure: Regenerated.
6438 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6439 LIBC_TRY_CC_OPTION.
6440 (libc_cv_as_i686): Likewise.
6441 (libc_cv_cc_avx): Likewise.
6442 (libc_cv_cc_sse2avx): Likewise.
6443 (libc_cv_cc_fma4): Likewise.
6444 (libc_cv_cc_novzeroupper): Likewise.
6445 * sysdeps/i386/configure: Regenerated.
6446
1a4ac776
JM
6447 [BZ #13883]
6448 * sysdeps/i386/fpu/s_cexp.S: Remove.
6449 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6450 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6451 * math/libm-test.inc (cexp_test): Add more tests.
6452 * sysdeps/i386/fpu/libm-test-ulps: Update.
6453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6454
a458e7fe
AM
64552012-03-21 Allan McRae <allan@archlinux.org>
6456
6457 * timezone/Makefile: Do not install iso3166.tab and zone.tab
6458
0cb7efc5
JM
64592012-03-21 Joseph Myers <joseph@codesourcery.com>
6460
6461 [BZ #13871]
6462 * math/w_exp2.c: Do not include <float.h>.
6463 (o_threshold, u_threshold): Remove.
6464 (__exp2): Calculate result before checking finiteness and calling
6465 __kernel_standard.
6466 * math/w_exp2f.c: Likewise.
6467 * math/w_exp2l.c: Likewise.
6468 * math/libm-test.inc (exp2_test): Require overflow exception for
6469 1e6 input.
2460d3aa
JM
6470
6471 [BZ #3866]
6472 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6473 range of signed 64-bit integers before using fistpll. Remove
6474 checks for whether integers fit in mantissa bits.
6475 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6476 the range of signed 32-bit integers before using fistpl. Remove
6477 checks for whether integers fit in mantissa bits.
6478 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6479 (__ieee754_powl): Test for y outside the range of signed 64-bit
6480 integers before using fistpll. Reduce 64-bit values to 63-bit
6481 ones as needed.
6482 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6483 divide-by-zero is raised for zero to large negative powers.
6484 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6485 (__ieee754_powl): Test for y outside the range of signed 64-bit
6486 integers before using fistpll. Reduce 64-bit values to 63-bit
6487 ones as needed.
6488 * math/libm-test.inc (pow_test): Add more tests.
6489
eb96ffb0
L
64902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6491
6492 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6493 <stdio-common/_itoa.h>.
6494 * debug/segfault.c: Likewise.
6495 * elf/dl-cache.c: Likewise.
6496 * elf/dl-minimal.c: Likewise.
6497 * elf/dl-misc.c: Likewise.
6498 * elf/dl-sysdep.c: Likewise.
6499 * elf/dl-version.c: Likewise.
6500 * elf/rtld.c: Likewise.
6501 * hurd/hurdsock.c: Likewise.
6502 * hurd/lookup-retry.c: Likewise.
6503 * malloc/malloc.c: Likewise.
6504 * malloc/mtrace.c: Likewise.
6505 * nscd/nscd_getgr_r.c: Likewise.
6506 * nscd/nscd_getpw_r.c: Likewise.
6507 * nscd/nscd_getserv_r.c: Likewise.
6508 * posix/getopt_init.c: Likewise.
6509 * posix/wordexp.c: Likewise.
6510 * stdio-common/_itoa.c: Likewise.
6511 * stdio-common/printf_fphex.c: Likewise.
6512 * stdio-common/vfprintf.c: Likewise.
6513 * string/_strerror.c: Likewise.
6514 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6515 * sysdeps/i386/i686/hp-timing.h: Likewise.
6516 * sysdeps/mach/_strerror.c: Likewise.
6517 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6518 * sysdeps/mach/hurd/sethostid.c: Likewise.
6519 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6520 * sysdeps/mach/xpg-strerror.c: Likewise.
6521 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6522 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6523 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6524 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6525 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6526 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6527 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6528 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6529 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6530 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6531 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6532 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6533 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6534 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6535 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6536 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6537 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6538 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6539 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6540 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6541 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6542
6543 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6544
6545 * stdio-common/_itoa.h: Moved to ...
6546 * sysdeps/generic/_itoa.h: Here.
6547
6548 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6549
6550 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6551 instead of "_itoa.h" and "_itowa.h".
6552 * stdio-common/vfprintf.: Likewise.
6553
d1af992d
L
65542012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6555
6556 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6557 <bits/wordsize.h>.
6558 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6559 (__signbit): Likwise.
6560 (llrintf): Likwise.
6561 (llrint): Likwise.
6562
114883e0
L
65632012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6564
6565 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6566 __WORDSIZE != 64.
6567
c135cc1b
JM
65682012-03-20 Joseph Myers <joseph@codesourcery.com>
6569
6570 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6571 OVERFLOW_EXCEPTION_OK.
6572 * math/libm-test.inc ("Philosophy"): Update comment about
6573 exception testing.
6574 (OVERFLOW_EXCEPTION): Define.
6575 (OVERFLOW_EXCEPTION_OK): Likewise.
6576 (INVALID_EXCEPTION_OK): Renumber.
6577 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6578 (IGNORE_ZERO_INF_SIGN): Likewise.
6579 (test_exceptions): Handle FE_OVERFLOW.
6580 (exp10_test): Expect overflow exceptions.
6581 (exp2_test): Likewise.
6582 (expm1_test): Likewise.
6583 (nextafter_test): Likewise.
6584 (pow_test): Likewise.
6585 (scalbn_test): Likewise.
6586 (scalbln_test): Likewise.
6587
95443d88
L
65882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6589
6590 * sysdeps/x86_64/bits/atomic.h
6591 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6592 64bit integer.
6593 (atomic_exchange_acq): Likewise.
6594 (__arch_exchange_and_add_body): Likewise.
6595 (__arch_add_body): Likewise.
6596 (atomic_add_negative): Likewise.
6597 (atomic_add_zero): Likewise.
6598
490df6c4
L
65992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6600
c2722551 6601 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
6602 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6603
5e52b189
L
66042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6605
6606 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6607 Check __x86_64__ instead of __WORDSIZE.
6608
a9879d4c
L
66092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6610
6611 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6612
5df98260
DM
66132012-03-19 David S. Miller <davem@davemloft.net>
6614
e1497744
DM
6615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6616
5df98260
DM
6617 * sysdeps/sparc/fpu/fenv_private.h: New file.
6618 * sysdeps/sparc/fpu/math_private.h: Use it.
6619 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6620 Remove.
6621 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6622 (libc_feholdexcept_setroundl): Remove.
6623 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6624 Remove.
6625 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6626 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6627
b4c35121
L
66282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6629
6630 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6631 int64_t instead of long int.
6632 (INSERT_WORDS64): Likwise.
6633
56965fd7
L
66342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6635
6636 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6637 _Unwind_GetCFA return to _Unwind_Ptr first.
6638
83d1aec8
JM
66392012-03-19 Joseph Myers <joseph@codesourcery.com>
6640
1897ad44
JM
6641 [BZ #13629]
6642 * math/s_clog.c: Include <float.h>.
6643 (__clog): Scale large or subnormal inputs.
6644 * math/s_clogf.c: Likewise.
6645 * math/s_clogl.c: Likewise.
6646 * math/s_clog10.c: Include <float.h>.
6647 (M_LOG10_2): Define.
6648 (__clog10): Scale large or subnormal inputs.
6649 * math/s_clog10f.c: Likewise.
6650 * math/s_clog10l.c: Likewise.
6651 * math/libm-test.inc (clog_test): Add more tests.
6652 (clog10_test): Likewise.
6653 * sysdeps/i386/fpu/libm-test-ulps: Update.
6654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6655
7726d6a9
JM
6656 [BZ #11451]
6657 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6658 x and y.
6659 * math/libm-test.inc (atan2_test): Add another test.
6660
83d1aec8
JM
6661 * Makerules (common-objdir-compile): Remove.
6662 * sysdeps/unix/Makefile (config-generated): Do not add
6663 $(unix-generated) to variable.
6664 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6665 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6666 Remove rule.
6667 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6668 Likewise.
6669 [generic bits/local_lim.h] (before-compile): Do not append to
6670 variable.
6671 [generic bits/local_lim.h] (common-generated): Likewise.
6672 [generic sys/param.h] (before-compile): Do not append to variable.
6673 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6674 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6675 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6676 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6677 include.
6678 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6679 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6680 [generic sys/param.h] ($(addprefix
6681 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6682 [generic sys/param.h] (common-generated): Do not append to
6683 variable.
6684 [generic sys/param.h] (sysdep_headers): Likewise.
6685 [generic bits/errno.h] (before-compile): Do not append to
6686 variable.
6687 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6688 rule.
6689 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6690 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6691 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6692 [generic bits/errno.h] (common-generated): Do not append to
6693 variable.
6694 [generic bits/ioctls.h] (before-compile): Do not append to
6695 variable.
6696 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6697 rule.
6698 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6699 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6700 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6701 rule.
6702 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6703 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6704 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6705 [generic bits/ioctls.h] (common-generated): Do not append to
6706 variable.
6707 [generic sys/syscall.h] (syscall.h): Remove variable.
6708 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6709 rule.
6710 [generic sys/syscall.h] (before-compile): Do not append to
6711 variable.
6712 [generic sys/syscall.h] (common-generated): Likewise.
6713 * sysdeps/unix/errnos-tmpl.c: Remove file.
6714 * sysdeps/unix/errnos.awk: Likewise.
6715 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6716 * sysdeps/unix/ioctls.awk: Likewise.
6717 * sysdeps/unix/mk-local_lim.c: Likewise.
6718 * sysdeps/unix/snarf-ioctls: Likewise.
6719
4851a949
RH
67202012-03-19 Richard Henderson <rth@twiddle.net>
6721
bd37f2ee
RH
6722 * sysdeps/i386/fpu/fenv_private.h: New file.
6723 * sysdeps/i386/fpu/math_private.h: Use it.
6724 (math_opt_barrier, math_force_eval): Remove.
6725 (libc_feholdexcept_setround_53bit): Remove.
6726 (libc_feupdateenv_53bit): Remove.
6727 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6728 (math_opt_barrier, math_force_eval): Remove.
6729 (libc_feholdexcept): Remove.
6730 (libc_feholdexcept_setround): Remove.
6731 (libc_fetestexcept, libc_fesetenv): Remove.
6732 (libc_feupdateenv_test): Remove.
6733 (libc_feupdateenv, libc_feholdsetround): Remove.
6734 (libc_feresetround): Remove.
6735
d0adc922
RH
6736 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6737 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6738
0fe0f1f8
RH
6739 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6740 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6741 (libc_feupdateenv_testl): New.
6742 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6743 (libc_feupdateenv_testf): New.
6744 (libc_feupdateenv): Use libc_feupdateenv_test.
6745 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6746 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6747
eb92c487
RH
6748 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6749 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6750 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6751 (libc_feresetround_noex): New.
6752 (libc_feresetround_noexf): New.
6753 (libc_feresetround_noexl): New.
6754 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6755 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6756 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6757 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6758 SET_RESTORE_ROUND.
6759 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6760 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6761 (__cos): Likewise.
6762 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6763 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6764 SET_RESTORE_ROUND_NOEX.
6765 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6766 SET_RESTORE_ROUND_NOEXF.
6767 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6768 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6769 (libc_feholdsetroundf): New.
6770 (libc_feresetround, libc_feresetroundf): New.
6771
7d2e8012
RH
6772 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6773 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6774 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6775
b4dabbb4
RH
6776 * sysdeps/generic/math_private.h: Include <fenv.h>.
6777 (default_libc_feholdexcept): New.
6778 (default_libc_feholdexcept_setround): New.
6779 (default_libc_fesetenv, default_libc_feupdateenv): New.
6780 (libc_feholdexcept): Only define if undefined.
6781 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6782 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6783 (libc_feholdexcept_setroundl): Likewise.
6784 (libc_feholdexcept_setround_53bit): Likewise.
6785 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6786 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6787 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6788 (libc_feupdateenv_53bit): Likewise.
6789 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6790 (libc_feholdexcept): Convert from macro to inline function.
6791 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6792 (libc_fesetenv, libc_feupdateenv): Likewise.
6793
4851a949
RH
6794 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6795 not previously defined.
6796 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6797 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6798 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6799 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6800 * sysdeps/ieee754/flt-32/math_private.h: New file.
6801 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6802 math_private.h below SET_FLOAT_WORD.
6803 (__isnan, __isinf_ns, __finite): Remove.
6804 (__isnanf, __isinf_nsf, __finitef): Remove.
6805
e79d442e
AS
68062012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6807
6808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6809
90b80344
DM
68102012-03-17 David S. Miller <davem@davemloft.net>
6811
6812 [BZ #6471]
6813 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6814 for 2.16.
6815
edc21804
DM
68162012-03-16 David S. Miller <davem@davemloft.net>
6817
77e927af
DM
6818 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6819 warnings.
6820
374976dd
DM
6821 [BZ #6471]
6822 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6823 properly.
6824 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6825 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6826 sysdep_routines when subdir is sysvipc.
6827 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6828 __getshmlba helper.
6829
edc21804
DM
6830 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6831
473c3ef3
L
68322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6833
6834 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6835 [__LP64__].
6836
eb0f39b6
L
68372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6838
6839 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6840 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6841 (__lround): Renamed to ...
6842 (__llround): This. Replace long int with long long int.
6843 Define lround functions as aliases of llround functions.
6844 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6845
6b6cd74b
L
68462012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6847
6848 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6849 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6850 adresses to uintptr_t. Replace "long int" and "unsigned long
6851 int" with "greg_t" on va_arg.
6852
f1a77b01
L
68532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6854
6855 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6856 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6857
6858 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6859 Move e_machine check before EI_CLASS check. Handle x32
6860 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6861 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6862 SKIP_EM_IA_64 and include
6863 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6864
6865 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6866 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6867 (add_system_dir): New macro.
6868
6869 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6870 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6871
11b90b9f
JM
68722012-03-16 Joseph Myers <joseph@codesourcery.com>
6873
c36e1d23
JM
6874 [BZ #2551]
6875 [BZ #2552]
6876 [BZ #2553]
6877 [BZ #2554]
6878 [BZ #2562]
6879 [BZ #2563]
6880 [BZ #2565]
6881 [BZ #2566]
6882 [BZ #2576]
6883 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6884 (y0): Likewise.
6885 * math/w_j0f.c (j0f): Likewise.
6886 (y0f): Likewise.
6887 * math/w_j0l.c (__j0l): Likewise.
6888 (__y0l): Likewise.
6889 * math/w_j1.c (j1): Likewise.
6890 (y1): Likewise.
6891 * math/w_j1f.c (j1f): Likewise.
6892 (y1f): Likewise.
6893 * math/w_j1l.c (__j1l): Likewise.
6894 (__y1l): Likewise.
6895 * math/w_jn.c (jn): Likewise.
6896 (yn): Likewise.
6897 * math/w_jnf.c (jnf): Likewise.
6898 (ynf): Likewise.
6899 * math/w_jnl.c (__jnl): Likewise.
6900 (__ynl): Likewise.
6901 * math/libm-test.inc (j0_test): Add more tests.
6902 (j1_test): Likewise.
6903 (jn_test): Likewise. Add trailing semicolon to existing test.
6904 (y0_test): Likewise.
6905 (y1_test): Likewise.
6906 * sysdeps/i386/fpu/libm-test-ulps: Update.
6907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6908
11b90b9f
JM
6909 [BZ #13851]
6910 [BZ #13854]
6911 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6912 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6913 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6914 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6915 (__tanl): Set errno for infinite argument.
6916 * sysdeps/i386/fpu/mptan.c: Remove.
6917 * sysdeps/i386/fpu/s_tan.S: Likewise.
6918 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6919 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6920 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6921 * math/libm-test.inc (tan_test): Add more tests and enable more
6922 tests for double and long double.
6923 * sysdeps/i386/fpu/libm-test-ulps: Update.
6924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6925
6a1bd2a1
JK
69262012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6927
6928 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6929 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6930
10a803e0
RM
69312012-03-16 Roland McGrath <roland@hack.frob.com>
6932
6933 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6934 * configure.in: Use it for both main tree and add-ons.
6935 * configure: Regenerated.
6936
f196c7f7
L
69372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6938
6939 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6940
8848d99d
JM
69412012-03-16 Joseph Myers <joseph@codesourcery.com>
6942
96cbe7f4
JM
6943 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6944 in comment.
6945
8848d99d
JM
6946 [BZ #13851]
6947 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6948 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6949 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6950 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6951 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6952 infinite argument.
6953 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6954 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6955 != 0 for prec == 2.
6956 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6957 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6958 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6959 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6960 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6961 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6962 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6963 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6964 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6965 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6966 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6967 * math/libm-test.inc (cos_test): Add more tests and enable more
6968 tests for long double.
6969 (sin_test): Likewise.
6970 (sincos_test): Likewise.
6971 * sysdeps/i386/fpu/libm-test-ulps: Update.
6972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6973
dd7f4703
DM
69742012-03-16 David S. Miller <davem@davemloft.net>
6975
6976 * sysdeps/sparc/fpu/math_private.h: New file.
6977
006f1daa
DM
69782012-03-15 David S. Miller <davem@davemloft.net>
6979
c0c83bc8
DM
6980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6981 file.
e6a62e18 6982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6984 file.
e6a62e18
DM
6985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6986 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6987 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6988 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6989 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6990 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6991 sysdep routines.
6992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6993
88cb87d9
DM
6994 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6995 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6996
006f1daa 6997 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6999 sparc-ifunc.h
006f1daa 7000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
7001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7002 Likewise.
7003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7004 Likewise.
006f1daa
DM
7005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
7008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7009 Likewise.
006f1daa
DM
7010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
7014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7015 Likewise.
7016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7017 Likewise.
006f1daa
DM
7018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7022 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7023 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7024 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7025 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7026 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7027 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7032 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7033 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7034 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7035 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7036 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7037 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7038 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7039 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7040 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7041 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7042
11e0098e
AS
70432012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7044
7045 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7046 scaling.
7047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7048
e85b09d0
AJ
70492012-03-15 Andreas Jaeger <aj@suse.de>
7050
7051 [BZ #13852]
7052 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7053 ieee754/flt-32 implementation for sin, cos and sincos.
7054 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7055 * sysdeps/i386/fpu/s_cosf.S: Likewise.
7056 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7057 * sysdeps/i386/fpu/s_sinf.S: Likewise.
7058 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7059 ieee754/flt-32 implementation for tan.
7060
7061 * math/libm-test.inc (cos_test): Enable some large input tests for
7062 float as well
7063 (sin_test): Likewise.
7064 (sincos_test): Likewise.
7065 (tan_test): Add tests for large input.
7066
7067 * sysdeps/i386/fpu/libm-test-ulps: Update.
7068
81c64153
AJ
70692012-03-15 Andreas Jaeger <aj@suse.de>
7070
7071 [BZ #13658]
7072 * math/libm-test.inc (cos_test): Add more test cases.
7073 (sin_test): Likewise.
7074 (sincos_test): Likewise.
7075
7bbfa5c6
AJ
70762012-03-15 Andreas Jaeger <aj@suse.de>
7077
7078 [BZ #13837]
7079 * math/libm-test.inc (cos_test): Add a test case for large input
7080 value.
7081 (sin_test): Likewise.
7082 (sincos_test): Likewise.
7083
70842012-03-15 Andreas Jaeger <aj@suse.de>,
7085 Joseph Myers <joseph@codesourcery.com>
7086
7087 [BZ #13658]
0671f479 7088 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
7089 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7090 * sysdeps/i386/fpu/branred.c: Likewise.
7091 * sysdeps/i386/fpu/dosincos.c: Likewise.
7092 * sysdeps/i386/fpu/mpa.c: Likewise.
7093 * sysdeps/i386/fpu/s_cos.S: Likewise.
7094 * sysdeps/i386/fpu/s_sin.S: Likewise.
7095 * sysdeps/i386/fpu/s_sincos.S: Likewise.
7096 * sysdeps/i386/fpu/sincos32.c: Likewise.
7097
7098 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7099 Define.
7100 (libc_feupdateenv_53bit): Define.
7101 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7102 Define.
7103 (libc_feupdateenv_53bit): Define.
7104
7105 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7106 53 bit (without extend i386 double precision).
7107
7108 * math/libm-test.inc (sincos_test): Add tests for large input.
7109 (sin): Likewise.
7110 (cos): Likewise.
7111
7112 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7113
9cad04ea
AS
71142012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7115
7116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7117
f7062b9a
DM
71182012-03-15 David S. Miller <davem@davemloft.net>
7119
7120 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7121 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7122 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7123 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7129 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7130 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7131 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7132 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7133 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7134 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
7135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7136 file.
f7062b9a 7137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
7138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7139 file.
f7062b9a 7140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
7141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7142 file.
f7062b9a 7143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
7144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7145 file.
f7062b9a
DM
7146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7147 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7148 fmin/fmax sysdep routines.
7149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7150
7bd951ff
DM
71512012-03-14 David S. Miller <davem@davemloft.net>
7152
559398ab
DM
7153 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7154 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7155 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7156 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7157 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7158 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7159 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7160 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7161 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7162 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7163 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7164 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7165 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7166 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7167 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7168 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7169 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7170 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7171 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7172 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7173 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7174 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7175 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7176 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7177 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7178 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7179 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7180 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7181 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7182 routines.
7183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7184 file.
559398ab 7185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
7186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7187 file.
559398ab 7188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
7189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7190 file.
559398ab 7191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
7192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7193 file.
559398ab 7194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
7195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7196 file.
559398ab 7197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
7198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7199 file.
7200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7201 file.
7202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7203 file.
7204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7205 file.
7206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7207 New file.
7208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7209 file.
7210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7211 file.
559398ab 7212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
7213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7214 file.
559398ab 7215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7217 file.
559398ab 7218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
7219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7220 file.
559398ab 7221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
7222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7223 VIS3 routines.
559398ab
DM
7224
7225 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7226 New file.
7227
5a1c1e32
DM
7228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7229
eae47a36
DM
7230 * sysdeps/sparc/configure.in: New file.
7231 * sysdeps/sparc/configure: Generate.
7232 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7233 * configure: Regenerate.
7234 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7235 * config.make.in (have-as-vis3): New.
7236 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7237 available use -Av9d instead of -Av9a.
7238 * sysdeps/sparc/sparc64/Makefile: Likewise.
7239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
7240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7241 New file.
7242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7243 file.
7244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7245 New file.
7246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7247 file.
eae47a36
DM
7248 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7249 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7250 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7251 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7252 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7253
c0c83bc8
DM
7254 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7255 fzeros/fnegs to load 0x80000000 into a float register instead of
7256 using the stack.
7bd951ff
DM
7257 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7258
bd951ccb
JM
72592012-03-14 Joseph Myers <joseph@codesourcery.com>
7260
7261 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7262 bits/syscall.h.
7263 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7264 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7265 ($(inst_includedir)/bits/syscall.h): Remove rule.
7266 ($(objpfx)bits/syscall.d): Include instead of
7267 $(objpfx)syscall-list.d.
7268 (generated): Change syscall-list.h and syscall-list.d to
7269 bits/syscall.h and bits/syscall.d.
7270
bb4e6db2
RM
72712012-03-14 Roland McGrath <roland@hack.frob.com>
7272
7273 [BZ #13846]
7274 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7275
aa4a2ae1
JM
72762012-03-14 Joseph Myers <joseph@codesourcery.com>
7277
e456826d
JM
7278 [BZ #13841]
7279 * math/s_csqrt.c: Include <float.h>.
7280 (__csqrt): Scale large or subnormal inputs.
7281 * math/s_csqrtf.c: Likewise.
7282 * math/s_csqrtl.c: Likewise.
7283 * math/libm-test.inc (csqrt_test): Add more tests.
7284 * sysdeps/i386/fpu/libm-test-ulps: Update.
7285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7286
aa4a2ae1
JM
7287 [BZ #13840]
7288 * math/libm-test.inc (hypot_test): Add more tests.
7289
7c10fd35
DM
72902012-03-13 David S. Miller <davem@davemloft.net>
7291
7292 [BZ #13840]
7293 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7294 double-precision for the calculation instead of scaling.
7295
f453b98b
JM
72962012-03-13 Joseph Myers <joseph@codesourcery.com>
7297
7298 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7299 manipulate bits before adding and subtracting TWO52[sx].
7300 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7301 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7302 Likewise.
7303 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7304
09a3453f
DM
73052012-03-13 David S. Miller <davem@davemloft.net>
7306
8e59da90
DM
7307 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7308 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7309 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7310 rtld-global-offsets.h
7311 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7312
2a8ab7f2
DM
7313 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7314 large parameters.
7315
10f62770
DM
7316 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7317
5f0bdb18
DM
7318 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7319 'err' in the ifdef scope in which it is actually used.
7320
09a3453f
DM
7321 * nss/nss_db/db-init.c: Include string.h
7322
b4b2eb5e
DM
73232012-03-12 David S. Miller <davem@davemloft.net>
7324
98bb2f1c
DM
7325 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7326 masking out of the most significant byte of random value used.
7327 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7328 Fix coding style in previous change.
7329
b4b2eb5e
DM
7330 * sysdeps/unix/sysv/linux/kernel-features.h
7331 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7332 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7333 expression.
7334 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7335 later.
7336
6e226b09
DM
73372012-03-11 David S. Miller <davem@davemloft.net>
7338
a1bcbd40
DM
7339 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7340 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7341 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7342 for 'resultvar' otherwise things get truncated on 64-bit.
7343
cb9d6174
DM
7344 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7345 Fix masking out of the most significant byte of random value used.
7346
6e226b09
DM
7347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7348
058c132d
AS
73492012-03-10 Andreas Schwab <schwab@linux-m68k.org>
7350
7351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7352
2d2cd515
DM
73532012-03-09 David S. Miller <davem@davemloft.net>
7354
7355 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7356 variables with appropriate CPP guards.
7357 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7358 frame pointer, not the stack pointer. Correct layout comments. Fix test
7359 on resulting framesize and the management of the outregs buffer for pltexit.
7360 Preserve floating point return values across _dl_call_pltexit call.
7361 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7362 framesize and the management of the outregs buffer for pltexit.
7363 Preserve floating point return values across _dl_call_pltexit
7364 call.
7365 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7366 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7367 (print_exit): Fix format string for return register value.
7368
9a07f9d0
JM
73692012-03-10 Joseph Myers <joseph@codesourcery.com>
7370
7371 * sunrpc/Makefile (others): Add rpcgen.
7372 ($(objpfx)rpcgen): Remove special build rule and dependency on
7373 libc.
7374 * sunrpc/rpcgen.c: New file.
7375
547b5e30
PE
73762012-03-09 Paul Eggert <eggert@cs.ucla.edu>
7377
c524201a
PE
7378 [BZ #13673]
7379 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7380 * stdio-common/bug-vfprintf-nargs.c: Likewise.
7381 * sysdeps/i386/crti.S: Likewise.
7382 * sysdeps/i386/crtn.S: Likewise.
7383 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7384 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7385 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7386 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7387 * sysdeps/sh/crti.S: Likewise.
7388 * sysdeps/sh/crtn.S: Likewise.
7389 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7390
7b6235f2
PE
7391 [BZ #13673]
7392 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7393 with URL.
7394 * locale/programs/locfile-kw.gperf: Likewise.
7395 * locale/programs/charmap-kw.h: Regenerated.
7396 * locale/programs/locfile-kw.h: Likewise.
7397
547b5e30
PE
7398 [BZ #13673]
7399 * intl/plural.y: Replace FSF snail mail address with URL.
7400 * intl/plural.c: Regenerated.
7401
5f0a5dae
RH
74022012-03-09 Richard Henderson <rth@twiddle.net>
7403
7404 * include/math_private.h: Remove file.
7405 * math/math_private.h: Move file ...
7406 * sysdeps/generic/math_private.h: ... here.
7407
b8c03620
RH
7408 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7409 * sysdeps/powerpc/fpu/math_private.h: Likewise.
7410 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7411
4e234f5d 7412 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
7413 and <math_private.h>.
7414 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7415 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7416 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7417 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7418 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7419 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
7420 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7421 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7422 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7423 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7424 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7425 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7426 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7427 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7428 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7429 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7430 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7431 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7432 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7433 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7434 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7435 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7436 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7437 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7438 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7439 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7440 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7441 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7442 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7443 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7444 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7445 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7446 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7447 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7448 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7449 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7450 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7451 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7452 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7453 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7454 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7455 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7456 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7457 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7458 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7459 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7460 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7461 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7462 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7463 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7464 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7465 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7466 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7467 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7468 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7469 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7470 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7471 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7472 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7473 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7474 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7475 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7476 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7477 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7478 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7479 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7480 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7481 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7482 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7483 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7484 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7485 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7486 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7487 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7488 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7489 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7490 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7491 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7492 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7493 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7494 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7495 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7496 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7497 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7498 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7499 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7500 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7501 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7502 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7503 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7504 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7505 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7506 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7507 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7508 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7509 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7510 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7511 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7512 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7513 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7514 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7515 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7516 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7517 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7518 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7519 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7520 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7521 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7522 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7523 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7524 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7525 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7526 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7527 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7528 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7529 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7530 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7531 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7532 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7533 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7534 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7535 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7536 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7537 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7538 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7539 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7540 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7541 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7542 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7543 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7544 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7545 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7546 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7547 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7548 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7549 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7550 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7551 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7552 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7553 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7554 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7555 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7556 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7557 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7558 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7559 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7560 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7561 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7562 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7563 * sysdeps/ieee754/k_standard.c: Likewise.
7564 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7565 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7566 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7567 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7568 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7569 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7570 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7571 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7572 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7573 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7574 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7575 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7576 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7577 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7578 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7579 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7580 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7581 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7582 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7583 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7584 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7585 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7586 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7587 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7588 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7589 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7590 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7591 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7592 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7593 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7594 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7595 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7596 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7597 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7598 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7599 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7600 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7601 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7602 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7603 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7604 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7605 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7606 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7607 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7608 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7609 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7610 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7611 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7612 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7613 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7614 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7615 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7616 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7617 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7618 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7619 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7620 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7621 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7622 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7623 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7624 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7625 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7626 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7627 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7628 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7629 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7630 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7631 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7632 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7633 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7634 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7635 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7636 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7637 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7638 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7639 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7640 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7641 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7642 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7643 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7644 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7645 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7646 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7647 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7648 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7649 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7650 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7651 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7652 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7653 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7654 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7655 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7656 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7657 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7658 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7659 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7660 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7661 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7662 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7663 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7664 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7665 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7666 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7667 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7668 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7669 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7670 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7671 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7672 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7673 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7674 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7675 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7676 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7677 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7678 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7679 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7680 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7681 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7682 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7683 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7684 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7685 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7686 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7687 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7688 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7689 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7690 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7691 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7692 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7693 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7694 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7695 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7696 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7697 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7698 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7699 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7700 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7701 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7702 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7703 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7704 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7705 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7706 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7707 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7708 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7709 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7710 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7711 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7712 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7713 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7714 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7715 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7716 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7717 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7718 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7719 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7720 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7721 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7722 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7723 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7724 * sysdeps/ieee754/s_lib_version.c: Likewise.
7725 * sysdeps/ieee754/s_matherr.c: Likewise.
7726 * sysdeps/ieee754/s_signgam.c: Likewise.
7727 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7728 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7729 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7730 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7731 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7732 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7733 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7734 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7735 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7736 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7737 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7738 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7739 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7740 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7741 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7742 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7743 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7744 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7745 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7746 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7747 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 7748
1991fa03
JM
77492012-03-09 Joseph Myers <joseph@codesourcery.com>
7750
7751 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7752 * sunrpc/rpc_main.c: Likewise.
7753 * sunrpc/rpc_svcout.c: Likewise.
7754
60d6f5a6
DM
77552012-03-09 David S. Miller <davem@davemloft.net>
7756
7757 * include/math_private.h: New file.
7758
4962050e
JM
77592012-03-09 Joseph Myers <joseph@codesourcery.com>
7760
02a6f887
JM
7761 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7762 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7763 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7764 from <bits/socket_type.h>.
7765 (enum __socket_type): Don't define here.
7766 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7767 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7768 bits/socket_type.h.
7769
c6e013c1
JM
7770 [BZ #13566]
7771 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7772 checking __USE_GNU.
7773
4962050e
JM
7774 * Makerules ($(inst_includedir)/%.h): New rule.
7775 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7776 (install-others): Remove variable setting.
7777 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7778
38842f45
RH
77792012-03-08 Richard Henderson <rth@twiddle.net>
7780
67bb6da6
RH
7781 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7782 from macro to inline function; merge with the
7783 !__LIBC_INTERNAL_MATH_INLINES version.
7784 (__ieee754_sqrtf): Likewise.
7785
15194b4b
RH
7786 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7787 to inline function.
7788 (__rintf, __floor, __floorf): Likewise.
7789
64e21ede
RH
7790 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7791 macro to inline function.
7792 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7793
38842f45
RH
7794 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7795 not <math/math_private.h>.
7796
c64bf5fe
DM
77972012-03-08 David S. Miller <davem@davemloft.net>
7798
7799 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7800 copyright year.
7801 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7802
82d86f28
TS
78032012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7804
7805 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7806 normalization.
7807 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7808 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7809
aea5d727
UD
78102012-03-08 Ulrich Drepper <drepper@gmail.com>
7811
7812 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7813 be defined individually, they must be defined as a block. Define
7814 S for printing a string instead of hidint the different by using a
7815 macro for adding the 'l'.
7816 * stdio-common/tst-fphex-wide.c: Adjust.
7817
70bca0a3
MP
78182012-03-07 Marek Polacek <polacek@redhat.com>
7819
7820 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7821
65b81130
MP
78222012-03-08 Marek Polacek <polacek@redhat.com>
7823
7824 [BZ #13806]
7825 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7826 * stdio-common/tst-fphex.c: Define a few macros to make the
7827 test reusable. Use them.
7828 * stdio-common/tst-fphex-wide.c: New file.
7829
07037eeb
JM
78302012-03-08 Joseph Myers <joseph@codesourcery.com>
7831
a7a93d50
JM
7832 [BZ #6911]
7833 * manual/macros.texi (gnusystems): New macro.
7834 (nongnusystems): Likewise.
7835 (gnulinuxhurdsystems): Likewise.
7836 (gnuhurdsystems): Likewise..
7837 (gnulinuxsystems): Likewise.
7838 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7839 variants of the GNU system, not "GNU system".
7840 * manual/conf.texi: Likewise.
7841 * manual/errno.texi: Likewise. Update example of errno macro
7842 expansion.
7843 * manual/filesys.texi: Likewise.
7844 (getumask): Document as specific to GNU/Hurd.
7845 * manual/install.texi: Likewise. Reword some references to
7846 GNU/Linux.
7847 * manual/intro.texi: Likewise.
7848 * manual/io.texi: Likewise.
7849 (File Name Portability): Detail which constraints are inapplicable
7850 to all GNU systems and which are only inapplicable to GNU/Hurd.
7851 * manual/job.texi: Likewise.
7852 * manual/llio.texi: Likewise.
7853 (O_NOCTTY): Document as present on GNU/Linux.
7854 * manual/maint.texi: Likewise.
7855 * manual/memory.texi: Likewise.
7856 * manual/pattern.texi: Likewise.
7857 * manual/pipe.texi: Likewise.
7858 * manual/process.texi: Likewise.
7859 * manual/resource.texi: Likewise.
7860 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7861 child on GNU/Hurd.
7862 * manual/setjmp.texi: Likewise.
7863 * manual/signal.texi: Likewise.
7864 * manual/startup.texi: Likewise.
7865 * manual/stdio.texi: Likewise.
7866 * manual/terminal.texi: Likewise.
7867 (ONLCR): Document as POSIX.
7868 (OXTABS): Document availability on GNU/Linux as XTABS.
7869 (ONOEOT): Document availability separately from other bits.
7870 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7871 * manual/time.texi: Likewise.
7872 * manual/users.texi: Likewise.
7873 * INSTALL: Regenerated.
7874 * sysdeps/gnu/errlist.c: Regenerated.
7875
07037eeb
JM
7876 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7877 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7878 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7879 puts.
7880 * configure: Regenerated.
7881
d1d3431a
JM
78822012-03-07 Joseph Myers <joseph@codesourcery.com>
7883
af6a1e37
JM
7884 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7885 default includes instead of AC_HEADER_CHECK.
7886 * sysdeps/i386/configure: Regenerated.
7887
d1d3431a
JM
7888 [BZ #10716]
7889 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7890 * math/s_cacoshf.c (__cacoshf): Likewise.
7891 * math/s_cacoshl.c (__cacoshl): Likewise.
7892 * math/s_casinh.c (__casinh): Set signs of result from argument.
7893 * math/s_casinhf.c (__casinhf): Likewise.
7894 * math/s_casinhl.c (__casinhl): Likewise.
7895 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7896 (casinh_test): Add more tests.
7897 * sysdeps/i386/fpu/libm-test-ulps: Update.
7898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7899
482ff4da
UD
79002012-03-07 Ulrich Drepper <drepper@gmail.com>
7901
872fda05
UD
7902 * po/zh_TW.po: Update from translation team.
7903
a4300c7a
UD
7904 * login/Makefile (distribute): Remove variable.
7905 * catgets/Makefile: Likewise.
7906 * mach/Makefile: Likewise.
7907 * malloc/Makefile: Likewise.
7908 * misc/Makefile: Likewise.
7909 * iconv/Makefile: Likewise.
7910 * nscd/Makefile: Likewise.
7911 * hurd/Makefile: Likewise.
7912 * manual/Makefile: Likewise.
7913 * locale/Makefile: Likewise.
7914 * intl/Makefile: Likewise.
7915 * conform/Makefile: Likewise.
7916 * nss/Makefile: Likewise.
7917 * time/Makefile: Likewise.
7918 * soft-fp/Makefile: Likewise.
7919 * dirent/Makefile: Likewise.
7920 * gmon/Makefile: Likewise.
7921 * po/Makefile: Likewise.
7922 * rt/Makefile: Likewise.
7923 * socket/Makefile: Likewise.
7924 * math/Makefile: Likewise.
7925 * signal/Makefile: Likewise.
7926 * debug/Makefile: Likewise.
7927 * elf/Makefile: Likewise.
7928 * timezone/Makefile: Likewise.
7929 * stdlib/Makefile: Likewise.
7930 * iconvdata/Makefile: Likewise.
7931 * sunrpc/Makefile: Likewise.
7932 * io/Makefile: Likewise.
7933 * argp/Makefile: Likewise.
7934 * inet/Makefile: Likewise.
7935 * hesiod/Makefile: Likewise.
7936 * grp/Makefile: Likewise.
7937 * csu/Makefile: Likewise.
7938 * wctype/Makefile: Likewise.
7939 * crypt/Makefile: Likewise.
7940 * libio/Makefile: Likewise.
7941 * string/Makefile: Likewise.
7942 * nis/Makefile: Likewise.
7943 * resolv/Makefile: Likewise.
7944 * stdio-common/Makefile: Likewise.
7945 * wcsmbs/Makefile: Likewise.
7946 * dlfcn/Makefile: Likewise.
7947 * posix/Makefile: Likewise.
7948
3b7c4e74 7949 [BZ #6959]
482ff4da
UD
7950 * timezone/Makefile: Don't install timezone files, just the programs
7951 and scripts.
7952
f72ed77d
UD
79532012-03-06 Ulrich Drepper <drepper@gmail.com>
7954
a000466f
UD
7955 * nss/databases.def: Add missing gshadow entry.
7956
f72ed77d
UD
7957 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7958
a53b7a4e
MP
79592012-03-06 Marek Polacek <polacek@redhat.com>
7960
7961 [BZ #13726]
7962 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7963 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7964 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7965 * stdio-common/tst-long-dbl-fphex.c: New file.
7966
e9258400
DM
79672012-03-06 David S. Miller <davem@davemloft.net>
7968
7969 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7970 (set_obp_int): New function.
7971 (get_obp_int): New function.
7972 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7973 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7974 Avoid unused variable warnings on 'val' and use builtin_expect.
7975 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7976 __builtin_expect.
e9258400
DM
7977 (INLINE_CLONE_SYSCALL): Likewise.
7978
3bd2c723
DM
79792012-03-05 David S. Miller <davem@davemloft.net>
7980
7981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7982
bbb78d03
AS
79832012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7984
884c5db4
AS
7985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7986
bbb78d03
AS
7987 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7988 only for |x| >= 40.
7989 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7990
1c9f702a 79912012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7992
7993 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7994 Replace gettimeofday with __vdso_gettimeofday.
7995
7be16f82
RM
7996 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7997 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7998 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7999
8000 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8001 time with __vdso_time.
8002
ed58a00f
JM
80032012-03-05 Joseph Myers <joseph@codesourcery.com>
8004
8005 * manual/lang.texi (size_t): Note types to which size_t may be
8006 equivalent with the GNU C Library, but do not describe when
8007 differences between them are significant.
8008
30ee4ced
AJ
80092012-03-05 Andreas Jaeger <aj@suse.de>
8010
8011 * sysdeps/i386/fpu/libm-test-ulps: Update.
8012
b7cd39e8
JM
80132012-03-05 Joseph Myers <joseph@codesourcery.com>
8014
8015 [BZ #3976]
8016 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8017 (__ieee754_pow): Save and restore rounding mode and use
8018 round-to-nearest for main computations.
8019 * math/libm-test.inc (pow_test_tonearest): New function.
8020 (pow_test_towardzero): Likewise.
8021 (pow_test_downward): Likewise.
8022 (pow_test_upward): Likewise.
8023 (main): Call the new functions.
8024 * sysdeps/i386/fpu/libm-test-ulps: Update.
8025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
8026
8027 [BZ #3976]
8028 * math/libm-test.inc (cosh_test_tonearest): New function.
8029 (cosh_test_towardzero): Likewise.
8030 (cosh_test_downward): Likewise.
8031 (cosh_test_upward): Likewise.
8032 (sinh_test_tonearest): Likewise.
8033 (sinh_test_towardzero): Likewise.
8034 (sinh_test_downward): Likewise.
8035 (sinh_test_upward): Likewise.
8036 (main): Call the new functions.
8037 * sysdeps/i386/fpu/libm-test-ulps: Update.
8038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8039
6c6a98c9
TV
80402012-03-05 Tom de Vries <tom@codesourcery.com>
8041
8042 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8043 default stack guard is set in last bytes.
8044 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8045
21bb2d2e 80462012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 8047
21bb2d2e 8048 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 8049
21bb2d2e
AJ
8050 [BZ #13656]
8051 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8052 possibly allocate from heap instead of stack.
8053 * stdio-common/bug-vfprintf-nargs.c: New file.
8054 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 8055
c6922934
AS
80562012-03-03 Andreas Schwab <schwab@linux-m68k.org>
8057
8058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8059
bc957d53
MP
80602012-03-03 Marek Polacek <polacek@redhat.com>
8061
8062 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8063 * math/math_private.h: Likewise.
8064 * stdlib/tst-strtod.c: Likewise.
8065 * sysdeps/i386/i486/bits/atomic.h: Likewise.
8066 * sysdeps/x86_64/bits/atomic.h: Likewise.
8067
6358490d
DM
80682012-03-02 David S. Miller <davem@davemloft.net>
8069
8070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8074 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8075 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8076 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8077 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8078
01ae168d
RM
80792012-03-02 Roland McGrath <roland@hack.frob.com>
8080
d9a17c07
RM
8081 [BZ #13792]
8082 * manual/examples/README: New file, says the example source files
8083 can be used under GPL>=2.
8084 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8085 line containing just "*/".
8086 * manual/examples/add.c: Add copyright header (GPL>=2).
8087 * manual/examples/argp-ex1.c: Likewise.
8088 * manual/examples/argp-ex2.c: Likewise.
8089 * manual/examples/argp-ex3.c: Likewise.
8090 * manual/examples/argp-ex4.c: Likewise.
8091 * manual/examples/atexit.c: Likewise.
8092 * manual/examples/db.c: Likewise.
8093 * manual/examples/dir.c: Likewise.
8094 * manual/examples/dir2.c: Likewise.
8095 * manual/examples/execinfo.c: Likewise.
8096 * manual/examples/filecli.c: Likewise.
8097 * manual/examples/filesrv.c: Likewise.
8098 * manual/examples/fmtmsgexpl.c: Likewise.
8099 * manual/examples/genpass.c: Likewise.
8100 * manual/examples/inetcli.c: Likewise.
8101 * manual/examples/inetsrv.c: Likewise.
8102 * manual/examples/isockad.c: Likewise.
8103 * manual/examples/longopt.c: Likewise.
8104 * manual/examples/memopen.c: Likewise.
8105 * manual/examples/memstrm.c: Likewise.
8106 * manual/examples/mkfsock.c: Likewise.
8107 * manual/examples/mkisock.c: Likewise.
8108 * manual/examples/mygetpass.c: Likewise.
8109 * manual/examples/pipe.c: Likewise.
8110 * manual/examples/popen.c: Likewise.
8111 * manual/examples/rprintf.c: Likewise.
8112 * manual/examples/search.c: Likewise.
8113 * manual/examples/select.c: Likewise.
8114 * manual/examples/setjmp.c: Likewise.
8115 * manual/examples/sigh1.c: Likewise.
8116 * manual/examples/sigusr.c: Likewise.
8117 * manual/examples/stpcpy.c: Likewise.
8118 * manual/examples/strdupa.c: Likewise.
8119 * manual/examples/strftim.c: Likewise.
8120 * manual/examples/strncat.c: Likewise.
8121 * manual/examples/subopt.c: Likewise.
8122 * manual/examples/swapcontext.c: Likewise.
8123 * manual/examples/termios.c: Likewise.
8124 * manual/examples/testopt.c: Likewise.
8125 * manual/examples/testpass.c: Likewise.
8126 * manual/examples/timeval_subtract.c: Likewise.
8127
01ae168d
RM
8128 [BZ #13792]
8129 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8130 function to ...
8131 * manual/timeval_subtract.c.texi: ... here, new file.
8132
49efa33d
DM
81332012-03-02 David S. Miller <davem@davemloft.net>
8134
8135 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8136
28afd92d
JM
81372012-03-02 Joseph Myers <joseph@codesourcery.com>
8138
804360ed
JM
8139 [BZ #3976]
8140 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8141 (__sin): Save and restore rounding mode and use round-to-nearest
8142 for all computations.
8143 (__cos): Save and restore rounding mode and use round-to-nearest
8144 for all computations.
8145 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8146 <fenv.h>.
8147 (tan): Save and restore rounding mode and use round-to-nearest for
8148 all computations.
8149 * math/libm-test.inc (cos_test_tonearest): New function.
8150 (cos_test_towardzero): Likewise.
8151 (cos_test_downward): Likewise.
8152 (cos_test_upward): Likewise.
8153 (sin_test_tonearest): Likewise.
8154 (sin_test_towardzero): Likewise.
8155 (sin_test_downward): Likewise.
8156 (sin_test_upward): Likewise.
8157 (tan_test_tonearest): Likewise.
8158 (tan_test_towardzero): Likewise.
8159 (tan_test_downward): Likewise.
8160 (tan_test_upward): Likewise.
8161 (main): Call the new functions.
8162 * sysdeps/i386/fpu/libm-test-ulps: Update.
8163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8164
a6d06d7b
JM
8165 [BZ #10135]
8166 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8167 small n, then large n, before computing and testing k+n.
8168 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8169 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8170 Likewise.
8171 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8172 Likewise.
8173 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8174 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8175 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8176 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8177 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8178 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8179 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8180 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8181 * math/libm-test.inc (scalbn_test): Add more tests.
8182 (scalbln_test): Likewise.
8183
07e12bb3
JM
8184 * manual/filesys.texi (mode_t): Describe constraints on size and
8185 signedness, not exact equivalence to a particular type.
8186 (ino_t): Likewise.
8187 (ino64_t): Likewise.
8188 (dev_t): Likewise.
8189 (nlink_t): Likewise.
8190 (blkcnt_t): Likewise.
8191 (blkcnt64_t): Likewise.
8192 * manual/llio.texi (off_t): Likewise.
8193
28afd92d
JM
8194 [BZ #3976]
8195 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8196 (__ieee754_exp): Save and restore rounding mode and use
8197 round-to-nearest for all computations.
8198 * math/libm-test.inc (exp_test_tonearest): New function.
8199 (exp_test_towardzero): Likewise.
8200 (exp_test_downward): Likewise.
8201 (exp_test_upward): Likewise.
8202 (main): Call the new functions.
8203 * sysdeps/i386/fpu/libm-test-ulps: Update.
8204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8205
b1eeb65d
CD
82062012-03-01 Chris Demetriou <cgd@google.com>
8207
8208 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8209 have predictable order.
8210
53362a4b
DM
82112012-03-01 David S. Miller <davem@davemloft.net>
8212
3c969083
DM
8213 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8214
759707de
DM
8215 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8216 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8217 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8218 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8219
dfdb8ff2
DM
8220 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8221 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8222 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8224 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8225 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8226 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8227 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8228 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8229
ead89f96
DM
8230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8231
7f66bd07
DM
8232 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8233 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8234 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8235
53362a4b
DM
8236 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8237 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8238 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8239 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8240 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8241 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8242 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8243 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8244 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8245 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8246 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8247 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8248 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8249 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8250 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8251 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8252 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8253 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8254 * sysdeps/sparc/elf/configure: Regenerated.
8255
7b1902cb
JM
82562012-03-01 Joseph Myers <joseph@codesourcery.com>
8257
bec039bc
JM
8258 * configure.in (AS, LD): Require binutils 2.20 or later.
8259 * configure: Regenerated.
8260 * manual/install.texi (Tools for Compilation): Give binutils 2.20
8261 as required minimum version.
8262 * INSTALL: Regenerated.
8263
7b1902cb
JM
8264 [BZ #2541]
8265 [BZ #4108]
8266 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8267 before squaring exponent.
8268 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8269 bottom long double and 27 bits of top long double before squaring
8270 exponent.
8271 * math/libm-test.inc (erfc_test): Add more tests.
8272 * sysdeps/i386/fpu/libm-test-ulps: Update.
8273 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8275
f775c276
KT
82762012-03-01 Kai Tietz <ktietz@redhat.com>
8277
8278 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8279 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8280 containing bit-fields.
8281 * soft-fp/extended.h (_FP_UNION_E): Likewise.
8282 * soft-fp/single.h (_FP_UNION_S): Likewise.
8283 * soft-fp/double.h (_FP_UNION_D): Likewise.
8284
5b8a4d4a
JM
82852012-02-29 Joseph Myers <joseph@codesourcery.com>
8286
0bab47b6
JM
8287 [BZ #13786]
8288 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8289 not include ../strcmp.S.
8290 [USE_AS_STRNCASECMP_L]: Likewise.
8291 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8292 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8293 * sysdeps/i386/i686/multiarch/strncase_l-c.c
8294 (__strncasecmp_l_ia32): Define as alias to
8295 __strncasecmp_l_nonascii.
8296
0fcad3e2
JM
8297 [BZ #5794]
8298 * math/libm-test.inc (expm1_test): Add test for bug 5794.
8299 * sysdeps/i386/fpu/libm-test-ulps: Update.
8300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8301
5b8a4d4a
JM
8302 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8304
8fdceb2e
JL
83052012-02-29 Jeff Law <law@redhat.com>
8306
8307 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8308 out of bounds read.
8309
1f393a11
MP
83102012-02-29 Marek Polacek <polacek@redhat.com>
8311
8312 [BZ #13706]
8313 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8314 * elf/Makefile: Add rules to run tst-unused-dep.out.
8315
8847f037
DM
83162012-02-28 David S. Miller <davem@davemloft.net>
8317
8318 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8319 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8320 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8321 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8322 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8323 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8324
169d7f11
JM
83252012-02-29 Joseph Myers <joseph@codesourcery.com>
8326
8327 * math/libm-test.inc (llround_test): Move one test from
8328 lround_test. Use TEST_f_L in moved test.
8329 (lround_test): Move misplaced test to llround_test. Add testcase
8330 from bug 2561.
8331
39adf059
UD
83322012-02-28 Ulrich Drepper <drepper@gmail.com>
8333
8334 * sysdeps/x86_64/fpu/e_expf.S: New file.
8335 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8336
71b5d1c5
SB
83372012-02-28 Stanislav Brabec <sbrabec@suse.cz>
8338
8339 [BZ #13637]
8340 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8341 of remain_len that may cause incomplete multi-byte character and
8342 false match.
8343 * posix/bug-regex33.c: New file.
8344 * posix/Makefile (tests): Add bug-regex33.
8345
1f77f049
JM
83462012-02-28 Joseph Myers <joseph@codesourcery.com>
8347
8348 * manual/macros.texi: New file.
8349 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8350 * manual/libc.texinfo: Include macros.texi.
8351 * manual/creatute.texi: Likewise.
8352 * manual/install.texi: Likewise.
8353 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8354 @glibcadj{} in references to the GNU C Library.
8355 * manual/charset.texi: Likewise.
8356 * manual/conf.texi: Likewise.
8357 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
8358 when not using those macros.
8359 * manual/creature.texi: Likewise.
8360 * manual/crypt.texi: Likewise.
8361 * manual/errno.texi: Likewise.
8362 * manual/filesys.texi: Likewise.
8363 * manual/header.texi: Likewise.
8364 * manual/install.texi: Likewise.
8365 * manual/intro.texi: Likewise.
8366 * manual/io.texi: Likewise.
8367 * manual/job.texi: Likewise.
8368 * manual/lang.texi: Likewise.
8369 * manual/libc.texiinfo: Likewise.
8370 * manual/llio.texi: Likewise.
8371 * manual/locale.texi: Likewise.
8372 * manual/maint.texi: Likewise.
8373 * manual/math.texi: Likewise.
8374 * manual/memory.texi: Likewise.
8375 * manual/message.texi: Likewise.
8376 * manual/nss.texi: Likewise.
8377 * manual/pattern.texi: Likewise.
8378 * manual/process.texi: Likewise.
8379 * manual/resource.texi: Likewise.
8380 * manual/search.texi: Likewise.
8381 * manual/setjmp.texi: Likewise.
8382 * manual/signal.texi: Likewise.
8383 * manual/socket.texi: Likewise.
8384 * manual/startup.texi: Likewise.
8385 * manual/stdio.texi: Likewise.
8386 * manual/string.texi: Likewise.
8387 * manual/sysinfo.texi: Likewise.
8388 * manual/syslog.texi: Likewise.
8389 * manual/terminal.texi: Likewise.
8390 * manual/time.texi: Likewise.
8391 * manual/users.texi: Likewise.
8392 * INSTALL: Regenerated.
8393 * NOTES: Regenerated.
d40c5d54 8394 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 8395
450bf206
AS
83962012-02-28 Andreas Schwab <schwab@linux-m68k.org>
8397
8398 * include/dirent.h: Include <dirstream.h> before
8399 <dirent/dirent.h>.
8400
741a235b
DM
84012012-02-28 David S. Miller <davem@davemloft.net>
8402
8403 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
8404 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
8405 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8406 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8407
d6b5aa58
DM
84082012-02-27 David S. Miller <davem@davemloft.net>
8409
1aff59a3
DM
8410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8412 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8413 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8414
d6b5aa58
DM
8415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8416 frame pointer instead of stack pointer relative arg slot.
8417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8418 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8419 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8420
433f48bf
CD
84212012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
8422
8423 [BZ #3992]
8424 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8425
d674b76d
DM
84262012-02-27 David S. Miller <davem@davemloft.net>
8427
8428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8432 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8433 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8434 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8435 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8436
0e7727f7
JM
84372012-02-27 Joseph Myers <joseph@codesourcery.com>
8438
8439 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8440 later. Allow versions 5-9.
43be4ca2 8441 * configure: Regenerated.
0e7727f7
JM
8442 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8443 required minimum version and 4.6 as recommended version. Do not
8444 mention bugs in GCC 2.7 and 2.8.
43be4ca2 8445 * INSTALL: Regenerated.
0e7727f7 8446
a78bc654
DM
84472012-02-27 David S. Miller <davem@davemloft.net>
8448
428d5830
DM
8449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8453 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8454 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8455 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8456 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8457
a78bc654
DM
8458 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8459 manipulate bits before adding and subtracting TWO112[sx].
8460 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8461
4579f81c
RM
84622012-02-27 Roland McGrath <roland@hack.frob.com>
8463
36c8acb4
RM
8464 [BZ #13775]
8465 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8466 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8467 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8468 being in POSIX, because they are in 1003.1-2008.
8469
84ad622b
RM
8470 * rt/tst-aio.c: Include <fcntl.h>.
8471 * rt/tst-aio7.c: Likewise.
8472 * rt/tst-aio64.c: Likewise.
8473
4579f81c
RM
8474 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8475
abd923db
JM
84762012-02-27 Joseph Myers <joseph@codesourcery.com>
8477
8478 * manual/install.texi (--with-headers): Describe headers as
8479 interface headers, not private headers.
8480 (Specific advice for GNU/Linux systems): Describe use of headers
8481 from "make headers_install", not private headers from older
8482 kernels.
43be4ca2 8483 * INSTALL: Regenerated.
abd923db
JM
8484 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8485 Change to 2.6.19.
8486 * sysdeps/unix/sysv/linux/configure: Regenerated.
8487
6664049b
JM
8488 * manual/llio.texi (fclean): Remove documentation.
8489
bb8b6697
JM
8490 * manual/Makefile (libc-texi-generated): New variable. Include
8491 version.texi.
8492 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8493 $(libc-texi-generated), not duplicated list of files.
8494 (version.texi, stamp-version): New rules.
8495 (realclean): Remove $(libc-texi-generated), not individual files
8496 from that list. Do not remove dir-add.texinfo.
8497 * manual/libc.texinfo: Comment out uses of edition numbers and
8498 references to printed manual. Remove last-updated dates.
8499 (EDITION): Comment out.
8500 (ISBN): Likewise.
8501 (VERSION, UPDATED): Remove.
8502 (version.texi): Include.
8503
12e5c3b9
AS
85042012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8505
8506 * sysdeps/posix/spawni.c: Include <signal.h>.
8507 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8508 * sysdeps/pthread/aio_fsync.c: Likewise.
8509
4efeffc1 85102012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 8511
ba63ba08
UD
8512 * conform/Makefile (tests): Run only when not cross-compiling and
8513 when fast-check is not defined.
8514
d94a4670
UD
8515 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8516 * conform/data/limits.h-data: Fixes for POSIX2008.
8517 * conform/run-conformtest.sh: Run all tests.
8518 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8519 headers.
8520 * include/bits/dlfcn.h: Likewise.
8521 * include/langinfo.h: Likewise.
8522 * include/monetary.h: Likewise.
8523 * include/sys/poll.h: Likewise.
8524
8525 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8526 for __USE_GNU.
8527 * posix/spawn.h: Define __need_sigset_t.
8528 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8529 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8530 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8531 to get sigevent_t only.
8532 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8533 only for __USE_GNU.
8534 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8535 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8536 process_vm_writev only for __USE_GNU.
8537 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
8538
8539 * conform/Makefile: For now ignore errors from run-conformtest.
8540 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8541 POSIX to avoid namespace pollution. Don't prepend headers.
8542 * conform/data/aio.h-data: Fixes for POSIX testing.
8543 * conform/data/fcntl.h-data: Likewise.
8544 * conform/data/glob.h-data: Likewise.
8545 * conform/data/grp.h-data: Likewise.
8546 * conform/data/pthread.h-data: Likewise.
8547 * conform/data/pwd.h-data: Likewise.
8548 * conform/data/signal.h-data: Likewise.
8549 * conform/data/spawn.h-data: Likewise.
8550 * conform/data/stdio.h-data: Likewise.
8551 * conform/data/stdlib.h-data: Likewise.
8552 * conform/data/stropts.h-data: Likewise.
8553 * conform/data/sys/mman.h-data: Likewise.
8554 * conform/data/sys/stat.h-data: Likewise.
8555 * conform/data/sys/types.h-data: Likewise.
8556 * conform/data/sys/wait.h-data: Likewise.
8557 * conform/data/time.h-data: Likewise.
8558 * conform/data/unistd.h-data: Likewise.
8559 * conform/data/utime.h-data: Likewise.
8560
8561 * io/sys/stat.h: fchmod was always in POSIX.
8562 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8563 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8564 * rt/aio.h: Define __need_timespec before including <time.h>.
8565 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8566 struct. Add forward declaration of pthread_attr_t and use it in
8567 sigevent.
8568 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8569 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8570 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8571 always remove CLK_TCK definition.
8572
c20105c3
AS
85732012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8574
8575 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8576
7a270350
UD
85772012-02-25 Ulrich Drepper <drepper@gmail.com>
8578
31341567
UD
8579 * conform/run-conformtest.sh: New file.
8580 * conform/Makefile: Run run-conformtest for tests.
8581 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8582 support.
8583
8584 * conform/data/uchar.h-data: New file.
8585 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8586 * conform/data/arpa/inet.h-data: Likewise.
8587 * conform/data/assert.h-data: Likewise.
8588 * conform/data/complex.h-data: Likewise.
8589 * conform/data/cpio.h-data: Likewise.
8590 * conform/data/ctype.h-data: Likewise.
8591 * conform/data/dirent.h-data: Likewise.
8592 * conform/data/dlfcn.h-data: Likewise.
8593 * conform/data/errno.h-data: Likewise.
8594 * conform/data/fcntl.h-data: Likewise.
8595 * conform/data/float.h-data: Likewise.
8596 * conform/data/fmtmsg.h-data: Likewise.
8597 * conform/data/fnmatch.h-data: Likewise.
8598 * conform/data/ftw.h-data: Likewise.
8599 * conform/data/glob.h-data: Likewise.
8600 * conform/data/grp.h-data: Likewise.
8601 * conform/data/iconv.h-data: Likewise.
8602 * conform/data/inttypes.h-data: Likewise.
8603 * conform/data/langinfo.h-data: Likewise.
8604 * conform/data/libgen.h-data: Likewise.
8605 * conform/data/limits.h-data: Likewise.
8606 * conform/data/locale.h-data: Likewise.
8607 * conform/data/math.h-data: Likewise.
8608 * conform/data/monetary.h-data: Likewise.
8609 * conform/data/mqueue.h-data: Likewise.
8610 * conform/data/ndbm.h-data: Likewise.
8611 * conform/data/net/if.h-data: Likewise.
8612 * conform/data/netdb.h-data: Likewise.
8613 * conform/data/netinet/in.h-data: Likewise.
8614 * conform/data/nl_types.h-data: Likewise.
8615 * conform/data/poll.h-data: Likewise.
8616 * conform/data/pthread.h-data: Likewise.
8617 * conform/data/pwd.h-data: Likewise.
8618 * conform/data/regex.h-data: Likewise.
8619 * conform/data/sched.h-data: Likewise.
8620 * conform/data/search.h-data: Likewise.
8621 * conform/data/semaphore.h-data: Likewise.
8622 * conform/data/setjmp.h-data: Likewise.
8623 * conform/data/signal.h-data: Likewise.
8624 * conform/data/spawn.h-data: Likewise.
8625 * conform/data/stdarg.h-data: Likewise.
8626 * conform/data/stdio.h-data: Likewise.
8627 * conform/data/stdlib.h-data: Likewise.
8628 * conform/data/string.h-data: Likewise.
8629 * conform/data/strings.h-data: Likewise.
8630 * conform/data/stropts.h-data: Likewise.
8631 * conform/data/sys/ipc.h-data: Likewise.
8632 * conform/data/sys/mman.h-data: Likewise.
8633 * conform/data/sys/msg.h-data: Likewise.
8634 * conform/data/sys/resource.h-data: Likewise.
8635 * conform/data/sys/select.h-data: Likewise.
8636 * conform/data/sys/sem.h-data: Likewise.
8637 * conform/data/sys/shm.h-data: Likewise.
8638 * conform/data/sys/socket.h-data: Likewise.
8639 * conform/data/sys/stat.h-data: Likewise.
8640 * conform/data/sys/statvfs.h-data: Likewise.
8641 * conform/data/sys/time.h-data: Likewise.
8642 * conform/data/sys/timeb.h-data: Likewise.
8643 * conform/data/sys/times.h-data: Likewise.
8644 * conform/data/sys/types.h-data: Likewise.
8645 * conform/data/sys/uio.h-data: Likewise.
8646 * conform/data/sys/un.h-data: Likewise.
8647 * conform/data/sys/utsname.h-data: Likewise.
8648 * conform/data/sys/wait.h-data: Likewise.
8649 * conform/data/syslog.h-data: Likewise.
8650 * conform/data/tar.h-data: Likewise.
8651 * conform/data/termios.h-data: Likewise.
8652 * conform/data/utime.h-data: Likewise.
8653 * conform/data/utmpx.h-data: Likewise.
8654 * conform/data/varargs.h-data: Likewise.
8655 * conform/data/wchar.h-data: Likewise.
8656 * conform/data/wctype.h-data: Likewise.
8657 * conform/data/wordexp.h-data: Likewise.
8658
8659 * include/stropts.h: New file.
8660 * include/uchar.h: New file.
8661 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8662 * include/assert.h: Likewise.
8663 * include/ctype.h: Likewise.
8664 * include/dirent.h: Likewise.
8665 * include/dlfcn.h: Likewise.
8666 * include/fcntl.h: Likewise.
8667 * include/fnmatch.h: Likewise.
8668 * include/glob.h: Likewise.
8669 * include/grp.h: Likewise.
8670 * include/libio.h: Likewise.
8671 * include/locale.h: Likewise.
8672 * include/math.h: Likewise.
8673 * include/net/if.h: Likewise.
8674 * include/netdb.h: Likewise.
8675 * include/netinet/in.h: Likewise.
8676 * include/pthread.h: Likewise.
8677 * include/pwd.h: Likewise.
8678 * include/regex.h: Likewise.
8679 * include/sched.h: Likewise.
8680 * include/search.h: Likewise.
8681 * include/setjmp.h: Likewise.
8682 * include/signal.h: Likewise.
8683 * include/stdio.h: Likewise.
8684 * include/stdlib.h: Likewise.
8685 * include/string.h: Likewise.
8686 * include/sys/cdefs.h: Likewise.
8687 * include/sys/mman.h: Likewise.
8688 * include/sys/msg.h: Likewise.
8689 * include/sys/resource.h: Likewise.
8690 * include/sys/select.h: Likewise.
8691 * include/sys/socket.h: Likewise.
8692 * include/sys/stat.h: Likewise.
8693 * include/sys/statvfs.h: Likewise.
8694 * include/sys/time.h: Likewise.
8695 * include/sys/times.h: Likewise.
8696 * include/sys/uio.h: Likewise.
8697 * include/sys/utsname.h: Likewise.
8698 * include/sys/wait.h: Likewise.
8699 * include/termios.h: Likewise.
8700 * include/time.h: Likewise.
8701 * include/ulimit.h: Likewise.
8702 * include/unistd.h: Likewise.
8703 * include/utime.h: Likewise.
8704 * include/wchar.h: Likewise.
8705 * include/wctype.h: Likewise.
8706 * include/wordexp.h: Likewise.
8707
8708 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8709
7a270350
UD
8710 * time/time.h: TIME_UTC must be a macro.
8711 Make timespec_get available for ISO C11 only as well.
8712
7724defc
UD
87132012-02-24 Ulrich Drepper <drepper@gmail.com>
8714
8715 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8716 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8717
6b1d1d46
JM
87182012-02-24 Joseph Myers <joseph@codesourcery.com>
8719
8720 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 8721
0f8bbd69
JM
87222012-02-24 Joseph Myers <joseph@codesourcery.com>
8723
8724 * manual/texinfo.tex: Update to version 2012-01-19.16.
8725
66ab80bc
JM
87262012-02-24 Joseph Myers <joseph@codesourcery.com>
8727
8728 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8729
74981cc5
RM
87302012-02-24 Roland McGrath <roland@hack.frob.com>
8731
ee968201
RM
8732 [BZ #13738]
8733 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8734 * manual/fdl-1.3.texi: New file.
8735 * manual/fdl-1.1.texi: File removed.
8736
74981cc5
RM
8737 [BZ #13738]
8738 * manual/libc.texinfo (FDL_VERSION): New @set.
8739 Use it for mention of FDL in cover text.
8740 (Documentation License): Use it in @include file name.
8741
7bb764bc
JM
87422012-02-22 Joseph Myers <joseph@codesourcery.com>
8743 Roland McGrath <roland@hack.frob.com>
8744
8745 [BZ #5461]
8746 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8747 not LONG_LONG_MAX and LONG_LONG_MIN.
8748 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8749 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8750 name.
8751 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8752
6cbeae47
JM
87532012-02-22 Joseph Myers <joseph@codesourcery.com>
8754
8755 [BZ #2547]
8756 [BZ #11365]
8757 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8758 manipulate bits before adding and subtracting TWO23[sx].
8759 * math/libm-test.inc (nearbyint_test): Add more tests.
8760
fe45ce09
JM
87612012-02-22 Joseph Myers <joseph@codesourcery.com>
8762
8763 [BZ #2548]
8764 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8765 bits before adding and subtracting TWO23[sx].
8766 * math/libm-test.inc (rint_test): Add more tests.
8767 (rint_test_tonearest): Likewise.
8768 (rint_test_towardzero): Likewise.
8769 (rint_test_downward): Likewise.
8770 (rint_test_upward: Likewise.
8771
ff3b3d82
JM
87722012-02-22 Joseph Myers <joseph@codesourcery.com>
8773
8774 [BZ #10110]
8775 * include/stdc-predef.h: New file. Extracted from features.h.
8776 * include/features.h: Include stdc-predef.h.
8777 * Makefile (headers): Add stdc-predef.h.
8778 * CONFORMANCE (Compiler limitations): Update.
8779
ef0aab35
JM
87802012-02-22 Joseph Myers <joseph@codesourcery.com>
8781
8782 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8783
58639409
DM
87842012-02-21 David S. Miller <davem@davemloft.net>
8785
8786 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8787 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8788
c0e70b25
DM
87892012-02-20 David S. Miller <davem@davemloft.net>
8790
8791 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8792 using a normal save/restore sequence, rather than allocating a
8793 dummy stack frame just to store a frame pointer and restore.
8794 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8795
fb06851d
JM
87962012-02-21 Joseph Myers <joseph@codesourcery.com>
8797
8798 * manual/install.texi: Fix stray word in line-wrapped comment.
8799
7a8b71c3
DM
88002012-02-20 David S. Miller <davem@davemloft.net>
8801
d510c123
DM
8802 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8803 both binutils and gcc support GOTDATA.
8804
0722d7c2
DM
8805 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8806 "rd %pc" in the PIC register setup sequences.
8807
3d2b3019
DM
8808 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8809 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8810 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8811 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8812 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8813 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8814 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8815 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8816 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8817 (SYSCALL_ERROR_HANDLER): Likewise.
8818 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8819 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8820 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8821 (SYSCALL_ERROR_HANDLER): Likewise.
8822
c80098a9
DM
8823 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8824 (HAVE_GCC_GOTDATA): New.
8825 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8826 relocation support in both binutils and gcc.
8827 * sysdeps/sparc/elf/configure: Regenerate.
8828
3a2545a0
DM
8829 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8830 * sysdeps/sparc/sparc32/elf/configure: Delete.
8831 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8832 * sysdeps/sparc/sparc64/elf/configure: Delete.
8833 * sysdeps/sparc/elf/configure.in: New file.
8834 * sysdeps/sparc/elf/configure: Generate.
8835
7a8b71c3
DM
8836 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8837 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8838 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8839 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8840 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8841
f1e86fca
JM
88422012-02-21 Joseph Myers <joseph@codesourcery.com>
8843
8844 * manual/install.texi: Do not mention specific glibc version
8845 numbers.
8846 * manual/libc.texinfo (VERSION, UPDATED): Update.
8847 (@copying): Use @copyright{} and range of years.
8848
0e7dfaef
JM
88492012-02-21 Joseph Myers <joseph@codesourcery.com>
8850
8851 [BZ #13695]
8852 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8853 [crti.S not in sysdirs] (generated): Do not append.
8854 [crti.S not in sysdirs] (omit-deps): Likewise.
8855 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8856 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8857 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8858 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8859 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8860 Likewise.
8861 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8862 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8863 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8864 * csu/defs.awk: Remove file.
8865 * sysdeps/generic/initfini.c: Likewise.
8866 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8867 variable.
8868 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8869 Likewise.
8870
599af3ca
JM
88712012-02-20 Joseph Myers <joseph@codesourcery.com>
8872
8873 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8874 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8875 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8876 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8877 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8878 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8879 <bits/epoll.h>.
8880 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8881 (__EPOLL_PACKED): Define to empty if not defined by
8882 <bits/epoll.h>.
8883 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8884 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8885 bits/epoll.h.
8886
0e499750
JM
88872012-02-20 Joseph Myers <joseph@codesourcery.com>
8888
8889 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8890 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8891 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8892 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8893 <bits/timerfd.h>.
8894 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8895 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8896 bits/timerfd.h.
8897
5ad91f6e
JM
88982012-02-20 Joseph Myers <joseph@codesourcery.com>
8899
8900 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8901 in C locale.
8902 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8903 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8904 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8906
06b99b02
AJ
89072012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8908
8909 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8910 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8911
7638c0fd
AS
89122012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8913
8914 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8915 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8916 defined.
8917 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8918 Likewise.
8919 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8920 entry for 2.16.
8921
92221550
AJ
89222012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8923
8924 * math/w_acos.c: Use non-signaling floating-point comparisons.
8925 * math/w_acosf.c: Likewise.
8926 * math/w_acosh.c: Likewise.
8927 * math/w_acoshf.c: Likewise.
8928 * math/w_acoshl.c: Likewise.
8929 * math/w_acosl.c: Likewise.
8930 * math/w_asin.c: Likewise.
8931 * math/w_asinf.c: Likewise.
8932 * math/w_asinl.c: Likewise.
8933 * math/w_atanh.c: Likewise.
8934 * math/w_atanhf.c: Likewise.
8935 * math/w_atanhl.c: Likewise.
8936 * math/w_exp2.c: Likewise.
8937 * math/w_exp2f.c: Likewise.
8938 * math/w_exp2l.c: Likewise.
8939 * math/w_j0.c: Likewise.
8940 * math/w_j0f.c: Likewise.
8941 * math/w_j0l.c: Likewise.
8942 * math/w_j1.c: Likewise.
8943 * math/w_j1f.c: Likewise.
8944 * math/w_j1l.c: Likewise.
8945 * math/w_jn.c: Likewise.
8946 * math/w_jnf.c: Likewise.
8947 * math/w_log.c: Likewise.
8948 * math/w_log10.c: Likewise.
8949 * math/w_log10f.c: Likewise.
8950 * math/w_log10l.c: Likewise.
8951 * math/w_log2.c: Likewise.
8952 * math/w_log2f.c: Likewise.
8953 * math/w_log2l.c: Likewise.
8954 * math/w_logf.c: Likewise.
8955 * math/w_logl.c: Likewise.
8956 * math/w_sqrt.c: Likewise.
8957 * math/w_sqrtf.c: Likewise.
8958 * math/w_sqrtl.c: Likewise.
8959 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8960 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8961 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8962 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8963 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8964
ebaf36eb
JM
89652012-02-19 Joseph Myers <joseph@codesourcery.com>
8966
8967 [BZ #9739]
8968 * manual/string.texi (strnlen): Use correct parameter name in
8969 equivalent expression.
8970
71c254a6
JM
89712012-02-19 Joseph Myers <joseph@codesourcery.com>
8972
8973 [BZ #11174]
8974 * manual/users.texi (seteuid): Consistently use neweuid for
8975 argument name.
8976
16d2c631
JM
89772012-02-19 Joseph Myers <joseph@codesourcery.com>
8978
8979 [BZ #13704]
8980 * manual/nss.texi (Services in the NSS configuration): Correct
8981 list of services in example configuration file.
8982
cd837b09
NB
89832012-02-19 Nick Bowler <nbowler@draconx.ca>
8984
8985 [BZ #11322]
8986 * manual/arith.texi: Remove statements about negative zero
8987 behaving identically to zero.
8988
02c4bbad
JM
89892012-02-18 Joseph Myers <joseph@codesourcery.com>
8990
8991 [BZ #5993]
8992 * manual/install.texi: Do not document upgrading from libc5.
8993
366842e7
JM
89942012-02-18 Joseph Myers <joseph@codesourcery.com>
8995
8996 [BZ #4596]
8997 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8998
dd54084d
DM
89992012-02-18 David S. Miller <davem@davemloft.net>
9000
9001 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9002 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9003 %o7 across the call.
9004 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9005 instead.
9006 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9007 SETUP_PIC_REG_LEAF.
9008 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9009 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9010 * sysdeps/sparc/crtn.S: Likewise.
9011
2bcc53a3
UD
90122012-02-17 Ulrich Drepper <drepper@gmail.com>
9013
9014 * aout/Makefile: Remove.
9015
09c093b5
RK
90162012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
9017
9018 [BZ #13058]
9019 * manual/examples/argp-ex1.c (main): Format definition in GNU
9020 style.
9021 * manual/examples/argp-ex2.c (main): Likewise.
9022 * manual/examples/argp-ex3.c (main): Likewise.
9023 * manual/examples/argp-ex4.c (main): Likewise.
9024 * manual/examples/longopt.c (main): Use new-style prototype
9025 definition.
9026 * manual/examples/strncat.c (main): Specify return type and use
9027 (void) for arguments.
9028 * manual/examples/subopt.c (main): Use char **argv argument.
9029
2ee633a2
JM
90302012-02-17 Joseph Myers <joseph@codesourcery.com>
9031
9032 [BZ #5077]
9033 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9034 rounding modes.
9035
0520adde
FB
90362012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
9037
9038 [BZ #6907]
9039 * manual/string.texi (strchr): Change when strchrnul is
9040 recommended.
9041
3f4081cd
DGM
90422012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
9043
9044 [BZ #174]
9045 * manual/locale.texi (setlocale): Document LOCPATH.
9046
d1b10e78
JM
90472012-02-17 Joseph Myers <joseph@codesourcery.com>
9048
9049 [BZ #10210]
9050 * manual/process.texi (execle): Move @dots{} before last argument.
9051
79c6869c
PB
90522012-02-17 Paul Bolle <pebolle@tiscali.nl>
9053
9054 [BZ #12047]
9055 * manual/charset.texi (Generic Charset Conversion): Fix typo
9056 (LC_TYPE -> LC_CTYPE).
9057
cc6e48bc
NB
90582012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
9059
9060 [BZ #5805]
9061 * manual/arith.texi (scalbn): Use @var{} on parameter names.
9062 (scalbnf): Likewise.
9063 (scalbnl): Likewise.
9064 (scalbln): Likewise.
9065 (scalblnf): Likewise.
9066 (scalblnl): Likewise.
9067 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9068 (vwarnx): Likewise.
9069 (verr): Likewise.
9070 (verrx): Likewise.
9071 * manual/filesys.texi (telldir): Use braces around return type.
9072 * manual/llio.texi (mmap): Add space after comma.
9073 (mmap64): Likewise.
9074 * manual/math.texi (jn): Use @var{} on parameter names.
9075 (jnf): Likewise.
9076 (jnl): Likewise.
9077 (yn): Likewise.
9078 (ynf): Likewise.
9079 (ynl): Likewise.
9080 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9081 line.
9082 * manual/resource.texi (ulimit): Use @dots{} instead of literal
9083 "...".
9084 (sched_get_priority_min): Remove semicolon on @deftypefun line.
9085 (sched_get_priority_max): Likewise.
9086 * manual/signal.texi (sigvec): Add space after comma.
9087 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9088 names.
9089 (if_indextoname): Likewise.
9090 (if_freenameindex): Likewise.
9091 (sendto): Use ',' instead of '.' in prototype.
9092 * manual/startup.texi (syscall): Use @dots{} instead of literal
9093 "...".
9094 * manual/stdio.texi (__fpending): Separate initial words of
9095 paragraph from @deftypefun line.
9096 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9097 "...".
9098 (vsyslog): Use @var{} on parameter names.
9099 * manual/terminal.texi (stty): Use @var{} on parameter names.
9100 * manual/users.texi (getutmp): Use @var{} on parameter names.
9101 (getutmpx): Likewise.
9102
5b23062f
JM
91032012-02-17 Joseph Myers <joseph@codesourcery.com>
9104
9105 [BZ #6884]
9106 * manual/stdio.texi (fopen): Fix typos in description of
9107 ",ccs=STRING".
9108
8dee4833
AJ
91092012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9110
9111 [BZ #4026]
9112 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9113 get clock_id definition.
9114
9078ce93
TS
91152012-02-17 Thomas Schwinge <thomas@schwinge.name>
9116
9117 [BZ #4822]
9118 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9119 (madvise): Cast every argument to void on its own.
9120
3835c55f
JM
91212012-02-17 Joseph Myers <joseph@codesourcery.com>
9122
9123 [BZ #9902]
9124 * manual/startup.texi (Exit Status): Fix typo.
9125
35c47e37
JM
91262012-02-17 Joseph Myers <joseph@codesourcery.com>
9127
9128 [BZ #10140]
9129 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9130 * manual/examples/argp-ex2.c: Likewise.
9131 * manual/examples/argp-ex3.c: Likewise.
9132
e3b69ca7
RH
91332012-02-16 Richard Henderson <rth@redhat.com>
9134
9135 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9136 * sysdeps/s390/s390-32/initfini.c: Remove.
9137 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9138 * sysdeps/s390/s390-64/initfini.c: Remove.
9139
df83af67
KK
91402012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9141
9142 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9143 compiler output for sysdeps/generic/initfini.c.
9144 * sysdeps/sh/elf/initfini.c: Remove file.
9145
f63f3380
DM
91462012-02-16 David S. Miller <davem@davemloft.net>
9147
fb59b3a4
DM
9148 [BZ #11494]
9149 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9150
f63f3380
DM
9151 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9152 * sysdeps/sparc/crti.S: New file.
9153 * sysdeps/sparc/crtn.S: New file.
9154 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9155 * sysdeps/sparc/sparc64/Makefile: Likewise.
9156
df6a4a4a
MF
91572012-02-15 Mike Frysinger <vapier@gentoo.org>
9158
6dd8f3dc 9159 [BZ #3335]
df6a4a4a
MF
9160 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9161
1cac7236
RM
91622012-02-15 Roland McGrath <roland@hack.frob.com>
9163
d2c736f8
RM
9164 [BZ #4822]
9165 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9166
1cac7236
RM
9167 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9168 (write, read, close): Likewise.
9169 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9170
8e475601
JM
91712012-02-15 Joseph Myers <joseph@codesourcery.com>
9172
9173 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9174 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9175 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9176 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9177 <bits/signalfd.h>.
9178 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9179 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9180 bits/signalfd.h.
9181
ed656b40
MP
91822012-02-14 Marek Polacek <polacek@redhat.com>
9183
9184 * sysdeps/x86_64/crti.S: New file.
9185 * sysdeps/x86_64/crtn.S: New file.
9186 * sysdeps/x86_64/elf/initfini.c: Remove file.
9187
2a979d3a
JM
91882012-02-13 Joseph Myers <joseph@codesourcery.com>
9189
9190 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9191 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9192 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9193 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9194 <bits/inotify.h>.
9195 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9196 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9197 bits/inotify.h.
9198
2a418ac3
JM
91992012-02-13 Joseph Myers <joseph@codesourcery.com>
9200
9201 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9202 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9203 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9204 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9205 <bits/eventfd.h>.
9206 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9207 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9208 bits/eventfd.h.
9209
fb779be7
TS
92102012-02-10 Thomas Schwinge <thomas@codesourcery.com>
9211
e19e83c5
RM
9212 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9213 __feraiseexcept instead of feraiseexcept.
7c35ffed 9214
fb779be7
TS
9215 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9216 nanosleep invocations.
9217 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9218 strings, and add error checking for a nanosleep invocations.
9219
59ba27a6
PE
92202012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9221
9222 Replace FSF snail mail address with URLs, as per GNU coding standards.
9223 Most of the snail mail addresses were wrong anyway, and omitting
9224 them makes the source code easier to maintain. Almost all of the
9225 changes are to license notices and to locale LC_IDENTIFICATION
9226 addresses, except for this one:
9227 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9228 not its snail mail address.
9229
57b957eb
RH
92302012-02-09 Richard Henderson <rth@twiddle.net>
9231
af850b1c
RH
9232 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9233 of kernel-features.h.
9234
57b957eb
RH
9235 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9236
6b73181a
MP
92372012-02-08 Marek Polacek <polacek@redhat.com>
9238
9239 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9240 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9241 * sysdeps/gnu/_G_config.h: Likewise.
9242 * sysdeps/generic/_G_config.h: Likewise.
9243
26ecc33a
AS
92442012-02-08 Andreas Schwab <schwab@linux-m68k.org>
9245
6c6dbc63
AS
9246 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9247 tests.
9248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9249
e216c012
AS
9250 * sysdeps/powerpc/powerpc32/crti.S: New file.
9251 * sysdeps/powerpc/powerpc32/crtn.S: New file.
9252 * sysdeps/powerpc/powerpc64/crti.S: New file.
9253 * sysdeps/powerpc/powerpc64/crtn.S: New file.
9254
26ecc33a
AS
9255 * Makeconfig (have-initfini): Don't set.
9256 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9257 * configure.in (nopic_initfini): Don't substitute.
9258 * config.h.in (HAVE_INITFINI): Don't #undef.
9259 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9260 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9261
3add8e13
JM
92622012-02-08 Joseph Myers <joseph@codesourcery.com>
9263
9264 Support crti.S and crtn.S provided directly by architectures.
9265 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9266 [crti.S in sysdirs] (omit-deps): Likewise.
9267 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9268 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9269 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9270 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9271 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9272 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9273 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9274 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9275 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9276 compiler output for sysdeps/generic/initfini.c.
9277 * sysdeps/i386/elf/Makefile: Remove file.
9278 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9279
a22f12b4
MP
92802012-02-07 Marek Polacek <polacek@redhat.com>
9281
9282 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9283 * sysdeps/gnu/_G_config.h: Likewise.
9284 * sysdeps/mach/hurd/_G_config.h: Likewise.
9285
148cf100
MP
92862012-02-07 Marek Polacek <polacek@redhat.com>
9287
9288 * math/Makefile (tests): Add tst-CMPLX2.
9289 * math/tst-CMPLX2.c: New file.
9290
cfdc0dd7
AS
92912012-02-07 Andreas Schwab <schwab@linux-m68k.org>
9292
84ba42c4
AS
9293 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9294
cfdc0dd7
AS
9295 * math/libm-test.inc (jn_test): Add missing L suffix.
9296
622c86f4
MP
92972012-02-06 Marek Polacek <polacek@redhat.com>
9298
9299 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9300 * sysdeps/i386/fpu/e_powf.S: Likewise.
9301 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9302 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9303 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9304 * sysdeps/i386/fpu/e_pow.S: Likewise.
9305 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9306 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9307 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9308 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9309 * sysdeps/i386/fpu/e_log2.S: Likewise.
9310 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9311 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9312 * sysdeps/i386/fpu/e_powl.S: Likewise.
9313 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9314 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9315 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9316 * sysdeps/i386/fpu/e_logl.S: Likewise.
9317 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9318 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9319 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9320 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9321 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9322 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9323 * sysdeps/i386/fpu/e_log.S: Likewise.
9324 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9325 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9326 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9327 * sysdeps/i386/fpu/e_logf.S: Likewise.
9328 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9329 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9330 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9331 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9332 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9333 * sysdeps/i386/fpu/e_log10.S: Likewise.
9334 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9335 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9336 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9337 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9338 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9339 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9340 * sysdeps/i386/asm-syntax.h: Likewise.
9341 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9342 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9343 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9344 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9345 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9346 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9347 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9348 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9349 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9350 * sysdeps/powerpc/sysdep.h: Likewise.
9351 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9352 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9353
d4a54ac6
JM
93542012-02-06 Joseph Myers <joseph@codesourcery.com>
9355
9356 [BZ #411]
9357 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9358
314054ea
JM
93592012-02-06 Joseph Myers <joseph@codesourcery.com>
9360
9361 * sysdeps/i386/sysdep.h: Include <features.h>.
9362 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9363 version.
9364
d8e0ca50
JM
93652012-02-05 Joseph Myers <joseph@codesourcery.com>
9366
9367 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9368 Define.
9369 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9370 LOAD_PIC_REG_STR.
9371
b1da7dd9
JM
93722012-02-03 Joseph Myers <joseph@codesourcery.com>
9373
9374 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9375 (SETUP_PIC_REG): Use GET_PC_THUNK.
9376 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9377 macro.
9378
9a1d9254
JM
93792012-02-03 Joseph Myers <joseph@codesourcery.com>
9380
9381 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9382 for non-PIC compilation.
9383 (SETUP_PIC_REG): Add .p2align directive.
9384 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9385 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9386 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9387 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9388 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9389 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9390 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9391 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9392 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9393 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9394 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9395 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9396 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9397 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9398 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9399 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9400 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9401 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9402 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9403 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9404 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9405 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9406 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9407 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9408 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9409 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9410 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9411 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9412 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9413 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9414 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9415 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9416 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9417 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9418 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9419 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9420 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9421 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9422 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9423 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9424 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9425
65dc3b75
JM
94262012-02-03 Joseph Myers <joseph@codesourcery.com>
9427
9428 * math/tst-CMPLX.c: Include <stdio.h>.
9429
d55bf177
JM
94302012-01-31 Joseph Myers <joseph@codesourcery.com>
9431
9432 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9433 float.
9434 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9435 * sysdeps/sparc/bits/mathdef.h: Likewise.
9436
69db4f8f
MP
94372012-01-31 Marek Polacek <polacek@redhat.com>
9438
9439 * libio/libio.h: Don't define _PARAMS.
9440 * locale/programs/config.h: Don't define PARAMS.
9441 * stdlib/strtol_l.c: Likewise.
9442 (__strtol_l): Remove PARAMS from the prototype.
9443
41b81892
UD
94442012-01-31 Ulrich Drepper <drepper@gmail.com>
9445
3b49edc0
UD
9446 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
9447 names. Just use the correct names. Remove unnecessary wrapper
9448 functions.
9449 * malloc/arena.c: Likewise.
9450 * malloc/hooks.c: Likewise.
9451
41b81892
UD
9452 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9453 ARENA_TEST says not to. Simplify test for creation of a new arena.
9454 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9455
27a25b6e
UD
94562012-01-30 Ulrich Drepper <drepper@gmail.com>
9457
9458 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9459 into tail calls.
9460 (update_get_addr): New function.
9461 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9462 GET_ADDR_MODULE parameter.
9463
c8a89e7d
JM
94642012-01-30 Joseph Myers <joseph@codesourcery.com>
9465
9466 * crypt/cert.c: Remove __STDC__ conditionals.
9467 * crypt/crypt-entry.c: Likewise.
9468 * crypt/crypt_util.c: Likewise.
9469 * libio/filedoalloc.c: Likewise.
9470 * libio/fileops.c: Likewise.
9471 * libio/genops.c: Likewise.
9472 * libio/iofclose.c: Likewise.
9473 * libio/iofdopen.c: Likewise.
9474 * libio/iofopen.c: Likewise.
9475 * libio/iofopen64.c: Likewise.
9476 * libio/iogetdelim.c: Likewise.
9477 * libio/iopopen.c: Likewise.
9478 * libio/obprintf.c: Likewise.
9479 * libio/oldfileops.c: Likewise.
9480 * libio/oldiofclose.c: Likewise.
9481 * libio/oldiofdopen.c: Likewise.
9482 * libio/oldiofopen.c: Likewise.
9483 * libio/oldiopopen.c: Likewise.
9484 * libio/wfiledoalloc.c: Likewise.
9485 * libio/wgenops.c: Likewise.
9486 * locale/programs/xmalloc.c: Likewise.
9487 * misc/syslog.c: Likewise.
9488 * stdio-common/xbug.c: Likewise.
9489 * string/memchr.c: Likewise.
9490 * string/memcmp.c: Likewise.
9491 * string/memrchr.c: Likewise.
9492 * string/rawmemchr.c: Likewise.
9493 * sysdeps/posix/getcwd.c: Likewise.
9494 * time/strftime_l.c: Likewise.
9495
3b100462
JM
94962012-01-30 Joseph Myers <joseph@codesourcery.com>
9497
9498 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
9499 * config.make.in (config-cflags-sse2avx): Define.
9500 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9501 Fix typo.
9502
607998af
CM
95032012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9504
9505 * scripts/config.guess: Update from upstream config git repository.
9506 * scripts/config.sub: Likewise.
9507
3601428f
CM
95082012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9509
3ac8b282
CM
9510 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9511 (EM_NUM): Update.
9512 (R_TILEPRO_*, R_TILEGX_*): New macros.
9513
e034841e
CM
9514 * scripts/firstversions.awk: Fix bug in version range handling.
9515
540d7568
CM
9516 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9517
3601428f
CM
9518 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9519
463de862
CM
9520 * include/sys/epoll.h: New file.
9521 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9522 libc_hidden_def.
9523
73139a76
UD
95242012-01-28 Ulrich Drepper <drepper@gmail.com>
9525
96bc5b45
UD
9526 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9527 Avoid unnecessary __WORDSIZE == 64 test.
9528 (fmaxf): Use VEX format if possible.
9529 (fmax): Likewise.
9530 (fminf): Likewise.
9531 (fmin): Likewise.
9532
56f6f6a2
UD
9533 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9534 * math/math_private.h: Remove libc_fegetround* and
9535 libc_fesetround*.
9536 * sysdeps/i386/configure.in: Check for -msse2avx.
9537 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9538 also if SSE2AVX is defined.
9539 Remove libc_fegetround* and libc_fesetround*.
9540 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9541 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9542 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9543 of HAS_YMM_USABLE.
9544 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9545 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9546 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9547 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9548 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9549
73139a76
UD
9550 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9551
d73f93a4
AZ
95522012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9553
9554 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9555 size is not set.
9556 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9557
6ee65ed6
UD
95582012-01-27 Ulrich Drepper <drepper@gmail.com>
9559
9560 [BZ #13618]
9561 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9562 relocation.
9563 * Makeconfig (libm): Define.
9564 * elf/Makefile: Add rules to build and run tst-relsort1.
9565 * elf/tst-relsort1.c: New file.
9566 * elf/tst-relsort1mod1.c: New file.
9567 * elf/tst-relsort1mod2.c: New file.
9568
8db21882
JM
95692012-01-27 Joseph Myers <joseph@codesourcery.com>
9570
9571 * math/s_ldexp.c: Remove __STDC__ conditionals.
9572 * math/s_ldexpf.c: Likewise.
9573 * math/s_ldexpl.c: Likewise.
9574 * math/s_nextafter.c: Likewise.
9575 * math/s_nexttowardf.c: Likewise.
9576 * math/s_significand.c: Likewise.
9577 * math/s_significandf.c: Likewise.
9578 * math/s_significandl.c: Likewise.
9579 * math/w_jnl.c: Likewise.
9580 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9581 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9582 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9583 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9584 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9585 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9586 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9587 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9588 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9589 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9590 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9591 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9592 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9593 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9594 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9595 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9596 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9597 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9598 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9599 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9600 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9601 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9602 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9603 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9604 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9605 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9606 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9607 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9608 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9609 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9610 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9611 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9612 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9613 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9614 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9615 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9616 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9617 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9618 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9619 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9620 * sysdeps/ieee754/k_standard.c: Likewise.
9621 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9622 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9623 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9624 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9625 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9626 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9627 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9628 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9629 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9630 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9631 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9632 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9633 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9634 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9635 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9636 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9637 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9638 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9639 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9640 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9641 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9642 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9643 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9644 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9645 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9646 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9647 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9648 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9649 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9650 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9651 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9652 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9653 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9654 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9655 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9656 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9657 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9658 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9659 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9660 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9661 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9662 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9663 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9664 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9665 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9666 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9667 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9668 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9669 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9670 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9671 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9672 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9673 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9674 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9675 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9676 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9677 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9678 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9679 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9680 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9681 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9682 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9683 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9684 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9685 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9686 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9687 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9688 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9689 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9690 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9691 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9692 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9693 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9694 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9695 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9696 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9697 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9698 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9699 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9700 * sysdeps/ieee754/s_matherr.c: Likewise.
9701 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9702 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9703 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9704 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9705
965a54a4
JM
97062012-01-26 Joseph Myers <joseph@codesourcery.com>
9707
9708 * crypt/md5.h: Remove __STDC__ conditionals.
9709 * libio/libioP.h: Likewise.
9710 * locale/programs/config.h: Likewise.
9711 * sysdeps/generic/sysdep.h: Likewise.
9712 * sysdeps/i386/asm-syntax.h: Likewise.
9713 * sysdeps/s390/asm-syntax.h: Likewise.
9714 * sysdeps/unix/sysdep.h: Likewise.
9715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9717
7071ad79
JM
97182012-01-26 Joseph Myers <joseph@codesourcery.com>
9719
9720 * libio/libio.h: Remove __STDC__ conditionals.
9721 * malloc/obstack.h: Likewise.
9722 * math/complex.h: Likewise.
9723 * math/math.h: Likewise.
9724 * sysdeps/generic/_G_config.h: Likewise.
9725 * sysdeps/gnu/_G_config.h: Likewise.
9726 * sysdeps/mach/hurd/_G_config.h: Likewise.
9727 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9728 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9729 * sysdeps/sparc/bits/mathdef.h: Likewise.
9730
afc5ed09
UD
97312012-01-26 Ulrich Drepper <drepper@gmail.com>
9732
9733 [BZ #13583]
9734 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 9735 Clean up HAS_* macros.
afc5ed09 9736 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
9737 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9738 possible.
9739 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9740 HAS_AVX.
9741 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9742 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9743 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9744 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9745 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 9746
bdb6de1d
JM
97472012-01-25 Joseph Myers <joseph@codesourcery.com>
9748
9749 * elf/tst-unique3.cc (gets): Remove declaration.
9750 * elf/tst-unique3lib.cc (gets): Likewise.
9751 * elf/tst-unique3lib2.cc (gets): Likewise.
9752 * elf/tst-unique4.cc (gets): Likewise.
9753
b15549e6
UD
97542012-01-24 Ulrich Drepper <drepper@gmail.com>
9755
9756 * include/stdio.h: Add C++ protection. Add gets declarations and
9757 definitions.
9758 * debug/tst-chk1.c: Don't declare gets here.
9759 * stdio-common/tst-gets.c: Likewise.
9760
a037381f
JM
97612012-01-24 Joseph Myers <joseph@codesourcery.com>
9762
9763 * posix/glob: Remove directory.
9764
f1d4aa75
JM
97652012-01-24 Joseph Myers <joseph@codesourcery.com>
9766
9767 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9768
81c0c964
PT
97692012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9770
9771 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9772 of the non-standard EPFNOSUPPORT.
9773
0ea698ae
ST
97742011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9775
9776 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9777 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9778 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9779
d220b117
UD
97802012-01-21 Ulrich Drepper <drepper@gmail.com>
9781
9782 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9783
3e1aa84e
UD
97842012-01-20 Ulrich Drepper <drepper@gmail.com>
9785
9786 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9787 transient errors.
9788 * nscd/grpcache.c (cache_addgr): Likewise.
9789 * nscd/hstcache.c (cache_addhst): Likewise.
9790 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9791 * nscd/pwdcache.c (cache_addpw): Likewise.
9792 * nscd/servicescache.c (cache_addserv): Likewise.
9793
400aa020
UD
97942012-01-16 Ulrich Drepper <drepper@gmail.com>
9795
d77e7869
UD
9796 * malloc/malloc.c: Various cleanups.
9797 * malloc/hooks.c: Likewise.
9798
400aa020
UD
9799 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9800 * stdlib/bug-fmtmsg1.c: New file.
9801
9802 * stdlib/fmtmsg.c (init): Add missing unlock.
9803 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9804
e0a309cf
MP
98052012-01-12 Marek Polacek <polacek@redhat.com>
9806
9807 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9808 and _GNU_SOURCE.
9809
929d11c7
WS
98102012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9811
9812 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9813 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9814 macro to ensure uniqueness of label name.
9815 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9816 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9817
41d0e869
UD
98182012-01-11 Ulrich Drepper <drepper@gmail.com>
9819
0cc5ed3b
UD
9820 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9821
41d0e869
UD
9822 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9823 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9824 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9825 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9826
a47a831a
UD
98272012-01-10 Ulrich Drepper <drepper@gmail.com>
9828
daa891c0
UD
9829 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9830
9831 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9832 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9833 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9834
e58ef0f2
UD
9835 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9836
a47a831a 9837 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9838 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9839 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9840 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9841
9842 * math/bits/math-finite.h: Add ldexp support.
9843
a0bfc9c7
MP
98442012-01-10 Marek Polacek <polacek@redhat.com>
9845
9846 * locale/programs/localedef.h (show_archive_content): Add noreturn
9847 attribute.
9848
d6e97a1d
UD
98492012-01-09 Ulrich Drepper <drepper@gmail.com>
9850
9851 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9852
d5835c26
UD
98532012-01-08 Ulrich Drepper <drepper@gmail.com>
9854
e5f484c6
UD
9855 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9856
d5835c26
UD
9857 * io/Makefile (headers): Add bits/poll2.h.
9858
d1f741e9
WS
98592011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9860
9861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9862 typo #include statement.
9863
ec09c1c4
UD
98642012-01-08 Ulrich Drepper <drepper@gmail.com>
9865
9866 * include/sys/cdefs.h: Define __attribute_alloc_size.
9867 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9868 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9869 * elf/pldd.c: Likewise.
9870 * iconv/iconv_charmap.c: Likewise.
9871 * iconv/iconvconfig.c: Likewise.
9872 * iconv/strtab.c: Likewise.
9873 * locale/programs/locale.c: Likewise.
9874 * locale/programs/localedef.h: Likewise.
9875 * locale/programs/simple-hash.c: Likewise.
9876 * nscd/nscd.h: Likewise.
9877 * nss/makedb.c: Likewise.
9878 * sysdeps/generic/ldconfig.h: Likewise.
9879 * locale/programs/localedef.c: Remove xmalloc prototype.
9880 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9881
20b38e03
PP
98822012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9883
9884 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9885 appropriate.
9886
a0da5fe1
UD
98872012-01-08 Ulrich Drepper <drepper@gmail.com>
9888
1d5a644a 9889 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9890 * math/tst-CMPLX.c: New file.
1d5a644a 9891
8784a6db
UD
9892 * math/complex.h (CMPLXL): Fix typo.
9893
d9a216c0
UD
9894 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9895 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9896 GLIBC_2.16.
9897 * debug/tst-chk1.c: Add poll and ppoll tests.
9898 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9899 * include/sys/poll.h: Add hidden proto for ppoll.
9900 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9901 * sysdeps/mach/hurd/ppoll.c: Likewise.
9902 * io/ppoll.c: Likewise.
9903 * debug/poll_chk.c: New file.
9904 * debug/ppoll_chk.c: New file.
9905 * include/bits/poll2.h: New file.
9906 * io/bits/poll2.h: New file.
9907
ac097f5c
UD
9908 [BZ #1350]
9909 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9910
2119dcfa
UD
9911 * configure.in: static is always set to yes. Remove.
9912 * config.make.in: Don't set build-static.
9913 * Makeconfig: Remove use of build-static.
9914 * dlfcn/Makefile: Likewise.
9915 * elf/Makefile: Likewise.
9916 * math/Makefile: Likewise.
9917 * misc/Makefile: Likewise.
9918 * nptl/Makefile: Likewise.
9919 * sysdeps/mach/hurd/Makefile: Likewise.
9920
121766a9
UD
9921 * configure.in: PWD_P is not used anymore.
9922 * config.make.in: Remove PWD_P entry.
9923
51a1d39c 9924 * configure.in: Remove last remnants of RANLIB.
8720d066 9925 No need to check for signed size_t anymore.
215f4bdc
UD
9926 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9927 and IA-64.
3857022a 9928 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9929 * aclocal.m4: Likewise.
9930
d3ed7225
UD
9931 * wcsmbs/mbrtoc16.c: Implement using towc function.
9932 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9933 * wcsmbs/wcsmbsload.c: Likewise.
9934 * iconv/gconv_simple.c: Likewise.
9935 * iconv/gconv_int.h: Likewise.
9936 * iconv/gconv_builtin.h: Likewise.
9937 * iconv/iconv_prog.c: Remove CHAR16 handling.
9938
9939 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9940
9941 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9942
a0da5fe1
UD
9943 * configure.in: Remove --with-elf and --enable-bounded options.
9944 Dont set base_machine for ia64. More non-ELF conditions removed.
9945 Remove testing and setting of leading underscore information.
9946 * config.make.in (build-bounded): Set to no.
9947 * config.h.in: Remove NO_UNDERSCORES entry.
9948 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9949 them.
9950 * csu/start.c: Remove !NO_UNDERSCORE code.
9951 * locale/localeinfo.h: Likewise.
9952 * sysdeps/generic/machine-gmon.h: Likewise.
9953 * sysdeps/generic/sysdep.h: Likewise.
9954 * sysdeps/i386/sysdep.h: Likewise.
9955 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9956 * sysdeps/mach/sysdep.h: Likewise.
9957 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9958 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9959 * sysdeps/sh/sysdep.h: Likewise.
9960 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9961 * sysdeps/unix/i386/sysdep.S: Likewise.
9962 * sysdeps/unix/sparc/start.c: Likewise.
9963 * sysdeps/unix/sparc/sysdep.S: Likewise.
9964 * sysdeps/unix/sparc/sysdep.h: Likewise.
9965 * sysdeps/unix/start.c: Likewise.
9966 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9967 * sysdeps/x86_64/sysdep.h: Likewise.
9968
df78418a
UD
99692012-01-07 Ulrich Drepper <drepper@gmail.com>
9970
a784e502
UD
9971 [BZ #13553]
9972 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9973 for non-gcc.
9974 * argp/argp-fmtstream.h: Use const instead __const.
9975 * argp/argp.h: Likewise.
9976 * assert/assert.h: Likewise.
9977 * bits/fenv.h: Likewise.
9978 * bits/sched.h: Likewise.
9979 * bits/sigset.h: Likewise.
9980 * bits/sigthread.h: Likewise.
9981 * catgets/nl_types.h: Likewise.
9982 * conform/data/pthread.h-data: Likewise.
9983 * crypt/crypt-private.h: Likewise.
9984 * crypt/crypt.h: Likewise.
9985 * crypt/crypt_util.c: Likewise.
9986 * ctype/ctype.h: Likewise.
9987 * debug/execinfo.h: Likewise.
9988 * debug/mbsnrtowcs_chk.c: Likewise.
9989 * debug/mbsrtowcs_chk.c: Likewise.
9990 * debug/wcsnrtombs_chk.c: Likewise.
9991 * debug/wcsrtombs_chk.c: Likewise.
9992 * debug/wcstombs_chk.c: Likewise.
9993 * dirent/dirent.h: Likewise.
9994 * dlfcn/dlfcn.h: Likewise.
9995 * elf/neededtest4.c: Likewise.
9996 * grp/grp.h: Likewise.
9997 * gshadow/gshadow.h: Likewise.
9998 * iconv/gconv.h: Likewise.
9999 * iconv/gconv_int.h: Likewise.
10000 * iconv/gconv_simple.c: Likewise.
10001 * iconv/iconv.h: Likewise.
10002 * iconv/loop.c: Likewise.
10003 * iconv/skeleton.c: Likewise.
10004 * include/aio.h: Likewise.
10005 * include/aliases.h: Likewise.
10006 * include/argz.h: Likewise.
10007 * include/arpa/inet.h: Likewise.
10008 * include/assert.h: Likewise.
10009 * include/dirent.h: Likewise.
10010 * include/dlfcn.h: Likewise.
10011 * include/execinfo.h: Likewise.
10012 * include/fcntl.h: Likewise.
10013 * include/fenv.h: Likewise.
10014 * include/glob.h: Likewise.
10015 * include/grp.h: Likewise.
10016 * include/libintl.h: Likewise.
10017 * include/mntent.h: Likewise.
10018 * include/netdb.h: Likewise.
10019 * include/pwd.h: Likewise.
10020 * include/rpc/netdb.h: Likewise.
10021 * include/sched.h: Likewise.
10022 * include/search.h: Likewise.
10023 * include/shadow.h: Likewise.
10024 * include/signal.h: Likewise.
10025 * include/stdio.h: Likewise.
10026 * include/stdlib.h: Likewise.
10027 * include/string.h: Likewise.
10028 * include/sys/socket.h: Likewise.
10029 * include/sys/stat.h: Likewise.
10030 * include/sys/statfs.h: Likewise.
10031 * include/sys/statvfs.h: Likewise.
10032 * include/sys/syslog.h: Likewise.
10033 * include/sys/time.h: Likewise.
10034 * include/sys/uio.h: Likewise.
10035 * include/time.h: Likewise.
10036 * include/unistd.h: Likewise.
10037 * include/utmp.h: Likewise.
10038 * include/wchar.h: Likewise.
10039 * include/wctype.h: Likewise.
10040 * inet/aliases.h: Likewise.
10041 * inet/arpa/inet.h: Likewise.
10042 * inet/netinet/ether.h: Likewise.
10043 * inet/netinet/in.h: Likewise.
10044 * intl/libintl.h: Likewise.
10045 * io/bits/fcntl2.h: Likewise.
10046 * io/fcntl.h: Likewise.
10047 * io/ftw.h: Likewise.
10048 * io/sys/poll.h: Likewise.
10049 * io/sys/stat.h: Likewise.
10050 * io/sys/statfs.h: Likewise.
10051 * io/sys/statvfs.h: Likewise.
10052 * io/utime.h: Likewise.
10053 * libio/bits/stdio.h: Likewise.
10054 * libio/bits/stdio2.h: Likewise.
10055 * libio/libio.h: Likewise.
10056 * libio/libioP.h: Likewise.
10057 * libio/stdio.h: Likewise.
10058 * locale/lc-ctype.c: Likewise.
10059 * locale/locale.h: Likewise.
10060 * login/utmp.h: Likewise.
10061 * malloc/arena.c: Likewise.
10062 * malloc/malloc.c: Likewise.
10063 * malloc/malloc.h: Likewise.
10064 * malloc/mcheck.c: Likewise.
10065 * malloc/mtrace.c: Likewise.
10066 * math/bits/mathcalls.h: Likewise.
10067 * math/fenv.h: Likewise.
10068 * math/math_private.h: Likewise.
10069 * misc/bits/error.h: Likewise.
10070 * misc/bits/syslog.h: Likewise.
10071 * misc/err.h: Likewise.
10072 * misc/error.h: Likewise.
10073 * misc/fstab.h: Likewise.
10074 * misc/mntent.h: Likewise.
10075 * misc/regexp.h: Likewise.
10076 * misc/search.h: Likewise.
10077 * misc/sgtty.h: Likewise.
10078 * misc/sys/mman.h: Likewise.
10079 * misc/sys/syslog.h: Likewise.
10080 * misc/sys/uio.h: Likewise.
10081 * misc/sys/xattr.h: Likewise.
10082 * misc/ttyent.h: Likewise.
10083 * nis/rpcsvc/ypclnt.h: Likewise.
10084 * nss/nss.h: Likewise.
10085 * posix/bits/unistd.h: Likewise.
10086 * posix/fnmatch.h: Likewise.
10087 * posix/glob.h: Likewise.
10088 * posix/sched.h: Likewise.
10089 * posix/spawn.h: Likewise.
10090 * posix/sys/wait.h: Likewise.
10091 * posix/unistd.h: Likewise.
10092 * posix/wordexp.h: Likewise.
10093 * pwd/pwd.h: Likewise.
10094 * resolv/netdb.h: Likewise.
10095 * resource/sys/resource.h: Likewise.
10096 * rt/aio.h: Likewise.
10097 * rt/bits/mqueue2.h: Likewise.
10098 * rt/mqueue.h: Likewise.
10099 * shadow/shadow.h: Likewise.
10100 * signal/signal.h: Likewise.
10101 * socket/send.c: Likewise.
10102 * socket/sendto.c: Likewise.
10103 * socket/sys/socket.h: Likewise.
10104 * stdio-common/printf.h: Likewise.
10105 * stdlib/bits/stdlib.h: Likewise.
10106 * stdlib/fmtmsg.h: Likewise.
10107 * stdlib/monetary.h: Likewise.
10108 * stdlib/stdlib.h: Likewise.
10109 * stdlib/ucontext.h: Likewise.
10110 * streams/stropts.h: Likewise.
10111 * string/argz.h: Likewise.
10112 * string/bits/string2.h: Likewise.
10113 * string/string.h: Likewise.
10114 * string/strings.h: Likewise.
10115 * sunrpc/rpc/auth.h: Likewise.
10116 * sunrpc/rpc/auth_des.h: Likewise.
10117 * sunrpc/rpc/clnt.h: Likewise.
10118 * sunrpc/rpc/netdb.h: Likewise.
10119 * sunrpc/rpc/pmap_clnt.h: Likewise.
10120 * sunrpc/rpc/xdr.h: Likewise.
10121 * sysdeps/generic/inttypes.h: Likewise.
10122 * sysdeps/generic/net/if.h: Likewise.
10123 * sysdeps/generic/sys/swap.h: Likewise.
10124 * sysdeps/gnu/net/if.h: Likewise.
10125 * sysdeps/gnu/utmpx.h: Likewise.
10126 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10127 * sysdeps/i386/i486/bits/string.h: Likewise.
10128 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10129 * sysdeps/s390/bits/string.h: Likewise.
10130 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10131 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10132 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10133 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10134 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10135 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10136 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10137 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10138 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10139 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10140 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10141 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10142 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10143 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10144 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10145 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10146 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10147 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10148 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10149 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10150 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10151 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10152 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10153 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10154 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10155 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10156 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10157 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10158 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10159 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10160 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10161 * sysvipc/sys/ipc.h: Likewise.
10162 * sysvipc/sys/msg.h: Likewise.
10163 * sysvipc/sys/sem.h: Likewise.
10164 * sysvipc/sys/shm.h: Likewise.
10165 * termios/termios.h: Likewise.
10166 * time/sys/time.h: Likewise.
10167 * time/time.h: Likewise.
10168 * wcsmbs/bits/wchar2.h: Likewise.
10169 * wcsmbs/uchar.h: Likewise.
10170 * wcsmbs/wchar.h: Likewise.
10171 * wctype/wctype.h: Likewise.
10172
0269750c
UD
10173 [BZ #13551]
10174 * Makeconfig: Remove all but ELF support including AIX support.
10175 * Makerules: Likewise.
10176 * config.h.in: Likewise.
10177 * config.make.in: Likewise.
10178 * configure: Likewise.
10179 * configure.in: Likewise.
10180 * csu/Makefile: Likewise.
10181 * csu/version.c: Likewise.
10182 * debug/Makefile: Likewise.
10183 * dlfcn/Makefile: Likewise.
10184 * elf/Makefile: Likewise.
10185 * extra-lib.mk: Likewise.
10186 * iconv/Makefile: Likewise.
10187 * include/libc-symbols.h: Likewise.
10188 * include/shlib-compat.h: Likewise.
10189 * resolv/Makefile: Likewise.
10190 * resolv/res_libc.c: Likewise.
10191 * rt/Makefile: Likewise.
10192 * sysdeps/i386/asm-syntax.h: Likewise.
10193 * sysdeps/i386/sysdep.h: Likewise.
10194 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10195 * sysdeps/mach/sysdep.h: Likewise.
10196 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10197 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10198 * sysdeps/s390/asm-syntax.h: Likewise.
10199 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10200 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10201 * sysdeps/sh/sysdep.h: Likewise.
10202 * sysdeps/unix/sparc/sysdep.h: Likewise.
10203 * sysdeps/wordsize-32/divdi3.c: Likewise.
10204 * sysdeps/x86_64/sysdep.h: Likewise.
10205
00bbd29b
UD
10206 * argp/Versions: Remove _argp_unlock_xxx.
10207
10208 [BZ #13559]
10209 * abilist/ld.abilist: Update. Adjust for removal of tls option.
10210 * abilist/libBrokenLocale.abilist: Likewise.
10211 * abilist/libanl.abilist: Likewise.
10212 * abilist/libc.abilist: Likewise.
10213 * abilist/libcrypt.abilist: Likewise.
10214 * abilist/libdl.abilist: Likewise.
10215 * abilist/libm.abilist: Likewise.
10216 * abilist/libnsl.abilist: Likewise.
10217 * abilist/libpthread.abilist: Likewise.
10218 * abilist/libresolv.abilist: Likewise.
10219 * abilist/librt.abilist: Likewise.
10220 * abilist/libthread_db.abilist: Likewise.
10221 * abilist/libutil.abilist: Likewise.
10222 * abilist/libnss_db.abilist: New file.
10223
10224 * scripts/abilist.awk: Add support for indirect functions.
10225
a2693a0e
UD
10226 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10227
3f05895f
UD
10228 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10229
ecb6fb48
UD
10230 * shlib-versions: Remove entries for ports architectures.
10231
664f8cb9
UD
10232 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10233 files in ports.
10234 * elf/stackguard-macros.h: Remove support for IA-64.
10235 * elf/tst-auditmod1.c: Likewise.
10236 * sysdeps/generic/ldsodefs.h: Likewise.
10237
7ae81d88
UD
10238 * sysdeps/unix/sysv/linux/configure.in: Ports should define
10239 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10240 configure files.
10241
bdeba135
UD
10242 [BZ #13552]
10243 * configure.in: Remove --enable-omitfp support.
10244 * FAQ.in: Adjust.
10245 * config.make.in: Likewise.
10246 * Makeconfig: Likewise.
10247 * manual/install.texi: Likewise.
10248
d75a0a62
UD
10249 In case anyone cares, the IA-64 architecture could move to ports.
10250 * sysdeps/ia64/*: Removed.
10251 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 10252 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 10253
dcc9756b
UD
10254 [BZ #13555]
10255 * configure.in: Remove entries for unsupported architectures.
10256
d3761ebc 10257 [BZ #13533]
9954432e
UD
10258 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10259 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
10260 routines.
10261 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10262 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10263 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
10264 fall back to using wcrtomb.
10265 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10266 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
10267 renaming.
10268 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10269 * wcsmbs/tst-c16c32-1.c: New file.
10270
10271 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10272 local variable.
10273
c3a87236
UD
10274 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10275
28926a1b
UD
10276 * elf/tst-unique3.cc: Add explicit declaration of gets.
10277 * elf/tst-unique3lib.cc: Likewise.
10278 * elf/tst-unique3lib2.cc: Likewise.
10279 * elf/tst-unique4.cc: Likewise.
10280
df78418a
UD
10281 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10282
8ecd6b2a
JM
102832012-01-06 Joseph Myers <joseph@codesourcery.com>
10284
10285 [BZ #13566]
10286 * assert/assert.h (static_assert): Don't define for C++.
10287 * libio/stdio.h (gets): Do declare for C++ <= C++11.
10288 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10289
9f115170
UD
102902012-01-03 Ulrich Drepper <drepper@gmail.com>
10291
5e0d0300
UD
10292 * iconv/loop.c (single loop): Fix assertion in storing of
10293 remaining bytes.
10294
9f115170
UD
10295 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10296
81fb02b0
UD
102972012-01-01 Ulrich Drepper <drepper@gmail.com>
10298
10299 * posix/getconf.c: Update copyright year.
10300 * nss/getent.c: Likewise.
a316c1f6 10301 * nss/makedb.c: Likewise.
81fb02b0
UD
10302 * iconv/iconvconfig.c: Likewise.
10303 * iconv/iconv_prog.c: Likewise.
10304 * elf/ldconfig.c: Likewise.
a316c1f6
UD
10305 * elf/pldd.c: Likewise.
10306 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
10307 * catgets/gencat.c: Likewise.
10308 * csu/version.c: Likewise.
10309 * elf/ldd.bash.in: Likewise.
10310 * elf/sprof.c (print_version): Likewise.
10311 * locale/programs/locale.c: Likewise.
10312 * locale/programs/localedef.c: Likewise.
a316c1f6 10313 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
10314 * nscd/nscd.c (print_version): Likewise.
10315 * debug/xtrace.sh: Likewise.
10316 * malloc/memusage.sh: Likewise.
10317 * malloc/mtrace.pl: Likewise.
10318 * debug/catchsegv.sh: Likewise.
10319
2ba92745
JJ
103202011-12-30 Jakub Jelinek <jakub@redhat.com>
10321
10322 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10323 pure attribute.
10324
dadebdae
UD
103252011-12-24 Ulrich Drepper <drepper@gmail.com>
10326
d3761ebc 10327 [BZ #13533]
db6af3eb
UD
10328 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10329 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10330 transformations.
10331 * iconv/gconv_int.h: Likewise.
10332 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10333 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10334 from libc for GLIBC_2.16.
10335 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10336 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10337 * wcsmbs/uchar.h: Really define mbstate_t.
10338 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10339 * wcsmbs/c16rtomb.c: New file.
10340 * wcsmbs/mbrtoc16.c: New file.
10341 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10342 for C/POSIX locale.
10343 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10344 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10345
dadebdae
UD
10346 * wcsmbs/wchar.h: Add missing __restrict.
10347
67371b56
UD
103482011-12-23 Ulrich Drepper <drepper@gmail.com>
10349
74033a25
UD
10350 [BZ #13532]
10351 * time/Makefile (routines): Add timespec_get.
10352 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10353 * time/time.h: Define TIME_UTC and declare timespec_get. Define
10354 timespec for ISO C11.
10355 * time/timespec_get.c: New file.
10356 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10357 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10358
380d7e87
UD
10359 [BZ #13531]
10360 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10361 * stdlib/stdlib.h: Declare aligned_alloc.
10362 * Versions.def: Add GLIBC_2.16 for libc.
10363 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10364
4e9e7a35
UD
10365 [BZ 13527]
10366 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10367 ISO C11.
10368
380d7e87 10369 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
10370 code.
10371
03a71829
UD
10372 [BZ #13528]
10373 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10374
839e283e
UD
10375 [BZ #13529]
10376 * assert/assert.h (static_assert): Define.
10377
ce5294e2 10378 * version.h: Update for 2.16 development version.
90fa7312 10379
8d44e150 10380 [BZ #13526]
d7809905
UD
10381 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10382 _ISOC11_SOURCE.
10383
c0da14cd
UD
10384 * version.h (RELEASE): Bump for 2.15 release.
10385 * include/features.h (__GLIBC_MINOR__): Bump to 15.
10386
530a3249
MP
10387 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10388 Patch by Marek Polacek <mpolacek@redhat.com>.
10389
67371b56
UD
10390 * bits/byteswap.h: Protect long long constants with __extension__.
10391 * sysdeps/i386/bits/byteswap.h: Likewise.
10392 * sysdeps/ia64/bits/byteswap.h: Likewise.
10393 * sysdeps/s390/bits/byteswap.h: Likewise.
10394 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10395
15db4de1
LD
103962011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10397
10398 [BZ #13540]
bbe315ea
LD
10399 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
10400 destination buffer.
15db4de1
LD
10401 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10402
2b2596b1
MP
104032011-12-23 Marek Polacek <polacek@redhat.com>
10404
10405 * elf/dl-addr.c (determine_info): Add inline keyword.
10406 * elf/tst-auditmod4b.c (check_avx): Likewise.
10407 * elf/tst-auditmod6b.c (check_avx): Likewise.
10408 * elf/tst-auditmod6c.c (check_avx): Likewise.
10409 * elf/tst-auditmod7b.c (check_avx): Likewise.
10410
70c6c246
UD
104112011-12-23 Ulrich Drepper <drepper@gmail.com>
10412
10413 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10414 !__SSE_MATH__.
10415
c044cf14
LD
104162011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10417
15db4de1 10418 [BZ #13540]
c044cf14
LD
10419 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
10420 processing for last bytes.
10421
6b13d9d9
BH
104222011-08-06 Bruno Haible <bruno@clisp.org>
10423
d455f537
BH
10424 [BZ #13061]
10425 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10426 U+0385, not to U+1FEE.
10427
6b13d9d9
BH
10428 [BZ #13062]
10429 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10430 entry for U+00A5 U+0301.
10431
db910efd
UD
104322011-12-22 Ulrich Drepper <drepper@gmail.com>
10433
27deeafc
UD
10434 [BZ #13166]
10435 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10436 buffer for the output is too small.
10437
aed9d171
UD
10438 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10439 optimization.
10440
db910efd
UD
10441 [BZ #13185]
10442 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10443 SSE flags if possible.
10444
2bd779ae
LD
104452011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10446
e7f9dac3 10447 [BZ #13540]
2bd779ae
LD
10448 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10449 processing for last bytes.
10450
154bfc16
JM
104512011-12-22 Joseph Myers <joseph@codesourcery.com>
10452
10453 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10454 (syscall-list-default-options, syscall-list-default-condition)
10455 (syscall-list-includes): Define.
10456 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10457 list of ABIs and options and #if conditions for each ABI. Do not
10458 handle common syscalls between ABIs specially.
10459 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10460 Remove.
10461 (syscall-list-variants, syscall-list-32bit-options)
10462 (syscall-list-32bit-condition, syscall-list-64bit-options)
10463 (syscall-list-64bit-condition): Define.
10464 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10465 (syscall-list-variants, syscall-list-32bit-options)
10466 (syscall-list-32bit-condition, syscall-list-64bit-options)
10467 (syscall-list-64bit-condition): Define.
10468 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10469 Remove.
10470 (syscall-list-variants, syscall-list-32bit-options)
10471 (syscall-list-32bit-condition, syscall-list-64bit-options)
10472 (syscall-list-64bit-condition): Define.
10473 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10474 Remove.
10475 (syscall-list-variants, syscall-list-32bit-options)
10476 (syscall-list-32bit-condition, syscall-list-64bit-options)
10477 (syscall-list-64bit-condition): Define.
10478
21eaf3a5
UD
104792011-12-22 Ulrich Drepper <drepper@gmail.com>
10480
16c6f992
UD
10481 * locale/iso-639.def: Add brx entry.
10482
41043168
UD
10483 [BZ #13328]
10484 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10485 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10486
21eaf3a5
UD
10487 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10488 __feraiseexcept_renamed.
10489
e3a851a2
UD
104902011-12-21 Ulrich Drepper <drepper@gmail.com>
10491
4920765e
UD
10492 [BZ #13538]
10493 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10494 EPOLLET with unsigned values.
10495 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10496 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10497
e3a851a2
UD
10498 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10499 to large cancellation.
10500 * math/s_cacoshf.c: Likewise.
10501 * math/s_cacoshl.c: Likewise.
10502
b27e24b8
RK
105032011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10504
10505 [BZ #13305]
aebefeee 10506 [BZ #12786]
b27e24b8
RK
10507 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10508 * math/s_cacoshf.c: Likewise.
10509 * math/s_cacoshl.c: Likewise.
10510
ee190f67
UD
105112011-12-21 Ulrich Drepper <drepper@gmail.com>
10512
10513 [BZ #13439]
10514 * iconv/gconv.h: Define __GCONV_SWAP.
10515 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10516 * iconvdata/utf-16.c: Likewise.
10517 * iconvdata/utf-32.c: Likewise.
10518
707f25df
AS
105192011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10520
10521 [BZ #13524]
10522 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10523 numerator after shifting it by one limb.
10524
d2daaa1e
RÁE
105252011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10526
10527 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10528 under [__USE_EXTERN_INLINES].
10529
a4647e72
UD
105302011-12-17 Ulrich Drepper <drepper@gmail.com>
10531
10532 [BZ #13446]
10533 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10534
f0b264f1
AZ
105352011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10536
10537 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10538 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10539 optimized code.
10540 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10541 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10542 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10543 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10544 for strncasecmp/strncasecmp_l compilation.
10545 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10546 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10547
8ef4f244
MP
105482011-12-08 Marek Polacek <mpolacek@redhat.com>
10549
10550 [BZ #13484]
10551 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10552 of __asm__.
10553
97ac2654
UD
105542011-12-17 Ulrich Drepper <drepper@gmail.com>
10555
10556 [BZ #13506]
10557 * time/tzfile.c (__tzfile_read): Check values from file header.
10558
91d2a845
WS
105592011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10560
10561 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10562 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10563 * powerpc/powerpc32/dl-start.S: Likewise.
10564 * powerpc/powerpc32/elf/start.S: Likewise.
10565 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10566 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10567 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10568 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10569 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10570 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10571 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10572 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10573 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10574 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10575 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10576 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10577 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10578 * powerpc/powerpc32/memset.S: Likewise.
10579 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10580 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10581 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10582 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10583 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10584 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10585 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10586 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10587 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10588 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10589 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10590 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10591 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10592
a1267ba1
AZ
105932011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10594
10595 * math/libm-test.inc: Added more nearbyint tests.
10596 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10597 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10598 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10599 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10600
ad8ac1bd
RL
106012011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10602
10603 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10604 FD_CLOEXEC.
10605
1d3e4b61
UD
106062011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10607
10608 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10609 Add wcscpy-ssse3 wcscpy-c.
10610 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10611 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10612 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10613 * sysdeps/x86_64/wcschr.S: New file.
10614 * sysdeps/x86_64/wcsrchr.S: New file.
10615 * string/test-strcmp.c: Remove checking of wcscmp function for
10616 wrong alignments.
10617 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10618 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10619 wcsrchr-sse2 wcsrchr-c.
10620 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10621 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10622 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10623 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10624 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10625 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10626 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10627 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10628 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10629 * wcsmbc/wcschr.c (WCSCHR): New macro.
10630
5b330a2d
UD
106312011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10632
10633 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10634 * wcsmbs/test-wcsrchr.c: New file.
10635 * string/test-strrchr.c: Add wcsrchr support.
10636 (WIDE): New macro.
10637 * wcsmbs/test-wcscpy.c: New file.
10638 * string/test-strcpy.c: Add wcscpy support.
10639 (WIDE): New macro.
26428b7c 10640
f039c043
UD
106412011-12-10 Ulrich Drepper <drepper@gmail.com>
10642
10643 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10644 the inner loop.
10645
850fb039
AS
106462011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10647
10648 [BZ #13472]
10649 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10650
4efbd5cb
UD
106512011-12-04 Ulrich Drepper <drepper@gmail.com>
10652
52ff5dd0 10653 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 10654 Minor optimizations.
52ff5dd0 10655
4efbd5cb
UD
10656 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10657 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10658 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10659
8a426e12
UD
106602011-12-03 Ulrich Drepper <drepper@gmail.com>
10661
aff2453d
UD
10662 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10663 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10664 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10665 for gcc to avoid warnings.
10666 * inet/Makefile (tests): Add tst-checks.
10667 * inet/tst-checks.c: New file.
10668
10669 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10670 warning.
10671
10672 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10673 __wmemcmp_sse2.
10674
10675 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10676 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10677
8a426e12
UD
10678 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10679
9bea3473
UD
106802011-12-02 Ulrich Drepper <drepper@gmail.com>
10681
3a965496
UD
10682 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10683 problem.
10684
9bea3473
UD
10685 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10686
f101631b
UD
106872011-11-29 Joseph Myers <joseph@codesourcery.com>
10688
10689 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10690 conditional on GCC version.
10691 (__arch_compare_and_exchange_val_8_acq)
10692 (__arch_compare_and_exchange_val_16_acq)
10693 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10694 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10695 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10696
a98275aa
UD
106972011-12-02 Joseph Myers <joseph@codesourcery.com>
10698
10699 * sysdeps/sh/backtrace.c: New file.
10700
d4cc29a2
AS
107012011-12-02 Andreas Schwab <schwab@redhat.com>
10702
10703 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10704 parenthesis.
10705
6257af2d
AS
107062011-12-01 Andreas Schwab <schwab@redhat.com>
10707
10708 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10709 falling back to utime.
10710
b5f44c1a
AS
107112011-11-30 Andreas Schwab <schwab@redhat.com>
10712
10713 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10714 expectations for float.
10715
f3a6cc0a
AS
107162011-11-29 Andreas Schwab <schwab@redhat.com>
10717
10718 * locale/weight.h (findidx): Add parameter len.
10719 * locale/weightwc.h (findidx): Likewise.
10720 * posix/fnmatch_loop.c (FCT): Adjust caller.
10721 * posix/regcomp.c (build_equiv_class): Likewise.
10722 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10723 * posix/regexec.c (check_node_accept_bytes): Likewise.
10724 * string/strcoll_l.c (STRCOLL): Likewise.
10725 * string/strxfrm_l.c (STRXFRM): Likewise.
10726
9d65ea3a
UD
107272011-11-17 Ulrich Drepper <drepper@gmail.com>
10728
10729 * Makefile.in: Remove CVSOPT handling.
10730 * configure.in: Remove use of AC_REVISION.
10731 * iconvdata/Makefile (distribute): No need to filter out CVS.
10732 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10733 handling.
10734
5583a086
AS
107352011-11-16 Andreas Schwab <schwab@redhat.com>
10736
10737 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10738 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10739 [USE_AS_STRNCASECMP_L]: Likewise.
10740 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10741 NO_TLS_DIRECT_SEG_REFS.
10742 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10743 Fix argument offsets for non-PIC.
10744 [USE_AS_STRNCASECMP_L]: Likewise.
10745 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10746 NO_TLS_DIRECT_SEG_REFS.
10747
d62a8200
UD
107482011-11-15 Ulrich Drepper <drepper@gmail.com>
10749
9d65ea3a 10750 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
10751 O_CLOEXEC.
10752 * locale/loadlocale.c (_nl_load_locale): Likewise.
10753
09f93bd3
AS
107542011-11-15 Andreas Schwab <schwab@redhat.com>
10755
446514f9
AS
10756 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10757 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10758 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10759 (SYSCALL_GETTIME): Set errno on error.
10760
09f93bd3
AS
10761 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10762 count references to noai6ai_cached.
10763
312be3f9
UD
107642011-11-15 Ulrich Drepper <drepper@gmail.com>
10765
10766 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10767
10768 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10769 FD_CLOEXEC for /proc/self/maps.
10770
10771 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10772 FD_CLOEXEC for /proc/meminfo.
10773
10774 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10775 gai.conf.
10776
10777 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10778 FD_CLOEXEC for given file.
10779
10780 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10781
10782 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10783 FD_CLOEXEC for /etc/hosts.
10784 (_gethtent): Likewise.
10785
10786 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10787
10788 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10789 cancellation and set FD_CLOEXEC for /etc/netgroup.
10790
10791 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10792 reading /etc/publickey.
10793
10794 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10795 allow cancellation when reading /etc/group.
10796
10797 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10798 cancellation.
10799 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10800
10801 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10802 when using data file.
10803
10804 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10805
10806 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10807 (write_nis_obj): Use "c" and "e" in fopen.
10808
10809 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10810
10811 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10812
10813 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10814
10815 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10816
10817 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10818 locale.alias.
10819
10820 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10821
10822 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10823
10824 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10825
10826 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10827 file parsing and set FD_CLOEXEC.
10828
82af0fa8
UD
108292011-11-14 Ulrich Drepper <drepper@gmail.com>
10830
10831 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10832
a5fb313c
AS
108332011-11-14 Andreas Schwab <schwab@redhat.com>
10834
10835 * malloc/arena.c (arena_get2): Don't call reused_arena when
10836 _int_new_arena failed.
10837
6abf3465
UD
108382011-11-14 Ulrich Drepper <drepper@gmail.com>
10839
10840 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10841 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10842 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10843 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10844 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10845 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10846 to compile strcasecmp and strncasecmp.
10847 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10848 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10849
10850 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10851
76e3966e
UD
108522011-11-13 Ulrich Drepper <drepper@gmail.com>
10853
10854 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10855 locale-defines.sym to gen-as-const-headers.
10856 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10857 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10858 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10859 to compile strcasecmp and strncasecmp.
10860 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10861 strcasecmp_l and strncasecmp_l.
10862 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10863 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10864 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10865 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10866 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10867 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10868 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10869 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10870 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10871 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10872 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10873
ab26144e
UD
108742011-11-12 Ulrich Drepper <drepper@gmail.com>
10875
7edb22ef
UD
10876 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10877 result of SYSDEP_GETTIME_CPU to retval.
10878 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10879 parameter list to macro. Remove trailing semicolon. Adjust users.
10880
9694fc44
UD
10881 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10882 variable.
10883
8ad89ef8
UD
10884 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10885 mantissa words.
10886 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10887
0c822ef9
UD
10888 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10889 from unused variable.
10890
874e0564
UD
10891 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10892 DWARF definitions.
10893 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10894 for assembling.
10895
3a2edc79
UD
10896 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10897 over namespaces.
10898
f3c2577f
UD
10899 * sunrpc/rpc_prot.c (rejected): Fix case value.
10900
294ce126
UD
10901 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10902 unsigned long long int to avoid warnings in shift.
10903
5e2b63c6
UD
10904 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10905 of use of trans.
10906 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10907 variable tmp.
10908
e7f4b08e
UD
10909 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10910 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10911 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10912
ab26144e
UD
10913 * nis/nis_table.c (nis_list): Use variable of correct type for
10914 result of __follow_path call.
10915
8a6d5255
AZ
109162011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10917
10918 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10919 of math functions ceil, trunc, floor, round, and sqrt, when
10920 avaliable on the platform.
10921 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10922 name clash.
10923 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10924 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10925 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10926
aaddc98c
MP
109272011-10-30 Marek Polacek <mpolacek@redhat.com>
10928
10929 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10930 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10931
95b7042b
RM
109322011-11-11 Roland McGrath <roland@hack.frob.com>
10933
10934 * include/unistd.h: Fix __readlink return type.
10935 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10936
57769839
UD
109372011-11-11 Ulrich Drepper <drepper@gmail.com>
10938
10939 * stdlib/ucontext.h: Undo last change for makecontext.
10940
edc5984d
AS
109412011-11-11 Andreas Schwab <schwab@redhat.com>
10942
98591e58
AS
10943 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10944
edc5984d
AS
10945 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10946 * setjmp/setjmp.h: Mark functions as non-leaf.
10947 * setjmp/bits/setjmp2.h: Likewise.
10948 * stdlib/ucontext.h: Likewise.
10949
77cdc054
AS
109502011-11-10 Andreas Schwab <schwab@redhat.com>
10951
10952 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10953 (reused_arena): Don't check arena limit.
10954 (arena_get2): Atomically check arena limit.
10955
fe72eebd
UD
109562011-11-08 Ulrich Drepper <drepper@gmail.com>
10957
5f078c32
UD
10958 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10959 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10960
fe72eebd
UD
10961 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10962 instructions.
10963
ae1bc2fa
AS
109642011-11-07 Andreas Schwab <schwab@redhat.com>
10965
7583a88d
AS
10966 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10967 handler when locking.
10968
ae1bc2fa
AS
10969 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10970 Fix size of allocated buffer.
10971
10fb0bfa
AS
109722011-11-04 Andreas Schwab <schwab@redhat.com>
10973
998832a4
AS
10974 [BZ #10103]
10975 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10976 declarations for long double functions.
10977 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10978
10fb0bfa
AS
10979 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10980
3d7ba52b
AS
109812011-11-03 Andreas Schwab <schwab@redhat.com>
10982
a9ae54a1
AS
10983 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10984 installed.
10985
3d7ba52b
AS
10986 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10987 is disabled.
10988
bc8db248
ST
109892011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10990
10991 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10992
45b96dd6
AS
109932011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10994
647776f6
AS
10995 * include/alloca.h (stackinfo_alloca_round): Define.
10996 (extend_alloca): Use it.
10997 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10998 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10999 here.
11000
d91a8b93
AS
11001 * scripts/check-local-headers.sh: Ignore libaudit.h.
11002
45b96dd6
AS
11003 * nscd/Makefile (extra-objs): Make recursively expanded.
11004
432d41ce
UD
110052011-11-01 Ulrich Drepper <drepper@gmail.com>
11006
34372fc6
UD
11007 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11008 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11009
fadb59f8
UD
11010 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11011 * posix/tst-rfc3484-2.c: Likewise.
11012 * posix/tst-rfc3484-3.c: Likewise.
11013
78239589
UD
11014 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11015 process_vm_writev.
11016 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11017 process_vm_writev.
11018 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11019 process_vm_writev from libc using GLIBC_2.15 version.
11020
432d41ce
UD
11021 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11022
02f9c6cf
PP
110232011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11024
11025 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11026 stack usage.
11027
3a2c0242
UD
110282011-10-31 Ulrich Drepper <drepper@gmail.com>
11029
f4ec4833
UD
11030 [BZ #13367]
11031 * nss/getent.c (initgroups_keys): Show error message in case no group
11032 names are given.
11033
3a2c0242
UD
11034 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11035 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11036 __bump_nl_timestamp.
11037 * nscd/connections (nscd_init): When host database is served open
11038 netlink socket and request notification about configuration changes.
11039 (main_loop_poll): Track netlink file descriptor and bump timestamp
11040 in case data becomes available.
11041 (main_loop_epoll): Likewise.
11042 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11043 (database_pers_head): Add extra_data fileds.
11044 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11045 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11046 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11047 Adjust caller.
11048 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11049 in6ai data, call __free_in6ai.
11050 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11051 Add -DHAVE_NETLINK.
11052 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
11053 interface information. Reuse previous data if netlink timestamp
11054 is not changed.
11055 (__bump_nl_timestamp): New function.
11056 (__free_in6ai): New function.
11057
636064eb
UD
110582011-10-30 Ulrich Drepper <drepper@gmail.com>
11059
11060 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11061 close_not_cancel_no_status here.
11062 (__check_pf): Reorganize code a bit to not call close twice if OOM.
11063
9beb2334
UD
110642011-10-29 Ulrich Drepper <drepper@gmail.com>
11065
6ef76f3b
UD
11066 [BZ #13276]
11067 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11068 return value.
11069
0ffc4f3e 11070 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
11071 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11072 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11073
cb95113e
UD
110742011-07-03 Andreas Jaeger <aj@suse.de>
11075
11076 [BZ #10709]
11077 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11078 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11079 * math/libm-test.inc (sin_test): Add test case.
11080
a1b560ff
UD
110812011-10-29 Ulrich Drepper <drepper@gmail.com>
11082
c9aaface
UD
11083 [BZ #13337]
11084 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11085 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11086
d272e7f1
UD
11087 * elf/chroot_canon.c (chroot_canon): Cleanups.
11088
1bc33071
UD
11089 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11090
1760874d
TJ
11091 [BZ #13335]
11092 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11093 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11094
51d91b18
UD
11095 * string/test-strchr.c: Make usable for strchrnul testing.
11096 * string/test-strchrnul.c: New file.
11097 * string/Makefile (strop-tests): Add strchrnul.
11098
a1b560ff 11099 * po/it.po: Update from translation team.
b611fb81 11100 * po/es.po: Likewise.
a1b560ff 11101
a5b81e1f
UD
111022011-10-28 Ulrich Drepper <drepper@gmail.com>
11103
fd52bc6d
UD
11104 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11105 the three constants needed as parameters. Drop the others.
11106 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11107 __m128i_strloadu_tolower.
52e4b9eb
UD
11108 Create and initialize variable zero and use it in all the places
11109 where _mm_setzero_si128 was used.
fd52bc6d 11110
a5b81e1f
UD
11111 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11112 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11113 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11114 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11115 anymore.
11116 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11117 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11118 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11119 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11120 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11121 __mpranred, __mptan.
11122 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11123 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11124 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11125 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11126 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11127 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11128 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11129 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11130 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11131
b4343346
AS
111322011-10-28 Andreas Schwab <schwab@redhat.com>
11133
0c92d8a8
AS
11134 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11135 redefine if SHARED.
11136 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11137
b4343346
AS
11138 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11139 wide char related routines to wcsmbs subdir.
11140
3871f58f
AS
111412011-10-27 Andreas Schwab <schwab@redhat.com>
11142
11143 [BZ #13344]
11144 * misc/sys/cdefs.h (__THROWNL): Define.
11145 * posix/unistd.h: Use __THREADNL instead of __THREAD
11146 for memory synchronization functions.
11147
94d44d9f
RM
111482011-10-26 Roland McGrath <roland@hack.frob.com>
11149
21b64b15 11150 [BZ #13349]
94d44d9f
RM
11151 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11152 doesn't exist.
11153 * manual/stdio.texi (Obstack Streams): Node removed.
11154
f6ce9294
AS
111552011-10-26 Andreas Schwab <schwab@redhat.com>
11156
80479147
AS
11157 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11158 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11159 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11160
f6ce9294
AS
11161 * math/math_private.h (math_force_eval): Allow non-addressable
11162 arguments.
11163 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11164
618280a1
UD
111652011-10-25 Ulrich Drepper <drepper@gmail.com>
11166
e0016b11
UD
11167 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11168 file is not needed.
11169
11170 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11171 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11172 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11173 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11174 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11175 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11176 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11177 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11178 Add AVX variants.
11179 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11180 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11181 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11182 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11183 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11184 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11185 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11186 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11187 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11188 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11189 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11190 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11191 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11192 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11193 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11194 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11195 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11196 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11197 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11198
11199 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11200 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
11201
618280a1
UD
11202 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11203 place. Use VEX encoding when compiling for AVX.
11204
37822576
AS
112052011-10-25 Andreas Schwab <schwab@redhat.com>
11206
1f1e1947
AS
11207 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11208 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11209
37822576
AS
11210 * string/test-strchr.c (do_test): Don't generate NUL bytes.
11211
31ea014d
UD
112122011-10-25 Ulrich Drepper <drepper@gmail.com>
11213
d7826aa1 11214 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 11215 useless if() expression.
d7826aa1
UD
11216 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11217 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11218 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11219 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11220 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11221 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11222 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11223 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11224 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11225 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11226 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11227 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11228 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11229 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11230 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11231 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11232 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11233 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11234 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11235
31ea014d
UD
11236 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11237
16437fec
AS
112382011-10-25 Andreas Schwab <schwab@redhat.com>
11239
11240 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11241 condition.
11242 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11243
31d3cc00
UD
112442011-10-25 Ulrich Drepper <drepper@gmail.com>
11245
11246 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11247 .text section. Avoid duplicate constants.
11248 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11249 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11250 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11251 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11252 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11253 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11254 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11255 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11256 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11257 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11258 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11259 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11260 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11261 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11262 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11263 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11264 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11265 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11266 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11267 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11268 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11269 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11270 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11271 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11272 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11273 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11274 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11275 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11276 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11277 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11278 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11279 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11280 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11281 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11282 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11283 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11284 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11285 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11286 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11287 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11288 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11289 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11290 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11291 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11292 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11293
58985aa9
UD
112942011-10-24 Ulrich Drepper <drepper@gmail.com>
11295
202c9deb
UD
11296 * sysdeps/x86_64/dla.h: Move to ...
11297 * sysdeps/x86_64/fpu/dla.h: ...here.
11298 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11299 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 11300
af968f62
UD
11301 * config.make.in: Add have-mfma4 entry.
11302 * configure.in: Substitute libc_cv_cc_fma4.
11303 * math/Makefile (dbl-only-routines): Add sincostab.
11304 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11305 Use __sincostab not sincos.
11306 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11307 name is a macro.
11308 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11309 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11310 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11311 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11312 using __copysign.
11313 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11314 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11315 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11316 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11317 and __inv.
11318 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11319 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11320 __copysign.
11321 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
11322 define aliases when function name is a macro.
11323 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11324 sysdeps/ieee754/dbl-64/sincos.tbl.
11325 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11326 fma4-enabled routines.
11327 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11328 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11329 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11330 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11331 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11332 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11333 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11334 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11335 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11336 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11337 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11338 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11339 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11340 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11341 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11342 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11343 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11344 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11345 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11346 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11347 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11348 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11349 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11350 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11351 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11352 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11353 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11354 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11355 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11356 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11357
58985aa9
UD
11358 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11359 rename.
11360 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11361 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11362 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11363 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11364 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11365 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11366 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11367 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11368
a201fbcf
AS
113692011-10-24 Andreas Schwab <schwab@redhat.com>
11370
11371 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11372
fc2ee42a
LD
113732011-10-23 Ulrich Drepper <drepper@gmail.com>
11374
bb3129bd
UD
11375 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11376
0275fff8
UD
11377 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11378 prediction.
11379 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11380
2fa2ae85
UD
11381 * string/strnlen.c: Don't define STRNLEN, reverse logic.
11382 Remove unused variable magic_bits.
11383 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11384
fc2ee42a
LD
11385 * string/strnlen.c: Define and use STRNLEN macro.
11386 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11387 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11388 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11389 * wcsmbs/wcslen.c: Define and use WCSLEN.
11390 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11391 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11392 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11393 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11394 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11395 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11396 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11397
ce7dd29f
LD
113982011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11399
11400 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11401 strnlen-sse2-no-bsf.
11402 Rename strlen-no-bsf to strlen-sse2-no-bsf.
11403 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
11404 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
11405 Add strnlen support.
11406 (USE_AS_STRNLEN): New macro.
11407 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11408 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11409 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11410 * sysdeps/x86_64/wcslen.S: New file.
11411
979c70a3
MZ
114122011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
11413
11414 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11415 XMM-moves are used for copying on small sizes.
11416
2d09f82f
LD
114172011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11418
11419 * wcsmbs/Makefile (strop-tests): Add wcschr.
11420 * wcsmbs/test-wcschr.c: New file.
11421 * string/test-strchr.c: Update.
11422 Add wcschr support.
11423 (WIDE): New macro.
11424
619fccca
LD
114252011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11426
2d09f82f 11427 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
11428 * wcsmbs/test-wcslen.c: New file.
11429 * string/test-strlen.c: Update.
11430 Add wcslen support.
11431 (WIDE): New macro.
11432
09f699ea
UD
114332011-10-23 Ulrich Drepper <drepper@gmail.com>
11434
11435 * po/it.po: Update from translation team.
11436
95584d3b
LD
114372011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11438
11439 * sysdeps/x86_64/wcscmp.S: Update.
11440 Fix wrong comparison semantics.
11441 wcscmp shall use signed comparison not unsigned.
11442 Don't use substraction to avoid overflow bug.
11443 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11444 * wcsmbc/wcscmp.c: Likewise.
11445 * string/test-strcmp.c: Likewise.
11446 Add new tests to check cases with negative values.
11447
c8b3296b
UD
114482011-10-23 Ulrich Drepper <drepper@gmail.com>
11449
11450 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11451 * sysdeps/x86_64/dla.h: ...here. New file.
11452 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11453 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11454 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11455 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11456 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11457 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11458 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11459 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11460 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11461
246ad57a
AS
114622011-10-23 Andreas Schwab <schwab@linux-m68k.org>
11463
11464 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11465 __ynl_finite aliases.
11466
a1a87169
UD
114672011-10-22 Ulrich Drepper <drepper@gmail.com>
11468
0d355eb7
UD
11469 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11470
a1a87169
UD
11471 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11472 define DLA_FMA.
11473 [DLA_FMA] (EMULV): Use DLA_FMA.
11474 [DLA_FMA] (MUL12): Use EMULV.
11475 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11476 that are not needed.
11477 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11478 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11479 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11480 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11481 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11482 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11483 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11484
ee2aafe0
AS
114852011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11486
11487 * math/s_nan.c: Undef __nan.
11488 * math/s_nanf.c: Undef __nanf.
11489 * math/s_nanl.c: Undef __nanl.
11490 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11491 "math_private.h".
11492
bc62c2fb
UD
114932011-10-22 Ulrich Drepper <drepper@gmail.com>
11494
77425c63
UD
11495 * math/s_catan.c: Add branch predictions.
11496 * math/s_catanf.c: Likewise.
11497 * math/s_catanh.c: Likewise.
11498 * math/s_catanhf.c: Likewise.
11499 * math/s_catanhl.c: Likewise.
11500 * math/s_catanl.c: Likewise.
11501 * math/s_cexp.c: Likewise.
11502 * math/s_cexpf.c: Likewise.
11503 * math/s_cexpl.c: Likewise.
11504 * math/s_clog.c: Likewise.
11505 * math/s_clog10.c: Likewise.
11506 * math/s_clog10f.c: Likewise.
11507 * math/s_clog10l.c: Likewise.
11508 * math/s_clogf.c: Likewise.
11509 * math/s_clogl.c: Likewise.
11510 * math/s_csqrt.c: Likewise.
11511 * math/s_csqrtf.c: Likewise.
11512 * math/s_csqrtl.c: Likewise.
11513 * math/s_ctanf.c: Likewise.
11514 * math/s_ctanh.c: Likewise.
11515 * math/s_ctanhf.c: Likewise.
11516 * math/s_ctanhl.c: Likewise.
11517 * math/s_ctanl.c: Likewise.
11518
bc62c2fb
UD
11519 * math/math_private.h: Define __nan, __nanf, __nanl.
11520 * math/s_cacosh.c: Include <math_private.h>.
11521 * math/s_cacoshl.c: Likewise.
11522 * math/s_casinh.c: Likewise.
11523 * math/s_casinhf.c: Likewise.
11524 * math/s_casinhl.c: Likewise.
11525 * math/s_ccos.c: Rely entire on ccosh.
11526 * math/s_ccosf.c: Rely entire on ccoshf.
11527 * math/s_ccosl.c: Rely entirely on ccoshl.
11528 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11529 Remove tests for FE_INVALID.
11530 * math/s_ccoshf.c: Likewise.
11531 * math/s_ccoshl.c: Likewise.
11532 * math/s_csin.c: Likewise.
11533 * math/s_csinf.c: Likewise.
11534 * math/s_csinh.c Likewise.
11535 * math/s_csinhf.c: Likewise.
11536 * math/s_csinhl.c: Likewise.
11537 * math/s_csinl.c: Likewise.
11538 * math/s_ctan.c: Likewise.
11539 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11540 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11541 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11542
8ec250a4
UD
115432011-10-21 Ulrich Drepper <drepper@gmail.com>
11544
c196fed8
UD
11545 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11546 compilation problems.
11547
8ec250a4
UD
11548 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11549 __builtin_expect.
11550
8d4f46c6
UD
115512011-10-20 Ulrich Drepper <drepper@gmail.com>
11552
ed72b654
UD
11553 * sysdeps/i386/configure.in: Test for -mfma4 option.
11554 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11555 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11556 COMMON_CPUID_INDEX_80000001.
11557 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11558 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11559 use it if FMA3 is not supported.
11560 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11561
8d4f46c6
UD
11562 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11563 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11564
d45c60c2
AS
115652011-10-20 Andreas Schwab <schwab@redhat.com>
11566
11567 [BZ #12892]
11568 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11569 it would create a cycle with a link time dependency.
11570
d9a4d2ab
UD
115712011-10-19 Ulrich Drepper <drepper@gmail.com>
11572
855d1560
UD
11573 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11574 instruction.
11575 * string/Makefile (strop-tests): Add rawmemchr.
11576 * string/test-rawmemchr.c: New file.
11577
d9a4d2ab
UD
11578 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11579 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11580 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11581 when compiling str{,n}casecmp and when AVX is available. Hook up
11582 new optimized code in initializers.
11583
8f3b1ffe
AS
115842011-10-19 Andreas Schwab <schwab@redhat.com>
11585
11586 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11587 __feraiseexcept instead of feraiseexcept.
11588
d38f1dba
UD
115892011-10-18 Ulrich Drepper <drepper@gmail.com>
11590
d9a8d0ab
UD
11591 * math/math_private.h: Define defaults for libc_fetestexcept and
11592 libc_feupdateenv.
11593 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11594 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11595 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11596 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11597 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11598 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11599 libc_fetestexcept and libc_feupdateenv.
11600
4855e3dd
UD
11601 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11602 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11603 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11604 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11605 libc_feholdexcept_setround.
11606
581d30e3
UD
11607 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11608 Add s_nearbyint-c and s_nearbyintf-c.
11609 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11610 nearbyintf inlines.
11611 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11612 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11613 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11614 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11615
d38f1dba
UD
11616 * math/math_private.h: Define defaults for libc_fegetround,
11617 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11618 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11619 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11620 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11621 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11622 standard functions.
11623 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11624 Remove comments and hacks for old compiler versions.
11625 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11626 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11627 libc_feholdexceptl.
11628
caa6c9d8
AS
116292011-10-18 Andreas Schwab <schwab@redhat.com>
11630
11631 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
11632 (__feraiseexcept_renamed): Add __NTH.
11633 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
11634 namespace violations.
11635
97c066e6
UD
116362011-10-17 Ulrich Drepper <drepper@gmail.com>
11637
99ce7b04
UD
11638 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11639
1004d182
UD
11640 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11641
228a984d
UD
11642 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11643 recently added interfaces.
11644 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11645
c8553a6a
UD
11646 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11647 about macro parameter expansion.
11648
ed22dcf6
UD
11649 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11650 __NO_MATH_INLINES is defined. Cleanups.
11651
11652 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11653 and __floorf is target has SSE4.1.
11654 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11655 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11656 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11657 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11658
b171c137
UD
11659 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11660 name.
11661 (floorf): Likewise.
11662
97c066e6
UD
11663 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11664
629f62ef
AS
116652011-10-17 Andreas Schwab <schwab@redhat.com>
11666
49a43d80
AS
11667 * misc/sys/cdefs.h: Fix last change.
11668
629f62ef
AS
11669 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11670 database lookup.
11671
e453f6cd
UD
116722011-10-16 Ulrich Drepper <drepper@gmail.com>
11673
aa78043a
UD
11674 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11675
ad0f5cad
UD
11676 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11677 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11678 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11679 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11680 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11681 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11682 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11683 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11684 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11685 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11686 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11687 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11688 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11689 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11690 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11691 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11692 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11693 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11694 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11695 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11696 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11697 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11698
11699 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11700 ceil, ceilf, floor, floorf.
11701
11702 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11703 Perform IRELATIVE relocations last.
11704
e453f6cd
UD
11705 * elf/do-rel.h: Add another parameter nrelative, replacing the
11706 local variable with the same name. Change name of the function
11707 to end in Rel or Rela (uppercase).
11708 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11709 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11710 elf_dynamic_do_##reloc function.
11711
fd5bdc09
UD
117122011-10-15 Ulrich Drepper <drepper@gmail.com>
11713
79b195b5
UD
11714 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11715 is sufficient, at least on modern CPUs.
11716
d4a28569
UD
11717 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11718
b61099b5
UD
11719 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11720 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11721
bcf01e6d
UD
11722 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11723 __expl_finite.
11724 * math/bits/math-finite.h: Add entries for exp.
11725 * math/e_expl.c: Add __*_finite alias.
11726 * sysdeps/i386/fpu/e_exp.S: Likewise.
11727 * sysdeps/i386/fpu/e_expf.S: Likewise.
11728 * sysdeps/i386/fpu/e_expl.c: Likewise.
11729 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11730 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11731 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11732 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11733 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11734 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11735 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11736
ba1a0d59
UD
11737 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11738 is sufficient, at least on modern CPUs.
11739
fd5bdc09
UD
11740 * ctype/ctype-info.c (__ctype_init): Define.
11741 * include/ctype.h (__ctype_init): Declare.
11742 (__ctype_b_loc): The variable is always initialized.
11743 (__ctype_toupper_loc): Likewise.
11744 (__ctype_tolower_loc): Likewise.
11745 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11746 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11747
7872cfb0
AS
117482011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11749
b468825a
AS
11750 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11751
7872cfb0
AS
11752 * configure.in: Also look in $cxxmachine/include for C++ system
11753 headers.
11754
be13f7bf
LD
117552011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11756
11757 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11758 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11759 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11760 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11761 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11762 (USE_AS_WMEMCMP): New macro.
11763 Fixing indents.
11764 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11765 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11766 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11767 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11768 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11769 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11770 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11771 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11772 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11773 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11774 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11775 (USE_AS_WMEMCMP): New macro.
11776 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11777 * sysdeps/string/test-memcmp.c: Update.
11778 Fix simple_wmemcmp.
11779 Add new tests.
11780 * wcsmbs/wmemcmp.c: Update.
11781 (WMEMCMP): New macro.
11782 Fix overflow bug.
11783
556a2007
AJ
117842011-10-12 Andreas Jaeger <aj@suse.de>
11785
11786 [BZ #13268]
11787 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11788
538faaa7
UD
117892011-10-15 Ulrich Drepper <drepper@gmail.com>
11790
ab6737ff
UD
11791 * libio/iofwide.c (do_length): Avoid warning.
11792
538faaa7
UD
11793 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11794
396a21b1
UD
117952011-10-14 Ulrich Drepper <drepper@gmail.com>
11796
cdf2901f
UD
11797 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11798
38ad40ce
UD
11799 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11800 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11801 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11802 * sysdeps/i386/i686/fpu/e_log.S: New file.
11803 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11804 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11805
396a21b1
UD
11806 * ctype/ctype.h: Add support for inlined isXXX functions when
11807 compiling C++ code.
11808
6b1f68c9
AS
118092011-10-14 Andreas Schwab <schwab@redhat.com>
11810
349290c0
AS
11811 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11812
6b1f68c9
AS
11813 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11814
f2282d42
RM
118152011-10-13 Roland McGrath <roland@hack.frob.com>
11816
11817 [BZ #13291]
11818 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11819
5298ffa8
AS
118202011-10-13 Andreas Schwab <schwab@redhat.com>
11821
714fad23
AS
11822 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11823 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11824 feraiseexcept.
11825
81dcc7fb
AS
11826 * sysdeps/x86_64/memrchr.S: Check for zero size.
11827
5298ffa8
AS
11828 * string/stratcliff.c: Add memrchr tests.
11829
951fbcec
LD
118302011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11831
11832 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11833 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11834 rawmemchr-sse2 rawmemchr-sse2-bsf.
11835 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11836 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11837 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11838 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11839 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11840 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11841 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11842 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11843 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11844 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11845 * string/memrchr.c (MEMRCHR): New macro.
11846
0ac5ae23
UD
118472011-10-12 Ulrich Drepper <drepper@gmail.com>
11848
11849 Add integration with gcc's -ffinite-math-only and optimize wrapper
11850 functions in libm.
11851 * Versions.def: Define GLIBC_2.15 version for libm.
11852 * math/Makefile (headers): Add bits/math-finite.h.
11853 * math/bits/math-finite.h: New file.
11854 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11855 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11856 * math/e_acoshl.c: Add __*_finite alias.
11857 * math/e_acosl.c: Likewise.
11858 * math/e_asinl.c: Likewise.
11859 * math/e_atan2l.c: Likewise.
11860 * math/e_atanhl.c: Likewise.
11861 * math/e_coshl.c: Likewise.
11862 * math/e_exp10.c: Likewise.
11863 * math/e_exp10f.c: Likewise.
11864 * math/e_exp10l.c: Likewise.
11865 * math/e_exp2l.c: Likewise.
11866 * math/e_fmodl.c: Likewise.
11867 * math/e_gammal_r.c: Likewise.
11868 * math/e_hypotl.c: Likewise.
11869 * math/e_j0l.c: Likewise.
11870 * math/e_j1l.c: Likewise.
11871 * math/e_jnl.c: Likewise.
11872 * math/e_lgammal_r.c: Likewise.
11873 * math/e_log10l.c: Likewise.
11874 * math/e_log2l.c: Likewise.
11875 * math/e_logl.c: Likewise.
11876 * math/e_powl.c: Likewise.
11877 * math/e_sinhl.c: Likewise.
11878 * math/e_sqrtl.c: Likewise.
11879 * math/e_scalb.c: Completely rewritten and optimized.
11880 * math/e_scalbf.c: Likewise.
11881 * math/e_scalbl.c: Likewise.
11882 * math/w_acos.c: Likewise.
11883 * math/w_acosf.c: Likewise.
11884 * math/w_acosl.c: Likewise.
11885 * math/w_acosh.c: Likewise.
11886 * math/w_acoshf.c: Likewise.
11887 * math/w_acoshl.c: Likewise.
11888 * math/w_asin.c: Likewise.
11889 * math/w_asinf.c: Likewise.
11890 * math/w_asinl.c: Likewise.
11891 * math/w_atan2.c: Likewise.
11892 * math/w_atan2f.c: Likewise.
11893 * math/w_atan2l.c: Likewise.
11894 * math/w_atanh.c: Likewise.
11895 * math/w_atanhf.c: Likewise.
11896 * math/w_atanhl.c: Likewise.
11897 * math/w_exp10.c: Likewise.
11898 * math/w_exp10f.c: Likewise.
11899 * math/w_exp10l.c: Likewise.
11900 * math/w_fmod.c: Likewise.
11901 * math/w_fmodf.c: Likewise.
11902 * math/w_fmodl.c: Likewise.
11903 * math/w_j0.c: Likewise.
11904 * math/w_j0f.c: Likewise.
11905 * math/w_j0l.c: Likewise.
11906 * math/w_j1.c: Likewise.
11907 * math/w_j1f.c: Likewise.
11908 * math/w_j1l.c: Likewise.
11909 * math/w_jn.c: Likewise.
11910 * math/w_jnf.c: Likewise.
11911 * math/w_log.c: Likewise.
11912 * math/w_logf.c: Likewise.
11913 * math/w_logl.c: Likewise.
11914 * math/w_log10.c: Likewise.
11915 * math/w_log10f.c: Likewise.
11916 * math/w_log10l.c: Likewise.
11917 * math/w_log2.c: Likewise.
11918 * math/w_log2f.c: Likewise.
11919 * math/w_log2l.c: Likewise.
11920 * math/w_pow.c: Likewise.
11921 * math/w_powf.c: Likewise.
11922 * math/w_powl.c: Likewise.
11923 * math/w_remainder.c: Likewise.
11924 * math/w_remainderf.c: Likewise.
11925 * math/w_remainderl.c: Likewise.
11926 * math/w_scalb.c: Likewise.
11927 * math/w_scalbf.c: Likewise.
11928 * math/w_scalbl.c: Likewise.
11929 * math/w_sqrt.c: Likewise.
11930 * math/w_sqrtf.c: Likewise.
11931 * math/w_sqrtl.c: Likewise.
11932 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11933 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11934 used.
11935 * math/math_private.h: Declare __kernel_standard_f.
11936 * math/w_cosh.c: Remove cruft and optimize a bit.
11937 * math/w_coshf.c: Likewise.
11938 * math/w_coshl.c: Likewise.
11939 * math/w_exp2.c: Likewise.
11940 * math/w_exp2f.c: Likewise.
11941 * math/w_exp2l.c: Likewise.
11942 * math/w_hypot.c: Likewise.
11943 * math/w_hypotf.c: Likewise.
11944 * math/w_hypotl.c: Likewise.
11945 * math/w_lgamma.c: Likewise.
11946 * math/w_lgamma_r.c: Likewise.
11947 * math/w_lgammaf.c: Likewise.
11948 * math/w_lgammaf_r.c: Likewise.
11949 * math/w_lgammal.c: Likewise.
11950 * math/w_lgammal_r.c: Likewise.
11951 * math/w_sinh.c: Likewise.
11952 * math/w_sinhf.c: Likewise.
11953 * math/w_sinhl.c: Likewise.
11954 * math/w_tgamma.c: Likewise.
11955 * math/w_tgammaf.c: Likewise.
11956 * math/w_tgammal.c: Likewise.
11957 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11958 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11959 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11960 Minor optimizations. Pretty printing. Remove cruft.
11961 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11962 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11963 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11964 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11965 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11966 * sysdeps/i386/fpu/e_asin.S: Likewise.
11967 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11968 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11969 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11970 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11971 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11972 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11973 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11974 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11975 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11976 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11977 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11978 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11979 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11980 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11981 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11982 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11983 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11984 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11985 * sysdeps/i386/fpu/e_log.S: Likewise.
11986 * sysdeps/i386/fpu/e_log10.S: Likewise.
11987 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11988 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11989 * sysdeps/i386/fpu/e_log2.S: Likewise.
11990 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11991 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11992 * sysdeps/i386/fpu/e_logf.S: Likewise.
11993 * sysdeps/i386/fpu/e_logl.S: Likewise.
11994 * sysdeps/i386/fpu/e_pow.S: Likewise.
11995 * sysdeps/i386/fpu/e_powf.S: Likewise.
11996 * sysdeps/i386/fpu/e_powl.S: Likewise.
11997 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11998 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11999 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12000 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12001 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12002 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12003 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12004 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12005 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12006 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12007 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12008 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12009 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12010 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12011 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12012 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12013 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12014 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12015 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12016 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12017 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12018 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12019 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12020 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12021 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12022 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12023 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12024 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12025 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12026 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12027 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12028 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12029 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12030 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12031 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12032 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12033 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12034 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12035 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12036 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12037 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12038 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12039 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12040 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12041 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12042 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12043 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12044 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12045 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12046 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12047 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12048 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12049 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12050 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12051 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12052 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12053 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12054 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12055 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12056 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12057 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12058 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12059 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12060 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12061 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12062 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12063 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12064 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12065 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12066 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12067 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12068 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12069 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12070 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12071 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12072 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12073 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12074 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12075 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12076 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12077 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12078 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12079 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12080 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12081 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12082 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12083 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12084 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12085 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12086 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12087 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12088 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12089 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12090 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12091 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12092 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12093 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12094 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12095 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12096 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12097 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12098 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12099 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12100 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12101 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12102 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12103 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12104 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12105 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12106 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12107 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12108 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12109 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12110 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12111 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12112 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12113 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12114 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12115 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12116 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12117 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12118 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12119 (__isnanf): Likewise.
12120 (__isinf_ns): Likewise.
12121 (__isinf_nsf): Likewise.
12122 (__finite): Likewise.
12123 (__finitef): Likewise.
12124 (__ieee754_sqrt): Define as macro.
12125 (__ieee754_sqrtf): Define as macro.
12126 (__ieee754_sqrtl): Define as macro.
12127 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12128 inlined copy.
12129 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12130 __FINITE_MATH_ONLY__ consistent.
12131 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12132
12cc2fcd
AS
121332011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12134
a843a204
AS
12135 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12136 of rawmemchr.
12137
12cc2fcd
AS
12138 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12139
c853acd5
UD
121402011-10-09 Ulrich Drepper <drepper@gmail.com>
12141
12142 * po/ja.po: Update from translation team.
12143
c658d255
RM
121442011-10-08 Roland McGrath <roland@hack.frob.com>
12145
110946e4
RM
12146 * locale/programs/locarchive.c (prepare_address_space): New function.
12147 (create_archive, enlarge_archive, open_archive): Use it.
12148
50604220
RM
12149 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12150 inside [SHARED], where it is used.
12151
c658d255
RM
12152 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12153
12154 * nss/getent.c (netgroup_keys): Remove unused variable.
12155 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12156
6a621eb7
UD
121572011-10-08 Ulrich Drepper <drepper@gmail.com>
12158
7edb55ce
UD
12159 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12160 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12161 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12162 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12163 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12164 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12165 * math/Makefile (libm-calls): Add s_isinf_ns.
12166 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12167 * math/multc3.c: Likewise.
12168 * math/s_casin.c: Likewise.
12169 * math/s_casinf.c: Likewise.
12170 * math/s_casinl.c: Likewise.
12171 * math/s_ccos.c: Likewise.
12172 * math/s_ccosf.c: Likewise.
12173 * math/s_ccosl.c: Likewise.
12174 * math/s_ctan.c: Likewise.
12175 * math/s_ctanf.c: Likewise.
12176 * math/s_ctanh.c: Likewise.
12177 * math/s_ctanhf.c: Likewise.
12178 * math/s_ctanhl.c: Likewise.
12179 * math/s_ctanl.c: Likewise.
12180 * math/w_fmod.c: Likewise.
12181 * math/w_fmodf.c: Likewise.
12182 * math/w_fmodl.c: Likewise.
12183 * math/w_remainder.c: Likewise.
12184 * math/w_remainderf.c: Likewise.
12185 * math/w_remainderl.c: Likewise.
12186 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12187 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12188 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12189 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12190 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12191 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12192 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12193 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12194
187da0ae
UD
12195 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12196 of the number.
12197 * stdio-common/printf_fphex.c: Likewise.
12198 * stdio-common/printf_size.c: Likewise.
12199
9277c064
UD
12200 * math/e_exp10.c: Include math_private.h using <...> not "...".
12201 * math/e_exp10f.c: Likewise.
12202 * math/e_exp10l.c: Likewise.
12203 * math/e_exp2l.c: Likewise.
12204 * math/e_j0l.c: Likewise.
12205 * math/e_j1l.c: Likewise.
12206 * math/e_jnl.c: Likewise.
12207 * math/e_lgammal_r.c: Likewise.
12208 * math/e_rem_pio2l.c: Likewise.
12209 * math/e_scalb.c: Likewise.
12210 * math/e_scalbf.c: Likewise.
12211 * math/e_scalbl.c: Likewise.
12212 * math/k_cosl.c: Likewise.
12213 * math/k_sinl.c: Likewise.
12214 * math/k_tanl.c: Likewise.
12215 * math/s_cacoshf.c: Likewise.
12216 * math/s_catan.c: Likewise.
12217 * math/s_catanf.c: Likewise.
12218 * math/s_catanh.c: Likewise.
12219 * math/s_catanhf.c: Likewise.
12220 * math/s_catanhl.c: Likewise.
12221 * math/s_catanl.c: Likewise.
12222 * math/s_ccosh.c: Likewise.
12223 * math/s_ccoshf.c: Likewise.
12224 * math/s_ccoshl.c: Likewise.
12225 * math/s_cexp.c: Likewise.
12226 * math/s_cexpf.c: Likewise.
12227 * math/s_cexpl.c: Likewise.
12228 * math/s_clog.c: Likewise.
12229 * math/s_clog10.c: Likewise.
12230 * math/s_clog10f.c: Likewise.
12231 * math/s_clog10l.c: Likewise.
12232 * math/s_clogf.c: Likewise.
12233 * math/s_clogl.c: Likewise.
12234 * math/s_csin.c: Likewise.
12235 * math/s_csinf.c: Likewise.
12236 * math/s_csinh.c: Likewise.
12237 * math/s_csinhf.c: Likewise.
12238 * math/s_csinhl.c: Likewise.
12239 * math/s_csinl.c: Likewise.
12240 * math/s_csqrt.c: Likewise.
12241 * math/s_csqrtf.c: Likewise.
12242 * math/s_csqrtl.c: Likewise.
12243 * math/s_ctan.c: Likewise.
12244 * math/s_ctanf.c: Likewise.
12245 * math/s_ctanh.c: Likewise.
12246 * math/s_ctanhf.c: Likewise.
12247 * math/s_ctanhl.c: Likewise.
12248 * math/s_ctanl.c: Likewise.
12249 * math/s_ldexp.c: Likewise.
12250 * math/s_ldexpf.c: Likewise.
12251 * math/s_ldexpl.c: Likewise.
12252 * math/s_significand.c: Likewise.
12253 * math/s_significandf.c: Likewise.
12254 * math/s_significandl.c: Likewise.
12255 * math/w_acos.c: Likewise.
12256 * math/w_acosf.c: Likewise.
12257 * math/w_acosh.c: Likewise.
12258 * math/w_acoshf.c: Likewise.
12259 * math/w_acoshl.c: Likewise.
12260 * math/w_acosl.c: Likewise.
12261 * math/w_asin.c: Likewise.
12262 * math/w_asinf.c: Likewise.
12263 * math/w_asinl.c: Likewise.
12264 * math/w_atan2.c: Likewise.
12265 * math/w_atan2f.c: Likewise.
12266 * math/w_atan2l.c: Likewise.
12267 * math/w_atanh.c: Likewise.
12268 * math/w_atanhf.c: Likewise.
12269 * math/w_atanhl.c: Likewise.
12270 * math/w_cosh.c: Likewise.
12271 * math/w_coshf.c: Likewise.
12272 * math/w_coshl.c: Likewise.
12273 * math/w_dremf.c: Likewise.
12274 * math/w_exp10.c: Likewise.
12275 * math/w_exp10f.c: Likewise.
12276 * math/w_exp10l.c: Likewise.
12277 * math/w_exp2.c: Likewise.
12278 * math/w_exp2f.c: Likewise.
12279 * math/w_fmod.c: Likewise.
12280 * math/w_fmodf.c: Likewise.
12281 * math/w_fmodl.c: Likewise.
12282 * math/w_hypot.c: Likewise.
12283 * math/w_hypotf.c: Likewise.
12284 * math/w_hypotl.c: Likewise.
12285 * math/w_j0.c: Likewise.
12286 * math/w_j0f.c: Likewise.
12287 * math/w_j0l.c: Likewise.
12288 * math/w_j1.c: Likewise.
12289 * math/w_j1f.c: Likewise.
12290 * math/w_j1l.c: Likewise.
12291 * math/w_jn.c: Likewise.
12292 * math/w_jnf.c: Likewise.
12293 * math/w_jnl.c: Likewise.
12294 * math/w_lgamma.c: Likewise.
12295 * math/w_lgamma_r.c: Likewise.
12296 * math/w_lgammaf.c: Likewise.
12297 * math/w_lgammaf_r.c: Likewise.
12298 * math/w_lgammal.c: Likewise.
12299 * math/w_lgammal_r.c: Likewise.
12300 * math/w_log.c: Likewise.
12301 * math/w_log10.c: Likewise.
12302 * math/w_log10f.c: Likewise.
12303 * math/w_log10l.c: Likewise.
12304 * math/w_log2.c: Likewise.
12305 * math/w_log2f.c: Likewise.
12306 * math/w_log2l.c: Likewise.
12307 * math/w_logf.c: Likewise.
12308 * math/w_logl.c: Likewise.
12309 * math/w_pow.c: Likewise.
12310 * math/w_powf.c: Likewise.
12311 * math/w_powl.c: Likewise.
12312 * math/w_remainder.c: Likewise.
12313 * math/w_remainderf.c: Likewise.
12314 * math/w_remainderl.c: Likewise.
12315 * math/w_scalb.c: Likewise.
12316 * math/w_scalbf.c: Likewise.
12317 * math/w_scalbl.c: Likewise.
12318 * math/w_sinh.c: Likewise.
12319 * math/w_sinhf.c: Likewise.
12320 * math/w_sinhl.c: Likewise.
12321 * math/w_sqrt.c: Likewise.
12322 * math/w_sqrtf.c: Likewise.
12323 * math/w_sqrtl.c: Likewise.
12324 * math/w_tgamma.c: Likewise.
12325 * math/w_tgammaf.c: Likewise.
12326 * math/w_tgammal.c: Likewise.
12327
6a621eb7
UD
12328 * po/ja.po: Update from translation team.
12329
bf582445
AJ
123302011-09-29 Andreas Jaeger <aj@suse.de>
12331
f9efbf3a
AJ
12332 [BZ #13179]
12333 * sunrpc/netname.c (netname2host): Fix logic.
12334
bf582445
AJ
12335 [BZ #6779]
12336 [BZ #6783]
12337 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12338 correctly.
12339 * math/w_remainder.c (__remainder): Likewise.
12340 * math/w_remainderf.c (__remainderf): Likewise.
12341 * math/libm-test.inc (remainder_test): Add test cases.
12342
48693bea
AK
123432011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12344
12345 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
12346 sdiv_qrnnd.
12347
42622229
LD
123482011-10-07 Ulrich Drepper <drepper@gmail.com>
12349
12350 * string/test-memcmp.c: Avoid unncessary #defines.
12351 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12352
093ecf92
LD
123532011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12354
12355 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12356 Use new sse2 version for core i3 - i7 as it's faster
12357 than sse42 version.
12358 (bit_Prefer_PMINUB_for_stringop): New.
12359 * sysdeps/x86_64/rawmemchr.S: Update.
12360 Replace with faster SSE2 version.
12361 * sysdeps/x86_64/memrchr.S: New file.
12362 * sysdeps/x86_64/memchr.S: Update.
12363 Replace with faster SSE2 version.
12364
fde56e5c
MP
123652011-09-12 Marek Polacek <mpolacek@redhat.com>
12366
12367 * elf/dl-load.c (lose): Add cast to avoid warning.
12368
21fd49a9
UD
123692011-10-07 Ulrich Drepper <drepper@gmail.com>
12370
5a06e643
UD
12371 * po/ca.po: Update from translation team.
12372
684ae515
UD
12373 * inet/getnetgrent_r.c: Hook up nscd.
12374 * nscd/Makefile (routines): Add nscd_netgroup.
12375 (nscd-modules): Add netgroupcache.
12376 (CFLAGS-netgroupcache.c): Define.
12377 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12378 (cache_search): Add const to second parameter.
12379 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12380 INNETGR.
12381 (dbs): Add netgrdb entry.
12382 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12383 (verify_persistent_db): Handle netgrdb.
12384 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12385 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12386 GETFDNETGR.
12387 (netgroup_response_header): Define.
12388 (innetgroup_response_header): Define.
12389 (datahead): Add netgroup_response_header and innetgroup_response_header
12390 elements.
12391 * nscd/nscd.conf: Add entries for netgroup cache.
12392 * nscd/nscd.h (dbtype): Add netgrdb.
12393 (_PATH_NSCD_NETGROUP_DB): Define.
12394 (netgroup_iov_disabled): Declare.
12395 (xmalloc, xcalloc, xrealloc): Move declarations here.
12396 (cache_search): Adjust prototype.
12397 Add netgroup-related prototypes.
12398 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
12399 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
12400 (__nscd_innetgr): Declare.
12401 * nscd/selinux.c (perms): Use access_vector_t as element type and
12402 add netgroup-related initializers.
12403 * nscd/netgroupcache.c: New file.
12404 * nscd/nscd_netgroup.c: New file.
12405 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12406 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12407 For four parameters use innetgr.
12408 * nss/nss_files/files-init.c: Add definition and callback for netgr.
12409 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12410 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12411 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12412
21fd49a9
UD
12413 * nscd/connections.c (register_traced_file): Don't register file
12414 for disabled databases.
12415
054c0457
UD
124162011-10-06 Ulrich Drepper <drepper@gmail.com>
12417
32b63198
UD
12418 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
12419
054c0457
UD
12420 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
12421 from tree and freeing node.
12422
64031225
JO
124232011-09-25 Jiri Olsa <jolsa@redhat.com>
12424
12425 * nss/nsswitch.c (__nss_database_lookup): Handle
12426 nss_parse_service_list out of memory case.
12427
0490345c
JO
124282011-09-15 Jiri Olsa <jolsa@redhat.com>
12429
12430 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12431 out of memory case.
12432
3a62d00d
AS
124332011-10-04 Andreas Schwab <schwab@redhat.com>
12434
12435 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12436 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12437 pass it down.
12438 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12439 elf_machine_rela, elf_machine_lazy_rel.
12440 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12441 (ELF_DYNAMIC_DO_REL): Likewise.
12442 (ELF_DYNAMIC_DO_RELA): Likewise.
12443 (ELF_DYNAMIC_RELOCATE): Likewise.
12444 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12445 to ELF_DYNAMIC_DO_REL.
12446 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12447 (dl_main): In trace mode always set __RTLD_NOIFUNC.
12448 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12449 elf_machine_rela.
12450 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12451 skip_ifunc, don't call ifunc function if non-zero.
12452 (elf_machine_rela): Likewise.
12453 (elf_machine_lazy_rel): Likewise.
12454 (elf_machine_lazy_rela): Likewise.
12455 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12456 (elf_machine_lazy_rel): Likewise.
12457 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12458 Likewise.
12459 (elf_machine_lazy_rel): Likewise.
12460 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12461 Likewise.
12462 (elf_machine_lazy_rel): Likewise.
12463 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12464 (elf_machine_lazy_rel): Likewise.
12465 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12466 (elf_machine_lazy_rel): Likewise.
12467 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12468 (elf_machine_lazy_rel): Likewise.
12469 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12470 (elf_machine_lazy_rel): Likewise.
12471 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12472 (elf_machine_lazy_rel): Likewise.
12473 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12474 (elf_machine_lazy_rel): Likewise.
12475
68577918
UD
124762011-09-28 Ulrich Drepper <drepper@gmail.com>
12477
12478 * nss/nss_files/files-init.c (_nss_files_init): Use static
12479 initialization for all the *_traced_file variables.
12480
68822d74
AS
124812011-09-28 Andreas Schwab <schwab@redhat.com>
12482
12483 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12484
2056100b
RM
124852011-09-27 Roland McGrath <roland@hack.frob.com>
12486
12487 [BZ #13226]
12488 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12489
32c76b63
AS
124902011-09-27 Andreas Schwab <schwab@redhat.com>
12491
12492 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12493 Reread the line before reparsing it.
12494
bf972c9d
AS
124952011-09-26 Andreas Schwab <schwab@redhat.com>
12496
12497 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12498
e057a1b5
JM
124992011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12500 Maxim Kuvyrkov <maxim@codesourcery.com>
12501 Joseph Myers <joseph@codesourcery.com>
12502
12503 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12504 if needed for __stack_chk_guard.
12505
bc7e1c36
RM
125062011-09-19 Roland McGrath <roland@hack.frob.com>
12507
ecb1482f
RM
12508 * sysdeps/posix/spawni.c (script_execute): Always define it.
12509 It will be optimized away if unused.
12510 (maybe_script_execute): New function.
12511 (__spawni): Call it.
12512
bc7e1c36
RM
12513 * Makerules: Don't include tls.make.
12514 (config-tls): Always set to thread.
12515 * tls.make.c: File removed.
12516
1c3b002b
MF
125172011-09-19 Mike Frysinger <vapier@gentoo.org>
12518
12519 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12520 * config.make.in (CPPFLAGS-config): New substituted variable.
12521
2840865d
UD
125222011-09-15 Ulrich Drepper <drepper@gmail.com>
12523
88738eb6
UD
12524 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12525
cbf645a6 12526 [BZ #13192]
2840865d
UD
12527 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12528 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12529
b402e91a
RM
125302011-09-15 Roland McGrath <roland@hack.frob.com>
12531
12532 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12533 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12534 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12535 (CALL_FAIL): Likewise.
12536 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12537 (CALL_FAIL): Macro removed.
12538 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12539
4c1a1f71
UD
125402011-09-15 Ulrich Drepper <drepper@gmail.com>
12541
12542 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12543 for __FINITE_MATH_ONLY__ == 1.
12544
edc121be
AS
125452011-09-15 Andreas Schwab <schwab@redhat.com>
12546
12547 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12548 __ieee754_sqrt instead of sqrt.
12549 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12550 __ieee754_sqrtf instead of sqrtf.
12551 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12552 __floorf instead of floorf.
12553 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12554 __floorf, __truncf instead of floorf, truncf.
12555
cd205654
UD
125562011-09-14 Ulrich Drepper <drepper@gmail.com>
12557
ee4d0315
UD
12558 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12559
cd205654
UD
12560 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12561 __extern_always_inline.
12562 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12563 32-bit.
12564
48b67d71
AS
125652011-09-14 Andreas Schwab <schwab@redhat.com>
12566
12567 * elf/rtld.c (dl_main): Also relocate in dependency order when
12568 doing symbol dependency testing.
12569
1ae12c75
AS
125702011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12571
12572 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12573 Always define `refsym'.
12574
995a80df
AS
125752011-09-13 Andreas Schwab <schwab@redhat.com>
12576
e529793b
AS
12577 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12578 (__FD_ELT): Renamed from __FDELT.
12579 * misc/bits/select2.h (__FD_ELT): Likewise.
12580 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12581 __FD_MASK instead of __FDELT, __FDMASK.
12582 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12583 Likewise.
12584 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12585 Likewise.
12586
52d4fef8
AS
12587 * elf/Makefile (gen-ldd): Fix pattern.
12588
995a80df
AS
12589 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12590 (init_tls): Likewise.
12591
8682f8b0
UD
125922011-09-12 Ulrich Drepper <drepper@gmail.com>
12593
12594 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12595
de82006d
AS
125962011-09-12 Andreas Schwab <schwab@redhat.com>
12597
a7c8e6a1
AS
12598 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12599 `struct cmsghdr *' instead of `void *'.
12600 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12601 Likewise.
12602
0f31fe77
AS
126032011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12604
12605 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12606 if non-absolute.
12607 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12608 ldd_rewrite_script.
0f31fe77 12609
32b4c839
UD
126102011-09-11 Ulrich Drepper <drepper@gmail.com>
12611
83cd1420
UD
12612 * configure.in: Remove --with-tls option.
12613 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12614 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12615 out in case it is missing.
12616 * sysdeps/ia64/elf/configure.in: Likewise.
12617 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12618 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12619 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12620 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12621 * sysdeps/sh/elf/configure.in: Likewise.
12622 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12623 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12624 * sysdeps/x86_64/elf/configure.in: Likewise.
12625 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12626 * sysdeps/mach/hurd/tls.h: Likewise.
12627
633f745d
UD
12628 [BZ #13067]
12629 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12630
f318beb8
UD
12631 [BZ #13090]
12632 * configure.in: Fix use of AC_INIT.
12633
32b4c839
UD
12634 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12635
3ce1f295
UD
126362011-09-10 Ulrich Drepper <drepper@gmail.com>
12637
bb016596
UD
12638 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12639 __set_errno.
8e58439c
UD
12640 * malloc/hooks.c: Likewise.
12641
aebae053 12642 [BZ #11929]
02d46fc4
UD
12643 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12644 variables statically.
12645 (narenas): Initialize.
12646 (list_lock): Initialize.
bb016596
UD
12647 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12648 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
12649 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12650 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12651 Add initializers to main_arena and mp_.
12652 (malloc_state): Remove pagesize member. Change all users to use
12653 GLRO(dl_pagesize).
12654
12655 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12656 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12657 is always initialized.
12658
22a89187
UD
12659 * malloc/malloc.c: Removed unused configurations and dead code.
12660 * malloc/arena.c: Likewise.
12661 * malloc/hooks.c: Likewise.
02d46fc4 12662 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 12663
d063d164
UD
12664 * include/tls.h: Removed. USE___THREAD must always be defined.
12665 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12666 * elf/dl-libc.c: Likewise.
12667 * elf/dl-tsd.c: Likewise.
12668 * include/errno.h: Likewise.
12669 * include/netdb.h: Likewise.
12670 * include/resolv.h: Likewise.
12671 * inet/herrno-loc.c: Likewise.
12672 * inet/herrno.c: Likewise.
12673 * malloc/arena.c: Likewise.
12674 * malloc/hooks.c: Likewise.
12675 * malloc/malloc.c: Likewise.
12676 * resolv/res-state.c: Likewise.
12677 * resolv/res_libc.c: Likewise.
12678 * sysdeps/i386/dl-machine.h: Likewise.
12679 * sysdeps/ia64/dl-machine.h: Likewise.
12680 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12681 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12682 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12683 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12684 * sysdeps/sh/dl-machine.h: Likewise.
12685 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12686 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12687 * sysdeps/unix/i386/sysdep.S: Likewise.
12688 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12689 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12690 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12691 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12692 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12693 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12694 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12695 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12696 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12697 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12698 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12699 * sysdeps/x86_64/dl-machine.h: Likewise.
12700 * tls.make.c: Likewise.
12701
3ce1f295
UD
12702 * configure.in: Remove --with-__thread option. Make tests for
12703 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12704 tls_model attribute fail if no support is available. Remove
12705 USE_IN_LIBIO.
12706 * Makeconfig: Adjust for dropped configure option. All features are
12707 now mandatory.
12708 * Makerules: Likewise.
12709 * Versions.def: Likewise.
12710 * argp/argp-fmtstream.c: Likewise.
12711 * argp/argp-fmtstream.h: Likewise.
12712 * argp/argp-help.c: Likewise.
12713 * assert/assert.c: Likewise.
12714 * config.h.in: Likewise.
12715 * config.make.in: Likewise.
12716 * configure: Likewise.
12717 * configure.in: Likewise.
12718 * csu/Versions: Likewise.
12719 * csu/init.c: Likewise.
12720 * elf/tst-audit2.c: Likewise.
12721 * elf/tst-tls10.c: Likewise.
12722 * elf/tst-tls10.h: Likewise.
12723 * elf/tst-tls11.c: Likewise.
12724 * elf/tst-tls12.c: Likewise.
12725 * elf/tst-tls14.c: Likewise.
12726 * elf/tst-tlsmod11.c: Likewise.
12727 * elf/tst-tlsmod12.c: Likewise.
12728 * elf/tst-tlsmod13.c: Likewise.
12729 * elf/tst-tlsmod13a.c: Likewise.
12730 * elf/tst-tlsmod14a.c: Likewise.
12731 * elf/tst-tlsmod15b.c: Likewise.
12732 * elf/tst-tlsmod16a.c: Likewise.
12733 * elf/tst-tlsmod16b.c: Likewise.
12734 * elf/tst-tlsmod7.c: Likewise.
12735 * elf/tst-tlsmod8.c: Likewise.
12736 * elf/tst-tlsmod9.c: Likewise.
12737 * gmon/gmon.c: Likewise.
12738 * grp/fgetgrent_r.c: Likewise.
12739 * grp/putgrent.c: Likewise.
12740 * hurd/fopenport.c: Likewise.
12741 * include/libc-symbols.h: Likewise.
12742 * include/tls.h: Likewise.
12743 * intl/gettextP.h: Likewise.
12744 * intl/loadinfo.h: Likewise.
12745 * locale/global-locale.c: Likewise.
12746 * locale/localeinfo.h: Likewise.
12747 * mach/devstream.c: Likewise.
12748 * malloc/arena.c: Likewise.
12749 * malloc/set-freeres.c: Likewise.
12750 * misc/err.c: Likewise.
12751 * misc/getttyent.c: Likewise.
12752 * misc/mntent_r.c: Likewise.
12753 * posix/getopt.c: Likewise.
12754 * posix/wordexp.c: Likewise.
12755 * pwd/fgetpwent_r.c: Likewise.
12756 * resolv/Versions: Likewise.
12757 * resolv/res_hconf.c: Likewise.
12758 * shadow/fgetspent_r.c: Likewise.
12759 * shadow/putspent.c: Likewise.
12760 * stdio-common/printf_fphex.c: Likewise.
12761 * stdio-common/tmpfile.c: Likewise.
12762 * stdlib/abort.c: Likewise.
12763 * stdlib/fmtmsg.c: Likewise.
12764 * sunrpc/auth_unix.c: Likewise.
12765 * sunrpc/clnt_perr.c: Likewise.
12766 * sunrpc/clnt_tcp.c: Likewise.
12767 * sunrpc/clnt_udp.c: Likewise.
12768 * sunrpc/clnt_unix.c: Likewise.
12769 * sunrpc/openchild.c: Likewise.
12770 * sunrpc/svc_simple.c: Likewise.
12771 * sunrpc/svc_tcp.c: Likewise.
12772 * sunrpc/svc_udp.c: Likewise.
12773 * sunrpc/svc_unix.c: Likewise.
12774 * sunrpc/xdr.c: Likewise.
12775 * sunrpc/xdr_array.c: Likewise.
12776 * sunrpc/xdr_rec.c: Likewise.
12777 * sunrpc/xdr_ref.c: Likewise.
12778 * sunrpc/xdr_stdio.c: Likewise.
12779
1248c1c4
PB
127802011-09-09 Ulrich Drepper <drepper@gmail.com>
12781
12782 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12783
127842011-07-03 Andreas Jaeger <aj@suse.de>
12785
12786 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12787 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12788 regenerate with gen-libm-tests.pl.
12789
127902010-05-12 Petr Baudis <pasky@suse.cz>
12791
12792 [BZ #11589]
12793 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12794 around j0() zero points by switching to j1().
12795 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12796 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12797 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12798 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12799
f22e1074
UD
128002011-09-09 Ulrich Drepper <drepper@gmail.com>
12801
f19009c1
UD
12802 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12803 instead of 0.
12804 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12805 instead of 0. .
12806 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12807 Patch in part by Pavel Roskin <proski@gnu.org>.
12808
3f8cc204
UD
12809 [BZ #13138]
12810 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12811 realloc.
12812 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12813 Free memory block if necessary.
12814
f22e1074
UD
12815 [BZ #12847]
12816 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12817 be NULL. Don't lock in this case.
12818
0a2349f9
RM
128192011-09-09 Roland McGrath <roland@hack.frob.com>
12820
12821 * elf/elf.h (ELFOSABI_GNU): New macro.
12822 (ELFOSABI_LINUX): Define to that.
12823
f3cdd467
DZ
128242011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12825
12826 * string/strncat.c (strncat): Undef the symbol in case it has been
12827 defined in bits/string.h.
12828
74718d13
UD
128292011-09-09 Ulrich Drepper <drepper@gmail.com>
12830
633e9e0f
UD
12831 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12832
0a2349f9 12833 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12834 link map.
12835
f9924780
AJ
128362011-08-17 Andreas Jaeger <aj@suse.de>
12837
12838 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12839
7f5517aa
PP
128402011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12841 Ian Lance Taylor <iant@google.com>
12842
12843 * math/libm-test.inc (lround_test): New testcase.
12844 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12845
762011fe
UD
128462011-09-08 Ulrich Drepper <drepper@gmail.com>
12847
92963737
UD
12848 * Makefile: Remove support for automatic cvs check-ins.
12849 * Makerules: Likewise.
12850 * config.make.in: Likewise.
12851 * configure.in: Likewise.
12852 * intl/Makefile: Likewise.
12853 * locale/Makefile: Likewise.
12854 * po/Makefile: Likewise.
12855 * posix/Makefile: Likewise.
12856 * sysdeps/gnu/Makefile: Likewise.
12857 * sysdeps/mach/hurd/Makefile: Likewise.
12858 * sysdeps/sparc/sparc32/Makefile: Likewise.
12859
b0727fd8
JS
12860 [BZ #13118]
12861 * posix/Makefile (bug-regex32-ENV): Define.
12862 Patch by John Stanley <jpsinthemix@verizon.net>.
12863
a0f33f99
UD
12864 * misc/Makefile (headers): Add bits/select2.h.
12865 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12866 * misc/bits/select2.h: New file.
12867 * include/bits/select2.h: New file.
12868 * debug/Makefile (routines): Add fdelt_chk.
12869 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12870 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12871 FD_ISSET.
12872 * debug/fdelt_chk.c: New file.
12873
762011fe
UD
12874 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12875 * wcsmbs/test-wmemcmp.c: Likewise.
12876 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12877 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12878
128792011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12880
12881 * string/Makefile (strop-tests): Add memcmp.
12882 * string/test-wmemcmp.c: New file.
12883 * string/test-memcmp.c: Add wmemcmp support.
12884
7f513ec8
RM
128852011-09-08 Roland McGrath <roland@hack.frob.com>
12886
0442afb4
RM
12887 [BZ #13153]
12888 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12889 2011-07-19 change.
12890
7f513ec8
RM
12891 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12892 garbage value in a __mach_port_mod_refs call in the cases of the
12893 task-self and thread-self ports.
12894
a12b2239
ST
128952011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12896
12897 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12898
610f9ab4
AS
128992011-09-08 Andreas Schwab <schwab@redhat.com>
12900
7f513ec8 12901 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12902
48882a1a
LD
129032011-09-07 Ulrich Drepper <drepper@gmail.com>
12904
b49865be
UD
12905 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12906
fdc86bc9
UD
12907 * elf/dl-libc.c (dlerror_run): Pass back error code from
12908 dl_catch_error.
12909
c966526a
UD
12910 [BZ #13123]
12911 * elf/dl-load.c (lose): Free l_origin if it is valid.
12912
48882a1a
LD
12913 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12914 names.
12915 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12916 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12917 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12918 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12919 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12920 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12921
77a2a8b4
AZ
129222011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12923
12924 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12925 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12926 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12927 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12928 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12929 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12930 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12931 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12932 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12933 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12934
24f579d8
AM
129352011-08-15 Alan Modra <amodra@gmail.com>
12936
12937 [BZ #13092]
12938 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12939 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12940 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12941 ppc_mcount to static-only-routines.
12942 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12943 __mcount_internal.
12944 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12945 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12946
3d4837df
UD
129472011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12948
12949 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12950 for finite and infinity parameters.
12951
22700377
WS
129522011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12953
12954 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12955 and add nop instructions for throughput optimization.
12956 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12957
5025581e
WS
129582011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12959
12960 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12961 aligned copy for power7 with vector-scalar instructions.
12962 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12963
08a300c9
L
129642011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12965
12966 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12967 AVX check.
12968
59178ef9
AS
129692011-09-07 Andreas Schwab <schwab@redhat.com>
12970
12971 [BZ #13144]
12972 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12973 last change.
12974
e38ba7ab
UD
129752011-09-07 Ulrich Drepper <drepper@gmail.com>
12976
12977 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12978 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12979 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12980 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12981 clock_gettime.
12982
d53a73ac
UD
129832011-09-06 Ulrich Drepper <drepper@gmail.com>
12984
fc8bffcc
UD
12985 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12986 Forgot to demangle the pointer.
12987
ceaa0c5d
UD
12988 * sysdeps/i386/sysdep.h: Define atom_text_section.
12989 * sysdeps/x86_64/sysdep.h: Likewise.
12990 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12991 section with atom_text_section.
12992 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12993 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12994 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12995 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12996 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12997
a77d3c17
UD
12998 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12999 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13000 already be defined. Change to take two parameters and don't assign
13001 result to variable. Adjust all users.
13002 Define INTERNAL_GETTIME if not already defined.
13003 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13004 call.
13005 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13006 HAVE_CLOCK_GETTIME_VSYSCALL.
13007 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13008
d53a73ac
UD
13009 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13010 gettimeofday vsyscall, just use time.
13011
a8f84144
AS
130122011-09-06 Andreas Schwab <schwab@redhat.com>
13013
13014 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13015 <errno.h>.
13016
ef606249
UD
130172011-09-06 Ulrich Drepper <drepper@gmail.com>
13018
13019 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13020 syscall on x86-64.
13021 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13022 syscall.
13023 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13024 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13025 syscall if possible.
13026
6585cb60
UD
130272011-09-05 Ulrich Drepper <drepper@gmail.com>
13028
13029 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13030 e_ident. Don't pass to find_mapsXX.
13031 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13032
a5f524e4
LD
130332011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13034
13035 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13036 strchr-sse2-no-bsf strrchr-sse2-no-bsf
13037 * sysdeps/x86_64/multiarch/strchr.S: Update.
13038 Check bit_slow_BSF bit.
13039 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13040 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13041 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13042
554881ef
UD
130432011-09-05 Ulrich Drepper <drepper@gmail.com>
13044
d96de963
UD
13045 [BZ #13134]
13046 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13047 before glibc 2.15.
13048 (tryshell): Define.
13049 (__spawni): Change last parameter to be flag. Test
13050 SPAWN_XFLAGS_USE_PATH flag to use path or not.
13051 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13052 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13053 * posix/spawni.c: Likewise.
13054 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13055 * posix/spawnp.c: Likewise. Change normal version to use
13056 SPAWN_XFLAGS_USE_PATH.
13057 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13058 SPAWN_XFLAGS_TRY_SHELL.
13059
d48e5868
UD
13060 [BZ #13150]
13061 * posix/glob.h: Remove gcc 1.x support.
13062
554881ef
UD
13063 [BZ #13068]
13064 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13065
693fb948
LD
130662011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13067
13068 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13069 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13070 strrchr-sse2-bsf
13071 * sysdeps/i386/i686/multiarch/strchr.S: New file.
13072 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13073 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13074 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13075 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13076 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13077
1b48c537
UD
130782011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13079
49d42c37
UD
13080 * sysdeps/x86_64/wcscmp.S: New file.
13081
1b48c537
UD
13082 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13083 wcscmp-c wcscmp-sse2
13084 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13085 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13086 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13087 * wcsmbs/wcscmp.c: Allow renaming.
13088
15c95c5d
DM
130892011-09-05 David S. Miller <davem@davemloft.net>
13090
13091 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13092 stack slot, rather than the struct return pointer slot.
13093 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13094 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13096 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13097
2f0ad8f3
UD
130982011-09-05 Ulrich Drepper <drepper@gmail.com>
13099
d88ae418
UD
13100 * po/ja.po: Update from translation team.
13101
2f0ad8f3
UD
13102 [BZ #13144]
13103 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13104 kernel in 64-bit binaries.
13105
5f4318d1
DM
131062011-09-01 David S. Miller <davem@davemloft.net>
13107
13108 * elf/elf.h (HWCAP_SPARC_*): Move to..
13109 * sysdeps/sparc/sysdep.h: this new file and add new values.
13110 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13111 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13112 _DL_HWCAP_COUNT to 24.
13113 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13114 entries.
13115 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13116 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13117 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13118 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13119 instead of magic constants.
13120 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13121
3ba57516
DM
131222011-08-31 David S. Miller <davem@davemloft.net>
13123
13124 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13125 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13126 Reimplement to do errno handling inline.
13127 (SYSCALL_ERROR_HANDLER): New macro.
13128 (__SYSCALL_STRING): Do not do errno handling in asm.
13129 (__CLONE_SYSCALL_STRING): Delete.
13130 (__INTERNAL_SYSCALL_STRING): Delete.
13131 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13132 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13133 (PSEUDO): Reimplement to do errno handling inline.
13134 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13135 (SYSCALL_ERROR_HANDLER): New macro.
13136 (__SYSCALL_STRING): Do not do errno handling in asm.
13137 (__CLONE_SYSCALL_STRING): Delete.
13138 (__INTERNAL_SYSCALL_STRING): Delete.
13139 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13140 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13141 i386.
13142 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13143 (inline_syscall*): Add 'err' argument.
13144 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13145 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13146 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13147 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13148
13149 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13150 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13151
2bc17433
AS
131522011-08-30 Andreas Schwab <schwab@redhat.com>
13153
13154 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13155
fbeb5f4d
JO
131562011-08-29 Jiri Olsa <jolsa@redhat.com>
13157
13158 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13159 directive.
13160
ad69cc26
DM
131612011-08-24 David S. Miller <davem@davemloft.net>
13162
13163 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13164
39dd69df
AS
131652011-08-24 Andreas Schwab <schwab@redhat.com>
13166
13167 * elf/Makefile: Add rules to build and run unload8 test.
13168 * elf/unload8.c: New file.
13169 * elf/unload8mod1.c: New file.
13170 * elf/unload8mod1x.c: New file.
13171 * elf/unload8mod2.c: New file.
13172 * elf/unload8mod3.c: New file.
13173
13174 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13175 it wasn't used.
13176
2c0b250a
DM
131772011-08-23 David S. Miller <davem@davemloft.net>
13178
13179 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13180 subtract stack bias.
13181 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13182 %sp not %fp in calculations.
13183 (_JMPBUF_UNWINDS_ADJ): Likewise.
13184
22044b48
DM
13185 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13186 (aio_suspend): Call it to force an exception region around the
13187 AIO_MISC_WAIT() invocation.
13188
2cae4995
AS
131892011-08-23 Andreas Schwab <schwab@redhat.com>
13190
13191 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13192 backslash.
13193
873a772e
AJ
131942011-07-04 Aurelien Jarno <aurelien@aurel32.net>
13195
13196 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13197 protection macro.
13198 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13199 and <dl-machine.h>.
13200 (Elf64_FuncDesc): Remove.
13201
25ad0df1
DM
132022011-08-22 David S. Miller <davem@davemloft.net>
13203
13204 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13205 sigaltstack check, add missing cfi directives.
13206 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13207 missing cfi directives, and sigaltstack handling.
13208
e888bcbe
AS
132092011-08-16 Andreas Schwab <schwab@redhat.com>
13210
13211 [BZ #11724]
13212 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13213 object is seen twice.
13214 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13215
13216 * elf/Makefile (distribute): Add tst-initorder2.c.
13217 (tests): Add tst-initorder2.
13218 (modules-names): Add tst-initorder2a tst-initorder2b
13219 tst-initorder2c tst-initorder2d. Add rules to build them.
13220 ($(objpfx)tst-initorder2.out): New rule.
13221 * elf/tst-initorder2.c: New file.
13222 * elf/tst-initorder2.exp: New file.
13223
87162f46
AS
132242011-08-22 Andreas Schwab <schwab@redhat.com>
13225
70538b7f
AS
13226 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13227
f55ffe58
AS
13228 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13229 dependencies back to end of function.
13230
87162f46
AS
13231 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13232 $(elfobjdir)/ld.so.
13233
91b392a4
UD
132342011-08-21 Ulrich Drepper <drepper@gmail.com>
13235
13236 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13237 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13238 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13239 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13240 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13241 of __vdso_gettimeofday.
13242 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13243 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
13244 attribute_hidden.
13245 (_libc_vdso_platform_setup): Remove initialization of
13246 __vdso_gettimeofday and __vdso_time.
13247
5c43483f
UD
132482011-08-20 Ulrich Drepper <drepper@gmail.com>
13249
775a77e7
UD
13250 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13251 and fgetc_unlocked.
13252 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13253 getc_unlocked.
89f447ed 13254
49c74ba9
UD
13255 * elf/dl-open.c (add_to_global): Report additions to the global scope
13256 for LD_DEBUG=scopes.
13257 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 13258 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 13259
5c43483f
UD
13260 [BZ #13114]
13261 * stdio-common/Makefile (tests): Add bug24.
13262 * stdio-common/bug24.c: New file.
13263
a101b025
AJ
132642011-08-19 Andreas Jaeger <aj@suse.de>
13265
13266 [BZ #13114]
13267 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13268 non-existant file when using close-on-exec mode.
13269
c88f1766
UD
132702011-08-20 Ulrich Drepper <drepper@gmail.com>
13271
0276a718
UD
13272 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13273 the very first instruction.
13274
c88f1766
UD
13275 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13276 the CFI state in the end.
13277 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13278 inclusion of dl-trampoline.h.
13279 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13280
51ccffa0
AS
132812011-08-19 Andreas Schwab <schwab@redhat.com>
13282
94d7165f
AS
13283 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13284 expectations for long double.
13285
51ccffa0
AS
13286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13287 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13288
fd708658 132892011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
13290
13291 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13292 artificual limit depends upon the system page size.
13293
44f0a71e
UD
132942011-08-17 Ulrich Drepper <drepper@gmail.com>
13295
13296 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13297 * resolv/Makefile: Define CFLAGS-libresolv.
13298
8de79a24
AS
132992011-08-17 Andreas Schwab <schwab@redhat.com>
13300
13301 * nss/makedb.c (compute_tables): Make variables used in nested
13302 function static.
13303
27724598
UD
133042011-08-17 Ulrich Drepper <drepper@gmail.com>
13305
c5305d88
UD
13306 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13307 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13308 if buffer was too small.
13309
27724598
UD
13310 * elf/pldd.c (main): Attach to all threads in the process.
13311 Rewrite /proc handling to use *at functions.
13312
076fe015
UD
133132011-08-16 Ulrich Drepper <drepper@gmail.com>
13314
174baab3
UD
13315 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13316 specifies first scope to show.
13317 (dl_open_worker): Update callers. Move printing scope of new
13318 object to before the relocation.
44f0a71e 13319 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
13320 * sysdeps/generic/ldsodefs.h: Update declaration.
13321
076fe015
UD
13322 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13323 string for the scope number.
13324
a60df2c3
UD
133252011-08-14 Ulrich Drepper <drepper@gmail.com>
13326
13327 * nscd/servicescache.c (cache_addserv): Make sure written is always
13328 initialized.
13329
5e4287d1
RM
133302011-08-14 Roland McGrath <roland@hack.frob.com>
13331
85ae0589
RM
13332 * sysdeps/i386/i486/bits/atomic.h
13333 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13334 statement expression, so as to suppress "set but not used" warning.
13335 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13336
69f63097
RM
13337 * string/strncat.c (STRNCAT): Use prototype definition.
13338
675456ef
RM
13339 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13340 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13341 -Iprograms here.
13342 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13343 (localedef-modules): Add localedef.
13344 (locale-modules): Add locale.
13345
5e4287d1
RM
13346 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13347 * elf/rtld.c (dl_main): Invert order of assignment in last change,
13348 to avoid a warning.
13349
9c96ff23
DM
133502011-08-14 David S. Miller <davem@davemloft.net>
13351
13352 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13353 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13354
f9ddf089
UD
133552011-08-13 Ulrich Drepper <drepper@gmail.com>
13356
44f0a71e 13357 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
13358 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13359 * elf/rtld.c (dl_main): Set l_name of vDSO.
13360 Call _dl_show_scope when DL_DEBUG_SCOPES.
13361 (process_dl_debug): Recognize scopes flag and also set it for all.
13362 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13363 Declare _dl_show_scope.
13364
1dc27704
UD
13365 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13366 (do_dlopen): Pass caller_dlopen to dl_open.
13367 (__libc_dlopen_mode): Initialize caller_dlopen.
13368
f9ddf089
UD
13369 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13370 of libc. Make tolower call locale-independent. Optimize a bit by
13371 using isdigit instead of isalnum.
13372 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13373
9ac533d3
UD
133742011-08-12 Ulrich Drepper <drepper@gmail.com>
13375
13376 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13377 was a dependency or dynamically loaded.
13378
89edf2e9
UD
133792011-08-11 Ulrich Drepper <drepper@gmail.com>
13380
8e999d29
UD
13381 * intl/l10nflist.c: Allow architecture-specific pop function.
13382 * sysdeps/x86_64/l10nflist.c: New file.
13383
89edf2e9
UD
13384 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13385 classification.
13386
14d96785
AS
133872011-08-10 Andreas Schwab <schwab@redhat.com>
13388
13389 * include/dirent.h: Add libc_hidden_proto for scandirat and
13390 scandirat64. Don't declare __scandirat64.
13391 * dirent/scandirat.c: Add libc_hidden_def.
13392 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13393 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13394
6761ac04
DM
133952011-08-10 David S. Miller <davem@davemloft.net>
13396
13397 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
13398 enum.
13399 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13400 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13401 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13402
c55fbd1e
UD
134032011-08-09 Ulrich Drepper <drepper@gmail.com>
13404
13405 * Versions.def [libc]: Add GLIBC_2.15.
13406 * dirent/Makefile (routines): Add scandirat and scandirat64.
13407 * dirent/Versions [libc]: Export scandirat and scandirat64 for
13408 GLIBC_2.15.
13409 * dirent/dirent.h: Declare scandirat and scandirat64.
13410 * dirent/scandirat.c: New file.
13411 * dirent/scandirat64.c: New file.
13412 * sysdeps/wordsize-64/scandirat.c: New file.
13413 * sysdeps/wordsize-64/scandirat64.c: New file.
13414 * dirent/opendir.c: Define opendirat.
13415 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
13416 using scandirat.
13417 * dirent/scandir64.c: Adjust for scandir.c change.
13418 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
13419 __scandirat64, and __scandir_cancel_handler.
13420 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
13421 additional parameter and use openat instead of open (outside of ld.so).
13422 Add new __opendir as wrapper around __opendirat.
13423 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13424 here without requiring old scandirat implementation.
13425
879165f2
UD
134262011-08-08 Ulrich Drepper <drepper@gmail.com>
13427
13428 * dirent/scandir.c (cancel_handler): Renamed to
13429 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
13430 defined. Adjust users.
13431 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13432 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13433
cb7e923b
UD
134342011-08-04 Ulrich Drepper <drepper@gmail.com>
13435
16292edd
UD
13436 * string/test-string.h (IMPL): Use __STRING to expand name and then
13437 stringify it.
13438
cb7e923b
UD
13439 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
13440 of cleanups.
13441
cff82933
LD
134422011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13443
13444 * string/Makefile: Update.
13445 (strop-tests): Append strncat.
13446 * string/test-wcscmp.c: New file.
13447 New comprehensive test for wcscmp.
13448 * string/test-strcmp.c: Update.
13449 (WIDE): New define.
13450
9be9bfcc
AS
134512011-07-22 Andreas Schwab <schwab@redhat.com>
13452
13453 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13454 line.
13455
2e96f1c7
AS
134562011-07-26 Andreas Schwab <schwab@redhat.com>
13457
13458 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13459 encoding to ACE if AI_IDN.
13460
85188888
JJ
134612011-08-01 Jakub Jelinek <jakub@redhat.com>
13462
13463 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13464 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13465
5fa16e9b
LD
134662011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13467
13468 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13469 Fix overflow bug in strncat.
13470 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13471
13472 * string/test-strncat.c: Update.
13473 Add new tests for checking overflow bugs.
13474
134752011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13476
13477 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13478 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13479 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13480 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13481 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13482 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13483 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13484 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13485 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13486
13487 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13488 (USE_AS_STRCAT): Define.
13489 Add strcat and strncat support.
13490 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13491
8c1a459f
AS
134922011-07-25 Andreas Schwab <schwab@redhat.com>
13493
13494 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13495 __n bigger than INT_MAX+1.
13496 (__strncmp_g): Likewise.
13497
bba33c28
UD
134982011-07-23 Ulrich Drepper <drepper@gmail.com>
13499
798be72d
UD
13500 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13501 * libio/stido.h: Likewise.
13502
8accd4dc
UD
13503 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13504 (AF_NFC): Define.
13505 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13506 (AF_NFC): Define.
13507
cbff0d96
UD
13508 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13509 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13510 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13511 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13512 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13513
9191c04a
UD
13514 [BZ #13021]
13515 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13516 installed.
13517
bba33c28
UD
13518 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13519 typo.
13520 (_dl_x86_64_save_sse): Likewise.
13521
90f139dd
UD
135222011-07-22 Ulrich Drepper <drepper@gmail.com>
13523
1aae088a
UD
13524 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13525 OSXSAVE.
13526 (_dl_x86_64_save_sse): Likewise.
13527
8e2045f5
UD
13528 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13529
90f139dd
UD
13530 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13531
1d002f25
AS
135322011-07-21 Andreas Schwab <schwab@redhat.com>
13533
13534 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13535 change.
13536 (_dl_x86_64_save_sse): Use correct AVX check.
13537
21137f89
UD
135382011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13539
13540 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13541 bug in strncpy/strncat.
13542 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13543
a65c0b7a
UD
135442011-07-21 Ulrich Drepper <drepper@gmail.com>
13545
13546 * string/tester.c (test_strcat): Add tests for different alignments
13547 of source and destination.
13548 (test_strncat): Likewise.
13549
6986b98a
UD
135502011-07-20 Ulrich Drepper <drepper@gmail.com>
13551
90bb2039
UD
13552 [BZ #12852]
13553 * posix/glob.c (glob): Check passed in values before using them in
13554 expressions to avoid some overflows.
13555 (glob_in_dir): Likewise.
13556
5644ef54
UD
13557 [BZ #13007]
13558 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13559 check for AVX enablement so that we don't crash with old kernels and
13560 new hardware.
13561 * elf/tst-audit4.c: Add same checks here.
13562 * elf/tst-audit6.c: Likewise.
13563
13564 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 13565
bfc9dc9b
AS
135662011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13567
13568 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13569
702e64bb
UD
135702011-07-20 Ulrich Drepper <drepper@gmail.com>
13571
13572 * po/cs.po: Update from translation team.
13573 * po/bg.po: Likewise.
13574
295e904f
MP
135752011-07-12 Marek Polacek <mpolacek@redhat.com>
13576
13577 * misc/sys/cdefs.h: Add support for const attribute.
13578 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13579 to gnu_dev_{major,minor,makedev} functions.
13580
3ff94596
MP
135812011-07-20 Marek Polacek <mpolacek@redhat.com>
13582
13583 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13584
28b59fca
AS
135852011-07-20 Andreas Schwab <schwab@redhat.com>
13586
13587 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13588 strlen results.
13589
19df733e
AK
135902011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13591
13592 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13593 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13594 register in order to avoid conflicts with the soft frame pointer
13595 being held in r11 when necessary.
13596 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13597 (INTERNAL_VSYSCALL_NCS): Likewise.
13598
c8835729
MP
135992011-07-14 Marek Polacek <mpolacek@redhat.com>
13600
13601 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13602 * elf/dl-fini.c (_dl_fini): Adjust caller.
13603 * elf/dl-close.c (_dl_close_worker): Likewise.
13604 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13605
b902330c
MP
136062011-07-15 Marek Polacek <mpolacek@redhat.com>
13607
8991e135
MP
13608 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13609 "aux_cache->nlibs < 0".
13610
b902330c
MP
13611 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13612 in the reload-count case.
13613
99710781
LD
136142011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13615
13616 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13617 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13618 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13619 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13620 * sysdeps/x86_64/multiarch/strcat.S: New file.
13621 * sysdeps/x86_64/multiarch/strncat.S: New file.
13622 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13623 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13624 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13625 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13626 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13627 (USE_AS_STRCAT): Define.
13628 Add strcat and strncat support.
13629 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13630 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13631 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13632 * string/strncat.c: Update.
13633 (USE_AS_STRNCAT): Define.
13634 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13635 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13636 and i7.
13637 * sysdeps/x86_64/multiarch/init-arch.h
13638 (bit_Prefer_PMINUB_for_stringop): New.
13639 (index_Prefer_PMINUB_for_stringop): Likewise.
13640 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13641 bit_Prefer_PMINUB_for_stringop.
13642
7dc6bd90
UD
136432011-07-19 Ulrich Drepper <drepper@gmail.com>
13644
13645 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13646 buffer64.
13647 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13648 of casting of buffer.
13649 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13650 buffer32 and buffer64.
13651 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13652 writes instead of casting of buffer.
13653 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13654 buffer32.
13655 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13656 casting of buffer.
13657
e0e72284
AS
136582011-07-19 Andreas Schwab <schwab@redhat.com>
13659
13660 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13661
feb1eb0b
UD
136622011-07-19 Ulrich Drepper <drepper@gmail.com>
13663
13664 * nscd/nscd.c (termination_handler): Don't do anything for a database
13665 if it has not yet been initialized.
13666
298711ff
UD
136672011-07-18 Ulrich Drepper <drepper@gmail.com>
13668
13669 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13670
136712011-07-15 Marek Polacek <mpolacek@redhat.com>
13672
13673 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13674
f9d68389
UD
136752011-07-18 Ulrich Drepper <drepper@gmail.com>
13676
13677 * po/nl.po: Update from translation team.
13678 * po/sv.po: Likewise.
13679
db290cf5
RM
136802011-07-16 Roland McGrath <roland@hack.frob.com>
13681
13682 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13683 now disallowed by GCC.
5c550700 13684
fd5e21c7
RM
13685 * configure.in (use-default-link): Default to yes if a test -shared
13686 link meets our qualifications.
13687 * configure: Regenerated.
13688
5c550700
RM
13689 * config.make.in (output-format): New variable.
13690 * configure.in: Check for ld --print-output-format support.
13691 * configure: Regenerated.
13692 * Makerules ($(common-objpfx)format.lds)
13693 [$(output-format) != unknown]: Just use $(output-format),
13694 instead of the linker-script munging.
13695
9fa2c032
RM
136962011-07-14 Roland McGrath <roland@hack.frob.com>
13697
a6928d51
RM
13698 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13699 of $(common-objpfx)shlib.lds.
13700 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13701
661607b3
RM
13702 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13703 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13704
9fa2c032
RM
13705 * configure.in (-z relro check): Adjust test code to add a large
13706 writable data section after it.
13707 * configure: Regenerated.
13708
defe9061
RM
137092011-07-11 Roland McGrath <roland@hack.frob.com>
13710
13711 * configure.in (-z relro check): Fix test code to make the variable
13712 truly const.
13713 * configure: Regenerated.
13714
319b9ad4
UD
137152011-07-11 Ulrich Drepper <drepper@gmail.com>
13716
13717 * nscd/nscd.h (struct traced_file): Define.
13718 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13719 elements. Add traced_files.
13720 (inotify_fd): Declare.
13721 (register_traced_file): Declare.
13722 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13723 (inotify_fd): Export.
13724 (resolv_conf_descr): Remove.
13725 (nscd_init): Move inotify descriptor creation to main.
13726 Don't register files for notification here.
13727 (register_traced_file): New function.
13728 (invalidate_cache): Don't use reset_res to determine whether to call
13729 res_init, go through the list of registered files.
13730 (main_loop_poll): The inotify descriptors are now stored in the
13731 structures for the traced files.
13732 (main_loop_epoll): Likewise
13733 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13734 to __nss_disable_nscd.
13735 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13736 for a database anymore. Check the records for all the registered
13737 files instead.
13738 * nss/Makefile (libnss_files-routines): Add files-init.
13739 (libnss_db-routines): Add db-init.
13740 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13741 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13742 * nss/nss_db/db-init.c: New file.
13743 * nss/nss_files/files-init.c: New file.
13744 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13745 __nss_lookup_function.
13746 (__nss_lookup_function): Call nss_load_library.
13747 (nss_load_all_libraries): New function.
13748 (__nss_disable_nscd): Take parameter with callback function for files
13749 to register. Set is_nscd. Load all the DSOs for the NSS modules
13750 used for the cached services.
13751 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13752 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13753 options for features to all the files in nscd.
13754
13755 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13756
23bee3e8
RM
137572011-07-10 Roland McGrath <roland@hack.frob.com>
13758
13759 * csu/elf-init.c (__libc_csu_init): Comment typo.
13760
46a5b7f0
UD
137612011-07-09 Ulrich Drepper <drepper@gmail.com>
13762
13763 * po/pl.po: Update from translation team.
13764 * po/ja.po: Likewise.
13765 * po/ru.po: Likewise.
13766 * po/ko.po: Likewise.
13767 * po/fr.po: Likewise.
13768
d30cf5bb
RM
137692011-07-09 Roland McGrath <roland@hack.frob.com>
13770
113ddea4
RM
13771 * configure.in (.ctors/.dtors header and trailer check):
13772 Use an empirical test on a built program.
13773 * configure: Regenerated.
13774
574920b4
RM
13775 * configure.in (-z relro check): Use an empirical test on a built DSO.
13776 Detect, but do not require, on ia64.
13777 * configure: Regenerated.
13778
d30cf5bb
RM
13779 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13780 Update tests that use readelf to use $READELF instead.
13781 * configure: Regenerated.
13782
8538fdb3
UD
137832011-07-08 Ulrich Drepper <drepper@gmail.com>
13784
13785 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13786 if the result is not used.
13787
04d08991
AJ
137882011-07-05 Andreas Jaeger <aj@suse.de>
13789
13790 [BZ#9696]
13791 * stdlib/tst-strtod.c: Add testcase.
13792
de283087
AD
137932011-07-07 Ulrich Drepper <drepper@gmail.com>
13794
4e5f31c8 13795 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 13796 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13797 The latter has a higher limit. Take additional parameter to pass to
13798 the new function.
13799 (__pathconf): Pass file to __statfs_link_max.
13800 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13801 __statfs_link_max.
13802 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13803 __statfs_link_max.
13804
de283087
AD
13805 [BZ #12868]
13806 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13807 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13808 Handle Lustre.
13809 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13810 (__statfs_filesize_max): Likewise.
13811 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13812
c75fa153
AJ
138132011-07-05 Andreas Jaeger <aj@suse.de>
13814
13815 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13816
1a544854
UD
138172011-07-06 Marek Polacek <mpolacek@redhat.com>
13818
13819 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13820 `status' variable.
13821 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13822 Likewise.
13823
6f0eec67
UD
138242011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13825
13826 * Makefile (strop-tests): Add strncat.
13827 * string/test-strncat.c: New file.
13828
aae30307
UD
138292011-06-30 Marek Polacek <mpolacek@redhat.com>
13830
13831 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13832
c0cfb5eb
UD
138332011-06-21 Andreas Jaeger <aj@suse.de>
13834
13835 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13836 Copy rule from iconvdata/Makefile.
13837
01636b21
UD
138382011-07-06 Ulrich Drepper <drepper@gmail.com>
13839
13840 [BZ #12922]
13841 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13842 but no long options are defined, just return 'W'.
13843
9895c8bc
UD
138442011-06-22 Marek Polacek <mpolacek@redhat.com>
13845
13846 [BZ #9696]
13847 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13848
5d4cf042
UD
138492011-07-06 Ulrich Drepper <drepper@gmail.com>
13850
13851 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13852 netgroups to read.
960e5535 13853 (innetgr): Likewise.
5d4cf042 13854
751eb97e
RM
138552011-07-05 Roland McGrath <roland@hack.frob.com>
13856
13857 * config.make.in (install_root): Default to $(DESTDIR).
13858
f15f1e45
UD
138592011-07-05 Ulrich Drepper <drepper@gmail.com>
13860
13861 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13862
4e34ac6a
RM
138632011-07-02 Roland McGrath <roland@hack.frob.com>
13864
5e9b6af4
RM
13865 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13866
84f9ea0f
RM
13867 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13868 containing directory rather than embedding absolute directory names.
13869
ea5ee9f7
RM
13870 * scripts/check-local-headers.sh: Rewritten using awk.
13871 Match by word, not by line. Print error messages for matches.
13872 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13873
1b74661a
RM
13874 * Makerules [shlib-lds-flags empty]:
13875 ($(common-objpfx)libc_pic.opts): New target.
13876 ($(common-objpfx)libc_pic.os.clean): New target.
13877 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13878
13879 * config.make.in (OBJCOPY): New variable.
13880 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13881 * configure: Regenerated.
13882
f781ef40
RM
13883 * config.make.in (use-default-link): New variable.
13884 * configure.in (use_default_link): Grok --with-default-link to set it.
13885 * configure: Regenerated.
13886 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13887 (shlib-lds, shlib-lds-flags): Define to empty.
13888
2d4fa81e
RM
13889 * Makerules (shlib-lds): New variable.
13890 (shlib-lds-flags): New variable.
13891 (build-shlib, build-moduile, build-module-asneeded): Use it.
13892 ($(common-objpfx)libc.so): Use $(shlib-lds).
13893 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13894 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13895
31fffa6b
RM
13896 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13897 DT_FLAGS/DT_FLAGS_1 with zero flags.
13898
4e34ac6a
RM
13899 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13900 linker script munging.
13901
fcfc776b
UD
139022011-07-02 Ulrich Drepper <drepper@gmail.com>
13903
13904 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13905 as 128-bit value.
13906 * crypt/sha512.c (sha512_process_block): Perform total addition using
13907 128-bit if possible.
13908 (__sha512_finish_ctx): Likewise.
13909 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13910 as 64-bit value.
13911 * crypt/sha256.c (SWAP64): Define.
13912 (sha256_process_block): Perform total addition using 64-bit if
13913 possible.
13914 (__sha256_finish_ctx): Likewise.
13915
99231d9a
UD
139162011-07-01 Ulrich Drepper <drepper@gmail.com>
13917
13918 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13919 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13920 * nscd/hstcache.c (cache_addhst): Likewise.
13921 * nscd/grpcache.c (cache_addgr): Likewise.
13922 * nscd/aicache.c (addhstaiX): Likewise
13923 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13924
445b4a53
TK
139252011-07-01 Thorsten Kukuk <kukuk@suse.de>
13926
13927 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13928 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13929 * nscd/hstcache.c (cache_addhst): Likewise.
13930 * nscd/grpcache.c (cache_addgr): Likewise.
13931 * nscd/aicache.c (addhstaiX): Likewise
13932
6d4d8e8e
AS
139332011-07-01 Andreas Schwab <schwab@redhat.com>
13934
13935 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13936 domain only when needed.
13937
89f654c5
AS
139382011-06-30 Andreas Schwab <schwab@redhat.com>
13939
13940 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13941 is always restored.
13942
cf3b23ff
UD
139432011-06-29 Ulrich Drepper <drepper@gmail.com>
13944
13945 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13946 are re-adding the entry.
13947 * nscd/servicescache.c (cache_addserv): Likewise.
13948
751626f9
AJ
139492011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13950
13951 * sysdeps/generic/dl-irel.h: fix protection against multiple
13952 inclusions.
13953 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13954
9113ea1f
UD
139552011-06-28 Ulrich Drepper <drepper@gmail.com>
13956
5c0b8d90
UD
13957 [BZ #12935]
13958 * malloc/memusage.sh: Fix quoting in message.
13959 * debug/xtrace.sh: Likewise.
13960
9113ea1f
UD
13961 * configure.in: Remove support for --experimental-malloc option, make
13962 it the default.
13963 * config.make.in: Likewise.
13964 * malloc/Makefile: Likewise.
13965
a4172181
AS
139662011-06-27 Andreas Schwab <schwab@redhat.com>
13967
13968 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13969 two-byte characters.
13970
78a7eee7
RM
139712011-06-27 Roland McGrath <roland@hack.frob.com>
13972
62bede13
RM
13973 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13974 AC_CACHE_CHECK invocation.
13975 * configure: Regenerated.
13976
78a7eee7
RM
13977 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13978
5ce33a62
UD
139792011-06-27 Ulrich Drepper <drepper@gmail.com>
13980
034807a9
UD
13981 [BZ #12350]
13982 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13983 bit from old_res_options.
13984
4902da17
UD
13985 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13986
5ce33a62
UD
13987 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13988 value type for setfct.
13989
c2344f56
L
139902011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13991
13992 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13993 __gettimeofday instead of gettimeofday.
13994
68468076
UD
139952011-06-26 Ulrich Drepper <drepper@gmail.com>
13996
13997 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13998
acb0d739
L
139992011-06-24 H.J. Lu <hongjiu.lu@intel.com>
14000
14001 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14002
14003 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14004 info.
14005
8912479f
L
140062011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14007
14008 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14009 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14010 strcpy-sse2-unaligned strncpy-sse2-unaligned
14011 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14012 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14013 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14014 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14015 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14016 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14017 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14018 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14019 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14020 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14021 (STRCPY): Support SSE2 and SSSE3 versions.
14022
d5495a11
UD
140232011-06-24 Ulrich Drepper <drepper@gmail.com>
14024
14025 [BZ #12874]
14026 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14027 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14028 kernels which artificially limit size of requests.
14029
0b1cbaae
L
140302011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14031
14032 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14033 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14034 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14035 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14036 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14037 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14038 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14039 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14040 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14041 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14042 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14043 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14044 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14045 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14046 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14048 Enable unaligned load optimization for Intel Core i3, i5 and i7
14049 processors.
14050 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14051 Define.
14052 (index_Fast_Unaligned_Load): Define.
14053 (HAS_FAST_UNALIGNED_LOAD): Define.
14054
07f494a0
MP
140552011-06-23 Marek Polacek <mpolacek@redhat.com>
14056
14057 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14058
fa3fc0fe
UD
140592011-06-22 Ulrich Drepper <drepper@gmail.com>
14060
14061 [BZ #12907]
14062 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14063 until it is clear that the information is realy needed.
14064 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14065
e12df166
AS
140662011-06-22 Andreas Schwab <schwab@redhat.com>
14067
14068 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14069
852eb34d
UD
140702011-06-22 Ulrich Drepper <drepper@gmail.com>
14071
84e2a551
UD
14072 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14073 /sys/devices/system/cpu/online if it is usable.
14074
852eb34d
UD
14075 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14076 reading the information from the /proc filesystem to once a second.
14077
6e502e19
UD
140782011-06-21 Andreas Jaeger <aj@suse.de>
14079
14080 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14081 NULL after inclusion of kernel headers.
14082
75d39ff2
UD
140832011-06-21 Ulrich Drepper <drepper@gmail.com>
14084
51f9aa6a
UD
14085 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14086 calls to internal_setent.
14087
c0244a9d
UD
14088 [BZ #12885]
14089 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14090 addresses using gethostbyname4_r ignore IPv4 addresses.
14091
c5e3c2ae
UD
14092 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14093 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
14094
75d39ff2
UD
14095 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14096
42675c6f
DM
140972011-06-20 David S. Miller <davem@davemloft.net>
14098
14099 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14100 inclusions.
14101 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14102
14103 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14104 (elf_irel): Use it.
14105 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14106 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14107 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14108 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14109 * sysdeps/x86_64/dl-irel.h: Likewise.
14110
14111 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14112 * elf/dl-sym.c: Likewise.
14113
57912a71
UD
141142011-06-15 Ulrich Drepper <drepper@gmail.com>
14115
14116 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14117 need to dereference resplen2.
14118
ee22793d
AS
141192011-06-14 Andreas Schwab <schwab@redhat.com>
14120
14121 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14122
a9e836b0
UD
141232011-06-15 Ulrich Drepper <drepper@gmail.com>
14124
77fb9117
UD
14125 * Makeconfig: Define vardbdir and inst_vardbdir.
14126 * nss/Makefile: Add rules to install db-Makefile.
14127
40c1b22c
UD
14128 * nss/nss_db/db-XXX.c: Cleanup.
14129
9f2da732
UD
14130 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14131 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14132 GLIBC_PRIVATE.
14133 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14134 * nss/makedb.c: Implement -g option to specify that value strings
14135 are generated and should not be added to table iterated over for
14136 get*ent calls.
14137 * nss/nss_db/db-initgroups.c: New file.
14138
82e9a1f7
UD
14139 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14140 interface.
14141
c41af17e
UD
14142 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14143 (internal_getgrouplist): Adjust to name change.
14144 Update use_initgroups_entry if this is not the first call.
14145 * nss/databases.def: Add initgroups entry.
14146
a9e836b0
UD
14147 * nss/makedb.c (compute_tables): Check result of multiple hash table
14148 sizes to minimize maximum chain length.
14149
2666d441
UD
141502011-06-14 Ulrich Drepper <drepper@gmail.com>
14151
14152 * Versions.def: Add entry for libnss_db.
14153 * shlib-versions: Likewise.
14154 * nss/Makefile: Add rules to build libnss_db.
14155 * nss/Versions: Add libnss_db information. Organize libnss_files
14156 entries better.
14157 * nss/db-Makefile: Add gshadow support. Change rules for the new
14158 makedb progra. Some minor improvements to generate smaller files.
14159 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14160 here from...
14161 * nss/makedb.c: ...here.
14162 Improve database format to be smaller and require less memory at
14163 runtime.
14164 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14165 db anymore.
14166 * nss/nss_db/db-netgrp.c: Likewise.
14167 * nss/nss_db/db-open.c: Likewise.
14168 * nss/nss_files/flies-XXX.x: Adjust comments.
14169 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14170 * nss/nss_files/files-grp.c: Likewise.
14171 * nss/nss_files/files-hosts.c: Likewise.
14172 * nss/nss_files/files-network.c: Likewise.
14173 * nss/nss_files/files-proto.c: Likewise.
14174 * nss/nss_files/files-pwd.c: Likewise.
14175 * nss/nss_files/files-rpc.c: Likewise.
14176 * nss/nss_files/files-service.c: Likewise.
14177 * nss/nss_files/files-sgrp.c: Likewise.
14178 * nss/nss_files/files-spwd.c: Likewise.
14179 * nss/nss_db/db-alias.c: Removed.
14180 * nss/nss_db/dummy-db.h: Removed.
14181
9ee76b5a
UD
141822011-06-02 Ulrich Drepper <drepper@gmail.com>
14183
14184 * nss/makedb.c: Rewritten to not use database library.
14185 * nss/Makefile: Update to build new makedb program.
14186
c71ca1f8
AJ
141872011-06-14 Andreas Jaeger <aj@suse.de>
14188
14189 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14190 memset declaration.
14191
3154bfb8
UD
141922011-06-10 Andreas Schwab <schwab@redhat.com>
14193
14194 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14195 tmpbuf.
14196
b350afab
RM
141972011-06-10 Roland McGrath <roland@hack.frob.com>
14198
decd4e50
RM
14199 * Makerules (shlib.lds): Fail if the linker script comes out empty.
14200 * elf/Makefile ($(objpfx)ld.so): Likewise.
14201
5615eaf2
RM
14202 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14203 Don't list ld.so twice in dependencies.
14204
14205 * posix/bug-regex31.c: Include <stdlib.h>.
14206
14207 * nscd/hstcache.c (cache_addhst): Remove unused variable.
14208
14209 * nis/nss_compat/compat-spwd.c
14210 (getspent_next_nss_netgr): Remove unused variable.
14211 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14212
14213 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14214 nonmembers" output to use the right array.
14215
14216 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14217
14218 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14219
14220 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14221 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14222 * catgets/gencat.c (read_input_file): Likewise.
14223 * locale/programs/locarchive.c (enlarge_archive): Likewise.
14224
14225 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14226 variable definition inside #if's controlling its use.
14227
14228 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14229
14230 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14231
14232 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14233
14234 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14235 unreachable code.
14236
14237 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14238
b68e08db
RM
14239 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14240 * configure: Regenerated.
14241
b350afab
RM
14242 * Makerules: Revert last change.
14243 * elf/Makefile: Likewise.
14244
28368601
RM
142452011-06-09 Roland McGrath <roland@hack.frob.com>
14246
14247 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14248 * elf/Makefile ($(objpfx)librtld.os): Likewise.
14249 (reloc-link): Likewise.
14250
11988f8f
UD
142512011-06-09 Ulrich Drepper <drepper@gmail.com>
14252
14253 * elf/Makefile: Add rules to build pldd.
14254 * elf/pldd.c: New file.
14255 * elf/pldd-xx.c: New file.
14256
e80fab37
UD
142572011-06-07 Ulrich Drepper <drepper@gmail.com>
14258
14259 * version.h: Update for 2.15 development version.
14260
9b849836
DM
142612011-06-07 David S. Miller <davem@davemloft.net>
14262
14263 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14264 ifuncs.
14265 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14266 elf_machine_lazy_rel): Likewise.
14267 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14268 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14269 elf_machine_lazy_rel): Likewise.
14270 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14271 dl_hwcap via passed in argument.
14272 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14273 Likewise.
14274
5a31b283
AK
142752011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14276
14277 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
14278
069e52f8
RM
142792011-06-06 Roland McGrath <roland@hack.frob.com>
14280
14281 [BZ #12849]
14282 * manual/fdl-1.1.texi: New file, verbatim from:
14283 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14284 * manual/lgpl-2.1.texi: New file, verbatim from:
14285 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14286 * manual/Makefile (licenses): New variable, list those new file names.
14287 (texis): Use it.
14288 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14289
14290 * manual/fdl.texi: File removed.
14291 * manual/lesser.texi: File removed.
14292 * manual/libc.texinfo (Copying, Documentation License):
14293 Use new @include file names, put @appendix directive before @include.
14294
f16846a5
JJ
142952011-06-04 Jakub Jelinek <jakub@redhat.com>
14296
14297 [BZ #12841]
14298 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14299 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14300 (mq_open): Add __NTH.
14301
3d29045b
L
143022011-06-02 H.J. Lu <hongjiu.lu@intel.com>
14303
14304 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14305 Assume Intel Core i3/i5/i7 processor if AVX is available.
14306
8c297311
UD
143072011-05-31 Ulrich Drepper <drepper@gmail.com>
14308
14309 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14310 typo.
14311
c8fc0c91
UD
143122011-05-31 Andreas Schwab <schwab@redhat.com>
14313
14314 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14315 memory. Use alloca_account. Fix memory leak when retrying.
14316
5b27a807
UD
143172011-05-31 Ulrich Drepper <drepper@gmail.com>
14318
356f8bc6
UD
14319 * version.h (RELEASE): Bump for 2.14 release.
14320 * include/features.h (__GLIBC_MINOR__): Bump to 14.
14321
5b27a807
UD
14322 * config.make.in (RANLIB): Remove entry.
14323
01f16ab0
UD
143242011-05-30 Ulrich Drepper <drepper@gmail.com>
14325
41fce8bd
UD
14326 * po/Makefile (po-sed-cmd): Add ksh to extensions.
14327 (libc.pot): Work around missing support for .ksh extension in xgettext.
14328
4769ae77
UD
14329 [BZ #12684]
14330 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14331 if both request failed.
14332 (send_dg): In case of server errors clear resplen or *resplen2.
14333
6b1e7d19
UD
14334 [BZ #12454]
14335 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14336 when there are multiple maps.
14337 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14338 (_dl_fini): Remove test here.
14339
01f16ab0
UD
14340 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14341
b1ebd700
UD
143422011-05-29 Ulrich Drepper <drepper@gmail.com>
14343
7ae22829
UD
14344 [BZ #12350]
14345 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14346 bit from old_res_options.
14347 (gaih_inet): Likewise.
14348
553149f6 14349 [BZ #11099]
18a84741 14350 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
14351 as signed.
14352
652ffab1
UD
14353 * resolv/res_init.c (res_setoptions): Make the code more compact.
14354
16985fd0
UD
14355 [BZ #11558]
14356 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14357 set RES_USEVC.
14358
0464f746
UD
14359 [BZ #11634]
14360 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14361
7d17596c
UD
14362 * malloc/malloc.h: Mark malloc hook variables as deprecated.
14363
cf6bbbd7
UD
14364 [BZ #11781]
14365 * malloc/malloc.h: Declare malloc hook variables as volatile.
14366
13f1ab36
UD
14367 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14368 in last patch.
14369
b1ebd700
UD
14370 [BZ #11799]
14371 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 14372 raise in the comment.
80e2212d
UD
14373 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14374 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14375 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 14376
ce67228d
UD
143772011-05-28 Ulrich Drepper <drepper@gmail.com>
14378
8887a920
UD
14379 [BZ #12811]
14380 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14381 grow the buffers more if it already has to be sufficient.
14382 (build_wcs_upper_buffer): Likewise.
14383 * posix/regexec.c (check_matching): Likewise.
14384 (clean_state_log_if_needed): Likewise.
14385 (extend_buffers): Don't enlarge buffers beyond size of the input
14386 buffer.
14387 Patches mostly by Emil Wojak <emil@wojak.eu>.
14388 * posix/bug-regex32.c: New file.
14389 * posix/Makefile (tests): Add bug-regex32.
14390
4f031072
UD
14391 * locale/findlocale.c (_nl_find_locale): Return right away if
14392 _nl_explode_name failed.
14393 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14394
d0478f0c
UD
14395 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14396
de81b246
UD
14397 * debug/xtrace.sh: Unify messages.
14398 * malloc/memusage.sh: Likewise.
14399
c738465a
UD
14400 [BZ #12813]
14401 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
14402 time symbol from vDSO. Substitute with vsyscall if not available.
14403 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
14404 __vdso_time.
14405
f1f929d7
UD
14406 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14407 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14408 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14409 Add sendmmsg and internal_sendmmsg.
14410 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14411 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14412 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14413
ce67228d
UD
14414 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14415 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14416 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14417
e57420c6
UD
144182011-05-27 Ulrich Drepper <drepper@gmail.com>
14419
a8509ca5
UD
14420 [BZ #12813]
14421 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
14422 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
14423 available.
14424 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14425 __vdso_getcpu.
14426
e57420c6
UD
14427 [BZ #12814]
14428 * iconvdata/Makefile (tests): Add bug-iconv9.
14429 * iconvdata/bug-iconv9.c: New file.
14430
4d07db15
AS
144312011-05-27 Andreas Schwab <schwab@redhat.com>
14432
14433 [BZ #12814]
14434 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14435
ea486f69
JJ
144362011-05-25 Jakub Jelinek <jakub@redhat.com>
14437
14438 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14439 (struct user_regs_struct): Change intcs field back to cs.
14440
6f038433
UD
144412011-05-25 Ulrich Drepper <drepper@gmail.com>
14442
14443 * po/ja.po: Update from translation team.
14444
67f86a25
UD
144452011-05-23 Ulrich Drepper <drepper@gmail.com>
14446
14447 [BZ #12795]
14448 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14449 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14450
def7fbd6
AS
144512011-05-20 Andreas Schwab <schwab@redhat.com>
14452
14453 * stdlib/longlong.h: Update from GCC.
14454
f50ef8f1
AS
144552011-05-23 Andreas Schwab <schwab@redhat.com>
14456
14457 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14458 parameter name.
14459 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14460 Add parameter name.
14461 (__sysconf): Pass it down.
14462
de7ce8f1
UD
144632011-05-22 Ulrich Drepper <drepper@gmail.com>
14464
f2962a71
UD
14465 [BZ #12671]
14466 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14467 some situations.
14468 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14469 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14470 add in in __libc_use_alloca calls. Adjust callers.
14471 (glob): Use malloc in some situations.
14472
de7ce8f1
UD
14473 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14474 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14475 pltexit.
14476
aec84f53
UD
144772011-05-21 Ulrich Drepper <drepper@gmail.com>
14478
05bb4a68
UD
14479 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14480 and CLOCK_BOOTTIME_ALARM.
14481
7ea72f99
UD
14482 [BZ #12782]
14483 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14484 is returned.
14485
7e4afad5
UD
14486 * string/_strerror.c (__strerror_r): Print negative errors as signed
14487 numbers.
14488
8e211fec
UD
14489 [BZ #12777]
14490 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14491 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14492 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14493
f7d82dc9
UD
14494 * configure.in: Fix typo in redirection and correct removal of test
14495 files in two cases.
14496
cc9e536d
UD
14497 [BZ #12788]
14498 * locale/setlocale.c (new_composite_name): Fix test to check for
14499 identical name of all categories.
14500
aec84f53
UD
14501 [BZ #12792]
14502 * libio/filedoalloc.c (local_isatty): New function.
14503 (_IO_file_doallocate): Use local_isatty.
14504 * stdio-common/perror.c (perror): In case a new stream is used
14505 forward the stream error.
14506 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14507 error flag.
14508
78e64fdc
RT
145092011-05-20 Ulrich Drepper <drepper@gmail.com>
14510
34a9094f
UD
14511 [BZ #11869]
14512 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14513 alloca.
14514 * include/alloca.h (extend_alloca_account): Define.
14515
78e64fdc
RT
14516 [BZ #11857]
14517 * posix/regex.h: Fix comments with documentation of user-accessible
14518 fields after compilation and describe correct free'ing of pattern
14519 after re_compile_pattern.
14520 Patch by Reuben Thomas <rrt@sc3d.org>.
14521
457bddfc
RA
145222011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14523
14524 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14525 and -mno-altivec to prevent the compiler from using Altivec and/or
14526 VSX instructions when the corresponding registers are not available.
14527
a4527b51
AS
145282011-05-19 Andreas Schwab <schwab@redhat.com>
14529
14530 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14531
ed690b2f
UD
145322011-05-19 Ulrich Drepper <drepper@gmail.com>
14533
14534 * libio/freopen.c (freopen): Use __dup2, not dup2.
14535 * libio/freopen64.c (freopen64): Likewise.
14536
8db73634
L
145372011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14538
14539 [BZ #12775]
14540 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14541 * math/Makefile (tests): Add test-powl.
14542 (CFLAGS-test-powl.c): Define.
14543 * math/test-powl.c: New file.
14544
0a197a9d
L
145452011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14546
14547 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14548
ee30c380
UD
145492011-05-17 Ulrich Drepper <drepper@gmail.com>
14550
14551 [BZ #11837]
14552 * iconvdata/gb18030.c: Update to GB18020-2005.
14553
6ce75379
UD
145542011-05-16 Ulrich Drepper <drepper@gmail.com>
14555
a4b89fd8
AR
14556 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14557 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14558 Patch by Aharon Robbins <arnold@skeeve.com>.
14559
ea389b12
UD
14560 [BZ #11892]
14561 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14562 on the stack.
14563
68a3f91f
UD
14564 [BZ #11895]
14565 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14566 through underflows.
14567
15cc7dd1
UD
14568 [BZ #12766]
14569 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14570 point to strings before performing equality test for error_one_per_line
14571 mode.
14572
f3799213
UD
14573 [BZ #11697]
14574 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14575
d79a9c94
UD
14576 [BZ #11820]
14577 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14578 (struct user_fpregs_struct): Avoid __uint*_t types.
14579
56e5eb46
UD
14580 [BZ #6420]
14581 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14582 symbol info. Use it instead of calling _dl_addr locally.
14583 (lock_and_info): New function.
14584 (tr_freehook): Call lock_and_info and pass symbol info as additional
14585 parameter to tr_where.
14586 (tr_mallochook): Likewise.
14587 (tr_reallochook): Likewise.
14588 (tr_memalignhook): Likewise.
14589
6ce75379
UD
14590 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14591 used and couldn't be at all thread-safe.
14592
f8a3b5bf
UD
145932011-05-15 Ulrich Drepper <drepper@gmail.com>
14594
94b7cc37
UD
14595 * libio/freopen.c (freopen): Don't close old file descriptor
14596 before the new one is opened. Instead dup the new file descriptor
14597 to the old one after the new stream is created.
14598 * libio/freopen64.c (freopen64): Likewise.
14599 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14600 * libio/fileops.c (_IO_new_file_close_it): Handle new
14601 _IO_FLAGS2_NOCLOSE flag.
14602 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14603 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14604 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14605 _IO_FLAGS2_NOCLOSE flag.
14606 * include/unistd.h: Add hidden_proto for dup3.
14607 Define __have_dup3.
14608 * io/dup3.c: Define hidden symbol.
14609 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14610
bd25564e
UD
14611 [BZ #7101]
14612 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14613 when an incomplete long option is used.
14614 * posix/tst-getopt_long1.c: New file.
14615 * posix/Makefile (tests): Add tst-getopt_long1.
14616
c84cfef4
UD
14617 [BZ #10138]
14618 * scripts/config.guess: Update from autoconf-2.68.
14619 * scripts/config.sub: Likewise.
14620
3b85df27
UD
14621 [BZ #10157]
14622 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14623 tests into ...
14624 (has_cpuclock): ...this. New function.
14625 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14626 macro here based on has_cpuclock code.
14627
15a856b1
UD
14628 [BZ #10149]
14629 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14630 First byte (not low byte) is now always NUL.
14631 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14632
05f399e6
UD
14633 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14634 Use non-cancelable interfaces.
14635
10a52685 14636 [BZ #9809]
94ecc67d
UD
14637 * locale/iso-639.def: Add entry for Sorani.
14638
f8a3b5bf
UD
14639 [BZ #11901]
14640 * include/stdlib.h: Move include protection to the right place.
14641 Define abort_msg_s. Declare __abort_msg with it.
14642 * stdlib/abort.c (__abort_msg): Adjust type.
14643 * assert/assert.c (__assert_fail_base): New function. Majority
14644 of code from __assert_fail. Allocate memory for __abort_msg with
14645 mmap.
14646 (__assert_fail): Now call __assert_fail_base.
14647 * assert/assert-perr.c: Remove bulk of implementation. Use
14648 __assert_fail_base.
14649 * include/assert.hL Declare __assert_fail_base.
14650 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14651 mmap.
14652 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14653
1af4e298
UD
146542011-05-14 Ulrich Drepper <drepper@gmail.com>
14655
f8a3b5bf 14656 [BZ #11952]
d26dfc60
MG
14657 [BZ #12453]
14658 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14659 until all modules are registered in the DTV.
14660 * elf/Makefile: Add rules to build and run tst-tls19.
14661 * elf/tst-tls19.c: New file.
14662 * elf/tst-tls19mod1.c: New file.
14663 * elf/tst-tls19mod2.c: New file.
14664 * elf/tst-tls19mod3.c: New file.
14665 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14666
2fc54d6f
UD
14667 [BZ #12083]
14668 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14669 correctly.
14670
98d76b46
UD
14671 [BZ #12601]
14672 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14673 two-byte sequence errors.
14674 * iconvdata/Makefile (tests): Add bug-iconv8.
14675 * iconvdata/bug-iconv8.c: New file.
14676
da3c19ef
UD
14677 [BZ #12626]
14678 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14679 buf2 definition.
14680
ca408c15
UD
14681 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14682
d6f67f7d
UD
14683 [BZ #12432]
14684 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14685 (dummy_getcfa): New function.
14686 (init): Get _Unwind_GetCFA address, use dummy if not found.
14687 (backtrace_helper): In recursion check, also check whether CFA changes.
14688 (__backtrace): Completely initialize arg.
14689
1af4e298 14690 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
14691 storing incomplete byte sequence in state object. Avoid testing for
14692 guaranteed too small input if we know there is enough data available.
1af4e298 14693
da62f81b
AS
146942011-05-11 Andreas Schwab <schwab@redhat.com>
14695
14696 * Makeconfig (+link-pie): Indent.
14697 * Rules (binaries-pie): Define if $(have-fpie) and
14698 $(build-shared).
14699 (binaries-shared): Also filter out $(binaries-pie).
14700 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14701 * nscd/Makefile (others-pie): Add nscd.
14702 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14703 ($(objpfx)nscd): Remove command override.
14704 * login/Makefile (others-pie): Add pt_chown.
14705 ($(objpfx)pt_chown): Remove command override.
14706 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14707 remove command overrides.
14708
fcabc0f8
UD
147092011-05-13 Ulrich Drepper <drepper@gmail.com>
14710
20030ae6
UD
14711 * libio/tst_putwc.c: Fix error messages.
14712
fcabc0f8
UD
14713 [BZ #12724]
14714 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14715 currently writing and seek to current position when not.
14716 * libio/Makefile (tests): Add bug-fclose1.
14717 * libio/bug-fclose1.c: New file.
14718
320a5dc0
PB
147192011-05-12 Ulrich Drepper <drepper@gmail.com>
14720
14721 [BZ #12511]
14722 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14723 don't set DF_1_NODELETE here.
14724 (do_lookup_x): When entering new entry test for copy relocation
14725 and if necessary set DF_1_NODELETE flag.
14726 * elf/tst-unique4.cc: New file.
14727 * elf/tst-unique4.h: New file.
14728 * elf/tst-unique4lib.cc: New file.
14729 * elf/Makefile: Add rules to build and run tst-unique4.
14730 Patch by Piotr Bury <pbury@goahead.com>.
14731
22836f52
UD
147322011-05-11 Ulrich Drepper <drepper@gmail.com>
14733
f574184a
UD
14734 [BZ #12052]
14735 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14736
e1fb097f
UD
14737 [BZ #12625]
14738 * misc/mntent_r.c (addmntent): Flush the stream after the output
14739
22836f52
UD
14740 [BZ #12393]
14741 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14742 (is_trusted_path_normalize): Skip initial colon. Append slash
14743 to empty buffer. Duplicate is_trusted_path code but allow
14744 constructed patch to be prefix.
14745 (is_dst): Allow $ORIGIN followed by /.
14746 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14747 Correct testing of result of is_trusted_path_normalize
14748 (decompose_rpath): Fix warning.
14749
7b3b0b2a
UD
147502011-05-10 Ulrich Drepper <drepper@gmail.com>
14751
14752 [BZ #11257]
14753 * grp/initgroups.c (internal_getgrouplist): When we found the service
14754 list through the initgroups entry in nsswitch.conf do not always
14755 continue on a successful lookup. Don't always use the
eac80ce2 14756 __nss_group_database value if it is set.
7b3b0b2a
UD
14757 * nss/nsswitch.conf (initgroups): Change action for successful db
14758 lookup to continue for compatibility.
14759
2a81eaa5
UD
147602011-05-09 Ulrich Drepper <drepper@gmail.com>
14761
be97a69e
UD
14762 [BZ #11532]
14763 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14764 and CP774 modules.
14765 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14766 and CP774 modules.
14767 * iconvdata/tst-tables.sh: Likewise.
14768 * iconvdata/cp770.c: New file.
14769 * iconvdata/cp771.c: New file.
14770 * iconvdata/cp772.c: New file.
14771 * iconvdata/cp773.c: New file.
14772 * iconvdata/cp774.c: New file.
14773 * iconvdata/testdata/CP770: New file.
14774 * iconvdata/testdata/CP770..UTF8: New file.
14775 * iconvdata/testdata/CP771: New file.
14776 * iconvdata/testdata/CP771..UTF8: New file.
14777 * iconvdata/testdata/CP772: New file.
14778 * iconvdata/testdata/CP772..UTF8: New file.
14779 * iconvdata/testdata/CP773: New file.
14780 * iconvdata/testdata/CP773..UTF8: New file.
14781 * iconvdata/testdata/CP774: New file.
14782 * iconvdata/testdata/CP774..UTF8: New file.
14783
14784 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14785 END CHARMAP line.
14786 * iconvdata/gen-8bit-gap.sh: Likewise.
14787 * iconvdata/gen-8bit.sh: Likewise.
14788
c1e9e399
UD
14789 * locale/iso-639.def: Add ary entry.
14790
24c55fb3 14791 [BZ #11258]
96b4b1b0
UD
14792 * locale/C-translit.h.in: Add U20A1 transliteration.
14793
bdc2f971
KB
14794 [BZ #12178]
14795 * locale/iso-639.def: Add wae entry.
14796 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14797
2952b117
UD
14798 [BZ #12545]
14799 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14800 for n.
14801
2a81eaa5
UD
14802 [BZ #12711]
14803 * locale/C-translit.h.in: Add entry for U20B9.
14804 Patch by pravin.d.s@gmail.com.
14805
28377d1b
UD
148062011-05-08 Ulrich Drepper <drepper@gmail.com>
14807
7fb90fb8
UD
14808 [BZ #12713]
14809 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14810 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14811 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14812 in rtld. Use *stat64.
7fb90fb8 14813 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14814 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14815 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14816 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14817 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14818 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14819 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14820 __fstatat64 macros.
7fb90fb8
UD
14821 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14822 * dirent/rewinddir.c: Add libc_hidden_def.
14823 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14824 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14825
28377d1b
UD
14826 * include/dirent.h (__alloc_dir): Add flags parameter.
14827 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14828 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14829 __alloc_dir.
14830 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14831 from fdopendir if O_CLOEXEC is already set.
14832
66bdbaa4
AM
148332011-03-15 Alan Modra <amodra@gmail.com>
14834
14835 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14836 l_tls_firstbyte_offset non-zero. Save padding offset in
14837 l_tls_firstbyte_offset for later use.
14838 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14839 freeing static tls block.
14840
95721191
JN
148412011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14842
14843 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14844 where #ifdef was intended. The intent is to prevent ARG_MAX from
14845 being defined by the kernel headers.
14846
f87dfb1f
UD
148472011-05-07 Ulrich Drepper <drepper@gmail.com>
14848
14849 [BZ #12734]
14850 * resolv/resolv.h: Define RES_NOTLDQUERY.
14851 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14852 no-tld-query and set RES_NOTLDQUERY.
14853 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14854 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14855 modern BIND to search name as TLD unless forbidden.
14856
47c3cd7a
UD
148572011-05-07 Petr Baudis <pasky@suse.cz>
14858 Ulrich Drepper <drepper@gmail.com>
14859
14860 [BZ #12393]
14861 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14862 (is_trusted_path): ...to here.
c1e9ea35 14863 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14864 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14865 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14866
8a35c912
PP
148672011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14868
14869 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14870 __BEGIN/__END_DECLS.
14871
acd41f47
UD
148722011-05-06 Ulrich Drepper <drepper@gmail.com>
14873
14874 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14875 NSS_STATUS_NOTFOUND if no record was found.
14876
597df647
AS
148772011-05-05 Andreas Schwab <schwab@redhat.com>
14878
14879 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14880 (headers-not-in-tirpc): Remove rpc/netdb.h
14881 * resolv/netdb.h: Revert last change.
14882
b9af1301
PP
148832011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14884
14885 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14886 circular dependency between libgcc.a and libc.a.
14887
4e34d5f5
AS
148882011-05-05 Andreas Schwab <schwab@redhat.com>
14889
14890 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14891 * nis/Makefile: Don't install rpcsvc/*.
14892 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14893 instead of <rpc/types.h>.
14894 (MAXHOSTNAMELEN): Define.
14895
00ee369c
AS
148962011-05-03 Andreas Schwab <schwab@redhat.com>
14897
14898 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14899
0b592a30
MB
149002011-04-28 Maciej Babinski <mbabinski@google.com>
14901
14902 [BZ #12714]
14903 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14904 gethostbyname4_r when IPv6 results are possible.
14905
6e04cbbe
UD
149062011-05-02 Ulrich Drepper <drepper@gmail.com>
14907
14908 [BZ #12723]
14909 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14910 _PC_PIPE_BUF handling.
14911
e4ecafe0
BH
149122011-04-30 Bruno Haible <bruno@clisp.org>
14913
14914 [BZ #12717]
14915 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14916 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14917 to 'int'.
14918 * inet/getnameinfo.c (getnameinfo): Likewise.
14919
125ee683
UD
149202011-04-29 Ulrich Drepper <drepper@gmail.com>
14921
14922 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14923 to groups setting in database lookup.
14924 * nss/nsswitch.conf: Add initgroups entry.
14925
b722481a
EB
149262011-04-22 Ulrich Drepper <drepper@gmail.com>
14927
14928 [BZ #12685]
14929 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14930 mode string.
14931 Patch by Eric Blake <eblake@redhat.com>.
14932
4df46dbd
L
149332011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14934
14935 * sunrpc/Makefile (need-export-routines): Add svc_run.
14936 (routines): Remove svc_run.
14937 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14938 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14939 * sunrpc/svc_run.c (svc_run): Likewise.
14940 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14941
e84142d2
UD
149422011-04-21 Ulrich Drepper <drepper@gmail.com>
14943
14944 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14945 problem in reallocation in last patch.
14946
877175d8
UD
149472011-04-20 Ulrich Drepper <drepper@gmail.com>
14948
14949 * sunrpc/Makefile: Move inclusion of Rules.
14950
ab8eed78
UD
149512011-04-19 Ulrich Drepper <drepper@gmail.com>
14952
14953 * nss/nss_files/files-initgroups.c: New file.
14954 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14955 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14956 _nss_files_initgroups_dyn.
14957
e3d8f584
RS
149582011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14959
14960 * elf/elf.h (R_ARM_IRELATIVE): Define.
14961
af190f45
UD
149622011-04-19 Ulrich Drepper <drepper@gmail.com>
14963
14964 * po/ru.po: Update from translation team.
14965
53cf59ef
UD
149662011-04-17 Ulrich Drepper <drepper@gmail.com>
14967
14968 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14969 dependencies.
14970
4c559bcd
MF
149712011-02-06 Mike Frysinger <vapier@gentoo.org>
14972
14973 [BZ #12653]
14974 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14975 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14976 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14977 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14978 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14979
4420675c
AS
149802011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14981
14982 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14983 differing bytes.
14984 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14985 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14986 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14987
75ea32ab
UD
149882011-04-17 Ulrich Drepper <drepper@gmail.com>
14989
14990 [BZ #12420]
14991 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14992 storing it.
14993 * stdlib/bug-getcontext.c: New file.
14994 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14995
27390476
AK
149962011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14997
14998 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14999 instructions into .machine "z9-109".
15000 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15001 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15002
10442705
AK
150032011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15004
15005 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15006 between environment variables and auxiliary vector.
15007
7b57bfe5
UD
150082011-04-16 Ulrich Drepper <drepper@gmail.com>
15009
15010 * Makefile: Add rules to build linkobj/libc.so.
15011 * include/libc-symbols.h: Define libc_hidden_nolink.
15012 * include/rpc/auth.h: Mark functions which are to be hidden.
15013 * include/rpc/auth_des.h: Likewise.
15014 * include/rpc/auth_unix.h: Likewise.
15015 * include/rpc/clnt.h: Likewise.
15016 * include/rpc/des_crypt.h: Likewise.
15017 * include/rpc/key_prot.h: Likewise.
15018 * include/rpc/pmap_clnt.h: Likewise.
15019 * include/rpc/pmap_prot.h: Likewise.
15020 * include/rpc/pmap_rmt.h: Likewise.
15021 * include/rpc/rpc_msg.h: Likewise.
15022 * include/rpc/svc.h: Likewise.
15023 * include/rpc/svc_auth.h: Likewise.
15024 * include/rpc/xdr.h: Likewise.
15025 * nis/Makefile: Link all DSOs against linkobj/libc.so.
15026 * nss/Makefile: Likewise.
15027 * sunrpc/Makefile: Don't install headers. Build library with normal
15028 entry points. Don't build rpcinfo. Link RPC tests appropriately.
15029 * sunrpc/auth_des.c: Hide exported symbols by default, export some
15030 for the compat linking library. Remove use of INTDEF/INTUSE.
15031 * sunrpc/auth_none.c: Likewise.
15032 * sunrpc/auth_unix.c: Likewise.
15033 * sunrpc/authdes_prot.c: Likewise.
15034 * sunrpc/authuxprot.c: Likewise.
15035 * sunrpc/clnt_gen.c: Likewise.
15036 * sunrpc/clnt_perr.c: Likewise.
15037 * sunrpc/clnt_raw.c: Likewise.
15038 * sunrpc/clnt_simp.c: Likewise.
15039 * sunrpc/clnt_tcp.c: Likewise.
15040 * sunrpc/clnt_udp.c: Likewise.
15041 * sunrpc/clnt_unix.c: Likewise.
15042 * sunrpc/des_crypt.c: Likewise.
15043 * sunrpc/des_soft.c: Likewise.
15044 * sunrpc/get_myaddr.c: Likewise.
15045 * sunrpc/key_call.c: Likewise.
15046 * sunrpc/key_prot.c: Likewise.
15047 * sunrpc/netname.c: Likewise.
15048 * sunrpc/pm_getmaps.c: Likewise.
15049 * sunrpc/pm_getport.c: Likewise.
15050 * sunrpc/pmap_clnt.c: Likewise.
15051 * sunrpc/pmap_prot.c: Likewise.
15052 * sunrpc/pmap_prot2.c: Likewise.
15053 * sunrpc/pmap_rmt.c: Likewise.
15054 * sunrpc/publickey.c: Likewise.
15055 * sunrpc/rpc_cmsg.c: Likewise.
15056 * sunrpc/rpc_common.c: Likewise.
15057 * sunrpc/rpc_dtable.c: Likewise.
15058 * sunrpc/rpc_prot.c: Likewise.
15059 * sunrpc/rpc_thread.c: Likewise.
15060 * sunrpc/rtime.c: Likewise.
15061 * sunrpc/svc.c: Likewise.
15062 * sunrpc/svc_auth.c: Likewise.
15063 * sunrpc/svc_authux.c: Likewise.
15064 * sunrpc/svc_raw.c: Likewise.
15065 * sunrpc/svc_run.c: Likewise.
15066 * sunrpc/svc_simple.c: Likewise.
15067 * sunrpc/svc_tcp.c: Likewise.
15068 * sunrpc/svc_udp.c: Likewise.
15069 * sunrpc/svc_unix.c: Likewise.
15070 * sunrpc/svcauth_des.c: Likewise.
15071 * sunrpc/xcrypt.c: Likewise.
15072 * sunrpc/xdr.c: Likewise.
15073 * sunrpc/xdr_array.c: Likewise.
15074 * sunrpc/xdr_float.c: Likewise.
15075 * sunrpc/xdr_intXX_t.c: Likewise.
15076 * sunrpc/xdr_mem.c: Likewise.
15077 * sunrpc/xdr_rec.c: Likewise.
15078 * sunrpc/xdr_ref.c: Likewise.
15079 * sunrpc/xdr_sizeof.c: Likewise.
15080 * sunrpc/xdr_stdio.c: Likewise.
15081
e6c61494
UD
150822011-04-10 Ulrich Drepper <drepper@gmail.com>
15083
15084 [BZ #12650]
15085 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15086 * sysdeps/ia64/dl-tls.h: Likewise.
15087 * sysdeps/powerpc/dl-tls.h: Likewise.
15088 * sysdeps/s390/dl-tls.h: Likewise.
15089 * sysdeps/sh/dl-tls.h: Likewise.
15090 * sysdeps/sparc/dl-tls.h: Likewise.
15091 * sysdeps/x86_64/dl-tls.h: Likewise.
15092 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15093
34fe483e
AS
150942011-03-14 Andreas Schwab <schwab@redhat.com>
15095
15096 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15097 rpath element also skip the following colon.
15098 (expand_dynamic_string_token): Add is_path parameter and pass
15099 down to DL_DST_REQUIRED and _dl_dst_substitute.
15100 (decompose_rpath): Call expand_dynamic_string_token with
15101 non-zero is_path. Ignore empty rpaths.
15102 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15103 with zero is_path.
15104
f12a32e6
AS
151052011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15106
15107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15108 Make cancelable.
15109
38a7d692
UD
151102011-04-09 Ulrich Drepper <drepper@gmail.com>
15111
15112 [BZ #12655]
15113 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15114 Patch by Filipe David Manana <fdmanana@apache.org>.
15115
e451d22b
AS
151162011-04-07 Andreas Schwab <schwab@redhat.com>
15117
15118 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15119 Maintain aligned stack.
15120 (CHECK_RSP): Remove unused macro.
15121
dedc7c7b
UD
151222011-04-03 Ulrich Drepper <drepper@gmail.com>
15123
15124 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15125 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15126
94521213
UD
151272011-04-02 Ulrich Drepper <drepper@gmail.com>
15128
15129 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15130
8cb700c0 15131 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 15132
0354e355
L
151332011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15134
15135 [BZ #12518]
15136 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15137 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15138 * sysdeps/x86_64/memmove.c: New file.
15139 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15140 (memcpy): Renamed to ...
15141 (__new_memcpy): This.
15142 (memcpy): Provide GLIBC_2_14 memcpy.
15143 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15144 (memcpy): Provide GLIBC_2_2_5 memcpy.
15145
8593482f
UD
151462011-04-01 Ulrich Drepper <drepper@gmail.com>
15147
15148 [BZ #12631]
15149 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15150
81a5726b
AS
151512011-03-30 Andreas Schwab <schwab@redhat.com>
15152
15153 * misc/syncfs.c: New file.
15154 * misc/Makefile (routines): Add syncfs.
15155 * posix/unistd.h: Declare syncfs.
15156 * sysdeps/unix/syscalls.list: Add syncfs.
15157
00e5419f
AS
151582011-04-01 Andreas Schwab <schwab@redhat.com>
15159
15160 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15161 open_by_handle_at.
15162 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15163 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15164 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15165 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15166 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15167 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15168 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15169
748876bf
UD
151702011-04-01 Ulrich Drepper <drepper@gmail.com>
15171
658e451d
UD
15172 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15173 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15174 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15175 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15176 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15177 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15178 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15179
748876bf
UD
15180 * io/Makefile: Compile fallocate.c, fallocate64.c, and
15181 sync_file_range.c with -fexceptions.
15182 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15183 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15184 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15185 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15186 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15187 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15188 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
15189 sync_file_range as cancellation point
15190 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
15191 now a wrapper around __call_sync_file_range with cancellation handling.
15192 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15193 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
15194 function name to __call_sync_file_range.
15195 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15196 Add call_sync_file_range.
748876bf 15197
6e63d5e1
AS
151982011-04-01 Andreas Schwab <schwab@redhat.com>
15199
15200 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 15201 bits/timex.h.
6e63d5e1 15202
46998f74
UD
152032011-04-01 Ulrich Drepper <drepper@gmail.com>
15204
4c1423ed
UD
15205 * iconv/iconv.h: Fix typo in comment.
15206 * io/fcntl.h: Likewise.
15207 * libio/stdio.h: Likewise.
15208 * posix/spawn.h: Likewise.
15209 * posix/unistd.h: Likewise.
15210 * stdlib/stdlib.h: Likewise.
15211 * time/time.h: Likewise.
15212 * wcsmbs/wchar.h: Likewise.
15213
158648c0
UD
15214 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15215 open_by_handle): Add.
15216 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15217 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
15218 Augment a few comments.
15219 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15220 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15221 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15222 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15223 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15224 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15225 open_by_handle.
15226
46998f74
UD
15227 * io/fcntl.h (AT_EMPTY_PATH): Define.
15228
83fe108b
UD
152292011-03-30 Ulrich Drepper <drepper@gmail.com>
15230
15231 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15232 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15233 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15234 to...
15235 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
15236 * Versions.def: Add GLIBC_2.14.
15237 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15238 Export.
83fe108b 15239
bb242059
UD
152402011-03-22 Ulrich Drepper <drepper@gmail.com>
15241
15242 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15243 round counter.
15244 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15245
c97a1282
L
152462011-03-20 H.J. Lu <hongjiu.lu@intel.com>
15247
15248 [BZ #12597]
15249 * string/test-strncmp.c (do_page_test): New function.
15250 (check2): Likewise.
15251 (test_main): Call check2.
15252 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15253
2a115601
UD
152542011-03-20 Ulrich Drepper <drepper@gmail.com>
15255
15256 [BZ #12587]
15257 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15258 Handle cache information in CPU leaf 4.
15259 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15260
8126d904
UD
152612011-03-18 Ulrich Drepper <drepper@gmail.com>
15262
042c49c6 15263 [BZ #12583]
8126d904
UD
15264 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15265 character representation.
15266 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15267
ccfe366e
RA
152682011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
15269
15270 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15271 END(__isnan) to END(__isnanf) to match function entry point/label
15272 EALIGN(__isnanf,...).
15273
c6e13027
JJ
152742011-03-10 Jakub Jelinek <jakub@redhat.com>
15275
15276 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15277
33f85a3f
UD
152782011-03-10 Ulrich Drepper <drepper@gmail.com>
15279
028478fa
UD
15280 [BZ #12510]
15281 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15282 copy from the symbol referenced in the relocation to initialize the
15283 used variable.
15284 Patch by Piotr Bury <pbury@goahead.com>.
15285 * elf/Makefile: Add rules to build and tst-unique3.
15286 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15287 * elf/tst-unique3.cc: New file.
15288 * elf/tst-unique3.h: New file.
15289 * elf/tst-unique3lib.cc: New file.
15290 * elf/tst-unique3lib2.cc: New file.
15291
33f85a3f
UD
15292 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15293
03592fc7
MF
152942011-03-10 Mike Frysinger <vapier@gentoo.org>
15295
15296 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15297 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
15298 to _start.
03592fc7 15299
6a5ee102
UD
153002011-03-06 Ulrich Drepper <drepper@gmail.com>
15301
15302 * elf/dl-load.c (_dl_map_object): If we are looking for the first
15303 to-be-loaded object along a path to loader is ld.so.
15304
7e4ba49c
HJ
153052011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15306 Ulrich Drepper <drepper@gmail.com>
15307
15308 * sysdeps/x86_64/memset.S: After aligning destination, code
15309 branches to different locations depending on the value of
15310 misalignment, when multiarch is enabled. Fix this.
15311
153122011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15313
15314 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15315 Set _x86_64_preferred_memory_instruction for AMD processsors.
15316 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15317 Set bit_Prefer_SSE_for_memop for AMD processors.
15318
13a804de
UD
153192011-03-04 Ulrich Drepper <drepper@gmail.com>
15320
15321 * libio/fmemopen.c (fmemopen): Optimize a bit.
15322
9d25c392
AS
153232011-03-03 Andreas Schwab <schwab@redhat.com>
15324
15325 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15326
a5543c6a
RM
153272011-03-03 Roland McGrath <roland@redhat.com>
15328
15329 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15330
012d35f7
DM
153312011-02-28 Aurelien Jarno <aurelien@aurel32.net>
15332
7e4ba49c 15333 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
15334 __bzero_ultra1 instead of __memset_ultra1.
15335
4bff6e01
AS
153362011-02-23 Andreas Schwab <schwab@redhat.com>
15337 Ulrich Drepper <drepper@gmail.com>
15338
15339 [BZ #12509]
15340 * include/link.h (struct link_map): Add l_orig_initfini.
15341 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15342 returning unsuccessfully.
15343 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15344 close of a file loaded at startup, restore the original l_initfini
15345 list.
15346 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15347 list, store the pointer.
15348 * elf/Makefile ($(objpfx)noload-mem): New rule.
15349 (noload-ENV): Define.
15350 (tests): Add $(objpfx)noload-mem.
15351 * elf/noload.c: Include <memcheck.h>.
15352 (main): Call mtrace. Close all opened handles.
15353
f2092faf
AS
153542011-02-17 Andreas Schwab <schwab@redhat.com>
15355
15356 [BZ #12454]
15357 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15358 dependencies are missing.
15359
6c8a2e88
ST
153602011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15361
f2092faf 15362 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
15363 Hurd needs munmap.
15364 * sysdeps/mach/hurd/ifreq.h: New file.
15365
84a42118
PB
153662011-01-27 Petr Baudis <pasky@suse.cz>
15367 Ulrich Drepper <drepper@gmail.com>
15368
071f805e 15369 [BZ 12445]#
84a42118
PB
15370 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15371 to extend_alloca().
15372 * stdio-common/bug23.c: New file.
15373 * stdio-common/Makefile (tests): Add bug23.
15374
e23fe25b
AS
153752010-09-28 Andreas Schwab <schwab@redhat.com>
15376 Ulrich Drepper <drepper@gmail.com>
15377
15378 [BZ #12489]
15379 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15380 before performing relro protection. At old place add assertion
15381 to make sure nothing changed.
15382
d3f02e10
NS
153832011-02-17 Nathan Sidwell <nathan@codesourcery.com>
15384 Glauber de Oliveira Costa <glommer@gmail.com>
15385
15386 * elf/elf.h: Add new ARM TLS relocs.
15387
d55fd7a5
RA
153882011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
15389
15390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15391 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15392 cast from r3.
15393 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
15394 'tests' variable.
15395 * sysdeps/wordsize-64/tst-writev.c: New file.
15396
2206397e
RA
153972011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
15398
15399 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
15400 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
15401 insns in _dl_start to prevent a TOC reference before relocs are
15402 resolved.
15403
e9433893
UD
154042011-02-15 Ulrich Drepper <drepper@gmail.com>
15405
15406 [BZ #12469]
15407 * Makeconfig: Remove RANLIB definition.
15408 * Makerules: Don't use RANLIB.
15409 * aclocal.m4: Remove ranlib test.
15410 * configure.in: No need to check for ranlib.
15411 * elf/rtld-Rules: Don't use RANLIB.
15412
f75286c6
ST
154132011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15414
8e31c82d
ST
15415 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15416 protection macro.
15417 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15418 inclusion protection macro.
15419
f75286c6
ST
15420 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
15421 SIGRTMIN and SIGRTMAX and print information in that case only when
15422 SIGRTMIN is defined.
15423
c1d0e639
JJ
154242011-02-11 Jakub Jelinek <jakub@redhat.com>
15425
15426 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15427 arginfo fn returning -1.
15428
15429 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15430 and thousands string is zero terminated.
15431
edf9294e
AS
154322011-02-03 Andreas Schwab <schwab@redhat.com>
15433
15434 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15435 sysdeps/unix/sysv/linux/bits/socket.h.
15436
2b7e92df
ST
154372011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15438
edf9294e
AS
15439 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15440 (__CPU_COUNT): Remove old macros.
15441 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15442 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15443 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
15444 (__sched_cpualloc, __sched_cpufree): Add declarations.
15445
a4c7ea7b
UD
154462011-02-05 Ulrich Drepper <drepper@gmail.com>
15447
15448 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15449 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15450 * nscd/aicache.c (addhstaiX): Return timeout of added value.
15451 (readdhstai): Return value of addhstaiX call.
15452 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15453 (addgrbyX): Return value returned by cache_addgr.
15454 (readdgrbyname): Return value returned by addgrbyX.
15455 (readdgrbygid): Likewise.
15456 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15457 (addpwbyX): Return value returned by cache_addpw.
15458 (readdpwbyname): Return value returned by addhstbyX.
15459 (readdpwbyuid): Likewise.
15460 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15461 (addservbyX): Return value returned by cache_addserv.
15462 (readdservbyname): Return value returned by addservbyX:
15463 (readdservbyport): Likewise.
15464 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15465 (addhstbyX): Return value returned by cache_addhst.
15466 (readdhstbyname): Return value returned by addhstbyX.
15467 (readdhstbyaddr): Likewise.
15468 (readdhstbynamev6): Likewise.
15469 (readdhstbyaddrv6): Likewise.
15470 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15471 (readdinitgroups): Return value returned by addinitgroupsX.
15472 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15473 (prune_cache): Keep track of timeout value of re-added entries.
15474 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15475 * nscd/nscd.h: Adjust prototypes of readd* functions.
15476
a0bf67cc
RM
154772011-02-04 Roland McGrath <roland@redhat.com>
15478
15479 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15480 (nis_stats): Likewise.
15481 * nis/nis_modify.c (nis_modify): Likewise.
15482 * nis/nis_remove.c (nis_remove): Likewise.
15483 * nis/nis_add.c (nis_add): Likewise.
15484
15485 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15486
15487 * posix/fnmatch_loop.c: Add some consts.
15488
15489 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15490
435b95eb
L
154912011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15492
15493 [BZ #12460]
15494 * config.make.in (config-cflags-novzeroupper): Define.
15495 * configure.in: Substitute libc_cv_cc_novzeroupper.
15496 * elf/Makefile (AVX-CFLAGS): Define.
15497 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15498 (CFLAGS-tst-auditmod4a.c): Likewise.
15499 (CFLAGS-tst-auditmod4b.c): Likewise.
15500 (CFLAGS-tst-auditmod6b.c): Likewise.
15501 (CFLAGS-tst-auditmod6c.c): Likewise.
15502 (CFLAGS-tst-auditmod7b.c): Likewise.
15503 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15504
8517b15e
UD
155052011-02-02 Ulrich Drepper <drepper@gmail.com>
15506
15507 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15508 function to the callback.
15509 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15510
10a656fe
AS
155112011-02-02 Andreas Schwab <schwab@redhat.com>
15512
15513 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15514 of errno.
15515
968dad0a
UD
155162011-01-19 Ulrich Drepper <drepper@gmail.com>
15517
9f94d2ea 15518 [BZ #11724]
968dad0a
UD
15519 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15520 of constructors.
15521 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15522 of destructors.
15523 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15524
15525 [BZ #11724]
15526 * elf/Makefile: Add rules to build and run new test.
15527 * elf/tst-initorder.c: New file.
15528 * elf/tst-initorder.exp: New file.
15529 * elf/tst-initordera1.c: New file.
15530 * elf/tst-initordera2.c: New file.
15531 * elf/tst-initordera3.c: New file.
15532 * elf/tst-initordera4.c: New file.
15533 * elf/tst-initorderb1.c: New file.
15534 * elf/tst-initorderb2.c: New file.
15535 * elf/tst-order-a1.c: New file.
15536 * elf/tst-order-a2.c: New file.
15537 * elf/tst-order-a3.c: New file.
15538 * elf/tst-order-a4.c: New file.
15539 * elf/tst-order-b1.c: New file.
15540 * elf/tst-order-b2.c: New file.
15541 * elf/tst-order-main.c: New file.
15542 New test case by George Gensure <werkt0@gmail.com>.
15543
86e92359
UD
155442010-10-01 Andreas Schwab <schwab@redhat.com>
15545
15546 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15547 decoding ACE if AI_CANONIDN.
15548
5d5732b0
UD
155492011-01-18 Ulrich Drepper <drepper@gmail.com>
15550
15551 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15552
a77e8cbc
UD
155532011-01-17 Ulrich Drepper <drepper@gmail.com>
15554
6392473f
UD
15555 * version.h (RELEASE): Bump for 2.13 release.
15556 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15557
620a0529
UD
15558 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15559
18ba70a5
UD
15560 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15561 MADV_NOHUGEPAGE.
32465c3e
UD
15562 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15563 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15564 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15565 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15566 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15567 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15568
c0dafcf1
UD
15569 * posix/getconf.c: Update copyright year.
15570 * catgets/gencat.c: Likewise.
15571 * csu/version.c: Likewise.
15572 * debug/catchsegv.sh: Likewise.
15573 * debug/xtrace.sh: Likewise.
15574 * elf/ldconfig.c: Likewise.
15575 * elf/ldd.bash.in: Likewise.
15576 * elf/sprof.c (print_version): Likewise.
15577 * iconv/iconv_prog.c: Likewise.
15578 * iconv/iconvconfig.c: Likewise.
15579 * locale/programs/locale.c: Likewise.
15580 * locale/programs/localedef.c: Likewise.
15581 * malloc/memusage.sh: Likewise.
15582 * malloc/mtrace.pl: Likewise.
15583 * nscd/nscd.c (print_version): Likewise.
15584 * nss/getent.c: Likewise.
15585
a77e8cbc
UD
15586 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15587 PF_CAIF, and PF_ALG.
15588 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15589
77e8bddf
AS
155902011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15591
1f20b93a
AS
15592 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15593 (modules-names): Use them.
15594 (ifunc-test-modules, ifunc-pie-tests): Define.
15595 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15596 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15597 (test-extras): Likewise.
15598 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15599 $(compile-command.c).
15600 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15601 (all-built-dso): Define.
15602 (check-textrel.out, check-execstack.out): Depend on it.
15603
77e8bddf
AS
15604 * configure.in: Don't override --enable-multi-arch.
15605
bc425b33
UD
156062011-01-15 Ulrich Drepper <drepper@gmail.com>
15607
15608 [BZ #6812]
15609 * nscd/hstcache.c (tryagain): Define.
15610 (cache_addhst): Return tryagain not notfound for temporary errors.
15611 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15612 failed.
15613
794c3ad3
UD
156142011-01-14 Ulrich Drepper <drepper@gmail.com>
15615
70181fdd
UD
15616 [BZ #10563]
15617 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15618 to make the syscall.
15619 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15620
794c3ad3
UD
15621 [BZ #12378]
15622 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15623 and fall back to matching as normal character if the string ends before
15624 the matching ']' is found. This is what POSIX requires.
15625 * posix/testfnm.c: Adjust test result.
15626 * posix/globtest.sh: Adjust test result. Add new test.
15627 * posix/tst-fnmatch.input: Likewise.
15628 * posix/tst-fnmatch2.c: Add new test.
15629
68dc9497
AS
156302010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15631
15632 * elf/Makefile (check-execstack): Revert last change. Depend on
15633 check-execstack.h.
15634 (check-execstack.h): New target.
15635 (generated): Add check-execstack.h.
15636 * elf/check-execstack.c: Include "check-execstack.h".
15637 (main): Revert last change.
15638 (handle_file): Return zero if GNU_STACK is absent and
15639 DEFAULT_STACK_PERMS doesn't include PF_X.
15640
451f001b
UD
156412011-01-13 Ulrich Drepper <drepper@gmail.com>
15642
cfa28e56
UD
15643 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15644 in child fails because the descriptor is already closed.
8cf8ce17
UD
15645 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15646 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15647 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 15648
1086d70d
UD
15649 [BZ #12397]
15650 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15651 syscall.
15652
451f001b
UD
15653 [BZ #10484]
15654 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15655 temporary buffer used to handle multi lookups locally.
a85b5cb4 15656 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 15657
08769175
UD
156582011-01-12 Ulrich Drepper <drepper@gmail.com>
15659
15660 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15661 loader is ld.so.
15662
5e49c52e
UD
156632011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15664
15665 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15666 alignment for SSE2.
15667
60522a5f
UD
156682011-01-12 Ulrich Drepper <drepper@gmail.com>
15669
15670 [BZ #12394]
15671 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15672 characters. When rounding increased number of integer digits recompute
15673 number of groups.
15674 * stdio-common/tst-grouping.c: New file.
15675 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15676
f257bbd7
UD
156772011-01-09 Ulrich Drepper <drepper@gmail.com>
15678
15679 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15680 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15681
15682 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15683 void.
15684 * bits/select.h: Likewise.
15685
fa9c15cb
UD
156862011-01-08 Ulrich Drepper <drepper@gmail.com>
15687
15688 * po/ja.po: Update from translation team.
15689
16c2895f
DM
156902011-01-04 David S. Miller <davem@sunset.davemloft.net>
15691
15692 [BZ #11155]
15693 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15694 implementation just like for lxstat, fxstatat, et al.
15695
2543fef2
JM
156962010-12-27 Jim Meyering <meyering@redhat.com>
15697
15698 [BZ #12348]
15699 * posix/regexec.c (build_trtable): Return failure indication upon
15700 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15701
98727dbe
UD
157022010-12-25 Ulrich Drepper <drepper@gmail.com>
15703
5bd6dc5c
UD
15704 [BZ #12201]
15705 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15706 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15707 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15708 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15709
97983464
UD
15710 [BZ #12207]
15711 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15712
98727dbe
UD
15713 [BZ #12204]
15714 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15715 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15716
4a531bb0
L
157172010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15718
15719 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15720 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15721 script has SORT_BY_INIT_PRIORITY.
15722 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15723 NO_CTORS_DTORS_SECTIONS is defined.
15724 * elf/soinit.c: Likewise.
15725 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15726 NO_CTORS_DTORS_SECTIONS is defined.
15727 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15728 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15729 * sysdeps/sh/init-first.c: Likewise.
15730 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15731
07eb4b71
UD
157322010-12-24 Ulrich Drepper <drepper@gmail.com>
15733
15734 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15735 always use the slow path.
15736
30950a5f
RA
157372010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15738
15739 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15740 similar rule which adds the sysdep directories to the header search in
15741 order to pick up the correct platform stackinfo.h.
15742 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15743 perform test if it is, otherwise return successfully without testing.
15744 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15745 DEFAULT_STACK_PERMS define in stackinfo.h.
15746 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15747 defined in stackinfo.h.
15748 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15749 DEFAULT_STACK_PERMS defined in stackinfo.h.
15750 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15751 * sysdeps/ia64/stackinfo.h: Likewise.
15752 * sysdeps/s390/stackinfo.h: Likewise.
15753 * sysdeps/sh/stackinfo.h: Likewise.
15754 * sysdeps/sparc/stackinfo.h: Likewise.
15755 * sysdeps/x86_64/stackinfo.h: Likewise.
15756 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15757 PF_X for powerpc64. Retain PF_X for powerpc32.
15758
db753e2c
UD
157592010-12-19 Ulrich Drepper <drepper@gmail.com>
15760
14b697f7
UD
15761 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15762 accurately.
db753e2c
UD
15763 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15764 GETDENTS_64BIT_ALIGNED.
15765
28300719
UD
157662010-12-14 Ulrich Drepper <dreper@gmail.com>
15767
14b697f7 15768 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15769
4f197237
AS
157702010-12-10 Andreas Schwab <schwab@redhat.com>
15771
dbb0472f
AS
15772 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15773 _GNU_SOURCE.
15774
4f197237
AS
15775 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15776 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15777 Remove __restrict.
15778 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15779 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15780
fb88ac72
UD
157812010-12-09 Ulrich Drepper <drepper@gmail.com>
15782
15783 [BZ #11655]
15784 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15785 are initialized.
15786
42acbb92
JJ
157872010-12-09 Jakub Jelinek <jakub@redhat.com>
15788
15789 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15790
c038d98d
UD
157912010-12-03 Ulrich Drepper <drepper@gmail.com>
15792
15793 * po/it.po: Update from translation team.
15794
3a4a2499
L
157952010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15796
15797 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15798 unused codes.
15799
1e24cf6e
UD
158002010-11-30 Ulrich Drepper <drepper@gmail.com>
15801
15802 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15803
a7690819
AS
158042010-11-24 Andreas Schwab <schwab@redhat.com>
15805
15806 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15807 specially.
15808 (gaih_getanswer_slice): Likewise.
15809
3bf8d1b1
JJ
158102010-10-20 Jakub Jelinek <jakub@redhat.com>
15811
15812 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15813
6db52fbb
PB
158142010-05-31 Petr Baudis <pasky@suse.cz>
15815
15816 [BZ #11149]
15817 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15818 silently even in the chroot mode.
15819
eaca7569
UD
158202010-11-22 Ulrich Drepper <drepper@gmail.com>
15821
15822 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15823 last patch a bit. Pretty printing
15824
3056dcdb
UD
158252010-05-31 Petr Baudis <pasky@suse.cz>
15826
15827 [BZ #10085]
15828 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15829 initialization of skip_initgroups_dyn.
15830
cf7c9078
UD
158312010-11-19 Ulrich Drepper <drepper@gmail.com>
15832
15833 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15834 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15835
a1fb5e3e
UD
158362010-11-16 Ulrich Drepper <drepper@gmail.com>
15837
15838 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15839
3540d66b
AS
158402010-11-11 Andreas Schwab <schwab@redhat.com>
15841
15842 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15843 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15844 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15845 ($(objpfx)tst-fnmatch-mem): New rule.
15846 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15847 * posix/tst-fnmatch.c (main): Call mtrace.
15848
13b69574
L
158492010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15850
15851 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15852 Support Intel processor model 6 and model 0x2c.
15853
da93d214
LM
158542010-11-10 Luis Machado <luisgpm@br.ibm.com>
15855
15856 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15857 signed comparison.
15858
8ca52c6e
L
158592010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15860
15861 [BZ #12205]
15862 * string/test-strncasecmp.c (check_result): New function.
15863 (do_one_test): Use it.
15864 (check1): New function.
15865 (test_main): Use it.
15866 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15867 Support strcasecmp and strncasecmp.
15868
69da074d
UD
158692010-11-08 Ulrich Drepper <drepper@gmail.com>
15870
15871 [BZ #12194]
15872 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15873 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15874
ff02d528
L
158752010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15876
15877 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15878 IFUNC support.
15879 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15880 memset-x86-64.
15881 * sysdeps/x86_64/multiarch/bzero.S: New file.
15882 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15883 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15884 * sysdeps/x86_64/multiarch/memset.S: New file.
15885 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15886 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15887 Set bit_Prefer_SSE_for_memop for Intel processors.
15888 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15889 Define.
15890 (index_Prefer_SSE_for_memop): Define.
15891 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15892
344d0b54
LM
158932010-11-04 Luis Machado <luisgpm@br.ibm.com>
15894
15895 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15896 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15897
c0dde15b
UD
158982010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15899
15900 [BZ #12191]
15901 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15902 (__x86_64_raw_data_cache_size_half): Likewise.
15903 (__x86_64_raw_shared_cache_size): Likewise.
15904 (__x86_64_raw_shared_cache_size_half): Likewise.
15905
15906 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15907 (__x86_64_raw_data_cache_size_half): Likewise.
15908 (__x86_64_raw_shared_cache_size): Likewise.
15909 (__x86_64_raw_shared_cache_size_half): Likewise.
15910 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15911 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15912 and __x86_64_raw_shared_cache_size_half. Round
15913 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15914 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15915 to multiple of 256 bytes.
15916
0e516e0e
MS
159172010-11-03 Ulrich Drepper <drepper@gmail.com>
15918
15919 [BZ #12167]
15920 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15921 of inacessible symlinks. Verify result of symlink before returning it.
15922 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15923 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15924
0e012e87
ER
159252010-10-28 Erich Ritz <erichritz@gmail.com>
15926
15927 * math/math.h (isinf): Fix typo in comment.
15928
de0ff7bc
UD
159292010-11-01 Ulrich Drepper <drepper@gmail.com>
15930
15931 * po/da.po: Update from translation team.
15932
fa41c84d
UD
159332010-10-26 Ulrich Drepper <drepper@gmail.com>
15934
15935 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15936 is added to the list.
15937
f0967738
AK
159382010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15939 Ulrich Drepper <drepper@gmail.com>
15940
15941 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15942 the global list here. Move code to...
15943 (_dl_add_to_namespace_list): ...here. New function.
15944 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15945 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15946 * elf/dl-load.c (lose): Don't remove the element from the list.
15947 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15948 (_dl_map_object): Likewise.
15949
159502010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15951
15952 [BZ #12159]
15953 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15954 into all bytes of SSE register.
15955 Patch by Richard Li <richardpku@gmail.com>.
15956
f0967738 159572010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15958
15959 [BZ #12140]
15960 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15961 perturbing.
15962
d0b9e94f
MB
159632010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15964
15965 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15966 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15967 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15968 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15970 submachine.
15971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15972
8e9f92e9
AS
159732010-10-22 Andreas Schwab <schwab@redhat.com>
15974
15975 * include/dlfcn.h (__RTLD_SECURE): Define.
15976 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15977 mode & __RTLD_SECURE instead.
15978 (open_path): Rename preloaded parameter to secure.
15979 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15980 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15981 * elf/dl-deps.c (openaux): Likewise.
15982 * elf/rtld.c (struct map_args): Remove is_preloaded.
15983 (map_doit): Don't use it.
15984 (dl_main): Likewise.
15985 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15986 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15987
bc96fbda
AS
159882010-09-09 Andreas Schwab <schwab@redhat.com>
15989
15990 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15991 (sysd-rules-targets): Remove duplicates.
15992 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15993 rtld-%.$o dependency.
15994
22cd1c9b
AS
159952010-10-18 Andreas Schwab <schwab@redhat.com>
15996
15997 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15998 _dl_map_object do it.
15999
18edac48
UD
160002010-10-19 Ulrich Drepper <drepper@gmail.com>
16001
16002 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16003 fast fma builtins, define the macros in the C99 standard.
16004 (FP_FAST_FMAF): Likewise.
16005 (FP_FAST_FMAL): Likewise.
16006 * sysdeps/x86_64/bits/mathdef.h: Likewise.
16007
16008 * bits/mathdef.h: Update copyright year.
16009 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16010
d2050124
MM
160112010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
16012
16013 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16014 builtins, define the macros in the C99 standard.
16015 (FP_FAST_FMAF): Likewise.
16016 (FP_FAST_FMAL): Likewise.
16017 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16018 multiply/add.
16019 (FP_FAST_FMAF): Likewise.
16020
475facd1
JJ
160212010-10-15 Jakub Jelinek <jakub@redhat.com>
16022
16023 [BZ #3268]
16024 * math/libm-test.inc (fma_test): Some new testcases.
16025 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16026 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16027 y and infinite z. Do multiplication by C already in long double.
16028 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16029 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16030 y and infinite z. Do bitwise or of inexact bit into u.d.
16031 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16032 * sysdeps/i386/fpu/s_fmaf.S: Removed.
16033 * sysdeps/i386/fpu/s_fma.S: Removed.
16034 * sysdeps/i386/fpu/s_fmal.S: Removed.
16035
7c08a05c
JJ
160362010-10-16 Jakub Jelinek <jakub@redhat.com>
16037
16038 [BZ #3268]
16039 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16040 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16041 computation is not scheduled after fetestexcept. Fix value
16042 of minimum denormal long double.
16043
f3f7372d
JJ
160442010-10-14 Jakub Jelinek <jakub@redhat.com>
16045
16046 [BZ #3268]
16047 * math/libm-test.inc (fma_test): Add some more tests.
16048 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16049 correctly.
16050
14d43591
AS
160512010-10-15 Andreas Schwab <schwab@redhat.com>
16052
16053 * scripts/data/localplt-s390-linux-gnu.data: New file.
16054 * scripts/data/localplt-s390x-linux-gnu.data: New file.
16055
5e908464
JJ
160562010-10-13 Jakub Jelinek <jakub@redhat.com>
16057
16058 [BZ #3268]
16059 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16060 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16061 instead of dbl-64.
16062 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16063 inlines.
16064 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16065 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16066 if one of x and y is very large and the other is subnormal.
16067 * sysdeps/s390/fpu/s_fmaf.c: New file.
16068 * sysdeps/s390/fpu/s_fma.c: New file.
16069 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16070 * sysdeps/powerpc/fpu/s_fma.S: New file.
16071 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16072 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16073 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16074
160752010-10-12 Jakub Jelinek <jakub@redhat.com>
16076
16077 [BZ #3268]
16078 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16079 fma tests.
16080 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16081 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16082 * sysdeps/i386/i686/multiarch/s_fma.c: Include
16083 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16084 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16085 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16086 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16087
b833d51f
UD
160882010-10-12 Ulrich Drepper <drepper@redhat.com>
16089
16090 [BZ #12078]
16091 * posix/regcomp.c (parse_branch): One more memory leak plugged.
16092 * posix/bug-regex31.input: Add test case.
16093
1751705d
UD
160942010-10-11 Ulrich Drepper <drepper@gmail.com>
16095
e9b9cbf5
UD
16096 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16097 * posix/bug-regex31.input: New file.
16098
16099 [BZ #12078]
16100 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16101 (parse_sub_exp): Fix last change, use postorder.
16102
ef06edbe
UD
16103 * posix/bug-regex31.c: New file.
16104 * posix/Makefile: Add rules to build and run bug-regex31.
16105
a129c80d
UD
16106 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16107
16108 [BZ #12078]
16109 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16110
b76b818e
UD
16111 [BZ #12108]
16112 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16113 to have entries in sys_siglist.
16114
1751705d
UD
16115 [BZ #12093]
16116 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16117 be NULL.
16118
9ff8d36f
JJ
161192010-10-07 Jakub Jelinek <jakub@redhat.com>
16120
16121 [BZ #3268]
16122 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16123 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16124 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16125 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16126 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16127 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16128 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16129 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16130 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16131 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16132 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16133 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16134 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16135 * math/ftestexcept.c (fetestexcept): Likewise.
16136 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16137 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16138 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16139 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16140 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16141 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16142 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16143
af325969
UD
161442010-10-11 Ulrich Drepper <drepper@gmail.com>
16145
c579b202 16146 [BZ #12107]
af325969
UD
16147 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16148 newline.
16149
67a67b95
UD
161502010-10-06 Ulrich Drepper <drepper@gmail.com>
16151
16152 * string/bug-strstr1.c: New file.
16153 * string/Makefile: Add rules to build and run bug-strstr1.
16154
5fb308bc
EB
161552010-10-05 Eric Blake <eblake@redhat.com>
16156
16157 [BZ #12092]
16158 * string/str-two-way.h (two_way_long_needle): Always clear memory
16159 when skipping input due to the shift table.
16160
45db99c7
UD
161612010-10-03 Ulrich Drepper <drepper@gmail.com>
16162
3b111893
UD
16163 [BZ #12005]
16164 * malloc/mcheck.c: Handle large requests.
16165
45db99c7
UD
16166 [BZ #12077]
16167 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16168 for strncmp and strncasecmp.
16169 * string/stratcliff.c: Add tests for strcmp and strncmp.
16170 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16171
cf7a1eb8
NI
161722010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16173
16174 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16175 __set_fpscr.
16176
6484ba5e
AJ
161772010-09-30 Andreas Jaeger <aj@suse.de>
16178
16179 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16180 (CGROUP_SUPER_MAGIC): Define.
16181 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16182 Handle btrfs and cgroup file systems.
16183 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16184 Likewise.
16185
91c42559
LM
161862010-09-27 Luis Machado <luisgpm@br.ibm.com>
16187
16188 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16189 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16190
87a97932
AK
161912010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16192
16193 [BZ #12067]
16194 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16195 trying to locate the ELF header.
16196
c21cc9bc
AS
161972010-09-27 Andreas Schwab <schwab@redhat.com>
16198
16199 [BZ #11611]
16200 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16201 Mask out sign-bit copies when constructing f_fsid.
16202
315970f6
PB
162032010-09-24 Petr Baudis <pasky@suse.cz>
16204
16205 * debug/stack_chk_fail_local.c: Add missing licence exception.
16206 * debug/warning-nop.c: Likewise.
16207
1ac7a2c7
JM
162082010-09-15 Joseph Myers <joseph@codesourcery.com>
16209
16210 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16211 implementing getdents64 using getdents syscall, set d_type if
16212 __ASSUME_GETDENTS32_D_TYPE.
16213
56801c50
AS
162142010-09-16 Andreas Schwab <schwab@redhat.com>
16215
16216 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16217 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16218
dda51327
UD
162192010-09-21 Ulrich Drepper <drepper@redhat.com>
16220
16221 [BZ #12037]
16222 * posix/unistd.h: Undo change of feature selection for ftruncate from
16223 2010-01-11.
16224
8ffcee4a
UD
162252010-09-20 Ulrich Drepper <drepper@redhat.com>
16226
a545ecd9 16227 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
16228 detection.
16229
e24f0a8b
AS
162302010-09-20 Andreas Schwab <schwab@redhat.com>
16231
16232 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16233 fanotify_mark.
16234 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16235
7291c56f
AS
162362010-09-14 Andreas Schwab <schwab@redhat.com>
16237
16238 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16239 variables after CHECK_SP call.
16240 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16241
bc5fb037
AS
162422010-09-13 Andreas Schwab <schwab@redhat.com>
16243 Ulrich Drepper <drepper@redhat.com>
16244
16245 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16246 re-relocationg ld.so.
16247 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16248 _dl_init_paths call.
16249 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
16250 here anymore.
16251
e66e7419
UD
162522010-09-14 Ulrich Drepper <drepper@redhat.com>
16253
16254 * resolv/res_init.c (__res_vinit): Count the default server we added.
16255
c044aa75
CLT
162562010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
16257 Ulrich Drepper <drepper@redhat.com>
16258
16259 [BZ #11968]
16260 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16261 (____longjmp_chk): Use %ebx for saving value across system call.
16262 Add unwind info.
16263
32cf4069
AS
162642010-09-06 Andreas Schwab <schwab@redhat.com>
16265
16266 * manual/Makefile: Don't mix pattern rules with normal rules.
16267
817328ee
AS
162682010-09-05 Andreas Schwab <schwab@linux-m68k.org>
16269
16270 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16271 operation.
16272 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16273 * libio/iofopncook.c (_IO_cookie_init): Likewise.
16274 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16275 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16276 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16277 Likewise.
16278
29fddf61
UD
162792010-09-04 Ulrich Drepper <drepper@redhat.com>
16280
16281 [BZ #11979]
16282 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16283 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16284
0959ffc9
UD
162852010-09-02 Ulrich Drepper <drepper@redhat.com>
16286
16287 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16288 * sysdeps/x86_64/addmul_1.S: Likewise.
16289 * sysdeps/x86_64/lshift.S: Likewise.
16290 * sysdeps/x86_64/mul_1.S: Likewise.
16291 * sysdeps/x86_64/rshift.S: Likewise.
16292 * sysdeps/x86_64/sub_n.S: Likewise.
16293 * sysdeps/x86_64/submul_1.S: Likewise.
16294
ece29840
ST
162952010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
16296
0959ffc9
UD
16297 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16298 Define __sched_param instead of SCHED_* and sched_param when
ece29840 16299 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 16300 * bits/sched.h [__need_schedparam]
ece29840 16301 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
16302 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16303 (__defined_schedparam): Define to 1.
ece29840
ST
16304 (__sched_param): New structure, identical to sched_param.
16305 (__need_schedparam): Undefine.
16306
e53a31fe
MF
163072010-08-31 Mike Frysinger <vapier@gentoo.org>
16308
fdc0c10d
MF
16309 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16310 (epoll_create1): Declare.
16311
e53a31fe
MF
16312 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16313
a726d796
AS
163142010-08-31 Andreas Schwab <schwab@redhat.com>
16315
16316 [BZ #7066]
16317 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16318 shifting retval into place.
16319
2f3e3dc7
UD
163202010-09-01 Ulrich Drepper <drepper@redhat.com>
16321
f2933da9
UD
16322 * nis/rpcsvc/nis.h: Update copyright notice.
16323 * nis/rpcsvc/nis.x: Likewise.
16324 * nis/rpcsvc/nis_callback.h: Likewise.
16325 * nis/rpcsvc/nis_callback.x: Likewise.
16326 * nis/rpcsvc/nis_object.x: Likewise.
16327 * nis/rpcsvc/nis_tags.h: Likewise.
16328 * nis/rpcsvc/yp.h: Likewise.
16329 * nis/rpcsvc/yp.x: Likewise.
16330 * nis/rpcsvc/ypupd.h: Likewise.
16331 * nis/yp_xdr.c: Likewise.
16332 * nis/ypupdate_xdr.c: Likewise.
16333
2f3e3dc7
UD
16334 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
16335 mainly the body of pmap_getport. Add parameters to specify timeouts.
16336 (pmap_getport): Use __libc_rpc_getport.
16337 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16338 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16339 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16340
f3dcc2f9
AS
163412010-08-31 Andreas Schwab <schwab@linux-m68k.org>
16342
16343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16344 fanotify_mark.
16345
6d34eb5b
RM
163462010-08-27 Roland McGrath <roland@redhat.com>
16347
16348 * sysdeps/i386/i686/multiarch/Makefile
16349 (CFLAGS-varshift.c): New variable.
16350
9ea3de11
UD
163512010-08-27 Ulrich Drepper <drepper@redhat.com>
16352
c96d23fc
UD
16353 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16354 * sysdeps/i386/i686/multiarch/varshift.c: New file.
16355
9ea3de11
UD
16356 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16357
16358 * sysdeps/x86_64/strlen.S: Minimal code improvement.
16359
623aac7f
L
163602010-08-26 H.J. Lu <hongjiu.lu@intel.com>
16361
16362 * sysdeps/x86_64/strlen.S: Unroll the loop.
16363 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16364 strlen-sse2 strlen-sse2-bsf.
16365 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16366 __strlen_no_bsf if bit_Slow_BSF is set.
16367 (__strlen_sse42): Removed.
16368 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16369 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16370
8b2b7715
RM
163712010-08-25 Roland McGrath <roland@redhat.com>
16372
16373 * sysdeps/x86_64/multiarch/varshift.S: File removed.
16374 * sysdeps/x86_64/multiarch/varshift.c: New file.
16375 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16376 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16377 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16378 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16379
e73015f2
L
163802010-08-25 H.J. Lu <hongjiu.lu@intel.com>
16381
16382 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16383 strlen-sse2 strlen-sse2-bsf.
16384 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16385 __strlen_sse2_bsf if bit_Slow_BSF is unset.
16386 (__strlen_sse2): Removed.
16387 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16388 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16389 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16390 bit_Slow_BSF for Atom.
16391 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16392 (index_Slow_BSF): Define.
16393 (HAS_SLOW_BSF): Define.
16394
df24a73e
UD
163952010-08-25 Ulrich Drepper <drepper@redhat.com>
16396
16397 [BZ #10851]
16398 * resolv/res_init.c (__res_vinit): When no server address at all
16399 is given default to loopback.
16400
f2ac4868
RM
164012010-08-24 Roland McGrath <roland@redhat.com>
16402
09055553
RM
16403 * configure.in: Remove config-name.h generation.
16404 * configure: Regenerated.
16405 * config-name.in: File removed.
16406 * scripts/config-uname.sh: New file.
16407 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16408 ($(objdir)config-name.h): New target.
16409
f2ac4868
RM
16410 * sunrpc/rpc_parse.h: Avoid nested comment.
16411
73f27d5e
RH
164122010-08-24 Richard Henderson <rth@redhat.com>
16413 Ulrich Drepper <drepper@redhat.com>
16414 H.J. Lu <hongjiu.lu@intel.com>
16415
16416 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16417 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16418 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16419 Replace _mm_srli_si128 with __m128i_shift_right. Replace
16420 _mm_alignr_epi8 with _mm_loadu_si128.
16421 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
16422 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
16423 (__m128i_shift_right): Removed.
16424 * sysdeps/i386/i686/multiarch/varshift.h: New file.
16425 * sysdeps/i386/i686/multiarch/varshift.S: New file.
16426 * sysdeps/x86_64/multiarch/varshift.h: New file.
16427 * sysdeps/x86_64/multiarch/varshift.S: New file.
16428
84b9230c
MF
164292010-08-21 Mike Frysinger <vapier@gentoo.org>
16430
16431 * configure.in: Move assembler checks to before sysdep dir checking.
16432
9bbd0ddc
PB
164332010-08-20 Petr Baudis <pasky@suse.cz>
16434
16435 * LICENSES: Sync the sunrpc license.
16436
9da4bb31
UD
164372010-08-19 Ulrich Drepper <drepper@redhat.com>
16438
a7ab6ec8
UD
16439 * sunrpc/auth_des.c: Update copyright notice once again.
16440 * sunrpc/auth_none.c: Likewise.
16441 * sunrpc/auth_unix.c: Likewise.
16442 * sunrpc/authdes_prot.c: Likewise.
16443 * sunrpc/authuxprot.c: Likewise.
16444 * sunrpc/bindrsvprt.c: Likewise.
16445 * sunrpc/clnt_gen.c: Likewise.
16446 * sunrpc/clnt_perr.c: Likewise.
16447 * sunrpc/clnt_raw.c: Likewise.
16448 * sunrpc/clnt_simp.c: Likewise.
16449 * sunrpc/clnt_tcp.c: Likewise.
16450 * sunrpc/clnt_udp.c: Likewise.
16451 * sunrpc/clnt_unix.c: Likewise.
16452 * sunrpc/des_crypt.c: Likewise.
16453 * sunrpc/des_soft.c: Likewise.
16454 * sunrpc/get_myaddr.c: Likewise.
16455 * sunrpc/getrpcport.c: Likewise.
16456 * sunrpc/key_call.c: Likewise.
16457 * sunrpc/key_prot.c: Likewise.
16458 * sunrpc/openchild.c: Likewise.
16459 * sunrpc/pm_getmaps.c: Likewise.
16460 * sunrpc/pm_getport.c: Likewise.
16461 * sunrpc/pmap_clnt.c: Likewise.
16462 * sunrpc/pmap_prot.c: Likewise.
16463 * sunrpc/pmap_prot2.c: Likewise.
16464 * sunrpc/pmap_rmt.c: Likewise.
16465 * sunrpc/rpc/auth.h: Likewise.
16466 * sunrpc/rpc/auth_unix.h: Likewise.
16467 * sunrpc/rpc/clnt.h: Likewise.
16468 * sunrpc/rpc/des_crypt.h: Likewise.
16469 * sunrpc/rpc/key_prot.h: Likewise.
16470 * sunrpc/rpc/netdb.h: Likewise.
16471 * sunrpc/rpc/pmap_clnt.h: Likewise.
16472 * sunrpc/rpc/pmap_prot.h: Likewise.
16473 * sunrpc/rpc/pmap_rmt.h: Likewise.
16474 * sunrpc/rpc/rpc.h: Likewise.
16475 * sunrpc/rpc/rpc_des.h: Likewise.
16476 * sunrpc/rpc/rpc_msg.h: Likewise.
16477 * sunrpc/rpc/svc.h: Likewise.
16478 * sunrpc/rpc/svc_auth.h: Likewise.
16479 * sunrpc/rpc/types.h: Likewise.
16480 * sunrpc/rpc/xdr.h: Likewise.
16481 * sunrpc/rpc_clntout.c: Likewise.
16482 * sunrpc/rpc_cmsg.c: Likewise.
16483 * sunrpc/rpc_common.c: Likewise.
16484 * sunrpc/rpc_cout.c: Likewise.
16485 * sunrpc/rpc_dtable.c: Likewise.
16486 * sunrpc/rpc_hout.c: Likewise.
16487 * sunrpc/rpc_main.c: Likewise.
16488 * sunrpc/rpc_parse.c: Likewise.
16489 * sunrpc/rpc_parse.h: Likewise.
16490 * sunrpc/rpc_prot.c: Likewise.
16491 * sunrpc/rpc_sample.c: Likewise.
16492 * sunrpc/rpc_scan.c: Likewise.
16493 * sunrpc/rpc_scan.h: Likewise.
16494 * sunrpc/rpc_svcout.c: Likewise.
16495 * sunrpc/rpc_tblout.c: Likewise.
16496 * sunrpc/rpc_util.c: Likewise.
16497 * sunrpc/rpc_util.h: Likewise.
16498 * sunrpc/rpcinfo.c: Likewise.
16499 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16500 * sunrpc/rpcsvc/key_prot.x: Likewise.
16501 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16502 * sunrpc/rpcsvc/mount.x: Likewise.
16503 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16504 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16505 * sunrpc/rpcsvc/rex.x: Likewise.
16506 * sunrpc/rpcsvc/rstat.x: Likewise.
16507 * sunrpc/rpcsvc/rusers.x: Likewise.
16508 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16509 * sunrpc/rpcsvc/spray.x: Likewise.
16510 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16511 * sunrpc/rtime.c: Likewise.
16512 * sunrpc/svc.c: Likewise.
16513 * sunrpc/svc_auth.c: Likewise.
16514 * sunrpc/svc_authux.c: Likewise.
16515 * sunrpc/svc_raw.c: Likewise.
16516 * sunrpc/svc_run.c: Likewise.
16517 * sunrpc/svc_simple.c: Likewise.
16518 * sunrpc/svc_tcp.c: Likewise.
16519 * sunrpc/svc_udp.c: Likewise.
16520 * sunrpc/svc_unix.c: Likewise.
16521 * sunrpc/svcauth_des.c: Likewise.
16522 * sunrpc/xcrypt.c: Likewise.
16523 * sunrpc/xdr.c: Likewise.
16524 * sunrpc/xdr_array.c: Likewise.
16525 * sunrpc/xdr_float.c: Likewise.
16526 * sunrpc/xdr_mem.c: Likewise.
16527 * sunrpc/xdr_rec.c: Likewise.
16528 * sunrpc/xdr_ref.c: Likewise.
16529 * sunrpc/xdr_sizeof.c: Likewise.
16530 * sunrpc/xdr_stdio.c: Likewise.
16531
9da4bb31
UD
16532 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16533 handling.
16534
bdaa77bc
AS
165352010-08-19 Andreas Schwab <schwab@redhat.com>
16536
16537 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16538
fe2f79db
LM
165392010-08-19 Luis Machado <luisgpm@br.ibm.com>
16540
16541 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16542 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16543 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16544 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16545 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16546 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16547 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16548 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16549 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16550 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16551 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16552 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16553 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16554 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16555
b9b42ee0
AB
165562010-07-26 Anton Blanchard <anton@samba.org>
16557
16558 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16559 * malloc/arena.c (heap_trim): Likewise.
16560
1c06ba31
UD
165612010-08-16 Ulrich Drepper <drepper@redhat.com>
16562
16563 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16564 here. Not...
16565 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16566 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16567
f8392f40
L
165682010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16569
16570 * sysdeps/i386/elf/Makefile: New file.
16571
3162f12e
AS
165722010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16573
16574 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16575 from fanotify_init.
16576 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16577 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16578
28c90b2c
UD
165792010-08-15 Ulrich Drepper <drepper@redhat.com>
16580
16581 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16582 of strncasecmp_l.
1feccb6c 16583 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 16584
ca6bb004
UD
165852010-08-14 Ulrich Drepper <drepper@redhat.com>
16586
e9f82e0d
UD
16587 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16588 strncase_l-nonascii.
16589 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16590 Add strncase_l-ssse3.
16591 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16592 * sysdeps/x86_64/strcmp.S: Likewise.
16593 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16594 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16595 * sysdeps/x86_64/strncase.S: New file.
16596 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16597 * sysdeps/x86_64/strncase_l.S: New file.
16598 * string/Makefile (strop-tests): Add strncasecmp.
16599 * string/test-strncasecmp.c: New file.
16600
16601 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16602 warning.
16603
ca6bb004
UD
16604 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16605 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16606
052fa7b3
AS
166072010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16608
16609 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16610
962dba78
UD
166112010-08-12 Ulrich Drepper <drepper@redhat.com>
16612
16613 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16614 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16615 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16616
bebff237
AM
166172010-05-01 Alan Modra <amodra@gmail.com>
16618
16619 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16620 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16621 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16622 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16623 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16624 tidying. Don't tail-call __sigjmp_save for static lib.
16625 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16626 save location.
16627 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16628 (CALL_MCOUNT): Add eh info, and nop after bl.
16629 (TAIL_CALL_SYSCALL_ERROR): New macro.
16630 (PSEUDO_RET): Use it.
16631 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16632 Correct save location of integer regs and cr.
16633 (_dl_profile_resolve): Correct cr save location. Delete nops
16634 after bl when SHARED. Reduce cfi size a little by better
16635 placement of cfi directives.
16636 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16637 make a stack frame. Instead use parm save area as a temp.
16638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16639 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16641 Don't make a stack frame for parent, use parm save area.
16642 Increase child stack frame to 112 bytes. Don't save unused reg,
16643 and adjust reg usage. Set up cfi on error recovery and
16644 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16646 (__makecontext): Add dummy nop after jump to exit.
16647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16648 Use correct parm save area and cr save, reduce stack frame.
16649 Correct cfi for possible PSEUDO_RET frame setup.
16650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16651 Branch to local label emitted by PSEUDO_RET rather than
16652 __syscall_error.
16653
02637374
AS
166542010-08-12 Andreas Schwab <schwab@redhat.com>
16655
16656 [BZ #11904]
16657 * locale/programs/locale.c (print_assignment): New function.
16658 (show_locale_vars): Use it.
16659
c3e2f19b
UD
166602010-08-11 Ulrich Drepper <drepper@redhat.com>
16661
3cdaa6ad
UD
16662 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16663 field.
16664 (struct statfs64): Likewise.
16665 (_STATFS_F_FLAGS): Define.
16666 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16667 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16668 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16669 (ST_VALID): Define locally.
16670 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16671 __statvfs_getflags, use the provided value.
16672 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16673 __ASSUME_STATFS_F_FLAGS.
16674
754f7da3
UD
16675 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16676
10b3bedc
UD
16677 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16678 Add sys/fanotify.h.
16679 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16680 fanotify_mask for GLIBC_2.13.
16681 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16682 fanotify_init and fanotify_mark.
16683 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16684 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16685
c08fb0d7
UD
16686 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16687 Add prlimit.
16688 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16689 prlimit64 for GLIBC_2.13.
16690 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16691 prlimit64.
16692 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16693 syscall.
16694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16695 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16696 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16697 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16698 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16699 add prlimit alias.
16700 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16701
15bac72b
UD
16702 [BZ #11903]
16703 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16704 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16705
c3e2f19b
UD
16706 * nss/Makefile: Add rules to build and run tst-nss-test1.
16707 * shlib-versions: Add entry for libnss_test1.
16708 * nss/nss_test1.c: New file.
16709 * nss/tst-nss-test1.c: New file.
16710
16711 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16712 (__nss_configure_lookup): Set appropriate entry in
16713 __nss_configure_lookup to true.
16714 * nss/nsswitch.h: Define enum with indeces of databases in
16715 databases and __nss_database_custom arrays. Declare
16716 __nss_database_custom.
16717 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16718 to avoid using nscd when custom rules are installed.
16719 * nss/getXXbyYY_r.c: Likewise.
16720 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16721
16722 * nss/nss_files/files-parse.c: Whitespace fixes.
16723
f15ce4d8
UD
167242010-08-09 Ulrich Drepper <drepper@redhat.com>
16725
16726 [BZ #11883]
16727 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16728 * posix/fnmatch_loop.c: Likewise.
16729
d22e4cc9
AK
167302010-07-17 Andi Kleen <ak@linux.intel.com>
16731
16732 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16733 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16734 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16735 * Versions.def [GLIBC_2.13]: Add.
16736
805bc17d
UD
167372010-08-06 Ulrich Drepper <drepper@redhat.com>
16738
16739 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16740 Also fail if tpwd after pwuid call is NULL.
16741
5a42321d
ST
167422010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16743
16744 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16745 when converting to ms.
16746
fd3ebeda
ST
167472010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16748
16749 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16750 EOPNOTSUPP errors with ENOTTY.
16751 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16752 EOPNOTSUPP errors with ENOTTY.
16753
73507d3a
UD
167542010-07-31 Ulrich Drepper <drepper@redhat.com>
16755
16756 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16757 Add strcasecmp_l-ssse3.
16758 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16759 strcasecmp.
16760 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16761 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16762 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16763
fe36dd02
UD
167642010-07-30 Ulrich Drepper <drepper@redhat.com>
16765
66f6765a
UD
16766 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16767
42e08a54
UD
16768 * string/Makefile (strop-tests): Add strcasecmp.
16769 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16770 strcasecmp_l-nonascii.
16771 (gen-as-const-headers): Add locale-defines.sym.
16772 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16773 * sysdeps/x86_64/strcasecmp.S: New file.
16774 * sysdeps/x86_64/strcasecmp_l.S: New file.
16775 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16776 * sysdeps/x86_64/locale-defines.sym: New file.
16777 * string/test-strcasecmp.c: New file.
16778
fe36dd02
UD
16779 * string/test-strcasestr.c: Test both ends of the range of characters.
16780 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16781
48cbc0d6
RM
167822010-07-29 Roland McGrath <roland@redhat.com>
16783
76e6d6bc 16784 [BZ #11856]
48cbc0d6
RM
16785 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16786
880113d9
UD
167872010-07-27 Ulrich Drepper <drepper@redhat.com>
16788
16789 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16790 for ld.so.
16791
deb9cabb
AS
167922010-07-27 Andreas Schwab <schwab@redhat.com>
16793
16794 * manual/memory.texi (Malloc Tunable Parameters): Document
16795 M_PERTURB.
16796
1c7570ff
RM
167972010-07-26 Roland McGrath <roland@redhat.com>
16798
16799 [BZ #11840]
16800 * configure.in (-fgnu89-inline check): Set and substitute
16801 gnu89_inline, not libc_cv_gnu89_inline.
16802 * configure: Regenerated.
16803 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16804
24fb0f88
UD
168052010-07-26 Ulrich Drepper <drepper@redhat.com>
16806
16807 * string/test-strnlen.c: New file.
16808 * string/Makefile (strop-tests): Add strnlen.
16809 * string/tester.c (test_strnlen): Add a few more test cases.
16810 * string/tst-strlen.c: Better error reporting.
16811
16812 * sysdeps/x86_64/strnlen.S: New file.
16813
8e96b93a
UD
168142010-07-24 Ulrich Drepper <drepper@redhat.com>
16815
16816 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16817 lower-latency instructions.
16818
dbc676d4
UD
168192010-07-23 Ulrich Drepper <drepper@redhat.com>
16820
16821 * string/test-strcasestr.c: New file.
16822 * string/test-strstr.c: New file.
16823 * string/Makefile (strop-tests): Add strstr and strcasestr.
16824 * string/str-two-way.h: Don't undefine MAX.
16825 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16826
f6a31e0e
AS
168272010-07-21 Andreas Schwab <schwab@redhat.com>
16828
16829 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16830 strcasestr-nonascii.
16831 (CFLAGS-strcasestr-nonascii.c): Define.
16832 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16833 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16834 Remove unused attribute.
16835
5dbc3b6c
RM
168362010-07-20 Roland McGrath <roland@redhat.com>
16837
16838 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16839 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16840 ld.so.cache was broken. With it, there is no way to disable dsocaps
16841 like LD_HWCAP_MASK can disable hwcaps.
16842
23d101d8
EPM
168432010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16844
16845 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16846
cc9f2e47
UD
168472010-07-16 Ulrich Drepper <drepper@redhat.com>
16848
16849 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16850 call in strcasestr.
16851 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16852 __strcasestr_sse42_nonascii.
16853 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16854 strcasestr-nonascii.c.
16855 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16856
77c1b069
LM
168572010-06-15 Luis Machado <luisgpm@br.ibm.com>
16858
16859 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16860 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16861 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16862 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16863
440566c3
UD
168642010-07-09 Ulrich Drepper <drepper@redhat.com>
16865
16866 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16867 fcntl.
16868
5be9d05d
AS
168692010-07-06 Andreas Schwab <schwab@redhat.com>
16870
c30b7ee2 16871 [BZ #11577]
5be9d05d
AS
16872 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16873 dl_signal_cerror.
16874
8a492a67
UD
168752010-07-06 Ulrich Drepper <drepper@redhat.com>
16876
16877 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16878 _PC_PIPE_BUF using F_GETPIPE_SZ.
16879
713df3d5
RM
168802010-07-05 Roland McGrath <roland@redhat.com>
16881
16882 * manual/arith.texi (Rounding Functions): Fix rint description
16883 implicit in round description.
16884
702e8f14
UD
168852010-07-02 Ulrich Drepper <drepper@redhat.com>
16886
16887 * elf/Makefile: Fix linking for a few tests to make recent linker
16888 happy.
16889
52ed8be9
AS
168902010-06-30 Andreas Schwab <schwab@redhat.com>
16891
16892 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16893 $(common-objpfx)libc_nonshared.a.
16894
f47c9a11
LM
168952010-06-21 Luis Machado <luisgpm@br.ibm.com>
16896
16897 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16898 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16899 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16900 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16901 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16902 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16903 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16904 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16919 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16920 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16921 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16922 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16923 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16924 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16925 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16926 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16927 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16928 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16929 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16930 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16945
6fb8cbcb
L
169462010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16947
16948 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16949 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16950 * string/memmove.c (memmove): Renamed to ...
16951 (MEMMOVE): ...this. Default to memmove.
16952 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16953 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16954 (END_CHK): Define.
16955 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16956 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16957 mempcpy-ssse3-back memmove-ssse3-back.
16958 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16959 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16960 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16961 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16962 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16963 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16964 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16965 * sysdeps/x86_64/multiarch/memmove.c: New file.
16966 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16967 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16968 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16969 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16970 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16971 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16972 Define.
16973 (index_Fast_Copy_Backward): Define.
16974 (HAS_ARCH_FEATURE): Define.
16975 (HAS_FAST_REP_STRING): Define.
16976 (HAS_FAST_COPY_BACKWARD): Define.
16977
4e733bac 169782010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16979
16980 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16981 Restore proper fallback handling.
16982
63c4ed22
UD
169832010-06-19 Ulrich Drepper <drepper@redhat.com>
16984
ac2b484c
UD
16985 [BZ #11701]
16986 * posix/group_member.c (__group_member): Correct checking loop.
16987
63c4ed22
UD
16988 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16989 OOM in getpwuid_r correctly. Return error number when the caller
16990 should return, otherwise -1.
16991 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16992 call returning > 0 value.
16993 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16994
765ade4b
AS
169952010-06-07 Andreas Schwab <schwab@redhat.com>
16996
16997 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16998 libc_nonshared.a from targets in modules-names.
16999
80da2e09
KS
170002010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
17001
17002 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17003 requires it.
17004
158db122
LM
170052010-06-10 Luis Machado <luisgpm@br.ibm.com>
17006
17007 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17008 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17009 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17010 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17011
caa78cf8
AS
170122010-06-02 Andreas Schwab <schwab@redhat.com>
17013
17014 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17015
b2ef2c01
UD
170162010-06-14 Ulrich Drepper <drepper@redhat.com>
17017
17018 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17019 and F_GETPIPE_SZ.
17020 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17021 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17022 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17023 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17024 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17025 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17026
fbd643b6
RM
170272010-06-14 Roland McGrath <roland@redhat.com>
17028
17029 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17030
f32f2869
JJ
170312010-06-07 Jakub Jelinek <jakub@redhat.com>
17032
17033 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17034 __REDIRECT followed by __THROW.
17035 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17036 * posix/getopt.h (getopt): Likewise.
17037
2a50c078
EPM
170382010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17039
17040 * hurd/lookup-at.c (__file_name_lookup_at): Accept
17041 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
17042 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17043 in AT_FLAGS.
17044 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17045 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17046
eb5ad2eb
LM
170472010-05-28 Luis Machado <luisgpm@br.ibm.com>
17048
17049 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17050
3c88fe1e
L
170512010-05-26 H.J. Lu <hongjiu.lu@intel.com>
17052
17053 [BZ #11640]
17054 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17055 Properly check family and model.
17056
d2f73151
TY
170572010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
17058
17059 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17060
ebd2e13d
LM
170612010-05-24 Luis Machado <luisgpm@br.ibm.com>
17062
17063 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17064
b32b8b45
UD
170652010-05-21 Ulrich Drepper <drepper@redhat.com>
17066
17067 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17068 symbol reference.
17069
9acbe24d
AS
170702010-05-19 Andreas Schwab <schwab@redhat.com>
17071
17072 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17073 symbol reference.
17074
f0ccf6ea
AS
170752010-05-21 Andreas Schwab <schwab@redhat.com>
17076
3d04ff3a
AS
17077 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17078 and internal_recvmmsg.
17079 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17080 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17081 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17082 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17083
f0ccf6ea
AS
17084 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17085 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17086 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17087
5b08ac57
AS
170882010-05-20 Andreas Schwab <schwab@redhat.com>
17089
17090 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17091
4828935d
LM
170922010-05-17 Luis Machado <luisgpm@br.ibm.com>
17093
17094 POWER7 optimizations.
17095 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17096 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17097
373d545e
UD
170982010-05-19 Ulrich Drepper <drepper@redhat.com>
17099
17100 * version.h: Update for 2.13 development version.
17101
21a2b1ae
AS
171022010-05-12 Andrew Stubbs <ams@codesourcery.com>
17103
17104 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17105 exceptions. Return 0.
17106
3f7dcb2b
RM
171072010-05-07 Roland McGrath <roland@redhat.com>
17108
17109 * elf/ldconfig.c (main): Add a const.
17110
5f24d53a 171112010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 17112
a160f8d8
UD
17113 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17114 (args_options): Add no-idn option.
17115 (ahosts_keys_int): Add idn_flags to ai_flags.
17116 (parse_option): Handle 'i' option to clear idn_flags.
17117
5f24d53a
UD
17118 * malloc/malloc.c (_int_free): Possible race in the most recently
17119 added check. Only act on the data if no current modification
17120 happened.
265bb1ce
UD
17121
17122See ChangeLog.17 for earlier changes.