]> sourceware.org Git - glibc.git/blob - ChangeLog
83beb41504d11750ab3a2ae1c8a6d84eb3a333fc
[glibc.git] / ChangeLog
1 2012-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
21 2012-07-17 Joseph Myers <joseph@codesourcery.com>
22
23 * Makefile [CXX] (check-data): Remove.
24 [CXX] (c++-types.data): New vpath directive.
25 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26 vpath. Do not allow for C++ type data being missing.
27 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
34 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35 ... here.
36 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
37 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38 ... here.
39 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
41 ... here.
42 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
43 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
44 ... here.
45 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
46 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
47 ... here.
48 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
49 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
50 ... here.
51 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
52 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
53 ... here.
54 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
55 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
56
57 * elf/tls-macros.h (TLS_LE): Move architecture-specific
58 definitions to architecture-specific files.
59 (TLS_IE): Likewise.
60 (TLS_LD): Likewise.
61 (TLS_GD): Likewise.
62 * sysdeps/i386/tls-macros.h: New file.
63 * sysdeps/powerpc/tls-macros.h: Likewise.
64 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
65 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
66 * sysdeps/sh/tls-macros.h: Likewise.
67 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
68 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
69 * sysdeps/x86_64/tls-macros.h: Likewise.
70
71 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
72
73 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
74 zero value for regular exit case.
75
76 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
77 (__start_context): Preserve zero value for regular exit case.
78
79 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
80 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
81
82 * manual/setjmp.texi (setcontext): Clarify normal process
83 termination when uc_link is the null pointer.
84 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
85 exit call.
86
87 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
88
89 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
90 preprocessor. Test for each exception mask separately.
91
92 2012-07-16 Andreas Jaeger <aj@suse.de>
93
94 * po/ru.po: Update from translation team.
95
96 2012-07-15 Joseph Myers <joseph@codesourcery.com>
97
98 * conform/data/string.h-data (NULL): Use macro-constant. Require
99 equal to 0.
100 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
101 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
102 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
103 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
104 [ISO || ISO99 || ISO11] (*_t): Do not allow.
105
106 2012-07-13 Andreas Jaeger <aj@suse.de>
107
108 * po/fr.po: Update from translation team.
109
110 2012-07-12 Marek Polacek <polacek@redhat.com>
111
112 [BZ #14173]
113 * math/libm-test.inc (yn_test): Add test for BZ #14173.
114 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
115 loop condition.
116
117 2012-07-12 Joseph Myers <joseph@codesourcery.com>
118
119 [BZ #13717]
120 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
121 Change to 2.4.1 where previously 2.4.0.
122 * sysdeps/unix/sysv/linux/configure: Regenerated.
123 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
124 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
125 version.
126 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
127 (__ASSUME_AT_CLKTCK): Remove.
128 (__ASSUME_AT_PAGESIZE): Likewise.
129 (__ASSUME_AT_XID): Likewise.
130 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
131 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
132 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
133 unconditionally.
134 (HAVE_AUX_PAGESIZE): Likewise.
135 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
136 [__ASSUME_AT_CLKTCK]: Make code unconditional.
137 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
138
139 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
140
141 [BZ #14307]
142 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
143 the temporary buffer used to invoke __gethostbyname2_r,
144 __gethostbyaddr_r and gethostbyname4_r to make room for struct
145 host_data / struct gaih_addrtuple.
146 * resolv/nss_dns/dns-host.c (global scope): Move definition of
147 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
148 header file nss/nsswitch.h.
149 * nss/nsswitch.h (global scope): Add definition of implementation
150 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
151 resolv/nss_dns/dns-host.c).
152
153 2012-07-11 Andreas Jaeger <aj@suse.de>
154
155 * po/fr.po: Update from translation team.
156
157 * po/sv.po: Update from translation team
158 * po/fr.po: Another update from translation team.
159
160 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
161
162 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
163 for subnormals or multiply small sinh result by itself.
164 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
166
167 2012-07-11 David S. Miller <davem@davemloft.net>
168
169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
170
171 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
172
173 [BZ #14347]
174 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
175 (INTERNAL_MARK): Shift it here.
176
177 2012-07-10 Marek Polacek <polacek@redhat.com>
178
179 [BZ #14151]
180 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
181 libc_cv_asm_global_directive with .globl.
182 * configure: Regenerated.
183 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
184 with .globl.
185 * sysdeps/i386/configure: Regenerated.
186 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
187 with .globl.
188 * sysdeps/x86_64/configure: Regenerated.
189 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
190 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
191 * elf/tst-unique2mod2.c: Likewise.
192 * elf/tst-unique2mod1.c: Likewise.
193 * elf/tst-unique1mod2.c: Likewise.
194 * elf/tst-unique1mod1.c: Likewise.
195 * sysdeps/s390/s390-32/sysdep.h: Likewise.
196 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
197 * sysdeps/s390/s390-64/sysdep.h: Likewise.
198 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
199 * sysdeps/mach/sysdep.h: Likewise.
200 * sysdeps/i386/sysdep.h: Likewise.
201 * sysdeps/i386/i386-mcount.S: Likewise.
202 * sysdeps/x86_64/_mcount.S: Likewise.
203 * sysdeps/x86_64/sysdep.h: Likewise.
204 * sysdeps/sh/_mcount.S: Likewise.
205 * sysdeps/sh/sysdep.h: Likewise.
206 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
207 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
208 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
209 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
210 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
211 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
212 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
213 * locale/localeinfo.h: Likewise.
214 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
215 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
216
217 2012-07-09 Roland McGrath <roland@hack.frob.com>
218
219 [BZ #14336]
220 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
221 system".
222 * manual/message.texi (The Uniforum approach): Likewise.
223 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
224 (glibc iconv Implementation): Likewise.
225
226 2012-07-09 Joseph Myers <joseph@codesourcery.com>
227
228 [BZ #14337]
229 * math/s_clog.c (__clog): Avoid scaling a value down where that
230 could result in underflow.
231 * math/s_clog10.c (__clog10): Likewise.
232 * math/s_clog10f.c (__clog10f): Likewise.
233 * math/s_clog10l.c (__clog10l): Likewise.
234 * math/s_clogf.c (__clogf): Likewise.
235 * math/s_clogl.c (__clogl): Likewise.
236 * math/libm-test.inc (clog_test): Add more tests.
237 (clog10_test): Likewise.
238 * sysdeps/i386/fpu/libm-test-ulps: Update.
239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
240
241 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
242
243 [BZ #14283]
244 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
245 by 7 not 8 to examine high bit of fractional part.
246
247 [BZ #14042]
248 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
249 for call to __mcount_internal.
250 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
251 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
252 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
253
254 2012-07-06 Joseph Myers <joseph@codesourcery.com>
255
256 [BZ #14154]
257 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
258 approximation for values within 0x1p-13f of an odd multiple of
259 pi/4.
260 * math/libm-test.inc (tan_test): Do not allow spurious underflow
261 exception. Add more tests.
262 * sysdeps/i386/fpu/libm-test-ulps: Update.
263
264 [BZ #6778]
265 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
266 inputs and return -1 for them. Do not check for +Inf in case not
267 reachable for +Inf.
268 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
269 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
270 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
271 and return -1 for them. Do not check for +Inf in case not
272 reachable for +Inf.
273 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
274 define.
275 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
276 and return -1 for them. Do not check for +Inf in case not
277 reachable for +Inf.
278 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
279 spurious underflow.
280 * sysdeps/i386/fpu/libm-test-ulps: Update.
281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
282
283 2012-07-06 Mike Frysinger <vapier@gentoo.org>
284
285 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
286
287 2012-07-05 Joseph Myers <joseph@codesourcery.com>
288
289 [BZ #14157]
290 [BZ #14331]
291 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
292 could result in spurious underflow. Scale down values above
293 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
294 * math/s_csqrtf.c (__csqrtf): Likewise.
295 * math/s_csqrtl.c (__csqrtl): Likewise.
296 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
297 spurious underflow.
298 * sysdeps/i386/fpu/libm-test-ulps: Update.
299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
300
301 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
302
303 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
304 xopen-msg.sed.
305 * catgets/xopen-msg.awk: New file.
306 * catgets/xopen-msg.sed: Removed.
307
308 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
309 po2text.sed.
310 * intl/po2test.awk: New file.
311 * intl/po2test.sed: Removed.
312
313 2012-07-04 Joseph Myers <joseph@codesourcery.com>
314
315 [BZ #14328]
316 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
317 or multiply small sinh result by itself.
318 * math/s_ctanf.c (__ctanf): Likewise.
319 * math/s_ctanh.c (__ctanh): Likewise.
320 * math/s_ctanhf.c (__ctanhf): Likewise.
321 * math/s_ctanhl.c (__ctanhl): Likewise.
322 * math/s_ctanl.c (__ctanl): Likewise.
323 * math/libm-test.inc (ctan_test_tonearest): New function.
324 (ctan_test_towardzero): Likewise.
325 (ctan_test_downward): Likewise.
326 (ctan_test_upward): Likewise.
327 (ctanh_test_tonearest): Likewise.
328 (ctanh_test_towardzero): Likewise.
329 (ctanh_test_downward): Likewise.
330 (ctanh_test_upward): Likewise.
331 (main): Call these new functions.
332 * sysdeps/i386/fpu/libm-test-ulps: Update.
333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
334
335 2012-07-03 Mike Frysinger <vapier@gentoo.org>
336
337 * .gitignore: Delete /ports entry.
338
339 2012-07-03 Andreas Jaeger <aj@suse.de>
340
341 * po/bg.po: Update from translation team.
342 * po/cs.po: Likewise.
343 * po/de.po: Likewise.
344 * po/hr.po: Likewise.
345 * po/nl.pl: Likewise.
346 * po/pl.po: Likewise.
347 * po/vi.po: Likewise.
348
349 2012-07-03 Joseph Myers <joseph@codesourcery.com>
350
351 * Makeconfig [!+link] (+link-before-libc): New variable.
352 [!+link] (+link-after-libc): Likewise.
353 [!+link] (+link-tests): Likewise.
354 [!+link] (+link): Define in terms of $(+link-before-libc) and
355 $(+link-after-libc).
356 [!+link-static] (+link-static-before-libc): New variable.
357 [!+link-static] (+link-static-after-libc): Likewise.
358 [!+link-static] (+link-static-tests): Likewise.
359 [!+link-static] (+link-static): Define in terms of
360 $(+link-static-before-libc) and $(+link-static-after-libc).
361 [build-shared] (link-libc-before-gnulib): New variable.
362 [build-shared] (link-libc-tests): Likewise.
363 [build-shared] (link-libc): Define in terms of
364 $(link-libc-before-gnulib).
365 [!build-shared] (link-libc-tests): New variable.
366 (link-libc-static-tests): New variable.
367 [!gnulib] (gnulib-arch): New variable.
368 [!gnulib] (gnulib-tests): Likewise.
369 [!gnulib] (static-gnulib-arch): Likewise.
370 [!gnulib] (static-gnulib-tests): Likewise.
371 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
372 Define with "=" instead of ":=".
373 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
374 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
375 * Rules (binaries-all-notests): New variable.
376 (binaries-all-tests): Likewise.
377 (binaries-static-notests): Likewise.
378 (binaries-static-tests): Likewise.
379 (binaries-all): Define using $(binaries-all-notests) and
380 $(binaries-all-tests).
381 (binaries-static): Define using $(binaries-static-notests) and
382 $(binaries-static-tests).
383 (binaries-shared-tests): New variable.
384 (binaries-shared-notests): Likewise.
385 (binaries-shared): Remove variable.
386 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
387 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
388 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
389 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
390 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
391 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
392 * elf/Makefile (sln-modules): New variable.
393 (extra-objs): Add $(sln-modules:=.o).
394 (ldconfig-modules): Add static-stubs.
395 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
396 * elf/static-stubs.c: New file.
397
398 [BZ #14283]
399 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
400 by 7 not 8 to examine high bit of fractional part. Use volatile
401 variables when splitting into final array of floats if
402 __FLT_EVAL_METHOD__ != 0.
403 * math/libm-test.inc (cos_test): Add another test.
404 (sin_test): Likewise.
405 * sysdeps/i386/fpu/libm-test-ulps: Update.
406
407 [BZ #14273]
408 * math/libm-test.inc (cosh_test): Add more tests.
409
410 * version.h (RELEASE): Set to "development".
411 (VERSION): Set to "2.16.90".
412
413 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
414
415 * NEWS: Update copyright. Remove last-updated date.
416 Mention math library bug fixes and timezone data changes.
417 * README: Mention GNU/Hurd, x32, and HPPA support status.
418
419 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
420
421 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
422
423 2012-06-27 Andreas Jaeger <aj@suse.de>
424
425 * manual/contrib.texi (Contributors): Add Samuel Thibault.
426
427 2012-06-25 Andreas Jaeger <aj@suse.de>
428
429 * sysdeps/s390/fpu/libm-test-ulps: Update.
430
431 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
432 Thomas Schwinge <thomas@codesourcery.com>
433
434 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
435 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
436 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
437 fanotify_mark.
438
439 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
440
441 * sysdeps/mach/start.c: Remove file.
442 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
443 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
444 * sysdeps/sh/init-first.c: Likewise.
445
446 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
447 registers for frame unwinding purposes, add CFI directives.
448 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
449 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
450 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
451 Likewise.
452
453 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
454 __fortify_fail returning.
455 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
456
457 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
458 sysdeps/sh/____longjmp_chk.S.
459 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
460 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
461 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
462 (gen-as-const-headers): Append sigaltstack-offsets.sym.
463
464 * sysdeps/sh/abort-instr.h: New file.
465 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
466 process in case exit returns.
467
468 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
469 initialize the GOT register before use.
470
471 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
472 calculation of ARGC > 4.
473
474 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
475 meaningful names to some local labels.
476
477 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
478 Kaz Kojima <kkojima@rr.iij4u.or.jp>
479
480 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
481 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
482 (__arch_compare_and_exchange_val_16_acq): Likewise.
483 (__arch_compare_and_exchange_val_32_acq): Likewise.
484 (atomic_exchange_and_add): Fix gUSA sequence.
485 (atomic_add): Likewise.
486 (atomic_add_negative): Likewise.
487 (atomic_add_zero): Likewise.
488 (atomic_bit_test_set): Likewise.
489
490 2012-06-22 Andreas Schwab <schwab@redhat.com>
491
492 [BZ #13579]
493 * include/link.h (struct link_map): Add l_free_initfini.
494 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
495 l_initfini.
496 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
497 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
498 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
499 set.
500
501 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
502
503 * configure.in: Use AC_LANG_SOURCE.
504 * configure: Regenerate.
505
506 2012-06-22 Roland McGrath <roland@hack.frob.com>
507
508 * configure.in (libc_cv_localstatedir): New substituted variable.
509 * configure: Regenerated.
510 * config.make.in (localstatedir): New variable, substituted from
511 libc_cv_localstatedir.
512 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
513 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
514 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
515 * sysdeps/gnu/configure: Regenerated.
516
517 2012-06-21 Jeff Law <law@redhat.com>
518
519 [BZ #14277]
520 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
521 free. Simplify list management for _LIBC case.
522
523 2012-06-21 Joseph Myers <joseph@codesourcery.com>
524
525 [BZ #14273]
526 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
527 Clear sign bit of 64-bit integer value before comparing against
528 overflow value.
529
530 * sysdeps/mach/configure: Regenerated.
531
532 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
533
534 [BZ #14278]
535 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
536
537 2012-06-21 Jeff Law <law@redhat.com>
538
539 [BZ #13882]
540 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
541 uint16_t for elements in the "seen" array to avoid char overflows.
542 * elf/dl-fini.c (_dl_sort_fini): Likewise.
543 * elf/dl-open.c (dl_open_worker): Likewise.
544
545 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
546
547 * scripts/list-sources.sh: Scan PORTS for translations.
548 * po/libc.pot: Regenerated.
549
550 2012-06-21 Andreas Jaeger <aj@suse.de>
551
552 [BZ #12194]
553 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
554 warning.
555 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
556 * bits/byteswap-16.h (__bswap_16): Likewise.
557 * bits/byteswap.h (__bswap_constant_16): Likewise.
558
559 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
560
561 [BZ #14117]
562 * sysdeps/i386/fpu_control.h: Removed.
563 * sysdeps/x86_64/fpu_control.h: Moved to ...
564 * sysdeps/x86/fpu_control.h: Here.
565
566 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
567 (_FPU_SETCW): Likewise.
568
569 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
570
571 [BZ #14117]
572 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
573 * sysdeps/x86/fpu/bits/mathinline.h: This.
574 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
575
576 [BZ #14050]
577 [BZ #14117]
578 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
579 functions if __x86_64__ is defined.
580
581 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
582
583 * string/endian.h: Add !__ASSEMBLER__ condition for including
584 conversion interfaces.
585
586 2012-06-15 Joseph Myers <joseph@codesourcery.com>
587
588 [BZ #14241]
589 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
590 of ABS(x) in calculating zero to negative powers other than odd
591 integers.
592 * math/libm-test.inc (pow_test): Add more tests.
593
594 2012-06-15 Andreas Jaeger <aj@suse.de>
595
596 * manual/contrib.texi (Contributors): Update entry of Liubov
597 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
598 Machado Filho.
599
600 2012-06-15 Cyril Hrubis <metan@ucw.cz>
601
602 * string/string.h: Add __wur to GNU version of strerror_r.
603
604 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
605
606 [BZ #14229]
607 * string/Makefile (tests): Add tst-strtok_r.
608 * string/tst-strtok_r.c: New file.
609 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
610 RAX_LP/RDX_LP on SAVE_PTR.
611
612 2012-06-14 Roland McGrath <roland@hack.frob.com>
613
614 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
615
616 2012-06-14 Joseph Myers <joseph@codesourcery.com>
617
618 * libm_test.inc (csqrt_test): Allow more spurious underflow
619 exceptions.
620 (j0_test): Likewise.
621 (j1_test): Likewise.
622 (y0_test): Likewise.
623 (y1_test): Likewise.
624
625 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
626
627 * po/Makefile (libc.pot): Use UTF-8 charset.
628
629 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
630
631 [BZ #14210]
632 Suppress sign-conversion warning from FD_SET.
633 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
634 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
635 not unsigned long int.
636 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
637
638 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
639
640 [BZ #14050]
641 [BZ #14117]
642 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
643 __extern_always_inline instead of __extern_inline.
644 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
645 (__signbit): Likewise.
646 (__signbitl): Support C++ namespace.
647 (lrintf): New inline function.
648 (lrint): Likewise.
649 (llrintf): Likewise.
650 (llrint): Likewise.
651 (fmaxf): Likewise.
652 (fmax): Likewise.
653 (fminf): Likewise.
654 (fmin): Likewise.
655 (rint): Likewise.
656 (rintf): Likewise.
657 (ceil): Likewise.
658 (ceilf): Likewise.
659 (floor): Likewise.
660 (floorf): Likewise.
661 (nearbyint): Likewise.
662 (nearbyintf): Likewise.
663
664 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
665
666 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
667 non-default versions.
668
669 2012-06-11 Roland McGrath <roland@hack.frob.com>
670
671 [BZ #14218]
672 * manual/argp.texi (Argp): Reword argp_parse description slightly.
673
674 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
675
676 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
677 (FE_UPWARD, FE_DOWNWARD): Don't define.
678 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
679 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
680
681 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
682 reading it.
683 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
684 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
685
686 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
687
688 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
689 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
690 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
691 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
692
693 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
694
695 [BZ #14117]
696 * sysdeps/i386/fpu/bits/fenv.h: Removed.
697 * sysdeps/i386/fpu/Implies: New file.
698 * sysdeps/x86_64/fpu/Implies: Likewise.
699 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
700 * sysdeps/x86/fpu/bits/fenv.h: This.
701
702 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
703 __SSE_MATH__.
704
705 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
706
707 [BZ #14134]
708 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
709 character 0xffff that matches the last element of the
710 conversion table.
711
712 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
713
714 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
715 fmodl commit.
716
717 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
718
719 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
720 values higher than 25.6283.
721
722 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
723
724 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
725 subnormal exponent extraction and add some __builtin_expect.
726 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
727 Fix for subnormal mantissa calculation.
728
729 2012-06-04 Mike Frysinger <vapier@gentoo.org>
730
731 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
732 cpu2 is -1 and errno is not ENOSYS.
733
734 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
735
736 [BZ #14117]
737 * sysdeps/i386/i486/bits/string.h: Renamed to ...
738 * sysdeps/x86/bits/string.h: This.
739 * sysdeps/x86_64/bits/string.h: Removed.
740
741 * sysdeps/i386/i486/bits/string.h: Define inline functions only
742 if not compiling for x86-64, but compiling for >= i486.
743
744 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
745 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
746
747 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
748 New macro from Linux kernel 3.4.0.
749 (FP_XSTATE_MAGIC2): Likewise.
750 (FP_XSTATE_MAGIC2_SIZE): Likewise.
751 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
752 (struct _fpx_sw_bytes): New struct.
753 (struct _xsave_hdr): Likewise.
754 (struct _ymmh_state): Likewise.
755 (struct _xstate): Likewise.
756
757 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
758 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
759 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
760 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
761 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
762 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
763
764 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
765 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
766 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
767 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
768 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
769 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
770
771 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
772
773 [BZ #13743]
774 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
775 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
776 (sysdep_headers): Include sys/platform/ppc.h.
777 * sysdeps/powerpc/test-gettimebase.c: Test for
778 __ppc_get_timebase() to catch future ISA opcode/insn changes.
779 * manual/Makefile (appendices): Include platform.texi.
780 * manual/contrib.texi (Contributors): Update @node pointers.
781 * manual/maint.texi (Maintenance): Likewise.
782 (Platform): New node.
783 * manual/platform.texi: New file. Document the new features.
784
785 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
786 Jakub Jelinek <jakub@redhat.com>
787
788 [BZ #14188]
789 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
790 where __builtin_expect is unavailable.
791
792 2012-06-03 David S. Miller <davem@davemloft.net>
793
794 * stdlib/longlong.h: Updated from GCC.
795
796 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
797
798 [BZ #14042]
799 * sysdeps/powerpc/powerpc32/mcount.c: New file.
800 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
801 __mcount_internal.
802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
803 (GLIBC_2.16): Likewise.
804
805 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
806
807 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
808
809 2012-06-01 Joseph Myers <joseph@codesourcery.com>
810
811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
812 (default-abi): New variable.
813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
814 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
815 variable.
816 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
817 Likewise.
818 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
819 Likewise.
820 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
821 Likewise.
822
823 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
824 definition. Document in comment.
825
826 2012-06-01 David S. Miller <davem@davemloft.net>
827
828 * stdlib/longlong.h: Updated from GCC.
829
830 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
831
832 [BZ #14117]
833 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
834 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
835 sys/debugreg.h sys/io.h here.
836 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
837 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
838 sys/io.h.
839 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
840 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
841 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
842 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
843 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
844 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
845
846 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
847 Define only if __x86_64__ is defined.
848
849 2012-06-01 Joseph Myers <joseph@codesourcery.com>
850
851 [BZ #14048]
852 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
853 Use int64_t for variable i.
854 * math/libm-test.inc (fmod_test): Add more tests.
855
856 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
857 z computation is not scheduled after fetestexcept.
858 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
859 Use math_force_eval instead of asm to ensure calculation scheduled
860 before exception test.
861 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
862 Ensure a1 + u.d computation is not scheduled after fetestexcept.
863
864 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
865
866 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
867 computation is not scheduled after fetestexcept.
868
869 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
870
871 [BZ #14117]
872 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
873 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
874
875 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
876
877 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
878 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
879
880 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
881
882 [BZ #14117]
883 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
884 <bits/wordsize.h>.
885 (__WCHAR_MIN): Support __WORDSIZE == 64.
886 (__WCHAR_MAX): Likewise.
887
888 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
889 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
890
891 [BZ #14183]
892 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
893 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
894
895 [BZ #14117]
896 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
897 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
898
899 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
900 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
901
902 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
903 Defined to 1 if __x86_64__ isn't defined.
904 (_STAT_VER_LINUX_OLD): New.
905 (st_atime): Remove duplicate.
906 (st_mtime): Likewise.
907 (st_ctime): Likewise.
908
909 2012-05-31 David S. Miller <davem@davemloft.net>
910
911 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
912 entries.
913
914 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
915
916 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
917 gen-libm-test.pl.
918
919 [BZ #14132]
920 * elf/dl-reloc.c: Include <_itoa.h>.
921 (_dl_reloc_bad_type): Remove use of INTUSE.
922 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
923 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
924 * stdio-common/psiginfo.c (psiginfo): Likewise.
925 * stdio-common/psignal.c (psignal): Likewise.
926 * string/strsignal.c (strsignal): Likewise.
927 * include/signal.h (_sys_siglist): Declare hidden proto.
928 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
929 INTVARDEF with libc_hidden_data_def.
930 * stdio-common/itoa-udigits.c: Likewise.
931 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
932 (_itoa_lower_digits_internal): Remove declaration.
933 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
934 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
935 (_sys_sigabbrev_internal): Remove aliases.
936 (_sys_siglist): Define hidden alias.
937
938 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
939
940 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
941 bits/sysctl.h.
942
943 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
944
945 [BZ #14117]
946 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
947 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
948
949 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
950 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
951 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
952 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
953 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
954 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
955
956 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
957 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
958 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
959
960 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
961 with __addr.
962 (insw): Likewise.
963 (insl): Likewise.
964 (outsb): Likewise.
965 (outsw): Likewise.
966 (outsl): Likewise.
967
968 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
969 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
970 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
971
972 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
973 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
974 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
975 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
976 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
977 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
978
979 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
980 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
981
982 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
983 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
984
985 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
986 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
987 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
988
989 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
990 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
991 to ...
992 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
993
994 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
995 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
996 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
997
998 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
999 for x86-64.
1000 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1001
1002 2012-05-31 Joseph Myers <joseph@codesourcery.com>
1003
1004 * math/math.h (M_El): Use two more decimal places.
1005 (M_LOG2El): Likewise.
1006 (M_LOG10El): Likewise.
1007 (M_LN2l): Likewise.
1008 (M_LN10l): Likewise.
1009 (M_PIl): Likewise.
1010 (M_PI_2l): Likewise.
1011 (M_PI_4l): Likewise.
1012 (M_1_PIl): Likewise.
1013 (M_2_PIl): Likewise.
1014 (M_2_SQRTPIl): Likewise.
1015 (M_SQRT2l): Likewise.
1016 (M_SQRT1_2l): Likewise.
1017
1018 2012-05-31 David S. Miller <davem@davemloft.net>
1019
1020 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1021 values between float registers.
1022 * sysdeps/sparc/sparc64/memset.S: Likewise.
1023 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1024
1025 2012-05-31 Mike Frysinger <vapier@gentoo.org>
1026
1027 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1028 -D_FORTIFY_SOURCE=1.
1029 (CPPFLAGS-tst-longjmp_chk.c): Define.
1030 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1031 (CPPFLAGS-tst-longjmp_chk2.c): Define.
1032 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1033 CFLAGS-tst-wchar-h.c.
1034
1035 2012-05-31 Marek Polacek <polacek@redhat.com>
1036
1037 [BZ #14132]
1038 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1039 __endmntent_internal): Remove declaration.
1040 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1041 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1042 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1043
1044 2012-05-30 David S. Miller <davem@davemloft.net>
1045
1046 * sysdeps/sparc/sparc32/soft-fp/q_util.c
1047 (___Q_simulate_exceptions): Use real FP ops rather than writing
1048 into the %fsr.
1049 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1050 Likewise.
1051
1052 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1053
1054 [BZ #14117]
1055 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1056 * sysdeps/x86/bits/xtitypes.h: This.
1057
1058 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1059 * sysdeps/x86/bits/wordsize.h: This.
1060
1061 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1062 * sysdeps/x86/bits/huge_vall.h: This.
1063
1064 * sysdeps/i386/bits/select.h: Removed.
1065 * sysdeps/x86_64/bits/select.h: Renamed to ...
1066 * sysdeps/x86/bits/select.h: This.
1067
1068 * sysdeps/i386/bits/setjmp.h: Removed.
1069 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1070 * sysdeps/x86/bits/setjmp.h: This.
1071
1072 * sysdeps/i386/bits/mathdef.h: Removed.
1073 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1074 * sysdeps/x86/bits/mathdef.h: This.
1075
1076 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
1077
1078 [BZ #14132]
1079 * include/sys/socket.h (__connect_internal)
1080 (__libc_sa_len_internal): Remove declaration.
1081 (__connect, __libc_sa_len): Declare hidden_proto.
1082 (SA_LEN): Remove use of INTUSE.
1083 * socket/connect.c: Add libc_hidden_def.
1084 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1085 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1086 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1087 alias.
1088 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1089 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1090 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1091 of adding _internal alias.
1092
1093 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1094
1095 [BZ #14117]
1096 * sysdeps/i386/bits/link.h: Removed.
1097 * sysdeps/i386/bits/linkmap.h: Likewise.
1098 * sysdeps/x86_64/bits/link.h: Renamed to ...
1099 * sysdeps/x86/bits/link.h: This.
1100 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1101 * sysdeps/x86/bits/linkmap.h: This.
1102
1103 * sysdeps/i386/bits/endian.h: Removed.
1104 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1105 * sysdeps/x86/bits/endian.h: This.
1106
1107 * sysdeps/i386/bits/byteswap.h: Removed.
1108 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1109 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1110 * sysdeps/x86/bits/byteswap.h: This.
1111 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1112 * sysdeps/x86/bits/byteswap-16.h: This.
1113 * sysdeps/i386/Implies: Add x86.
1114 * sysdeps/x86_64/Implies: Likewise.
1115
1116 2012-05-30 David S. Miller <davem@davemloft.net>
1117
1118 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1119 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1120 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1121 (FP_TRAPPING_EXCEPTIONS): Define.
1122 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1123 (FP_TRAPPING_EXCEPTIONS): Define.
1124 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1125 subnormals only when inexact has been signalled or underflow
1126 exceptions are enabled.
1127 (_FP_PACK_CANONICAL): Likewise.
1128
1129 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1130
1131 [BZ #14183]
1132 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1133 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1134
1135 2012-05-30 Richard Henderson <rth@twiddle.net>
1136
1137 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1138 with #ifndef NOT_IN_libc.
1139
1140 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1141 marked to avoid plt entry.
1142
1143 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1144
1145 [BZ #14112]
1146 * Makeconfig (default-abi): New macro.
1147 (abi-includes): Likewise.
1148 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1149 $(abi-$(default-abi)-lib-soname) for soname if defined.
1150 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1151 abi-variants.
1152 * Makefile (installed-stubs): Likewise.
1153 * include/stubs-biarch.h: Removed.
1154 * scripts/lib-names.awk: Only handle one library at a time.
1155 * scripts/soversions.awk: Remove WORDSIZE support.
1156 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1157 entries.
1158 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1159 Removed.
1160 (syscall-list-default-condition): Likewise.
1161 (syscall-list-default-condition): Likewise.
1162 (syscall-list-includes): Likewise.
1163 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1164 syscall-list-* with abi-*. Handle undefined abi-variants.
1165 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1166 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1167 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1168 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1169 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1170 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1171 Removed.
1172 (syscall-list-32-options): Likewise.
1173 (syscall-list-32-condition): Likewise.
1174 (syscall-list-64-options): Likewise.
1175 (syscall-list-64-condition): Likewise.
1176 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1177 macro.
1178 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1179 Renamed to ...
1180 (abi-*): This.
1181 (abi-64-ld-soname): New macro.
1182 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1183 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1184 Renamed to ...
1185 (abi-*): This.
1186 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1187 * sysdeps/x86_64/x32/shlib-versions: Likewise.
1188
1189 2012-05-30 Joseph Myers <joseph@codesourcery.com>
1190
1191 * sysdeps/unix/sysv/linux/kernel-features.h
1192 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1193 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1194 include <kernel-features.h>.
1195 [!__NR_ftruncate64]: Remove conditional code.
1196 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1197 [__NR_ftruncate64]: Make code unconditional.
1198 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1199 * sysdeps/unix/sysv/linux/truncate64.c: Do not
1200 include <kernel-features.h>.
1201 [!__NR_ftruncate64]: Remove conditional code.
1202 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1203 [__NR_ftruncate64]: Make code unconditional.
1204 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1206 include <kernel-features.h>.
1207 [!__NR_ftruncate64]: Remove conditional code.
1208 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1209 [__NR_ftruncate64]: Make code unconditional.
1210 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1212 include <kernel-features.h>.
1213 [!__NR_ftruncate64]: Remove conditional code.
1214 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1215 [__NR_ftruncate64]: Make code unconditional.
1216 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1217
1218 * configure.in (libc_cv_fpie): Weaken to a compile test using
1219 LIBC_TRY_CC_OPTION.
1220 * configure: Regenerated.
1221
1222 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1223
1224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1228 Refreshed.
1229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1235 Refreshed.
1236
1237 2012-05-27 David S. Miller <davem@davemloft.net>
1238
1239 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1240 (___Q_zero): New.
1241 (__Q_simulate_exceptions): Return void. Change to simulate
1242 exceptions by writing into the %fsr.
1243 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1244 (__Qp_handle_exceptions): Likewise.
1245 (numbers): Delete.
1246 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1247 __Qp_handle_exceptions.
1248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1249 __Qp_handle_exceptions.
1250 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1251 as unused and give dummy FP_RND_NEAREST initializer.
1252 (FP_INHIBIT_RESULTS): Define.
1253 (___Q_simulate_exceptions): Update declaration.
1254 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1255 formatting.
1256 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1257 as unused and give dummy FP_RND_NEAREST initializer.
1258 (__Qp_handle_exceptions): Update declaration.
1259 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1260 formatting.
1261
1262 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
1263
1264 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1265 the temporary FPU control word.
1266 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1267 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1268 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1269 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1270 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1271 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1272 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1273 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1274 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1275 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1276 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1277
1278 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1279
1280 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1281 fields.
1282
1283 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
1284
1285 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1286 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1287 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1288 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1289 Likewise.
1290 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1291 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1292 Likewise.
1293
1294 2012-05-27 Ulrich Drepper <drepper@gmail.com>
1295
1296 * po/h.po: Update from translation team.
1297
1298 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
1299
1300 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1301
1302 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1303 handling of denormals.
1304 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1305 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1306 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1307 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1308 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1309 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1310 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1311 Likewise.
1312
1313 2012-05-26 Marek Polacek <polacek@redhat.com>
1314
1315 [BZ #14152]
1316 * math/libm-test.inc (fma_test): Don't always expect underflow
1317 exception.
1318
1319 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1320
1321 [BZ #12416]
1322 * elf/tst-execstack.c: Include stackinfo.h.
1323 (do_test): Adjust test case to ensure that pthread_getattr_np
1324 behaviour remains the same after marking stack executable.
1325
1326 2012-05-25 Joseph Myers <joseph@codesourcery.com>
1327
1328 * sysdeps/unix/sysv/linux/kernel-features.h
1329 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1330 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1331 kernel-features.h.
1332 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1333 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1334 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1335 kernel-features.h.
1336 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1337 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1338
1339 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
1340
1341 * configure.in: Define the default includes to being none.
1342 * configure: Regenerated.
1343
1344 2012-05-25 Roland McGrath <roland@hack.frob.com>
1345
1346 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1347 * sysdeps/x86_64/setjmp.S: Likewise.
1348 * sysdeps/i386/bsd-setjmp.S: Likewise.
1349 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1350 * sysdeps/i386/setjmp.S: Likewise.
1351 * sysdeps/i386/__longjmp.S: Likewise.
1352 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1353 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1354
1355 * include/stap-probe.h: New file.
1356 * configure.in: Handle --enable-systemtap.
1357 * configure: Regenerated.
1358 * config.h.in (USE_STAP_PROBE): New #undef.
1359 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1360 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1361 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1362
1363 2012-05-25 Joseph Myers <joseph@codesourcery.com>
1364
1365 [BZ #13717]
1366 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1367 to 2.4.0 where earlier.
1368 * sysdeps/unix/sysv/linux/configure: Regenerated.
1369 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1370 <kernel-features.h>.
1371 [__ASSUME_32BITUIDS]: Make code unconditional.
1372 [!__ASSUME_32BITUIDS]: Remove conditional code.
1373 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1374 <kernel-features.h>.
1375 [__ASSUME_32BITUIDS]: Make code unconditional.
1376 [!__ASSUME_32BITUIDS]: Remove conditional code.
1377 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
1378 [__ASSUME_32BITUIDS]: Make code unconditional.
1379 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1380 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
1381 <kernel-features.h>.
1382 [__ASSUME_32BITUIDS]: Make code unconditional.
1383 [!__ASSUME_32BITUIDS]: Remove conditional code.
1384 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
1385 <kernel-features.h>.
1386 [__ASSUME_32BITUIDS]: Make code unconditional.
1387 [!__ASSUME_32BITUIDS]: Remove conditional code.
1388 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
1389 <kernel-features.h>.
1390 [__ASSUME_32BITUIDS]: Make code unconditional.
1391 [!__ASSUME_32BITUIDS]: Remove conditional code.
1392 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
1393 <kernel-features.h>.
1394 [__ASSUME_32BITUIDS]: Make code unconditional.
1395 [!__ASSUME_32BITUIDS]: Remove conditional code.
1396 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1397 <kernel-features.h>.
1398 [__ASSUME_32BITUIDS]: Make code unconditional.
1399 [!__ASSUME_32BITUIDS]: Remove conditional code.
1400 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1401 <kernel-features.h>.
1402 [__ASSUME_32BITUIDS]: Make code unconditional.
1403 [!__ASSUME_32BITUIDS]: Remove conditional code.
1404 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
1405 <kernel-features.h>.
1406 [__ASSUME_32BITUIDS]: Make code unconditional.
1407 [!__ASSUME_32BITUIDS]: Remove conditional code.
1408 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1409 <kernel-features.h>.
1410 [__ASSUME_32BITUIDS]: Make code unconditional.
1411 [!__ASSUME_32BITUIDS]: Remove conditional code.
1412 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1413 <kernel-features.h>.
1414 [__ASSUME_32BITUIDS]: Make code unconditional.
1415 [!__ASSUME_32BITUIDS]: Remove conditional code.
1416 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
1417 <kernel-features.h>.
1418 [__ASSUME_32BITUIDS]: Make code unconditional.
1419 [!__ASSUME_32BITUIDS]: Remove conditional code.
1420 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
1421 <kernel-features.h>.
1422 [__NR_setresgid] (__setresgid): Do not declare.
1423 [__ASSUME_32BITUIDS]: Make code unconditional.
1424 [!__ASSUME_32BITUIDS]: Remove conditional code.
1425 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1426 <kernel-features.h>.
1427 [__NR_setresuid] (__setresuid): Do not declare.
1428 [__ASSUME_32BITUIDS]: Make code unconditional.
1429 [!__ASSUME_32BITUIDS]: Remove conditional code.
1430 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
1431 <kernel-features.h>.
1432 [__ASSUME_32BITUIDS]: Make code unconditional.
1433 [!__ASSUME_32BITUIDS]: Remove conditional code.
1434 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
1435 <kernel-features.h>.
1436 [__ASSUME_32BITUIDS]: Make code unconditional.
1437 [!__ASSUME_32BITUIDS]: Remove conditional code.
1438 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
1439 <kernel-features.h>.
1440 [__ASSUME_32BITUIDS]: Make code unconditional.
1441 [!__ASSUME_32BITUIDS]: Remove conditional code.
1442 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
1443 <kernel-features.h>.
1444 [__ASSUME_32BITUIDS]: Make code unconditional.
1445 [!__ASSUME_32BITUIDS]: Remove conditional code.
1446 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
1447 <kernel-features.h>.
1448 [__ASSUME_32BITUIDS]: Make code unconditional.
1449 [!__ASSUME_32BITUIDS]: Remove conditional code.
1450 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
1451 <kernel-features.h>.
1452 [__ASSUME_32BITUIDS]: Make code unconditional.
1453 [!__ASSUME_32BITUIDS]: Remove conditional code.
1454 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
1455 <kernel-features.h>.
1456 [__ASSUME_32BITUIDS]: Make code unconditional.
1457 [!__ASSUME_32BITUIDS]: Remove conditional code.
1458 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
1459 <kernel-features.h>.
1460 [__ASSUME_32BITUIDS]: Make code unconditional.
1461 [!__ASSUME_32BITUIDS]: Remove conditional code.
1462 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
1463 <kernel-features.h>.
1464 [__ASSUME_32BITUIDS]: Make code unconditional.
1465 [!__ASSUME_32BITUIDS]: Remove conditional code.
1466 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1467 <kernel-features.h>.
1468 [__ASSUME_32BITUIDS]: Make code unconditional.
1469 [!__ASSUME_32BITUIDS]: Remove conditional code.
1470 * sysdeps/unix/sysv/linux/kernel-features.h
1471 (__ASSUME_SETRESUID_SYSCALL): Remove.
1472 (__ASSUME_SETRESGID_SYSCALL): Likewise.
1473 (__ASSUME_32BITUIDS): Likewise.
1474 (__ASSUME_LDT_WORKS): Likewise.
1475 (__ASSUME_O_DIRECTORY): Likewise.
1476 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1477 architecture but not kernel version.
1478 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1479 (__ASSUME_MMAP2_SYSCALL): Likewise.
1480 (__ASSUME_STAT64_SYSCALL): Likewise.
1481 (__ASSUME_IPC64): Likewise.
1482 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1483 <kernel-features.h>.
1484 [__ASSUME_32BITUIDS]: Make code unconditional.
1485 [!__ASSUME_32BITUIDS]: Remove conditional code.
1486 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1487 <kernel-features.h>.
1488 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1489 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1490 132096]: Remove conditional code.
1491 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1492 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1493 <kernel-features.h>.
1494 [__ASSUME_32BITUIDS]: Make code unconditional.
1495 [!__ASSUME_32BITUIDS]: Remove conditional code.
1496 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1497 <kernel-features.h>.
1498 [__ASSUME_32BITUIDS]: Make code unconditional.
1499 [!__ASSUME_32BITUIDS]: Remove conditional code.
1500 * sysdeps/unix/sysv/linux/setegid.c: Do not include
1501 <kernel-features.h>.
1502 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1503 unconditional.
1504 (__setresgid): Do not declare.
1505 [__ASSUME_32BITUIDS]: Make code unconditional.
1506 [!__ASSUME_32BITUIDS]: Remove conditional code.
1507 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1508 <kernel-features.h>.
1509 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1510 unconditional.
1511 (__setresuid): Do not declare.
1512 [__ASSUME_32BITUIDS]: Make code unconditional.
1513 [!__ASSUME_32BITUIDS]: Remove conditional code.
1514 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1515 <kernel-features.h>.
1516 [__ASSUME_32BITUIDS]: Make code unconditional.
1517 [!__ASSUME_32BITUIDS]: Remove conditional code.
1518 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1519 <kernel-features.h>.
1520 [__ASSUME_32BITUIDS]: Make code unconditional.
1521 [!__ASSUME_32BITUIDS]: Remove conditional code.
1522
1523 2012-05-25 Richard Henderson <rth@twiddle.net>
1524
1525 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1526 dl_hwcap to ifunc resolver.
1527 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1528 elf_ifunc_invoke.
1529 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1530 dl_hwcap to ifunc resolver.
1531 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1532
1533 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1534
1535 [BZ #14153]
1536 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1537 for |x| <= 2**-26, not 2**-57.
1538 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1539 exception.
1540
1541 2012-05-24 Jeff Law <law@redhat.com>
1542
1543 * stdio-common/Makefile (tests): Add bug25.
1544 * stdio-common/bug25.c: New test.
1545
1546 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1547
1548 [BZ #13576]
1549 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1550 multiple of MALLOC_ALIGNMENT in size.
1551 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1552
1553 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1554
1555 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1556 Require >= 256.
1557 (FILENAME_MAX): Use macro-int-constant.
1558 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1559 (_IOFBF): Use macro-int-constant.
1560 (_IOLBF): Likewise.
1561 (_IONBF): Likewise.
1562 (SEEK_CUR): Likewise.
1563 (SEEK_END): Likewise.
1564 (SEEK_SET): Likewise.
1565 (TMP_MAX): Likewise.
1566 (EOF): Use macro-int-constant. Require < 0.
1567 (NULL): Use macro-constant. Require == 0.
1568 (stdin): Require type to be FILE *.
1569 (stdout): Likewise.
1570 (stderr): Likewise.
1571 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1572 macro-int-constant.
1573 (EXIT_SUCCESS): Likewise.
1574 (NULL): Use macro-constant. Require == 0.
1575 (RAND_MAX): Use macro-int-constant.
1576 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1577 [C99-based standards] (strtof): Require function.
1578 [C99-based standards] (strtold): Likewise.
1579 [C99-based standards] (strtoll): Likewise.
1580 [C99-based standards] (strtoull): Likewise.
1581 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1582 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1583 [ISO || ISO99 || ISO11] (math.h): Likewise.
1584 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1585 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1586 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1587
1588 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1589
1590 [BZ #14132]
1591 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1592 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1593 * intl/dgettext.c (DCGETTEXT): Likewise.
1594 * intl/gettext.c (DCGETTEXT): Likewise.
1595 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1596 * posix/regex_internal.h (gettext): Likewise.
1597 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1598 Remove declaration.
1599 * include/argz.h (__argz_count_internal)
1600 (__argz_stringify_internal): Remove declaration.
1601 (__argz_count, __argz_stringify): Declare hidden proto.
1602 * intl/dcgettext.c: Remove use of INTDEF.
1603 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1604 * string/argz-stringify.c: Likewise.
1605 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1606 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1607 Declare hidden proto.
1608 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1609 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1610 Declare hidden proto.
1611 * include/stdio.h (__asprintf_internal): Don't declare.
1612 (__asprintf): Don't define as macro. Declare hidden proto.
1613 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1614 (__fsetlocking): Declare hidden proto.
1615 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1616 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1617 hidden proto.
1618 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1619 (_IO_setlinebuf): Remove use of INTUSE.
1620 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1621 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1622 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1623 Remove declaration.
1624 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1625 (_IO_do_flush): Remove use of INTUSE.
1626 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1627 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1628 (_IO_adjust_column, _IO_least_wmarker)
1629 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1630 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1631 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1632 (_IO_default_doallocate, _IO_wdefault_doallocate)
1633 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1634 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1635 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1636 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1637 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1638 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1639 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1640 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1641 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1642 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1643 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1644 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1645 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1646 proto.
1647 (_IO_flush_all_internal, _IO_adjust_column_internal)
1648 (_IO_default_uflow_internal, _IO_default_finish_internal)
1649 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1650 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1651 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1652 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1653 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1654 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1655 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1656 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1657 (_IO_file_close_internal, _IO_file_close_it_internal)
1658 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1659 (_IO_file_init_internal, _IO_file_attach_internal)
1660 (_IO_file_fopen_internal, _IO_file_read_internal)
1661 (_IO_file_sync_internal, _IO_file_seek_internal)
1662 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1663 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1664 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1665 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1666 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1667 (_IO_list_all_internal, _IO_link_in_internal)
1668 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1669 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1670 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1671 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1672 (_IO_do_write_internal, _IO_padn_internal)
1673 (_IO_getline_info_internal, _IO_getline_internal)
1674 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1675 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1676 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1677 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1678 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1679 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1680 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1681 with libc_hidden_ver, remove use of INTUSE.
1682 * libio/genops.c: Likewise.
1683 * libio/freopen.c: Likewise.
1684 * libio/freopen64.c: Likewise.
1685 * libio/iofclose.c: Likewise.
1686 * libio/iofdopen.c: Likewise.
1687 * libio/iofflush.c: Likewise.
1688 * libio/iofflush_u.c: Likewise.
1689 * libio/iofgets.c: Likewise.
1690 * libio/iofgets_u.c: Likewise.
1691 * libio/iofopen.c: Likewise.
1692 * libio/iofopncook.c: Likewise.
1693 * libio/iofread.c: Likewise.
1694 * libio/iofread_u.c: Likewise.
1695 * libio/ioftell.c: Likewise.
1696 * libio/iofwrite.c: Likewise.
1697 * libio/iogetline.c: Likewise.
1698 * libio/iogets.c: Likewise.
1699 * libio/iogetwline.c: Likewise.
1700 * libio/iopadn.c: Likewise.
1701 * libio/iopopen.c: Likewise.
1702 * libio/ioseekoff.c: Likewise.
1703 * libio/ioseekpos.c: Likewise.
1704 * libio/iosetbuffer.c: Likewise.
1705 * libio/iosetvbuf.c: Likewise.
1706 * libio/ioungetc.c: Likewise.
1707 * libio/ioungetwc.c: Likewise.
1708 * libio/iovdprintf.c: Likewise.
1709 * libio/iovsprintf.c: Likewise.
1710 * libio/iovsscanf.c: Likewise.
1711 * libio/memstream.c: Likewise.
1712 * libio/obprintf.c: Likewise.
1713 * libio/oldfileops.c: Likewise.
1714 * libio/oldiofclose.c: Likewise.
1715 * libio/oldiofdopen.c: Likewise.
1716 * libio/oldiofopen.c: Likewise.
1717 * libio/oldiopopen.c: Likewise.
1718 * libio/oldstdfiles.c: Likewise.
1719 * libio/putc.c: Likewise.
1720 * libio/setbuf.c: Likewise.
1721 * libio/setlinebuf.c: Likewise.
1722 * libio/stdfiles.c: Likewise.
1723 * libio/strops.c: Likewise.
1724 * libio/vasprintf.c: Likewise.
1725 * libio/vscanf.c: Likewise.
1726 * libio/vsnprintf.c: Likewise.
1727 * libio/vswprintf.c: Likewise.
1728 * libio/wfiledoalloc.c: Likewise.
1729 * libio/wfileops.c: Likewise.
1730 * libio/wgenops.c: Likewise.
1731 * libio/wmemstream.c: Likewise.
1732 * libio/wstrops.c: Likewise.
1733 * libio/__fpurge.c: Likewise.
1734 * libio/__fsetlocking.c: Likewise.
1735 * assert/assert.c: Likewise.
1736 * debug/fgets_chk.c: Likewise.
1737 * debug/fgets_u_chk.c: Likewise.
1738 * debug/fread_chk.c: Likewise.
1739 * debug/fread_u_chk.c: Likewise.
1740 * debug/gets_chk.c: Likewise.
1741 * debug/obprintf_chk.c: Likewise.
1742 * debug/vasprintf_chk.c: Likewise.
1743 * debug/vdprintf_chk.c: Likewise.
1744 * debug/vsnprintf_chk.c: Likewise.
1745 * debug/vsprintf_chk.c: Likewise.
1746 * malloc/mtrace.c: Likewise.
1747 * misc/error.c: Likewise.
1748 * misc/syslog.c: Likewise.
1749 * stdio-common/asprintf.c: Likewise.
1750 * stdio-common/fxprintf.c: Likewise.
1751 * stdio-common/getw.c: Likewise.
1752 * stdio-common/isoc99_fscanf.c: Likewise.
1753 * stdio-common/isoc99_scanf.c: Likewise.
1754 * stdio-common/isoc99_vfscanf.c: Likewise.
1755 * stdio-common/isoc99_vscanf.c: Likewise.
1756 * stdio-common/isoc99_vsscanf.c: Likewise.
1757 * stdio-common/printf-prs.c: Likewise.
1758 * stdio-common/printf_fp.c: Likewise.
1759 * stdio-common/printf_fphex.c: Likewise.
1760 * stdio-common/printf_size.c: Likewise.
1761 * stdio-common/putw.c: Likewise.
1762 * stdio-common/scanf.c: Likewise.
1763 * stdio-common/sprintf.c: Likewise.
1764 * stdio-common/tmpfile.c: Likewise.
1765 * stdio-common/vfprintf.c: Likewise.
1766 * stdio-common/vfscanf.c: Likewise.
1767 * stdlib/strfmon_l.c: Likewise.
1768 * sunrpc/openchild.c: Likewise.
1769 * sunrpc/xdr_stdio.c: Likewise.
1770 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1771 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1772
1773 2012-05-24 Roland McGrath <roland@hack.frob.com>
1774
1775 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1776
1777 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1778 in the third column, to generate for the shared library an IFUNC
1779 that uses _dl_vdso_vsym.
1780 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1781 * Makeconfig (object-suffixes-noshared): New variable.
1782
1783 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1784 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1785 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1786 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1787
1788 [BZ #14132]
1789 * include/sys/time.h (__gettimeofday): Remove macro.
1790 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1791 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1792 Remove INTDEF.
1793 (__gettimeofday): Add libc_hidden_def.
1794 (gettimeofday): Add libc_hidden_weak.
1795 * sysdeps/mach/gettimeofday.c: Likewise.
1796 * sysdeps/posix/gettimeofday.c: Likewise.
1797 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1798 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1799 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1800 (__gettimeofday_internal): Remove strong_alias.
1801 (__gettimeofday): Add libc_hidden_def.
1802 (gettimeofday): Add libc_hidden_weak.
1803 * sysdeps/unix/syscalls.list (gettimeofday):
1804 Remove __gettimeofday_internal alias.
1805
1806 2012-05-24 Daniel Jacobowitz <drow@false.org>
1807 H.J. Lu <hongjiu.lu@intel.com>
1808
1809 [BZ #12495]
1810 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1811 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1812 (largebin_index_32_big): New.
1813 (largebin_index): Use it for 16-byte alignment.
1814 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1815 correction with front_misalign.
1816
1817 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1818
1819 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1820 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1821 Likewise.
1822 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1823 Likewise.
1824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1825 Likewise.
1826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1827 Likewise.
1828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1829 Likewise.
1830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1831 Likewise.
1832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1833 Likewise.
1834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1835 Likewise.
1836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1837 Likewise.
1838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1839 Likewise.
1840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1841 Likewise.
1842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1843 Likewise.
1844
1845 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1846 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1847
1848 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1849
1850 [BZ #10846]
1851 [BZ #14036]
1852 * math/libm-test.inc (exp_test): Add test from bug 14036.
1853 (pow_test): Add test from bug 10846.
1854
1855 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1856 and other flags.
1857 (special_function): Do not include flags in test name.
1858 (parse_args): Likewise.
1859 * sysdeps/i386/fpu/libm-test-ulps: Update.
1860 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1861 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1862 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1864
1865 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1866 exceptions.
1867 * math/libm-test.inc ("Philosophy"): Update comment about
1868 exception testing.
1869 (UNDERFLOW_EXCEPTION): New macro.
1870 (UNDERFLOW_EXCEPTION_OK): Likewise.
1871 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1872 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1873 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1874 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1875 (INVALID_EXCEPTION_OK): Update value.
1876 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1877 (OVERFLOW_EXCEPTION_OK): Likewise.
1878 (IGNORE_ZERO_INF_SIGN): Likewise.
1879 (test_exceptions): Handle underflow exceptions.
1880 (acos_test): Update for underflow exception expectations.
1881 (cexp_test): Likewise.
1882 (clog_test): Likewise.
1883 (clog10_test): Likewise.
1884 (csqrt_test): Likewise.
1885 (ctan_test): Likewise.
1886 (ctanh_test): Likewise.
1887 (exp_test): Likewise.
1888 (exp10_test): Likewise.
1889 (exp2_test): Likewise.
1890 (expm1_test): Likewise.
1891 (fma_test): Likewise.
1892 (j0_test): Likewise.
1893 (jn_test): Likewise.
1894 (nexttoward_test): Likewise.
1895 (pow_test): Likewise.
1896 (scalbn_test): Likewise.
1897 (scalbln_test): Likewise.
1898 (tan_test): Likewise.
1899 (y1_test): Likewise.
1900 * sysdeps/i386/fpu/libm-test-ulps: Update.
1901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1902
1903 2012-05-23 David S. Miller <davem@davemloft.net>
1904
1905 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1906 (__libc_sigaction): Remove unused local variables.
1907
1908 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1909
1910 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1911
1912 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1913
1914 mktime: avoid signed integer overflow
1915 * time/mktime.c (__mktime_internal): Do not mishandle the case
1916 where diff == INT_MIN.
1917
1918 mktime: simplify computation of average
1919 * time/mktime.c (ranged_convert): Use new time_t_avg function
1920 instead of rolling our own (probably-slower) code.
1921
1922 mktime: do not assume signed right shift propagates sign bit
1923 * time/mktime.c (isdst_differ): New static function.
1924 (__mktime_internal): No need to normalize tm_isdst now.
1925 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1926 tm_isdst values.
1927
1928 mktime: merge another wrapv change from gnulib
1929 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1930 from some compilers.
1931
1932 mktime: remove incorrect attempt at unusual arithmetics
1933 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1934 The code didn't really work on such machines anyway.
1935 (TYPE_MINIMUM): Assume two's complement.
1936 (twos_complement_arithmetic): Verify that long_int and time_t
1937 are two's complement (or unsigned, in the latter case).
1938
1939 mktime: check signed shifts on long_int and time_t, too
1940 * time/mktime.c (SHR): Check that shifts work as desired
1941 on the types long_int and time_t too, as SHR is used on
1942 such types.
1943
1944 mktime: do not assume 'long' is wide enough
1945 * time/mktime.c (verify): Move decl up.
1946 (long_int): New type.
1947 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1948 to remove assumption in the code that 'long' is wide enough to
1949 store year values. This assumption is not true on x32 and on
1950 some non-glibc platforms.
1951
1952 mktime: merge wrapv change from gnulib
1953 * time/mktime.c (WRAPV): New macro.
1954 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1955 (guess_time_tm, __mktime_internal): Do not assume that signed
1956 integer overflow wraps around; modern compilers generate code
1957 where this assumption is no longer valid.
1958
1959 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1960
1961 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1962 Replace "jmp L(pseudo_end)" with "ret".
1963 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1964 Likewise.
1965
1966 2012-05-23 Andreas Jaeger <aj@suse.de>
1967
1968 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1969 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1970
1971 2012-05-23 Andreas Jaeger <aj@suse.de>
1972 Maximilian Attems <max@stro.at>
1973
1974 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1975 New macros.
1976
1977 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1978
1979 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1980 code so that pseudo_end is just ret and the stack pointer is
1981 correct also for static library in error case.
1982
1983 2012-05-23 Joseph Myers <joseph@codesourcery.com>
1984
1985 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1986 move to syscalls.list.
1987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1991
1992 * manual/install.texi (Running make install): Do not mention Linux
1993 kernel version for which pt_chown is not needed.
1994 (Linux): Do not mention problems with nscd with 2.0 kernels.
1995 * INSTALL: Regenerated.
1996
1997 2012-05-23 Andreas Jaeger <aj@suse.de>
1998
1999 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2000 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2001 macro.
2002 * sysdeps/unix/sysv/linux/s390/bits/mman.h
2003 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2004 * sysdeps/unix/sysv/linux/sh/bits/mman.h
2005 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2006 * sysdeps/unix/sysv/linux/i386/bits/mman.h
2007 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2008 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2009 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2010 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2011 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2012 * sysdeps/unix/sysv/linux/bits/in.h
2013 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2014
2015 2012-05-22 Roland McGrath <roland@hack.frob.com>
2016
2017 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2018 (PREPARE_VERSION): Just use assert instead, it will be elided
2019 under [NDEBUG] anyway.
2020
2021 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2022
2023 * sysdeps/unix/sysv/linux/Makefile: Include
2024 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
2025 (sysdep_routines): Remove sysctl.
2026 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2027 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2028 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2029 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2030 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2031
2032 2012-05-22 Andreas Jaeger <aj@suse.de>
2033
2034 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2035 that pseudo_end is just ret and the stack pointer is correct also
2036 for static library in error case.
2037
2038 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2039
2040 [BZ #14122]
2041 * nss/nsswitch.c (defconfig_entries): New variable.
2042 (__nss_database_lookup): Don't leak defconfig entries.
2043 (nss_parse_service_list): Don't leak on error paths.
2044 (free_database_entries): New function.
2045 (free_defconfig): New function.
2046 (free_mem): Move common code to free_database_entries.
2047
2048 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2049
2050 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2051 Add arch_prctl.
2052 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2053
2054 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2055 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2056 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2057 New macro.
2058 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2059 (INTERNAL_SYSCALL_TYPES): Likewise.
2060 (LOAD_ARGS_TYPES_[1-6]): Likewise.
2061 (LOAD_REGS_TYPES_[1-6]): Likewise.
2062 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2063 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2064
2065 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2066
2067 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2068 copysignl for GLIBC_2_0.
2069 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2070 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2071 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2072 logbl for GLIBC_2_0.
2073 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2074 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2075
2076 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2077
2078 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2079 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2080
2081 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2082 Use "neg %eax".
2083
2084 * time/mktime.c: Update copyright years.
2085
2086 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2087
2088 mktime: merge comment-quoting-style change from gnulib
2089 * time/mktime.c: Quote 'like this' in comments.
2090 The GNU coding standards suggest that we no longer quote `like this',
2091 as "`" and "'" are typically rendered asymmetrically nowadays.
2092 The typical gnulib style is to quote 'like this' when quoting
2093 code, and "like this" when quoting English.
2094
2095 * time/mktime.c (compile-command): Add "-I.".
2096
2097 mktime: merge mktime-internal.h change from gnulib
2098 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2099
2100 mktime: merge time_r change from gnulib
2101 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2102
2103 mktime: merge DEBUG change from gnulib
2104 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2105 case system <time.h> has a #define.
2106
2107 mktime: merge <sys/types.h> change from gnulib
2108 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2109 since <time.t> is now guaranteed to define time_t.
2110
2111 mktime: merge HAVE_CONFIG_H change from gnulib
2112 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2113
2114 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2115
2116 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2117 Use "neg %eax".
2118
2119 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2120 __rlim_t cast.
2121 (struct rusage): Use anonymous union to pad each field to
2122 __syscall_slong_t.
2123
2124 2012-05-21 David S. Miller <davem@davemloft.net>
2125
2126 * Makefules (o-iterator): Remove .s cases.
2127 (compile-command.s): Delete.
2128 (COMPILE.s): Delete.
2129 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2130
2131 2012-05-21 Joseph Myers <joseph@codesourcery.com>
2132
2133 * configure.in (libc_cv_predef_stack_protector): Only consider
2134 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2135 * configure: Regenerated.
2136
2137 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2138
2139 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2140 New macro. Use R*LP on int and pointer.
2141 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
2142 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2143 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
2144 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2145
2146 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2147 [__WORDSIZE_TIME64_COMPAT32] instead of
2148 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2149 (struct utmp): Likewise.
2150 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2151 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2152 Renamed to ...
2153 (__WORDSIZE_TIME64_COMPAT32): This.
2154 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2155 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2156 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2157 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2158 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2159 (__WORDSIZE_TIME64_COMPAT32): New macro.
2160
2161 2012-05-21 Andreas Jaeger <aj@suse.de>
2162
2163 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2164 only if [SHARED]. Add prototype for __wcschr_ia32.
2165
2166 2012-05-21 Roland McGrath <roland@hack.frob.com>
2167
2168 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2169 of %rbp unmolested in the jmp_buf while mangling the low bits.
2170 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2171 unmolested high bits of %rbp while demangling the low bits.
2172 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2173
2174 2012-05-21 Andreas Jaeger <aj@suse.de>
2175
2176 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2177 * sunrpc/svc_simple.c: Use it for registerrpc.
2178 * sunrpc/xcrypt.c: Use it for passwd2des.
2179
2180 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2181
2182 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2183
2184 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2185 Don't define if [__SYSCALL_WORDSIZE != 32].
2186 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2187 New macro.
2188
2189 2012-05-21 Bruno Haible <bruno@clisp.org>
2190 Andreas Jaeger <aj@suse.de>
2191
2192 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2193 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2194 inptr and inend for must_buffer_ch.
2195 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2196 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2197 * stdio-common/Makefile (tests): Remove bug15.
2198 (bug15-ENV): Remove macro.
2199 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2200 anymore.
2201
2202 2012-05-19 Andreas Jaeger <aj@suse.de>
2203 Roland McGrath <roland@hack.frob.com>
2204
2205 * manual/contrib.texi: Completely rewritten. It contains now an
2206 alphabetical list of contributors and their contributions.
2207
2208 2012-05-21 Richard Henderson <rth@twiddle.net>
2209
2210 * misc/getauxval.c (__getauxval): Use unsigned long int.
2211 * misc/sys/auxv.h: Include <sys/cdefs.h>.
2212 (getauxval): Use unsigned long int.
2213
2214 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2215
2216 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2217
2218 2012-05-21 Roland McGrath <roland@hack.frob.com>
2219
2220 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2221 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2222 __alignof__ (long double).
2223
2224 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2225
2226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2227
2228 2012-05-20 Richard Henderson <rth@twiddle.net>
2229
2230 * misc/getauxval.c: New file.
2231 * misc/sys/auxv.h: New file.
2232 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2233 (routines): Add getauxval.
2234 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2235 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2236 * elf/dl-sysdep.c (_dl_auxv): Remove.
2237 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2238 * elf/dl-support.c (_dl_auxv): New variable.
2239 (_dl_aux_init): Initialize it.
2240 * manual/startup.texi (Auxiliary Vector): New node.
2241 * sysdeps/generic/bits/hwcap.h: New file.
2242 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2243 * sysdeps/powerpc/sysdep.h: ... here. Include it.
2244 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2245 * sysdeps/sparc/sysdep.h: ... here. Include it.
2246 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2247 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
2248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2249 Update.
2250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2253 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2254 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2256 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2258
2259 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2260
2261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2262
2263 2012-05-19 David S. Miller <davem@davemloft.net>
2264
2265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2266
2267 2012-05-19 Joseph Myers <joseph@codesourcery.com>
2268
2269 [BZ #14123]
2270 * math/s_ccosh.c: Include <float.h>
2271 (__ccosh): Avoid internal overflow calculating sinh and cosh
2272 values before multiplying by sin and cos values.
2273 * math/s_ccoshf.c: Likewise.
2274 * math/s_ccoshl.c: Likewise.
2275 * math/s_csin.c: Likewise.
2276 * math/s_csinf.c: Likewise.
2277 * math/s_csinl.c: Likewise.
2278 * math/s_csinh.c: Likewise.
2279 * math/s_csinhf.c: Likewise.
2280 * math/s_csinhl.c: Likewise.
2281 * math/libm-test.inc (ccos_test): Add more tests.
2282 (ccosh_test): Likewise.
2283 (csin_test): Likewise.
2284 (csinh_test): Likewise.
2285 * sysdeps/i386/fpu/libm-test-ulps: Update.
2286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2287
2288 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
2289
2290 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2291 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2292
2293 * sysdeps/x86_64/x32/_itoa.h: Add comment.
2294
2295 2012-05-19 Joseph Myers <joseph@codesourcery.com>
2296
2297 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2298 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2299 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2300 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2301 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2302 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2303 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2304 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2305 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2306 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2307 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2308 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2309 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2310 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2311 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2312 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2313 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2314 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2315 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2316 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2317 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2318 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2319 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2320 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2321 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2322 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2323 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2324 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2325 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2326 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2327 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2328
2329 2012-05-18 Andreas Jaeger <aj@suse.de>
2330
2331 * csu/.gitignore: Delete.
2332
2333 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2334
2335 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2336 (timex): Use __syscall_slong_t.
2337
2338 2012-05-18 Andreas Jaeger <aj@suse.de>
2339 Carlos O'Donell <carlos_odonell@mentor.com>
2340
2341 * manual/install.texi (Configuring and compiling): Update
2342 description about files modified in the source directory.
2343 * INSTALL: Regenerated.
2344
2345 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2346
2347 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2348 value. Use "or" to set return value to -1.
2349 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2350 negate return value.
2351
2352 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2353
2354 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2355 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2356 failure if the compiler has Graphite support disabled.
2357 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2358 Likewise.
2359 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2360 CFLAGS-memmove.c): Likewise.
2361 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2362 Likewise.
2363
2364 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2365
2366 * sysdeps/x86_64/x32/_itoa.h: New file.
2367
2368 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2369 getdents system call only if kernel and user dirents have the
2370 same d_ino and d_off.
2371
2372 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2373 LLONG_MAX != LONG_MAX.
2374 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2375 (_fitoa_word): Likewise.
2376
2377 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2378 years.
2379 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2380 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2381 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2382
2383 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2384 include <bits/wordsize.h>. Check __x86_64__ instead of
2385 __WORDSIZE.
2386 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2387 if __x86_64__ is defined. Use anonymous union on fpstate.
2388
2389 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2390 anonymous union.
2391
2392 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
2393
2394 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2395 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
2396 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
2397 Refer to _rtld_local_ro instead of _rtld_global_ro.
2398 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
2399 Likewise.
2400 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
2401 Likewise.
2402 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
2403 Likewise.
2404 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2405 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2406 of _rtld_global, and rtld_progname instead of _dl_argv[0].
2407
2408 * sysdeps/powerpc/powerpc32/dl-machine.c
2409 (__elf_machine_runtime_setup) [PROF]: Don't reference
2410 _dl_prof_resolve.
2411
2412 2012-05-18 Andreas Jaeger <aj@suse.de>
2413
2414 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2415 function only available for GCCs before 3.4 since GCC 3.4
2416 introduced a builtin.
2417 (lrint): Likewise.
2418 (llrintf): Likewise.
2419 (llrint): Likewise.
2420 (fmaxf): Likewise.
2421 (fmax): Likewise.
2422 (fminf): Likewise.
2423 (fmin): Likewise.
2424 (rint): Likewise.
2425 (rintf): Likewise.
2426 (nearbyint): Likewise.
2427 (nearbyintf): Likewise.
2428 (ceil): Likewise.
2429 (ceilf): Likewise.
2430 (floor): Likewise.
2431 (floorf): Likewise.
2432
2433 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2434
2435 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2436 on both fields and cast pointer to __syscall_ulong_t.
2437
2438 * bits/types.h (__fsword_t): New type.
2439 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2440 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2441 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2442 (__FSWORD_T_TYPE): Likewise.
2443 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2444 (__FSWORD_T_TYPE): Likewise.
2445 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2446 (__FSWORD_T_TYPE): Likewise.
2447 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2448 (__FSWORD_T_TYPE): Likewise.
2449 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2450 __SWORD_TYPE with __fsword_t.
2451 (statfs64): Likewise.
2452
2453 2012-05-17 David S. Miller <davem@davemloft.net>
2454
2455 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2456
2457 2012-05-17 Andreas Jaeger <aj@suse.de>
2458
2459 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2460 warning.
2461
2462 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2463
2464 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2465
2466 2012-05-17 Andreas Jaeger <aj@suse.de>
2467
2468 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2469 when it is used.
2470
2471 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2472
2473 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2474
2475 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2476
2477 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2478 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2479
2480 2012-05-17 Andreas Jaeger <aj@suse.de>
2481 Carlos O'Donell <carlos_odonell@mentor.com>
2482
2483 [BZ #14059]
2484 * sysdeps/x86_64/multiarch/init-arch.h
2485 (bit_YMM_Usable): Rename to...
2486 (bit_AVX_Usable): ... this.
2487 (bit_FMA4_Usable): New macro.
2488 (bit_XMM_state): New macro.
2489 (bit_YMM_state): New macro.
2490 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2491 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2492 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2493 (CPUID_OSXSAVE): New macro.
2494 (CPUID_AVX): New macro.
2495 (CPUID_FMA4): New macro.
2496 (index_YMM_Usable): Rename to...
2497 (index_AVX_Usable): ... this.
2498 (HAS_AVX): Use HAS_ARCH_FEATURE.
2499 (HAS_FMA4): Likewise.
2500 (HAS_YMM_USABLE): Remove.
2501 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2502 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2503 are present.
2504 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2505 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2506 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2507 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2508 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2509
2510 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2511
2512 * math/libm-test.c: Support platforms without multiple rounding modes.
2513 * math/bug-nextafter.c: Support platforms without FP exceptions.
2514 * math/bug-nexttoward.c: Likewise.
2515 * math/test-fenv.c: Likewise.
2516 * math/test-misc.c: Likewise.
2517 * stdlib/bug-getcontext.c: Likewise.
2518
2519 2012-05-17 Andreas Jaeger <aj@suse.de>
2520
2521 * manual/examples/search.c (critter_cmp): Change signature to
2522 avoid warnings.
2523 * manual/string.texi (Collation Functions): Likewise.
2524
2525 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2526
2527 * bits/types.h: Fold copyright years.
2528 * bits/typesizes.h: Likewise.
2529 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2530 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2531 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2532 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2533 * time/time.h: Likewise.
2534
2535 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2536
2537 [BZ #208]
2538 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2539 in instead of returning them. Return void.
2540 (__libc_mallinfo): Accumulate over all arenas.
2541 (__malloc_stats): Adjust for change in int_mallinfo interface.
2542
2543 2012-05-16 Roland McGrath <roland@hack.frob.com>
2544
2545 [BZ #10375]
2546 * configure.in (NM): Add AC_CHECK_TOOL for it.
2547 (libc_extra_cflags): New substituted variable.
2548 Check for -fstack-protector being used implicitly.
2549 * configure: Regenerated.
2550 * config.make.in (config-extra-cflags): New variable,
2551 gets @libc_extra_cflags@.
2552 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2553
2554 [BZ #10375]
2555 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2556 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2557 * configure: Regenerated.
2558 * config.make.in (CPPUNDEFS): New substituted variable.
2559 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2560 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2561 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2562
2563 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2564
2565 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2566 (mq_attr): Use __syscall_slong_t.
2567
2568 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2569
2570 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2571 Check __x86_64__ instead of __WORDSIZE.
2572 (_STAT_VER_LINUX): Likewise.
2573 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2574 __syscall_ulong_t and __syscall_slong_t.
2575 (stat64): Likewise.
2576
2577 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2578
2579 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2580
2581 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2582
2583 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2584
2585 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2586
2587 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2588 __syscall_ulong_t.
2589
2590 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2591 include <bits/wordsize.h>. Check __x86_64__ instead of
2592 __WORDSIZE.
2593 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2594 defined.
2595 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2596
2597 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2598 include <bits/wordsize.h>. Check __x86_64__ instead of
2599 __WORDSIZE.
2600 (user_regs_struct): Use "__extension__ unsigned long long"
2601 instead of "unsigned long" if __x86_64__ is defined.
2602 (user): Likewise. Pad after pointer field if __ILP32__ is
2603 defined.
2604
2605 2012-05-16 Joseph Myers <joseph@codesourcery.com>
2606
2607 * configure.in (makeinfo): Require version 4.5 or later. Allow
2608 versions 5 to 9.
2609 * configure: Regenerated.
2610 * manual/install.texi (texinfo): Increase version requirement to
2611 4.5 or later.
2612 * INSTALL: Regenerated.
2613
2614 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2615
2616 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2617
2618 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2619
2620 * sysdeps/x86_64/x32/ffs.c: New file.
2621
2622 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2623 __syscall_ulong_t.
2624 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2625 defined. Use __syscall_ulong_t.
2626 (shminfo): Use __syscall_ulong_t.
2627 (shm_info): Likewise.
2628
2629 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2630 __syscall_ulong_t.
2631
2632 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2633 <bits/wordsize.h>.
2634 (msgqnum_t): Use __syscall_ulong_t.
2635 (msglen_t): Likewise.
2636 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2637 __syscall_ulong_t.
2638
2639 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2640 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2641
2642 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2643
2644 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2645 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2646
2647 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2648 __syscall_slong_t.
2649
2650 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2651 include <bits/wordsize.h>. Check __x86_64__ instead of
2652 __WORDSIZE.
2653
2654 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2655 "unsigned long long int" if __x86_64__ is defined.
2656 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2657
2658 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2659 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2660 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2661
2662 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2663 <stdint.h>.
2664 (GET_PC): Cast to uintptr_t first.
2665 (GET_FRAME): Likewise.
2666 (GET_STACK): Likewise.
2667
2668 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2669 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2670 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2671 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2672 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2673 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2674 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2675 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2676 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2677 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2678 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2679 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2680 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2681 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2682 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2683 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2684 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2685 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2686 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2687 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2688 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2689 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2690 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2691 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2692 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2693 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2694 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2695 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2696 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2697
2698 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2699
2700 * Makerules (+depfiles): Also collect depfiles from .oS in
2701 $(extra-objs).
2702 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2703 .oS, $(libnldbl-routines)).
2704
2705 * Makerules (native-compile-mkdep-flags): Define.
2706 * sunrpc/Makefile (extra-objs): Add $(addprefix
2707 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2708 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2709 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2710 calling $(make-target-directory).
2711
2712 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2713
2714 * bits/types.h (__snseconds_t): Removed.
2715 * time/time.h (struct timespec): Replace __snseconds_t with
2716 __syscall_slong_t.
2717 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2718 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2719 Likewise.
2720 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2721 (__SNSECONDS_T_TYPE): Likewise.
2722 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2723 (__SNSECONDS_T_TYPE): Likewise.
2724 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2725 (__SNSECONDS_T_TYPE): Likewise.
2726
2727 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2728
2729 * sysdeps/mach/hurd/bits/typesizes.h
2730 (__SYSCALL_SLONG_TYPE): New macro.
2731 (__SYSCALL_ULONG_TYPE): Likewise.
2732
2733 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2734
2735 * bits/types.h (__syscall_slong_t): New type.
2736 (__syscall_ulong_t): Likewise.
2737
2738 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2739 (__SYSCALL_ULONG_TYPE): Likewise.
2740 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2741 (__SYSCALL_SLONG_TYPE): Likewise.
2742 (__SYSCALL_ULONG_TYPE): Likewise.
2743 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2744 (__SYSCALL_SLONG_TYPE): Likewise.
2745 (__SYSCALL_ULONG_TYPE): Likewise.
2746 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2747 (__SYSCALL_SLONG_TYPE): Likewise.
2748 (__SYSCALL_ULONG_TYPE): Likewise.
2749
2750 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2751
2752 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2753 Add sigaltstack-offsets.sym.
2754 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2755 <sigaltstack-offsets.h>.
2756 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2757 longjmp_msg pointer.
2758 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2759 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2760 signal stack.
2761 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2762
2763 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2764
2765 * elf/stackguard-macros.h: Remove file.
2766 * sysdeps/generic/stackguard-macros.h: New file.
2767 * sysdeps/i386/stackguard-macros.h: Likewise.
2768 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2769 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2770 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2771 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2772 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2773 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2774 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2775 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2776 <elf/stackguard-macros.h>.
2777
2778 [BZ #14109]
2779 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2780 __aligned__ in attribute.
2781 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2782 (gregset_t): Likewise.
2783
2784 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2785
2786 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2787 * sysdeps/x86_64/64/Implies-after: Here. New file.
2788 * sysdeps/x86_64/x32/Implies-after: New file.
2789
2790 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2791
2792 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2793 and access return value for _dl_profile_fixup. Use R10_LP to
2794 load frame size.
2795
2796 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2797
2798 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2799
2800 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2801
2802 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2803 * sysdeps/x86_64/x32/sysdep.h: New file.
2804
2805 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2806
2807 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2808 * sysdeps/x86_64/setjmp.S: Likewise.
2809
2810 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2811
2812 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2813 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2814 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2815 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2816 remove unused global constant.
2817
2818 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2819
2820 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2821 include of <not-cancel.h>.
2822
2823 2012-05-15 Roland McGrath <roland@hack.frob.com>
2824
2825 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2826
2827 2012-05-15 Jeff Law <law@redhat.com>
2828 Andreas Jaeger <aj@suse.de>
2829
2830 [BZ #13594]
2831 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2832 out from...
2833 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2834 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2835 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2836 code changing __hst_map_handle.map.
2837
2838 2012-05-15 Roland McGrath <roland@hack.frob.com>
2839
2840 * configure.in (sysnames): Look for Implies-before and Implies-after
2841 files.
2842 * configure: Regenerated.
2843
2844 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2845
2846 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2847 8-byte data alignment with LP_SIZE alignment.
2848
2849 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2850
2851 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2852 into R10_LP.
2853
2854 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2855
2856 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2857
2858 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2859
2860 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2861 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2862 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2863 Likewise.
2864 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2865
2866 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2867
2868 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2869 (stackinfo_sub_sp): Likewise.
2870
2871 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2872
2873 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2874 RAX_LP.
2875
2876 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2877
2878 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2879 into R*_LP.
2880
2881 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2882
2883 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2884 sizes into R*_LP.
2885
2886 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2887
2888 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2889
2890 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2891
2892 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2893 into R11_LP and load __x86_64_shared_cache_size_half into
2894 R8_LP.
2895
2896 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2897
2898 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2899 R8_LP.
2900
2901 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2902
2903 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2904 logb for POWER7.
2905 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2906 logbf for POWER7.
2907 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2908 logbl for POWER7.
2909 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2910 powerpc32/power7/fpu/s_logb.c via #include.
2911 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2912 powerpc32/power7/fpu/s_logbf.c via #include.
2913 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2914 powerpc32/power7/fpu/s_logbl.c via #include.
2915
2916 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2917
2918 * README.libm: Remove file.
2919
2920 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2921
2922 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2923 count for x32. Use R*_LP and omit operand-size suffix.
2924
2925 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2926
2927 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2928 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2929 * sysdeps/x86_64/x32/shlib-versions: New file.
2930
2931 2012-05-14 Roland McGrath <roland@hack.frob.com>
2932
2933 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2934 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2935 Use _dl_fatal_printf instead.
2936
2937 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2938
2939 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2940 set if not set by the user. Do not allow for being unset.
2941 * sysdeps/unix/sysv/linux/configure: Regenerated.
2942
2943 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2944
2945 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2946 the `q' suffix from lea and replace .quad with ASM_ADDR.
2947
2948 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2949
2950 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2951 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2952 instead of $17.
2953 (PTR_DEMANGLE): Likewise.
2954
2955 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2956
2957 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2958 (LP_OP): Likewise.
2959 (ASM_ADDR): Likewise.
2960 (RAX_LP): Likewise.
2961 (RBP_LP): Likewise.
2962 (RBX_LP): Likewise.
2963 (RCX_LP): Likewise.
2964 (RDI_LP): Likewise.
2965 (RSI_LP): Likewise.
2966 (RSP_LP): Likewise.
2967 (R8_LP): Likewise.
2968 (R9_LP): Likewise.
2969 (R10_LP): Likewise.
2970 (R10_LP): Likewise.
2971 (R11_LP): Likewise.
2972 (R12_LP): Likewise.
2973 (R13_LP): Likewise.
2974 (R14_LP): Likewise.
2975 (R15_LP): Likewise.
2976
2977 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2978
2979 * sysdeps/x86_64/x32/dl-machine.h: New file.
2980
2981 2012-05-14 Andreas Jaeger <aj@suse.de>
2982
2983 * manual/Makefile (subdir): Remove export of subdir.
2984 (all): Remove target.
2985 (.PHONY): Remove all from list.
2986 (mkinstalldirs): Remove.
2987 (.PHONY): Remove installdirs from list.
2988 ($(inst_infodir)/libc.info): Use make-target-directory.
2989 (installdirs): Remove.
2990 (subdir_%): Remove.
2991 (glibc-targets): Remove.
2992 (lib): Remove.
2993 (stubs): Remove.
2994 ($(objpfx)stubs ../po/manual.pot): Remove.
2995 ($(objpfx)stamp%): Remove.
2996 (make-target-directory): Remove.
2997 (subdir_install): Remove.
2998 (routines): Remove.
2999 (aux): Remove.
3000 (sources): Remove.
3001 (objects): Remove.
3002 (headers): Remove.
3003
3004 [BZ #13750]
3005 * manual/.gitignore: Remove, it's not needed anymore.
3006 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3007 all files in it.
3008 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3009 directory.
3010 (texis): Renamed to $(objpfx)texis.
3011 (texis-path): New, contains path to generated files.
3012 (chapters.%): Use texis-path for complete path, add extra argument
3013 libc-texinfo.sh.
3014 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3015 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3016 (summary,texi, stamp-summary): Use complete path of
3017 files. Generate files in build dir.
3018 (dir-add.texi): Build in build dir.
3019 (libm-err.texi,stamp-libm-err): Likewise.
3020 (version.texi, stamp-version): Likewise.
3021 (.%c.texi): Likewise.
3022 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3023 (mostlyclean): Remove target.
3024 (realclean): Remove target.
3025 (generated): Add new variable with contents from mostlyclean and
3026 realclean, remove entries duplicated in common-mostlyclean, add
3027 stamp-libm-err and stamp-version.
3028 (generated-dirs): Add libc directory.
3029 ($(inst_infodir)/libc.info): Install files from build dir.
3030
3031 * manual/install.texi (Configuring and compiling): Adjust since
3032 the info files are not part of the tar ball anymore.
3033
3034 2012-05-14 Andreas Jaeger <aj@suse.de>
3035
3036 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3037 variable.
3038
3039 2012-05-14 Joseph Myers <joseph@codesourcery.com>
3040
3041 [BZ #13717]
3042 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3043 to 2.2.0 where earlier.
3044 * sysdeps/unix/sysv/linux/configure: Regenerated.
3045 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3046 Remove conditional code.
3047 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3048 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3049 Remove conditional code.
3050 [!__NR_lchown]: Likewise.
3051 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3052 [__NR_lchown]: Likewise.
3053 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3054 comment referencing __ASSUME_LCHOWN_SYSCALL.
3055 * sysdeps/unix/sysv/linux/i386/sigaction.c
3056 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3057 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3058 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3059 Remove conditional code.
3060 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3061 (__protocol_available): Remove #if 0 code.
3062 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3063 conditional code.
3064 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3065 * sysdeps/unix/sysv/linux/kernel-features.h
3066 (__ASSUME_GETCWD_SYSCALL): Don't define.
3067 (__ASSUME_REALTIME_SIGNALS): Likewise.
3068 (__ASSUME_PREAD_SYSCALL): Likewise.
3069 (__ASSUME_PWRITE_SYSCALL): Likewise.
3070 (__ASSUME_POLL_SYSCALL): Likewise.
3071 (__ASSUME_LCHOWN_SYSCALL): Likewise.
3072 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3073 non-SPARC.
3074 (__ASSUME_SIOCGIFNAME): Don't define.
3075 (__ASSUME_MSG_NOSIGNAL): Likewise.
3076 (__ASSUME_SENDFILE): Define unconditionally.
3077 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3078 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3079 conditional code.
3080 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3081 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3082 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3083 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3084 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3085 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3086 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3088 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3089 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3091 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3092 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3094 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3095 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3097 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3098 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3100 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3101 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3103 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3104 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3106 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3107 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3109 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3110 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3111 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3112 Remove conditional code.
3113 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3114 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3115 Remove conditional code.
3116 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3117 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3118 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3119 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3120 Remove conditional code.
3121 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3122 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3123 Remove conditional code.
3124 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3125 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3126 Remove conditional code.
3127 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3128 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3129 Remove conditional code.
3130 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3131 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3132 Remove conditional code.
3133 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3134 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3135 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3136 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3137 * sysdeps/unix/sysv/linux/sigaction.c
3138 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3139 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3140 * sysdeps/unix/sysv/linux/sigpending.c
3141 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3142 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3143 * sysdeps/unix/sysv/linux/sigprocmask.c
3144 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3145 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3146 * sysdeps/unix/sysv/linux/sigsuspend.c
3147 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3148 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3149 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3150 (__libc_missing_rt_sigs): Remove.
3151 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3152 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3153 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3154 Remove conditional code.
3155 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3156 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3157 return 1.
3158 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3159 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3160 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3161 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3162
3163 2012-05-14 Andreas Jaeger <aj@suse.de>
3164
3165 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3166 it's not used in glibc.
3167 (__coshm1): Likewise.
3168 (__acosh1p): Likewise.
3169 (__sgn): Likewise.
3170
3171 * manual/string.texi (Copying and Concatenation): Add missing
3172 variable in concat example.
3173 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3174
3175 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3176
3177 [BZ #14103]
3178 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3179 __builtin_clzl with __builtin_clzll.
3180
3181 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3182
3183 [BZ #14104]
3184 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3185 libc_freeres_ptr.
3186
3187 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3188
3189 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3190 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3191 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3192 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3193
3194 2012-05-14 Mike Frysinger <vapier@gentoo.org>
3195
3196 * NEWS: Update ia64 info.
3197
3198 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
3199
3200 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3201 used as bcopy.
3202
3203 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
3204
3205 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3206 * sysdeps/unix/syscalls.list (dup3): Likewise.
3207 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3208 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3209
3210 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3211
3212 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3213 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3214
3215 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3216
3217 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3218 thread pointer.
3219 (TLS_IE): Use mov/add instead of movq/addq to load thread
3220 pointer.
3221 (TLS_GD_PREFIX): New.
3222 (TLS_GD): Use it.
3223
3224 2012-05-11 David S. Miller <davem@davemloft.net>
3225
3226 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3227 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3228 (_FPU_SETCW): Likewise.
3229
3230 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3231
3232 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3233 is 32-byte aligned.
3234
3235 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
3236
3237 [BZ #11837]
3238 * iconvdata/gb18030.c: Update tables.
3239 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
3240 characters specially.
3241 (BODY for TO_LOOP): Add encoding of missing ranges.
3242
3243 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
3244
3245 [BZ #13673]
3246 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3247 * sysdeps/mach/hurd/dup3.c: Likewise.
3248 * sysdeps/mach/hurd/readlinkat.c: Likewise.
3249 * sysdeps/powerpc/memmove.c:: Likewise.
3250
3251 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3252
3253 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3254 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3255
3256 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3257
3258 * elf/elf.h (R_X86_64_RELATIVE64): New.
3259 (R_X86_64_NUM): Updated.
3260 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3261 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
3262 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3263 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3264 tst-quad1pie tst-quad2pie
3265 (modules-names): Add tst-quadmod1 tst-quadmod2.
3266 ($(objpfx)tst-quad1): New dependency.
3267 ($(objpfx)tst-quad2): Likewise.
3268 ($(objpfx)tst-quad1pie): Likewise.
3269 ($(objpfx)tst-quad2pie): Likewise.
3270 * sysdeps/x86_64/tst-quad1.c: New file.
3271 * sysdeps/x86_64/tst-quad1pie.c: New file.
3272 * sysdeps/x86_64/tst-quad2.c: Likewise.
3273 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3274 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3275 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3276 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3277 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3278
3279 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3280
3281 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3282 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3283 * streams/stropts.h (t_scalar_t): Define type.
3284
3285 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3286 (_PATH_PRESERVE): Set to "/var/lib".
3287 (_PATH_RWHODIR): Set to "/var/spool/rwho".
3288
3289 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3290 instead of int.
3291
3292 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3293 if __dir_mkfile succeeded.
3294
3295 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3296 checking for _hurd_dtablesize. Unlock it right after having
3297 finished _hurd_dtable allocation.
3298
3299 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3300
3301 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3302 * sysdeps/mach/hurd/configure: Regenerated.
3303 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3304 special-casing to...
3305 * sysdeps/gnu/configure.in: ... this new file.
3306 * sysdeps/unix/sysv/linux/configure: Regenerated.
3307 * sysdeps/gnu/configure: New generated file.
3308
3309 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3310 for Linux: use nsec instead of usec, as well as:
3311 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3312 members of type struct timespec.
3313 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3314 New macros.
3315 (struct stat64): Likewise.
3316 (_STATBUF_ST_NSEC): New macro.
3317 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3318
3319 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3320 __strtoul_internal rather than strtoul.
3321
3322 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3323
3324 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3325 and reject them.
3326
3327 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3328
3329 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3330 which preserves existing values.
3331 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3332
3333 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3334
3335 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3336 TIMEOUT values. Return EINVAL for NFDS values either negative or
3337 greater than FD_SETSIZE.
3338
3339 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3340
3341 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3342 allocated, call __vm_protect to finish enabling the existing space, and
3343 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3344 allocate the remainder.
3345
3346 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3347
3348 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3349 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
3350
3351 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3352
3353 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3354 sysdeps/mach/hurd/readlink.c.
3355
3356 * posix/tst-sysconf.c (posix_options): Only use
3357 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3358 _POSIX_SYNCHRONIZED_IO when they are defined
3359 * sysdeps/mach/hurd/bits/posix_opt.h:
3360 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3361 (_XOPEN_REALTIME): Undefine macro.
3362 (_XOPEN_REALTIME_THREADS): Undefine macro.
3363 (_XOPEN_SHM): Undefine macro.
3364 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3365 macro to -1.
3366 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3367 macro to -1.
3368 (_POSIX_ASYNC_IO): Undefine macro.
3369 (_POSIX_PRIORITIZED_IO): Undefine macro.
3370 (_POSIX_SPIN_LOCKS): Define macro to -1.
3371
3372 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3373 SA_NODEFER, SA_RESETHAND.
3374 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3375 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3376 F_DUPFD_CLOEXEC.
3377
3378 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3379
3380 * elf/Makefile (pldd-modules): Define unconditionally.
3381
3382 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3383
3384 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3385
3386 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3387
3388 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3389 Return ENOENT when name is empty.
3390 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3391
3392 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3393
3394 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
3395
3396 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
3397
3398 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3399
3400 Fix mlock in all cases except non-readable pages.
3401 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
3402 instead of VM_PROT_ALL as parameter to __vm_wire function.
3403
3404 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3405 (__mkdir): When path is `/', just fail with EEXIST.
3406 * sysdeps/mach/hurd/mkdirat.c: Likewise.
3407
3408 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3409
3410 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3411 <sys/uio.h> (for writev).
3412 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3413 and <sys/param.h> (for MIN).
3414
3415 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3416
3417 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
3418 REQUESTED_TIME. Properly set the remaining time and return EINTR
3419 if interrupted.
3420
3421 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3422
3423 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3424 Depend on against $(link-rpcuserlibs).
3425
3426 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3427
3428 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3429 (__libc_stack_end): Do not use attribute_relro.
3430 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3431 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
3432 to libthread-provided value.
3433 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3434 attribute_relro.
3435
3436 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3437
3438 [BZ #3748]
3439 * bits/libc-lock.h (__libc_once_get): New macro.
3440 * sysdeps/mach/bits/libc-lock.h: Likewise.
3441 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3442 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3443 instead of using implementation details.
3444
3445 * libio/fileops.c: Unconditionally include <kernel-features.h>.
3446 * libio/freopen.c: Likewise.
3447 * libio/freopen64.c: Likewise.
3448 * misc/syslog.c: Likewise.
3449 * nscd/connections.c: Likewise.
3450 * nscd/netgroupcache.c: Likewise.
3451 * sysdeps/posix/getcwd.c: Likewise.
3452
3453 2012-05-10 Roland McGrath <roland@hack.frob.com>
3454
3455 * math/w_ilogbf.c: Add #include <limits.h>.
3456
3457 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3458
3459 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
3460 path instead of returning without unlocking.
3461
3462 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3463 immediate-write ioctls.
3464 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3465
3466 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3467
3468 * sysdeps/mach/hurd/i386/init-first.c (init): Use
3469 __builtin_frame_address instead of making assumptions about the
3470 location of the return address relative to DATA. Force early load of
3471 the return address.
3472 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3473 __builtin_frame_address.
3474
3475 dup3 for GNU Hurd.
3476 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3477 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3478 implement dup3 and do some further code clean-ups.
3479 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3480 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3481
3482 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3483
3484 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3485
3486 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3487 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3488 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3489 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3490 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3491 d->port.lock.
3492
3493 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3494 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3495 when handler == SIG_ERR, not when handler != SIG_ERR.
3496
3497 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3498
3499 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3500 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3501 definitions.
3502
3503 accept4 for GNU Hurd.
3504 * include/sys/socket.h (__libc_accept4): New prototype.
3505 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3506 to implement __libc_accept4.
3507 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3508 __libc_accept4.
3509 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3510
3511 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3512 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3513 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3514 signal-defines.sym.
3515
3516 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3517
3518 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
3519
3520 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3521
3522 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3523 assertion on O_CLOEXEC flag.
3524 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3525 * hurd/intern-fd.c: Likewise.
3526 * hurd/port2fd.c: Likewise.
3527
3528 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3529
3530 [BZ #3906]
3531 * bits/in.h (IPV6_PKTINFO): Define new macro.
3532 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3533
3534 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3535
3536 [BZ #13954]
3537 [BZ #13955]
3538 [BZ #13956]
3539 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3540 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3541 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3542 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3543 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3544 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3545 * math/libm-test.inc (logb_test) : Additional logb tests.
3546
3547 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3548 Andreas Jaeger <aj@suse.de>
3549
3550 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3551 * configure: Regenerated.
3552 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3553 * config.make.in (link-obsolete-rpc): New substituted variable.
3554 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3555 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3556 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3557 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3558 so that libc.a contains the symbols.
3559 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3560 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3561 * sunrpc/auth_none.c: Likewise.
3562 * sunrpc/auth_unix.c: Likewise.
3563 * sunrpc/authdes_prot.c: Likewise.
3564 * sunrpc/authuxprot.c: Likewise.
3565 * sunrpc/clnt_gen.c: Likewise.
3566 * sunrpc/clnt_perr.c: Likewise.
3567 * sunrpc/clnt_raw.c: Likewise.
3568 * sunrpc/clnt_simp.c: Likewise.
3569 * sunrpc/clnt_tcp.c: Likewise.
3570 * sunrpc/clnt_udp.c: Likewise.
3571 * sunrpc/clnt_unix.c: Likewise.
3572 * sunrpc/des_crypt.c: Likewise.
3573 * sunrpc/des_soft.c: Likewise.
3574 * sunrpc/get_myaddr.c: Likewise.
3575 * sunrpc/key_call.c: Likewise.
3576 * sunrpc/key_prot.c: Likewise.
3577 * sunrpc/netname.c: Likewise.
3578 * sunrpc/pm_getmaps.c: Likewise.
3579 * sunrpc/pm_getport.c: Likewise.
3580 * sunrpc/pmap_clnt.c: Likewise.
3581 * sunrpc/pmap_prot.c: Likewise.
3582 * sunrpc/pmap_prot2.c: Likewise.
3583 * sunrpc/pmap_rmt.c: Likewise.
3584 * sunrpc/publickey.c: Likewise.
3585 * sunrpc/rpc_cmsg.c: Likewise.
3586 * sunrpc/rpc_common.c: Likewise.
3587 * sunrpc/rpc_dtable.c: Likewise.
3588 * sunrpc/rpc_prot.c: Likewise.
3589 * sunrpc/rpc_thread.c: Likewise.
3590 * sunrpc/rtime.c: Likewise.
3591 * sunrpc/svc.c: Likewise.
3592 * sunrpc/svc_auth.c: Likewise.
3593 * sunrpc/svc_raw.c: Likewise.
3594 * sunrpc/svc_run.c: Likewise.
3595 * sunrpc/svc_tcp.c: Likewise.
3596 * sunrpc/svc_udp.c: Likewise.
3597 * sunrpc/svc_unix.c: Likewise.
3598 * sunrpc/svcauth_des.c: Likewise.
3599 * sunrpc/xcrypt.c: Likewise.
3600 * sunrpc/xdr.c: Likewise.
3601 * sunrpc/xdr_array.c: Likewise.
3602 * sunrpc/xdr_float.c: Likewise.
3603 * sunrpc/xdr_intXX_t.c: Likewise.
3604 * sunrpc/xdr_mem.c: Likewise.
3605 * sunrpc/xdr_rec.c: Likewise.
3606 * sunrpc/xdr_ref.c: Likewise.
3607 * sunrpc/xdr_sizeof.c: Likewise.
3608 * sunrpc/xdr_stdio.c: Likewise.
3609
3610 2012-05-10 Roland McGrath <roland@hack.frob.com>
3611
3612 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3613 change. Update copyright years.
3614
3615 2012-05-10 Joseph Myers <joseph@codesourcery.com>
3616
3617 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3618
3619 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3620 Joseph Myers <joseph@codesourcery.com>
3621 Paul Pluzhnikov <ppluzhnikov@google.com>
3622
3623 [BZ #14012]
3624 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3625 requiring rpcgen.
3626 [cross-compiling] (extra-libs): Likewise.
3627 [cross-compiling] (extra-libs-others): Likewise.
3628 [cross-compiling] (librpcsvc-routines): Likewise.
3629 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3630 [cross-compiling] (omit-deps): Likewise.
3631 (sunrpc-CPPFLAGS): New variable.
3632 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3633 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3634 (cross-rpcgen-objs): New variable.
3635 (extra-objs): Append $(cross-rpcgen-objs).
3636 ($(cross-rpcgen-objs)): New rule.
3637 ($(objpfx)cross-rpcgen): Likewise.
3638 (rpcgen-cmd): Define to use $(built-program-file). Expand
3639 comment.
3640 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3641 ($(objpfx)x%.stmp): Likewise.
3642 * sunrpc/proto.h [IS_IN_build] (_): Define.
3643 [IS_IN_build] (_libc_intl_domainname): Likewise.
3644
3645 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3646
3647 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3648 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3649 and R_X86_64_TPOFF64.
3650
3651 2012-05-10 Joseph Myers <joseph@codesourcery.com>
3652
3653 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3654 sysdeps/unix/sysv/syscalls.list.
3655 (stime): Likewise.
3656 (utime): Likewise.
3657 * sysdeps/unix/sysv/syscalls.list: Remove file.
3658
3659 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3660
3661 [BZ #3440]
3662 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3663 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3664 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3665 (__LC_IDENTIFICATION): Make these macros useful in #if
3666 expressions, as required by C99.
3667
3668 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3669
3670 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3671 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3672 after this.
3673
3674 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3675
3676 * stdlib/longlong.h: Updated from GCC.
3677
3678 2012-05-09 Andreas Jaeger <aj@suse.de>
3679
3680 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3681 default is first entry.
3682 (run_mode): Set type.
3683 (main): Remove informal message about syslog.
3684 (options): Fix typo.
3685
3686 [BZ #14053]
3687 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
3688 to asm.
3689 (lrint): Likewise.
3690 (llrintf): Likewise.
3691 (llrint): Likewise.
3692 (rint): Likewise.
3693 (rintf): Likewise.
3694 (nearbyint): Likewise.
3695 (nearbyintf): Likewise.
3696
3697 2012-05-09 Andreas Jaeger <aj@suse.de>
3698 Pedro Alves <palves@redhat.com>
3699
3700 * nscd/nscd.c (run_mode): Use enum.
3701 (main): Cleanup coding style issue.
3702
3703 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
3704 Andreas Jaeger <aj@suse.de>
3705
3706 * nscd/nscd.c (go_background): Replaced with...
3707 (run_mode): ... this.
3708 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
3709 (options): Add -F --foreground.
3710 (main): Implement it.
3711 (parse_opt): Parse it.
3712
3713 2012-05-09 Andreas Jaeger <aj@suse.de>
3714
3715 [BZ #14083]
3716 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3717 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3718 -Wconversion warning.
3719 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3720 Likewise.
3721
3722 2012-05-09 Joseph Myers <joseph@codesourcery.com>
3723
3724 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3725 == 0.
3726 (LC_ALL): Use macro-int-constant.
3727 (LC_COLLATE): Likewise.
3728 (LC_CTYPE): Likewise.
3729 (LC_MESSAGES): Likewise.
3730 (LC_MONETARY): Likewise.
3731 (LC_NUMERIC): Likewise.
3732 (LC_TIME): Likewise.
3733 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3734 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3735 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3736 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3737 Specify type.
3738 [C99-based standards] (float_t): Expect type.
3739 [C99-based standards] (double_t): Expect type.
3740 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3741 type.
3742 [C99-based standards] (HUGE_VALL): Likewise.
3743 [C99-based standards] (INFINITY): Likewise.
3744 [C99-based standards] (NAN): Likewise.
3745 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3746 [C99-based standards] (FP_NAN): Likewise.
3747 [C99-based standards] (FP_NORMAL): Likewise.
3748 [C99-based standards] (FP_SUBNORMAL): Likewise.
3749 [C99-based standards] (FP_ZERO): Likewise.
3750 [C99-based standards] (FP_FAST_FMA): Use
3751 optional-macro-int-constant. Specify type. Require == 1.
3752 [C99-based standards] (FP_FAST_FMAF): Likewise.
3753 [C99-based standards] (FP_FAST_FMAL): Likewise.
3754 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3755 [C99-based standards] (FP_ILOGBNAN): Likewise.
3756 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3757 Specify type.
3758 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3759 [C99-based standards] (math_errhandling): Specify type.
3760 [ISO99 || ISO11] (signgam): Do not allow.
3761 [non-C99-based standards] (copysignf): Do not allow.
3762 [non-C99-based standards] (exp2f): Likewise.
3763 [non-C99-based standards] (log2f): Likewise.
3764 [non-C99-based standards] (modff): Allow.
3765 [non-C99-based standards] (erff): Do not allow.
3766 [non-C99-based standards] (erfcf): Likewise.
3767 [non-C99-based standards] (gammaf): Likewise.
3768 [non-C99-based standards] (hypotf): Likewise.
3769 [non-C99-based standards] (j0f): Likewise.
3770 [non-C99-based standards] (j1f): Likewise.
3771 [non-C99-based standards] (jnf): Likewise.
3772 [non-C99-based standards] (lgammaf): Likewise.
3773 [non-C99-based standards] (tgammaf): Likewise.
3774 [non-C99-based standards] (y0f): Likewise.
3775 [non-C99-based standards] (y1f): Likewise.
3776 [non-C99-based standards] (ynf): Likewise.
3777 [non-C99-based standards] (isnanf): Likewise.
3778 [non-C99-based standards] (acoshf): Likewise.
3779 [non-C99-based standards] (asinhf): Likewise.
3780 [non-C99-based standards] (atanhf): Likewise.
3781 [non-C99-based standards] (cbrtf): Likewise.
3782 [non-C99-based standards] (expm1f): Likewise.
3783 [non-C99-based standards] (ilogbf): Likewise.
3784 [non-C99-based standards] (log1pf): Likewise.
3785 [non-C99-based standards] (logbf): Likewise.
3786 [non-C99-based standards] (nextafterf): Likewise.
3787 [non-C99-based standards] (remainderf): Likewise.
3788 [non-C99-based standards] (rintf): Likewise.
3789 [non-C99-based standards] (scalbf): Likewise.
3790 [non-C99-based standards] (copysignl): Likewise.
3791 [non-C99-based standards] (exp2l): Likewise.
3792 [non-C99-based standards] (log2l): Likewise.
3793 [non-C99-based standards] (modfl): Allow.
3794 [non-C99-based standards] (erfl): Do not allow.
3795 [non-C99-based standards] (erfcl): Likewise.
3796 [non-C99-based standards] (gammal): Likewise.
3797 [non-C99-based standards] (hypotl): Likewise.
3798 [non-C99-based standards] (j0l): Likewise.
3799 [non-C99-based standards] (j1l): Likewise.
3800 [non-C99-based standards] (jnl): Likewise.
3801 [non-C99-based standards] (lgammal): Likewise.
3802 [non-C99-based standards] (tgammal): Likewise.
3803 [non-C99-based standards] (y0l): Likewise.
3804 [non-C99-based standards] (y1l): Likewise.
3805 [non-C99-based standards] (ynl): Likewise.
3806 [non-C99-based standards] (isnanl): Likewise.
3807 [non-C99-based standards] (acoshl): Likewise.
3808 [non-C99-based standards] (asinhl): Likewise.
3809 [non-C99-based standards] (atanhl): Likewise.
3810 [non-C99-based standards] (cbrtl): Likewise.
3811 [non-C99-based standards] (expm1l): Likewise.
3812 [non-C99-based standards] (ilogbl): Likewise.
3813 [non-C99-based standards] (log1pl): Likewise.
3814 [non-C99-based standards] (logbl): Likewise.
3815 [non-C99-based standards] (nextafterl): Likewise.
3816 [non-C99-based standards] (remainderl): Likewise.
3817 [non-C99-based standards] (rintl): Likewise.
3818 [non-C99-based standards] (scalbl): Likewise.
3819 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3820 [non-C99-based standards] (FP_*): Do not allow.
3821 [C99-based standards] (FP_*): Change to
3822 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3823 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3824 allow.
3825 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3826 (SIG_ERR): Likewise.
3827 [X/Open-based standards] (SIG_HOLD): Likewise.
3828 (SIG_IGN): Likewise.
3829 (SIGABRT): Use macro-int-constant. Specify type. Require
3830 positive value.
3831 (SIGFPE): Likewise.
3832 (SIGILL): Likewise.
3833 (SIGINT): Likewise.
3834 (SIGSEGV): Likewise.
3835 (SIGTER): Likewise.
3836 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3837 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3838 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3839 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3840 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3841 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3842 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3843 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3844 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3845 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3846 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3847 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3848 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3849 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3850 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3851 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3852 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3853 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3854 [X/Open-based standards] (SIGTRAP): Likewise.
3855 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3856 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3857 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3858 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3859 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3860 allow.
3861
3862 2012-05-08 Ian Wienand <ianw@vmware.com>
3863
3864 [BZ #14080]
3865 * time/tzset.c (__tzset_parse_tz): Update default rules for
3866 daylight time changes in the Energy Policy Act of 2005.
3867
3868 2012-05-09 Andreas Jaeger <aj@suse.de>
3869
3870 [BZ #13983]
3871 * elf/ldconfig.c (parse_conf): Change string to make clear that
3872 ldconfig only issued a warning if ld.so.conf does not exist.
3873
3874 2012-05-08 David S. Miller <davem@davemloft.net>
3875
3876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3877 movxtod instead of popping the value on the stack.
3878
3879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3880
3881 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3882
3883 * config.h.in: Add HAVE_ARM_PCS_VFP.
3884
3885 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
3886
3887 [BZ #13979]
3888 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3889 checking but the checks are disabled for any reason.
3890
3891 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3892
3893 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3894 and ELF64_R_TYPE with ELFW(R_TYPE).
3895
3896 2012-05-08 Joseph Myers <joseph@codesourcery.com>
3897
3898 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3899 (ulimit): Likewise.
3900
3901 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3902 (settimeofday): Likewise.
3903
3904 2012-05-08 Mike Frysinger <vapier@gentoo.org>
3905
3906 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3907 a struct th_u2 inside the union, and move tu_block/tu_code into
3908 a new th_u3 union of tu_block/tu_code inside of that. Move
3909 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3910 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3911 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3912 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3913 (th_stuff): Change to th_u1.tu_stuff.
3914 (th_data): Define.
3915 (th_msg): Change to th_u1.th_u2.tu_data.
3916
3917 2012-05-07 David S. Miller <davem@davemloft.net>
3918
3919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3920
3921 [BZ #14074]
3922 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3923 (SETUP_PIC_REG): Use it.
3924 (SETUP_PIC_REG_LEAF): Use it.
3925
3926 2012-05-07 Joseph Myers <joseph@codesourcery.com>
3927
3928 [BZ #13885]
3929 [BZ #13923]
3930 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3931 USE_AS_EXPM1L.
3932 (EXPL_FINITE): Likewise.
3933 (FLDLOG): Likewise.
3934 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3935 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3936 e_expl.S.
3937 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3938 USE_AS_EXPM1L.
3939 (EXPL_FINITE): Likewise.
3940 (FLDLOG): Likewise.
3941 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3942 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3943 e_expl.S.
3944 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3945 test of -max_value argument for long double.
3946 * sysdeps/i386/fpu/libm-test-ulps: Update.
3947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3948
3949 2012-05-06 David S. Miller <davem@davemloft.net>
3950
3951 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3952 quad soft-float symbols whose references which are compiler
3953 generated.
3954 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3955
3956 2012-05-06 Joseph Myers <joseph@codesourcery.com>
3957
3958 [BZ #13884]
3959 [BZ #13914]
3960 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3961 USE_AS_EXP10L.
3962 (EXPL_FINITE): Likewise.
3963 (FLDLOG): Likewise.
3964 (c0): Likewise.
3965 (c1): Likewise.
3966 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3967 Adjust comments for base varying.
3968 (__expl_finite): Change alias to EXPL_FINITE.
3969 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3970 e_expl.S.
3971 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3972 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3973 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3974 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3975 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3976 USE_AS_EXP10L.
3977 (EXPL_FINITE): Likewise.
3978 (FLDLOG): Likewise.
3979 (c0): Likewise.
3980 (c1): Likewise.
3981 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3982 Adjust comments for base varying.
3983 (__expl_finite): Change alias to EXPL_FINITE.
3984 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3985 tests for bugs.
3986 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3987
3988 [BZ #14064]
3989 * math/libm-test.inc (check_float_internal): Correct ulp
3990 calculation for subnormal expected results.
3991
3992 2012-05-06 Andreas Jaeger <aj@suse.de>
3993
3994 * Makeconfig (+math-flags): New, set to -frounding-math.
3995 (+cflags): Add +math-flags so that all of glibc gets compiled with
3996 it.
3997
3998 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3999
4000 2012-05-05 Joseph Myers <joseph@codesourcery.com>
4001
4002 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4003 Disable one test.
4004
4005 [BZ #13787]
4006 [BZ #13922]
4007 [BZ #14036]
4008 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4009 (__ieee754_expl): Allow for and saturate large arguments.
4010 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4011 (u_threshold): Likewise.
4012 (__exp): Call __ieee754_exp before checking for overflow and
4013 underflow.
4014 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4015 (u_threshold): Likewise.
4016 (__expf): Call __ieee754_expf before checking for overflow and
4017 underflow.
4018 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4019 (u_threshold): Likewise.
4020 (__expl): Call __ieee754_expl before checking for overflow and
4021 underflow.
4022 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4023 (__ieee754_expl): Allow for and saturate large arguments.
4024 * math/libm-test.inc (exp_test): Add another test. Do not allow
4025 missing overflow exception on overflow.
4026 (expm1_test): Do not allow missing overflow exception on overflow.
4027
4028 * sysdeps/i386/fpu/e_expl.c: Move to ...
4029 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
4030 rather than using inline asm.
4031 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4032 * sysdeps/x86_64/fpu/e_expl.S: Copy from
4033 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4034
4035 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4036 (nice): Likewise.
4037 (poll): Likewise.
4038 (signal): Likewise.
4039 (time): Likewise.
4040 (times): Likewise.
4041
4042 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4043
4044 * sysdeps/unix/syscalls.list (adjtime): Add entry from
4045 sysdeps/unix/common/syscalls.list.
4046 (fchmod): Likewise.
4047 (fchown): Likewise.
4048 (ftruncate): Likewise.
4049 (getrusage): Likewise.
4050 (gettimeofday): Likewise.
4051 (setpgid): Likewise.
4052 (setregid): Likewise.
4053 (setreuid): Likewise.
4054 (sigaction): Likewise.
4055 (truncate): Likewise.
4056 (vhangup): Likewise.
4057 * sysdeps/unix/common/syscalls.list: Remove file.
4058 * sysdeps/unix/bsd/Implies: Don't include unix/common.
4059 * sysdeps/unix/sysv/linux/Implies: Likewise.
4060
4061 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
4062
4063 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4064 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4065 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4066 Moved to ...
4067 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4068 Here.
4069 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4070 to ...
4071 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4072 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4073 to ...
4074 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4075 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4076 to ...
4077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4078 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4079 to ...
4080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4081 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4082 to ...
4083 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4084 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4085 to ...
4086 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4087 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4088 to ...
4089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4090 Here.
4091 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4092 to ...
4093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4094 Here.
4095 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4096 to ...
4097 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4098 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4099 Moved to ...
4100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4101 Here.
4102 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4103 to ...
4104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4105
4106 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4107
4108 * sysdeps/unix/common/bits/dirent.h: Remove file.
4109 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4110
4111 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4112 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4113 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4114 * sysdeps/unix/bsd/isatty.c: Likewise.
4115 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4116 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4117 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4118
4119 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4120
4121 [BZ #13563]
4122 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4123 long double comparison inaccuracies.
4124 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4126
4127 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4128
4129 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4130 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4131
4132 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4133
4134 [BZ #14049]
4135 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4136 nonzero digits before rounding a hex value.
4137 * stdlib/tst-strtod.c (tests): Add another test.
4138
4139 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4140
4141 * sysdeps/s390/fpu/libm-test-ulps: Update.
4142
4143 2012-05-03 Andreas Jaeger <aj@suse.de>
4144
4145 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4146 does not get optimized out.
4147 (malloc_opt_barrier): New.
4148
4149 2012-05-03 Andreas Jaeger <aj@suse.de>
4150 Roland McGrath <roland@hack.frob.com>
4151
4152 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
4153 intermediate file deletion.
4154 (generated): Add .symlist files.
4155
4156 2012-05-03 Joseph Myers <joseph@codesourcery.com>
4157
4158 [BZ #13775]
4159 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4160 Redirect under this condition.
4161 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4162 [__USE_GNU] (__dprintf_chk): Not under this condition.
4163 [__USE_GNU] (__vdprintf_chk): Likewise.
4164 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4165 under this condition.
4166 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4167 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4168 [__USE_XOPEN2K8] (vdprintf): Likewise.
4169 [__USE_GNU] (__dprintf_chk): Not under this condition.
4170 [__USE_GNU] (__vdprintf_chk): Likewise.
4171 [__USE_GNU] (dprintf): Likewise.
4172 [__USE_GNU] (vdprintf): Likewise.
4173
4174 2012-05-03 Roland McGrath <roland@hack.frob.com>
4175
4176 * elf/Makefile (common-generated): Set this instead of generated for
4177 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
4178 $(all-built-dso)-derived lists.
4179
4180 2012-05-03 Andreas Jaeger <aj@suse.de>
4181
4182 * sysdeps/i386/fpu/libm-test-ulps: Update.
4183
4184 * FAQ: Removed.
4185 * FAQ.in: Likewise.
4186 * scripts/gen-FAQ.pl: Likewise.
4187 * manual/install.texi (Installation): Point to online location of
4188 FAQ.
4189 * Makefile (files-for-dist): Remove FAQ.
4190 (FAQ): Remove.
4191
4192 2012-05-02 Allan McRae <allan@archlinux.org>
4193
4194 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4195 (LDFLAGS-reldepmod5.so): Likewise.
4196 (LDFLAGS-reldep6mod1.so): Likewise.
4197 (LDFLAGS-reldep6mod4.so): Likewise.
4198 (LDFLAGS-reldep8mod3.so): Likewise.
4199 (LDFLAGS-unload4mod1.so): Likewise.
4200 (LDFLAGS-unload4mod2.so): Likewise.
4201 (LDFLAGS-tst-initorder): Likewise.
4202 (LDFLAGS-tst-initordera2.so): Likewise.
4203 (LDFLAGS-tst-initordera3.so): Likewise.
4204 (LDFLAGS-tst-initordera4.so): Likewise.
4205 (LDFLAGS-tst-initorderb2.so): Likewise.
4206 (LDFLAGS-noload): Likewise.
4207 (LDFLAGS-next): Likewise.
4208 (LDFLAGS-order2mod1.so): Likewise.
4209 (LDFLAGS-order2mod2.so): Likewise.
4210 (LDFLAGS-tst-initorder2): Likewise.
4211 (LDFLAGS-tst-initorder2a.so): Likewise.
4212 (LDFLAGS-tst-initorder2b.so): Likewise.
4213 (LDFLAGS-tst-initorder2c.so): Likewise.
4214 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4215
4216 2012-05-02 David S. Miller <davem@davemloft.net>
4217
4218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4219
4220 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4221
4222 [BZ #14055]
4223 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4224
4225 2012-05-02 Andreas Jaeger <aj@suse.de>
4226
4227 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4228 since we manipulate rounding mode.
4229 (CPPFLAGS-test-idouble.c): Likewise.
4230 (CPPFLAGS-test-ifloat.c): Likewise.
4231 (CFLAGS-test-ldouble.c): Likewise.
4232 (CFLAGS-test-double.c): Likewise.
4233 (CFLAGS-test-float.c): Likewise.
4234 (CFLAGS-test-misc.c): Likewise.
4235 (CFLAGS-test-test-fenv.c): Likewise.
4236
4237 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4238
4239 [BZ #2550]
4240 [BZ #2570]
4241 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4242 comparisons to determine direction to adjust input.
4243
4244 2012-05-01 Roland McGrath <roland@hack.frob.com>
4245
4246 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4247 output to the target.
4248
4249 * scripts/localplt.awk: New file.
4250 * elf/Makefile ($(objpfx)check-localplt): Target removed.
4251 (check-localplt-CFLAGS): Variable removed.
4252 ($(all-built-dso:=.jmprel)): New static pattern rule.
4253 (generated): Add those targets.
4254 (localplt-built-dso): New variable.
4255 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4256
4257 * elf/check-localplt.c: File removed.
4258
4259 * scripts/check-execstack.awk: New file.
4260 * elf/Makefile ($(objpfx)check-execstack): Target removed.
4261 (check-execstack-CFLAGS): Variable removed.
4262 ($(objpfx)check-execstack.h): Target removed.
4263 ($(objpfx)execstack-default): New target.
4264 (generated): Add that instead of check-execstack.h.
4265 ($(all-built-dso:=.phdr)): New static pattern rule.
4266 (generated): Add those targets.
4267 * elf/check-execstack.c: File removed.
4268
4269 * scripts/check-textrel.awk: New file.
4270 * elf/Makefile ($(objpfx)check-textrel): Target removed.
4271 (check-textrel-CFLAGS): Variable removed.
4272 (all-built-dso): Use := to define.o
4273 ($(all-built-dso:=.dyn)): New static pattern rule.
4274 (generated): Add those targets.
4275 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4276 * config.make.in (READELF): New substituted variable.
4277 * elf/check-textrel.c: File removed.
4278
4279 2012-05-01 Joseph Myers <joseph@codesourcery.com>
4280
4281 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4282 allow.
4283 * conform/data/ctype.h-data [C99-based standards] (isblank):
4284 Expect function.
4285 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4286 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4287 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4288 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4289 Specify type. Require positive value.
4290 (EILSEQ): Likewise.
4291 (ERANGE): Likewise.
4292 [ISO || POSIX] (EILSEQ): Do not expect.
4293 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4294 Specify type. Require positive value.
4295 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4296 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4297 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4298 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4299 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4300 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4301 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4302 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4303 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4304 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4305 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4306 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4307 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4308 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4309 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4310 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4311 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4312 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4313 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4314 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4315 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4316 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4317 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4318 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4319 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4320 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4321 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4322 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4323 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4324 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4325 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4326 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4327 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4328 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4329 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4330 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4331 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4332 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4333 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4334 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4335 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4336 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4337 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4338 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4339 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4340 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4341 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4342 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4343 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4344 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4345 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4346 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4347 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4348 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4349 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4350 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4351 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4352 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4353 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4354 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4355 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4356 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4357 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4358 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4359 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4360 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4361 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4362 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4363 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4364 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4365 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4366 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4367 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4368 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4369 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4370 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4371 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4372 Require >= 2.
4373 (FLT_ROUNDS): Expect as macro, not constant.
4374 (FLT_MANT_DIG): Use macro-int-constant.
4375 (DBL_MANT_DIG): Likewise.
4376 (LDBL_MANT_DIG): Likewise.
4377 (FLT_DIG): Likewise.
4378 (DBL_DIG): Likewise.
4379 (LDBL_DIG): Likewise.
4380 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
4381 (DBL_MIN_EXP): Likewise.
4382 (LDBL_MIN_EXP): Likewise.
4383 (FLT_MAX_EXP): Use macro-int-constant.
4384 (DBL_MAX_EXP): Likewise.
4385 (LDBL_MAX_EXP): Likewise.
4386 (FLT_MAX_10_EXP): Likewise.
4387 (DBL_MAX_10_EXP): Likewise.
4388 (LDBL_MAX_10_EXP): Likewise.
4389 (FLT_MAX): Use macro-constant.
4390 (DBL_MAX): Likewise.
4391 (LDBL_MAX): Likewise.
4392 (FLT_EPSILON): Use macro-constant. Give upper bound.
4393 (DBL_EPSILON): Likewise.
4394 (LDBL_EPSILON): Likewise.
4395 (FLT_MIN): Likewise.
4396 (DBL_MIN): Likewise.
4397 (LDBL_MIN): Likewise.
4398 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
4399 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
4400 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
4401 [ISO11] (FLT_HAS_SUBNORM): Likewise.
4402 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
4403 [ISO11] (DBL_DECIMAL_DIG): Likewise.
4404 [ISO11] (FLT_DECIMAL_DIG): Likewise.
4405 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4406 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4407 [ISO11] (FLT_TRUE_MIN): Likewise.
4408 [ISO11] (LDBL_TRUE_MIN): Likewise.
4409 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4410 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4411 (SCHAR_MIN): Use macro-int-constant. Specify type.
4412 (SCHAR_MAX): Likewise.
4413 (UCHAR_MAX): Likewise.
4414 (CHAR_MIN): Likewise.
4415 (CHAR_MAX): Likewise.
4416 (MB_LEN_MAX): Use macro-int-constant.
4417 (SHRT_MIN): Use macro-int-constant. Specify type.
4418 (SHRT_MAX): Likewise.
4419 (USHRT_MAX): Likewise.
4420 (INT_MAX): Likewise.
4421 (INT_MIN): Use macro-int-constant. Specify type. Make upper
4422 bound negative.
4423 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
4424 bound with "U".
4425 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4426 bound with "L".
4427 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
4428 bound negative. Suffix upper bound with "L".
4429 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4430 bound with "UL".
4431 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4432 Specify type.
4433 [C99-based standards] (LLONG_MAX): Likewise.
4434 [C99-based standards] (ULLONG_MAX): Likewise.
4435 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
4436 == 0.
4437 [ISO11] (max_align_t): Require type.
4438 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4439
4440 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4441 from $CFLAGS, without defining away __attribute__ calls.
4442 (checknamespace): Use $CFLAGS_namespace.
4443
4444 * conform/conformtest.pl (@keywords): Only include C99 keywords
4445 for standards based on C99 or C11.
4446
4447 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4448 Disable tests.
4449 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4450 UNIX98]: Likewise.
4451
4452 * conform/conformtest.pl: Handle "macro-int-constant" and test for
4453 usability of symbols in #if.
4454
4455 * conform/conformtest.pl: If macro or constant types start
4456 "promoted:", expect the symbol to be of the following type
4457 promoted by the integer promotions.
4458
4459 * conform/conformtest.pl: Parse all "constant" and "macro" lines
4460 in one place. Also handle "macro-constant".
4461
4462 * conform/conformtest.pl: Only accept expected macro values with
4463 "==". Parse all "macro" lines in one place.
4464 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4465
4466 * conform/conformtest.pl: Handle braced types on "constant" lines
4467 instead of handling "typed-constant".
4468 * conform/data/signal.h-data: Use "constant" instead of
4469 "typed-constant".
4470
4471 * conform/conformtest.pl: Handle "optional-" at start of lines in
4472 one place rather than duplicating several cases. Handle each
4473 format of "macro" line with initial "optional-".
4474
4475 * conform/conformtest.pl: Only accept expected constant or
4476 optional-constant values with "==". Parse all "constant" lines in
4477 one place. Parse all "optional-constant" lines in one place.
4478 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4479 * conform/data/fmtmsg.h-data: Likewise.
4480 * conform/data/netinet/in.h-data: Likewise.
4481 * conform/data/tar.h-data: Likewise.
4482 * conform/data/limits.h-data: Use "==" form on "constant" and
4483 "optional-constant" lines.
4484
4485 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4486 Use -std=c99 for XOPEN2K.
4487 (@knownproblems): Remove.
4488 (newtoken): Don't check %isknown.
4489
4490 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4491 Do not expect macro.
4492 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4493 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4494 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4495 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4496 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4497 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4498 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4499 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4500 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4501 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4502 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4503 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4504 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4505 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4506 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4507 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4508 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4509 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4510 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4511 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4512 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4513 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4514 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4515 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4516 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4517 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4518 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4519 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4520 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4521 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4522 [XPG3] (acosh): Likewise.
4523 [XPG3] (asinh): Likewise.
4524 [XPG3] (atanh): Likewise.
4525 [XPG3] (cbrt): Likewise.
4526 [XPG3] (expm1): Likewise.
4527 [XPG3] (ilogb): Likewise.
4528 [XPG3] (log1p): Likewise.
4529 [XPG3] (logb): Likewise.
4530 [XPG3] (nextafter): Likewise.
4531 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4532 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4533 [XPG3] (remainder): Likewise.
4534 [XPG3] (rint): Likewise.
4535 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4536 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4537 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4538 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4539 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4540 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4541 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4542 [UNIX98 || XOPEN2K] (scalb): Expect.
4543 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4544 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4545 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4546 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4547 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4548 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4549 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4550 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4551 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4552 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4553 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4554 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4555 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4556 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4557 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4558 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4559 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4560 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4561 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4562 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4563 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4564 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4565 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4566 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4567 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4568 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4569 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4570 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4571 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4572 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4573 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4574 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4575 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4576 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4577 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4578 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4579 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4580 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4581 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4582 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4583 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4584 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4585 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4586 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4587 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4588 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4589 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4590 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4591 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4592 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4593 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4594 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4595 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4596 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4597 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4598 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4599 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4600 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4601 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4602 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4603 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4604 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4605 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4606 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4607 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4608 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4609 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4610 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4611 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4612 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4613 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4614 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4615 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4616 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4617 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4618 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4619 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4620 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4621 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4622 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4623 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4624 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4625 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4626 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4627 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4628 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4629 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4630 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4631 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4632 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4633 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4634 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4635 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4636 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4637 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4638 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4639 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4640 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4641 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4642 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4643 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4644 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4645 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4646 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4647 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4648 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4649 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4650 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4651 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4652 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4653 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4654 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4655 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4656 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4657 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4658 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4659 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4660 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4661 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4662 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4663 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4664 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4665 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4666 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4667 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4668 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4669 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4670 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4671 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4672 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4673 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4674 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4675 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4676 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4677 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4678 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4679 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4680
4681 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4682 _XOPEN_SOURCE_EXTENDED for XPG4.
4683
4684 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4685
4686 * Makeconfig (localtime): Remove variable.
4687 (inst_localtime-file): Likewise.
4688
4689 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4690
4691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4692 Update.
4693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4694 Update.
4695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4696 Update.
4697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4698 Update.
4699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4700 Update.
4701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4702 Update.
4703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4704 Update.
4705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4706 Update.
4707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4708 Update.
4709
4710 2012-05-01 Joseph Myers <joseph@codesourcery.com>
4711
4712 [BZ #2550]
4713 [BZ #2570]
4714 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4715 comparisons to determine direction to adjust input.
4716 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4717 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4718 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4719 Likewise.
4720 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4721 Likewise.
4722 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4723 Likewise.
4724 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4725 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4726 Likewise.
4727 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4728 Likewise.
4729 * math/libm-test.inc (nexttoward_test): Add more tests.
4730
4731 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4732
4733 [BZ #14040]
4734 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4735 in version GLIBC_2.1, not GLIBC_2.0.
4736 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4737 Likewise.
4738
4739 2012-04-30 Joseph Myers <joseph@codesourcery.com>
4740
4741 [BZ #13942]
4742 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4743 (1 - x) * (1 + x).
4744 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4745 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4746 * math/libm-test.inc (acos_test): Add more tests.
4747 (asin_test): Likewise.
4748 * sysdeps/i386/fpu/libm-test-ulps: Update.
4749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4750
4751 [BZ #14034]
4752 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4753 of square root.
4754 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4755 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4756 * math/libm-test.inc (acos_test_tonearest): New function.
4757 (acos_test_towardzero): Likewise.
4758 (acos_test_downward): Likewise.
4759 (acos_test_upward): Likewise.
4760 (asin_test_tonearest): Likewise.
4761 (asin_test_towardzero): Likewise.
4762 (asin_test_downward): Likewise.
4763 (asin_test_upward): Likewise.
4764 (main): Call the new functions.
4765 * sysdeps/i386/fpu/libm-test-ulps: Update.
4766 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4767
4768 [BZ #13884]
4769 [BZ #13924]
4770 * math/e_exp10.c: Include <float.h>.
4771 (__ieee754_exp10): Handle underflow here rather than multiplying
4772 large negative argument by M_LN10.
4773 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4774 of __ieee754_expf.
4775 * math/e_exp10l.c: Include <float.h>.
4776 (__ieee754_exp10l): Handle underflow here rather than multiplying
4777 large negative argument by M_LN10l.
4778 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4779 spurious overflow exception on underflow.
4780
4781 2012-04-29 Marek Polacek <polacek@redhat.com>
4782
4783 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4784 (__fortify_function): New macro.
4785 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4786 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4787 __extern_always_inline.
4788 * libio/bits/stdio2.h: Likewise.
4789 * libio/bits/stdio.h: Likewise.
4790 * string/string.h: Likewise.
4791 * string/bits/string3.h: Likewise.
4792 * include/stdio.h: Likewise.
4793 * stdlib/bits/stdlib.h: Likewise.
4794 * stdlib/stdlib.h: Likewise.
4795 * rt/bits/mqueue2.h: Likewise.
4796 * rt/mqueue.h: Likewise.
4797 * posix/bits/unistd.h: Likewise.
4798 * posix/unistd.h: Likewise.
4799 * io/bits/poll2.h: Likewise.
4800 * io/bits/fcntl2.h: Likewise.
4801 * io/fcntl.h: Likewise.
4802 * io/sys/poll.h: Likewise.
4803 * misc/bits/syslog.h: Likewise.
4804 * misc/bits/syslog-ldbl.h: Likewise.
4805 * misc/sys/syslog.h: Likewise.
4806 * socket/bits/socket2.h: Likewise.
4807 * socket/sys/socket.h: Likewise.
4808 * debug/tst-chk1.c: Likewise.
4809 * wcsmbs/bits/wchar2.h: Likewise.
4810 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4811 * wcsmbs/wchar.h: Likewise.
4812
4813 2012-04-29 Andreas Jaeger <aj@suse.de>
4814
4815 * Makerules (tests): Remove enable-check-abi protection.
4816 (check-abi-warn): Remove.
4817 (check-abi-%): Remove check-abi-warn usage.
4818
4819 * configure.in: Remove check-abi configure option.
4820 * configure: Regenerated.
4821 * config.make.in (enable-check-abi): Remove.
4822
4823 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4824
4825 [BZ #14033]
4826 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4827 double functions to double *_finite functions.
4828
4829 [BZ #13941]
4830 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4831 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4832 LDBL_MIN_EXP.
4833 * stdio-common/Makefile (tests): Add tst-sprintf3.
4834 * stdio-common/tst-sprintf3.c: New file.
4835
4836 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4837 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4838
4839 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4840
4841 * conform/conformtest.pl: Remove duplicate typed-constant
4842 handling.
4843
4844 2012-04-28 David S. Miller <davem@davemloft.net>
4845
4846 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4847 (check-abi-%): Remove AWK script prerequisite and explicit
4848 abilist directory.
4849 (check-abi): Rewrite to just diff the symlist with the abilist.
4850 (config-tls, config-abi-config): Delete, no longer used.
4851 (update-abi-%): Remove AWK script and explicit abilist directory.
4852 (update-abi): Rewrite to simply compare and conditionally copy the
4853 symlist and the sysdep abilist file. Remove update-abi-config
4854 checks.
4855 * abilist/ld.abilist: Remove.
4856 * abilist/libBrokenLocale.abilist: Remove.
4857 * abilist/libanl.abilist: Remove.
4858 * abilist/libcrypt.abilist: Remove.
4859 * abilist/libdl.abilist: Remove.
4860 * abilist/librt.abilist: Remove.
4861 * abilist/libthread_db.abilist: Remove.
4862 * abilist/libutil.abilist: Remove.
4863 * scripts/extract-abilist.awk: Remove.
4864 * scripts/merge-abilist.awk: Remove.
4865 * sysdeps/generic/libcidn.abilist: New file.
4866 * sysdeps/generic/libnss_compat.abilist: New file.
4867 * sysdeps/generic/libnss_db.abilist: New file.
4868 * sysdeps/generic/libnss_dns.abilist: New file.
4869 * sysdeps/generic/libnss_files.abilist: New file.
4870 * sysdeps/generic/libnss_hesiod.abilist: New file.
4871 * sysdeps/generic/libnss_nis.abilist: New file.
4872 * sysdeps/generic/libnss_nisplus.abilist: New file.
4873 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4874 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4875 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4876 file.
4877 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4878 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4879 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4880 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4881 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4882 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4883 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4884 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4885 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4886 file.
4887 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4888 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4889 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4890 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4891 file.
4892 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4893 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4894 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4895 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4896 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4897 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4898 file.
4899 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4900 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4901 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4902 file.
4903 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4904 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4905 New file.
4906 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4907 New file.
4908 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4909 New file.
4910 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4911 New file.
4912 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4913 New file.
4914 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4915 New file.
4916 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4917 New file.
4918 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4919 New file.
4920 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4921 New file.
4922 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4923 New file.
4924 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4925 New file.
4926 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4927 New file.
4928 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4929 New file.
4930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4931 file.
4932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4933 New file.
4934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4935 New file.
4936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4937 file.
4938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4939 New file.
4940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4941 New file.
4942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4943 file.
4944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4945 New file.
4946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4947 New file.
4948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4949 New file.
4950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4951 New file.
4952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4953 New file.
4954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4955 New file.
4956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4958 file.
4959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4960 New file.
4961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4962 file.
4963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4964 file.
4965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4966 file.
4967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4968 file.
4969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4970 file.
4971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4972 New file.
4973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4974 file.
4975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4976 file.
4977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4978 New file.
4979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4980 file.
4981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4983 file.
4984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4985 New file.
4986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4987 file.
4988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4989 file.
4990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4991 file.
4992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4993 file.
4994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4995 file.
4996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4997 New file.
4998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4999 file.
5000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5001 file.
5002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5003 New file.
5004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5005 file.
5006 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5007 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5008 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5009 file.
5010 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5011 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5012 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5013 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5014 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5015 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5016 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5017 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5018 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5019 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5022 file.
5023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5024 New file.
5025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5026 file.
5027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5028 file.
5029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5030 file.
5031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5032 file.
5033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5034 file.
5035 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5036 New file.
5037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5038 New file.
5039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5040 file.
5041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5042 New file.
5043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5044 file.
5045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5047 file.
5048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5049 New file.
5050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5051 file.
5052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5053 file.
5054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5055 file.
5056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5057 file.
5058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5059 file.
5060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5061 New file.
5062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5063 New file.
5064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5065 file.
5066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5067 New file.
5068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5069 file.
5070
5071 2012-04-28 Joseph Myers <joseph@codesourcery.com>
5072
5073 * conform/conformtest.pl: Fix typo in handling typed-constant from
5074 allow-header.
5075
5076 2012-04-27 Joseph Myers <joseph@codesourcery.com>
5077
5078 * README: Cut down references to pre-2.6 Linux kernels and
5079 Linuxthreads. Update lists of configurations in libc and ports
5080 and sort alphabetically. Say "or newer" with Linux kernel version
5081 requirements.
5082
5083 * config.h.in [IS_IN_build]: Allow compiling without optimization.
5084
5085 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5086
5087 [BZ #887]
5088 * math/libm-test.inc (logb_test_downward): New test to expose
5089 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5090 rounding mode.
5091
5092 2012-04-27 Joseph Myers <joseph@codesourcery.com>
5093
5094 [BZ #14027]
5095 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5096 to be done.
5097 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5098 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5099
5100 2012-04-26 Joseph Myers <joseph@codesourcery.com>
5101
5102 * sysdeps/unix/i386/brk.S: Remove file.
5103 * sysdeps/unix/i386/dl-brk.S: Likewise.
5104 * sysdeps/unix/i386/pipe.S: Likewise.
5105 * sysdeps/unix/i386/sigreturn.S: Likewise.
5106 * sysdeps/unix/i386/syscall.S: Likewise.
5107 * sysdeps/unix/i386/vfork.S: Likewise.
5108 * sysdeps/unix/i386/wait.S: Likewise.
5109
5110 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5111 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5112
5113 * configure.in (arm*-none*): Do not allow without
5114 --enable-hacker-mode.
5115 (netbsd*): Remove case setting base_os.
5116 (386bsd*): Likewise.
5117 (freebsd*): Likewise.
5118 (bsdi*): Likewise.
5119 (osf*): Likewise.
5120 (sunos*): Likewise.
5121 (ultrix*): Likewise.
5122 (newsos*): Likewise.
5123 (dynix*): Likewise.
5124 (*bsd*): Likewise.
5125 (sysv*): Likewise.
5126 (isc*): Likewise.
5127 (esix*): Likewise.
5128 (sco*): Likewise.
5129 (minix*): Likewise.
5130 (irix4*): Likewise.
5131 (irix6*): Likewise.
5132 (solaris[2-9]*): Likewise.
5133 (none): Likewise.
5134 * configure: Regenerated.
5135
5136 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5137
5138 [BZ #11521]
5139 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5140 overflow or cancellation in calculating denominator.
5141 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5142 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5143 down expression to avoid unexpected rounding in newer GCCs.
5144 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5145
5146 2012-04-26 David S. Miller <davem@davemloft.net>
5147
5148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5149 long-double compat symbols.
5150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5163
5164 2012-04-25 David S. Miller <davem@davemloft.net>
5165
5166 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5167 HWCAP_* values only after the memory barriers have been defined.
5168 (atomic_full_barrier): Define.
5169 (atomic_read_barrier): Define.
5170 (atomic_write_barrier): Define.
5171
5172 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5173
5174 * shlib-versions: Add libgcc_s version information.
5175 * sysdeps/generic/libgcc_s.h: Remove.
5176 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5177 libgcc_s.h.
5178 * sysdeps/gnu/unwind-resume.c: Likewise.
5179 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5180
5181 2012-04-25 David S. Miller <davem@davemloft.net>
5182
5183 * sysdeps/unix/sparc/brk.S: Delete.
5184 * sysdeps/unix/sparc/dl-brk.S: Delete.
5185 * sysdeps/unix/sparc/pipe.S: Delete.
5186 * sysdeps/unix/sparc/sysdep.S: Delete.
5187 * sysdeps/unix/sparc/sysdep.h: Delete.
5188 * sysdeps/unix/sparc/vfork.S: Delete.
5189 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5190 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5191 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5192 ret_ERRVAL, r0, r1, MOVE): Define.
5193 (JUMPTARGET): Remove.
5194 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5195 sysdeps/unix/sparc/sysdep.h
5196 (ENTRY, END): Remove.
5197 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5198
5199 2012-04-25 Joseph Myers <joseph@codesourcery.com>
5200
5201 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5202 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5203 -DIS_IN_build.
5204
5205 * timezone/README: Update upstream location and email address for
5206 tzcode and tzdata.
5207 * timezone/zdump.c: Update from tzcode 2012b.
5208 * timezone/zic.c: Likewise.
5209
5210 * configure.in (libc_cv_as_needed): Remove test.
5211 * configure: Regenerated.
5212 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5213 conditional definition.
5214 [$(have-as-needed) != yes] (no-as-needed): Likewise.
5215 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5216 * config.make.in (have-as-needed): Remove variable.
5217
5218 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5219 Paul Pluzhnikov <ppluzhnikov@google.com>
5220
5221 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5222 strings correctly.
5223
5224 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5225
5226 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5227 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5228 * sysdeps/sh/strlen.S: Likewise.
5229
5230 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5231
5232 * sysdeps/unix/fork.S: Remove file.
5233 * sysdeps/unix/i386/fork.S: Likewise.
5234 * sysdeps/unix/sparc/fork.S: Likewise.
5235
5236 * sysdeps/unix/system.c: Remove file.
5237 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5238
5239 * sysdeps/unix/getegid.S: Remove file.
5240 * sysdeps/unix/geteuid.S: Likewise.
5241
5242 2012-04-24 Roland McGrath <roland@hack.frob.com>
5243
5244 * scripts/check-localplt.awk: New file.
5245 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5246 of diff.
5247 * scripts/data/localplt-generic.data: Add a comment.
5248
5249 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5250 NODE when __dir_mkfile failed.
5251 * sysdeps/mach/hurd/symlinkat.c: Likewise.
5252 Reported by Ludovic Courtès <ludo@gnu.org>.
5253
5254 2012-04-24 Andreas Jaeger <aj@suse.de>
5255
5256 * Makerules (common-clean): Also remove gen-as-const-headers
5257 files.
5258
5259 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5260
5261 * Makerules (native-compile): Do not change working directory for
5262 build. Use $(OUTPUT_OPTION) in command.
5263 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5264
5265 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5266
5267 [BZ #13886]
5268 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5269 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5270 * math/libm-test.inc (floor_test): Add more tests.
5271 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5272
5273 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5274
5275 * sysdeps/unix/getdents.c: Remove file.
5276 * sysdeps/unix/sysv/getdents.c: Likewise.
5277 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5278
5279 * sysdeps/unix/syscalls.list (madvise): Add syscall from
5280 sysdeps/unix/mman/syscalls.list.
5281 (mmap): Likewise.
5282 (mprotect): Likewise.
5283 (msync): Likewise.
5284 (munmap): Likewise.
5285 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5286 * sysdeps/unix/mman/syscalls.list: Remove.
5287 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5288
5289 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5290 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5291 * configure: Regenerated.
5292 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5293 $(libgcc_s_suffix).
5294 * config.make.in (libgcc_s_suffix): Remove variable.
5295
5296 2012-04-23 Joseph Myers <joseph@codesourcery.com>
5297
5298 * sysdeps/unix/sysv/gethostname.c: Move to ...
5299 * sysdeps/posix/gethostname.c: ... here.
5300
5301 * sysdeps/unix/execve.S: Remove file.
5302
5303 * sysdeps/unix/_exit.S: Remove file.
5304
5305 2012-04-23 Andreas Jaeger <aj@suse.de>
5306
5307 [BZ #13739]
5308 * manual/Makefile: Remove make dist support, there's no
5309 need for a stand-alone documentation tar ball.
5310 (TEXI2DVI): Define always, it's not in Makeconfig.
5311 (dist): Removed.
5312 (tar-it): Removed.
5313 (edition): Removed.
5314 (glibc-doc-$(edition).tar): Removed
5315 (%.Z): Removed.
5316 (%.gz): Removed.
5317 (%.uu): Removed.
5318 (ETAGS): Remove, it's in Makeconfig.
5319 (move-if-change): Remove, it's in Makeconfig.
5320
5321 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
5322
5323 [BZ #13970]
5324 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5325 (strtod, strtof, strtold, strtol, strtoul, strtoq)
5326 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5327 (strtod_l, strtof_l, strtold_l): Remove __wur.
5328 It is not necessarily an error to ignore strtol's return value.
5329 One can reliably look at the stored endptr to decide whether
5330 the number had valid syntax.
5331
5332 2012-04-21 Andreas Jaeger <aj@suse.de>
5333
5334 [BZ #13739]
5335 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5336
5337 2012-04-21 Joseph Myers <joseph@codesourcery.com>
5338
5339 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5340 * sysdeps/unix/sysv/Versions: Remove file.
5341
5342 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
5343
5344 [BZ #13927]
5345 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5346
5347 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
5348
5349 [BZ #7064]
5350 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5351 version from __vm86.
5352
5353 2012-04-20 Joseph Myers <joseph@codesourcery.com>
5354
5355 * sysdeps/unix/common/lxstat.c: Remove file.
5356 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5357
5358 * sysdeps/unix/sysv/Makefile: Remove file.
5359
5360 * sysdeps/unix/sysv/direct.h: Remove file.
5361
5362 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5363 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5364 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5365 * sysdeps/unix/sysv/bits/signum.h: Likewise.
5366 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5367 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5368 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5369
5370 * sysdeps/unix/sysv/setrlimit.c: Remove file.
5371
5372 * sysdeps/unix/xmknod.c: Remove file.
5373 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5374
5375 * sysdeps/unix/sysv/settimeofday.c: Remove file.
5376
5377 * sysdeps/unix/sysv/i386/time.S: Remove file.
5378
5379 * sysdeps/unix/fxstat.c: Remove file.
5380 * sysdeps/unix/xstat.c: Likewise.
5381 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5382
5383 * sysdeps/unix/sysv/sigaction.c: Remove file.
5384
5385 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5386 (sysdep_headers): Remove variable.
5387 [termio.h not in sysdep_headers] (generated): Likewise.
5388 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5389 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5390 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5391 * sysdeps/unix/sysv/tcflow.c: Likewise.
5392 * sysdeps/unix/sysv/tcflush.c: Likewise.
5393 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5394 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
5395 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5396 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5397 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
5398
5399 * sysdeps/unix/siglist.c: Remove file.
5400
5401 * sysdeps/unix/getppid.S: Remove file.
5402
5403 * sysdeps/unix/mkdir.c: Remove file.
5404 * sysdeps/unix/rmdir.c: Likewise.
5405
5406 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
5407
5408 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5409 ERR_MAX value.
5410 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5411 errlist-compat value.
5412
5413 2012-04-18 David S. Miller <davem@davemloft.net>
5414
5415 * sysdeps/generic/memcopy.h (reg_char): Delete.
5416 * debug/strcat_chk.c: Use char, not reg_char.
5417 * debug/strcpy_chk.c: Likewise.
5418 * debug/strncat_chk.c: Likewise.
5419 * debug/strncpy_chk.c: Likewise.
5420 * string/memchr.c: Likewise.
5421 * string/memrchr.c: Likewise.
5422 * string/rawmemchr.c: Likewise.
5423 * string/strcat.c: Likewise.
5424 * string/strchr.c: Likewise.
5425 * string/strchrnul.c: Likewise.
5426 * string/strcmp.c: Likewise.
5427 * string/strcpy.c: Likewise.
5428 * string/strncat.c: Likewise.
5429 * string/strncmp.c: Likewise.
5430 * string/strncpy.c: Likewise.
5431
5432 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5433
5434 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5435 __builtin_memcopy is called when src and dest ranges are known to not
5436 overlap.
5437
5438 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5439
5440 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5441 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5442 fwd_align_merge macro call.
5443 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5444 bwd_align_merge macro call.
5445 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5446
5447 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5448
5449 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5450 bwd_align_merge macros.
5451 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5452 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5453 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5454
5455 2012-04-18 David S. Miller <davem@davemloft.net>
5456
5457 * sysdeps/sparc/sparc64/memcopy.h: Delete.
5458
5459 2012-04-18 Andreas Jaeger <aj@suse.de>
5460
5461 [BZ# 6794]
5462 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5463 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5464 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5465
5466 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5467 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5468 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5469
5470 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5471 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5472 Adjust for changed ldbl-128 files.
5473
5474 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5475 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5476 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5477
5478 2012-04-17 David S. Miller <davem@davemloft.net>
5479
5480 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5481
5482 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5483
5484 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5485 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5486 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5487 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5488 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5489 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5490
5491 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5492
5493 [BZ #6794]
5494 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5495 * math/libm-test.inc: Add ilogb errno and exception tests.
5496 * math/w_ilogb.c: New file: ilogb wrapper.
5497 * math/w_ilogbf.c: New file: ilogbf wrapper.
5498 * math/w_ilogbl.c: New file: ilogbl wrapper.
5499 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5500 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5501 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5502 exception being thrown with 0.0 as argument.
5503 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5504 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5505 exception being thrown with 0.0 as argument.
5506 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5507 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5508 exception being thrown with 0.0 as argument.
5509 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5510 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5511 exception being thrown with 0.0 as argument.
5512 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5513 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
5514 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
5515 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5516 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5517 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5518 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5519 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5520 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5521
5522 2012-04-17 Petr Baudis <pasky@ucw.cz>
5523
5524 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5525 with altivec.
5526
5527 2012-04-16 Marek Polacek <polacek@redhat.com>
5528
5529 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5530
5531 2012-04-16 Marek Polacek <polacek@redhat.com>
5532
5533 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5534 operands of fdivp instruction.
5535
5536 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5537
5538 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5539 * elf/tst-auditmod3b.c: Likewise.
5540 * elf/tst-auditmod4b.c: Likewise.
5541 * elf/tst-auditmod5b.c: Likewise.
5542 * elf/tst-auditmod6b.c: Likewise.
5543 * elf/tst-auditmod6c.c: Likewise.
5544 * elf/tst-auditmod7b.c: Likewise.
5545 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5546 * sysdeps/x86_64/preconfigure.in: Likewise.
5547 * sysdeps/x86_64/preconfigure: Regenerated.
5548
5549 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5550
5551 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5552 __ILP32__.
5553
5554 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
5555
5556 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5557 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5558
5559 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5560
5561 [BZ #13973]
5562 * locale/iso-639.def: Fix gl language name. Spotted by
5563 Yaron Shahrabani.
5564
5565 2012-04-12 Roland McGrath <roland@hack.frob.com>
5566
5567 [BZ #2074]
5568 * libio/libio.h (__io_write_fn): Update comment.
5569
5570 2012-04-12 Petr Baudis <pasky@ucw.cz>
5571
5572 [BZ #2074]
5573 * stdio.texi (Hook Functions): The user provided writer function
5574 is not allowed to return -1.
5575
5576 2012-04-11 David S. Miller <davem@davemloft.net>
5577
5578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5579
5580 2012-04-11 Mike Frysinger <vapier@gentoo.org>
5581
5582 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5583 Add a leading slash to rtkaio.
5584
5585 2012-04-11 Jim Meyering <meyering@redhat.com>
5586
5587 [BZ #11959]
5588 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5589 It is not necessarily an error to ignore fwrite's return
5590 value. One can reliably use ferror to test for errors after
5591 the fact.
5592
5593 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5594
5595 * bits/types.h (__snseconds_t): New type.
5596 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5597
5598 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5599 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5600 (__SNSECONDS_T_TYPE): Likewise.
5601 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5602 (__SNSECONDS_T_TYPE): Likewise.
5603 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5604 (__SNSECONDS_T_TYPE): Likewise.
5605
5606 2012-04-10 Andreas Jaeger <aj@suse.de>
5607
5608 [BZ #2636]
5609 * manual/time.texi (Processor Time): Return type of times is
5610 elapsed real time since an arbitrary point in the past.
5611 (CPU Time): Move CLK_TCK from here...
5612 (Processor Time): ...to here. Correct description.
5613 * manual/conf.texi (Constants for Sysconf): Correct description of
5614 _SC_CLK_TCK.
5615
5616 2012-04-10 David S. Miller <davem@davemloft.net>
5617
5618 [BZ #13967]
5619 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5620 where the is a gap between DT_REL(A) and DT_JMPREL.
5621
5622 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5623
5624 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5625 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5626 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5627
5628 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5629
5630 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5631 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5632 (dl_main): Handle --inhibit-cache.
5633 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5634 _dl_inhibit_cache.
5635 * elf/dl-load.c (_dl_map_object): Use it.
5636 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5637
5638 2012-04-09 Joseph Myers <joseph@codesourcery.com>
5639
5640 [BZ #13872]
5641 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5642 (__ieee754_powl): Saturate large exponents rather than testing for
5643 overflow of y*log2(x).
5644 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5645 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5646 exceptions.
5647
5648 [BZ #11521]
5649 * math/s_ctan.c: Include <float.h>.
5650 (__ctan): Avoid internal overflow or cancellation in calculating
5651 denominator.
5652 * math/s_ctanf.c: Likewise.
5653 * math/s_ctanl.c: Likewise.
5654 * math/s_ctanh.c: Likewise.
5655 * math/s_ctanhf.c: Likewise.
5656 * math/s_ctanhl.c: Likewise.
5657 * math/libm-test.inc (ctan_test): Add more tests.
5658 (ctanh_test): Likewise.
5659 * sysdeps/i386/fpu/libm-test-ulps: Update.
5660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5661
5662 2012-04-09 Andreas Jaeger <aj@suse.de>
5663
5664 [BZ #6894]
5665 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5666 is an optional BSD extension.
5667
5668 [BZ #10254]
5669 * manual/stdio.texi (Opening Streams): Document additional fopen
5670 parameters.
5671
5672 2012-04-09 Roland McGrath <roland@hack.frob.com>
5673
5674 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5675 %eax without telling the compiler.
5676
5677 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5678
5679 [BZ # 13963]
5680 * manual/install.texi: Use sourceware.org.
5681
5682 2012-04-09 Joseph Myers <joseph@codesourcery.com>
5683
5684 [BZ #13873]
5685 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5686 (__ieee754_pow): Generate overflow and underflow using huge*huge
5687 and tiny*tiny rather than just returning constant infinity or zero
5688 for large exponents.
5689 * math/libm-test.inc (pow_test): Require overflow exceptions for
5690 applicable cases of large exponents.
5691
5692 [BZ #706]
5693 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5694 (__ieee754_pow): Use iterative multiplication algorithm only for
5695 integer exponents with absolute value below 1024. Check for odd
5696 integer exponents when using algorithm for real exponents.
5697 * math/libm-test.inc (pow_test): Add more tests.
5698 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5699
5700 2012-04-08 Joseph Myers <joseph@codesourcery.com>
5701
5702 [BZ #13705]
5703 * math/libm-test.inc (exp_test): Do not allow overflow exception
5704 on underflow test.
5705
5706 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5707
5708 [BZ #13705]
5709 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5710 instead of __kernel_standard_f.
5711
5712 2012-04-08 Mike Frysinger <vapier@gentoo.org>
5713
5714 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5715 * sysdeps/x86_64/memset_chk.S: Likewise.
5716
5717 2012-04-08 Andreas Jaeger <aj@suse.de>
5718
5719 [BZ #10153]
5720 * manual/startup.texi (Environment Access): Describe return value
5721 for putenv and setenv.
5722
5723 [BZ #6895]
5724 * manual/filesys.texi (Directory Entries): Add description for
5725 DT_LNK.
5726
5727 [BZ #6890]
5728 * manual/filesys.texi (Directory Entries): Clarify that it's file
5729 system not operating system in the description of DT_UNKNOWN.
5730
5731 [BZ #6578]
5732 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5733
5734 2012-04-08 Stephen Compall <s11@member.fsf.org>
5735
5736 [BZ #6649]
5737 * manual/llio.texi (Opening and Closing Files): Add cross
5738 reference to explain mode argument.
5739
5740 2012-04-07 Mike Frysinger <vapier@gentoo.org>
5741
5742 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5743 * sysdeps/x86_64/memset_chk.S: Likewise.
5744
5745 2012-04-07 David S. Miller <davem@davemloft.net>
5746
5747 * elf/elf.h (R_SPARC_WDISP10): Define.
5748 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5749 R_SPARC_SIZE32.
5750 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5751 R_SPARC_SIZE64 and R_SPARC_H34.
5752
5753 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5754
5755 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5756 conditions and remove no longer applicable assertion.
5757
5758 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5759
5760 * bits/byteswap.h: Include <features.h>.
5761 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5762 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5763
5764 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5765
5766 * bits/byteswap.h (__bswap_16): Removed.
5767 Include <bits/byteswap-16.h> to get __bswap_16.
5768 * sysdeps/i386/bits/byteswap.h: Likewise.
5769 * sysdeps/s390/bits/byteswap.h: Likewise.
5770 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5771 * bits/byteswap-16.h: New file.
5772 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5773 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5774 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5775 * string/Makefile (headers): Add bits/byteswap-16.h.
5776
5777 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5778
5779 [BZ #13895]
5780 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5781 extra indirection.
5782 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5783 * nss/tst-nss-static.c: New.
5784
5785 2012-04-06 Robert Millan <rmh@gnu.org>
5786
5787 [BZ #6486]
5788 * manual/llio.texi (File Position Primitive): lseek
5789 refers to WHENCE when it really means OFFSET.
5790
5791 2012-04-06 Andreas Jaeger <aj@suse.de>
5792
5793 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5794 strncmp declarations.
5795
5796 * abilist/libc.abilist: Add __poll and __ppoll.
5797
5798 2012-04-05 David S. Miller <davem@davemloft.net>
5799
5800 * scripts/check-local-headers.sh: Accept a host triplet in the
5801 path matched by the exclude regexp.
5802
5803 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5804 definition.
5805 * sysdeps/powerpc/powerpc32/dl-machine.h
5806 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5807 * sysdeps/s390/s390-32/dl-machine.h
5808 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5809 * sysdeps/sparc/sparc32/dl-machine.h
5810 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5811 * sysdeps/sparc/sparc64/dl-machine.h
5812 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5813
5814 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5815 lazy binding.
5816 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
5817 undefined symbol errors.
5818
5819 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
5820 DT_NEEDED entries.
5821
5822 2012-04-05 Michael Matz <matz@suse.de>
5823
5824 [BZ #13592]
5825 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5826
5827 2012-04-05 Andreas Jaeger <aj@suse.de>
5828
5829 [BZ #13908]
5830 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5831 comment.
5832
5833 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5834
5835 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5836 which ROUND is no valid rounding mode.
5837
5838 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5839
5840 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5841 read again.
5842 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5843
5844 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5845
5846 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5847 an exception using FPU order intentionally.
5848
5849 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5850
5851 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5852 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5853 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5854 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5855
5856 2012-04-05 Simon Josefsson <simon@josefsson.org>
5857
5858 [BZ #12340]
5859 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5860 EINVAL when BUFLEN is too smal.
5861
5862 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5863
5864 [BZ #13553]
5865 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5866 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5867
5868 2012-04-03 Andreas Jaeger <aj@suse.de>
5869
5870 [BZ #13938]
5871 * manual/setjmp.texi (System V contexts): Fix sentence.
5872
5873 [BZ #13926]
5874 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5875 New macro for this case.
5876 [!__GNUC__] (__bswap_64): New inline function for this case.
5877 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5878 * bits/byteswap.h: Likewise.
5879 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5880 ull, guard with __GLIBC_HAVE_LONG_LONG.
5881
5882 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5883 __GLIBC_HAVE_LONG_LONG.
5884
5885 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5886 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5887
5888 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5889
5890 [BZ #13691]
5891 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5892 inptr and inend, rather than using last_ch.
5893
5894 2012-04-02 David S. Miller <davem@davemloft.net>
5895
5896 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5897 * stdio-common/printf-parse.h (read_int): Change return type to
5898 'int', return -1 on INT_MAX overflow.
5899 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5900 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5901 overflows INT_MAX. Check for overflow of in-format-string precision
5902 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5903 SIZE_MAX not INT_MAX for integer overflow test.
5904 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5905 skip the construct in the format string but do not record anything.
5906 * stdio-common/bug22.c: Adjust to test both width/prevision
5907 INT_MAX overflow as well as total length INT_MAX overflow. Check
5908 explicitly for proper errno values.
5909
5910 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5911
5912 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5913 CHAR_MAX.
5914 * string/test-strcmp.c [! WIDE]: Likewise.
5915 * time/tst-mktime2.c: Likewise for INT_MAX.
5916 * string/test-string.h: #include <sys/param.h> for MIN.
5917
5918 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5919 * sysdeps/i386/init-first.c (init): Likewise.
5920 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5921 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5922 * sysdeps/sh/init-first.c (init): Likewise.
5923
5924 2012-04-01 Ulrich Drepper <drepper@gmail.com>
5925
5926 * po/ru.po: Update from translation team.
5927 * po/vi.po: Likewise.
5928
5929 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5930
5931 * resolv/nss_dns/dns-host.c: Merge copyright years.
5932
5933 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5934
5935 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5936 Optimize memcpy with prefetch if
5937 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5938 src, dst pointers have unequal 16 byte alignments.
5939
5940 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5941
5942 [BZ #13928]
5943 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5944 from a CNAME entry and return the minimum ttl for the query.
5945 (gaih_getanswer_slice): Likewise.
5946
5947 2012-03-30 Jeff Law <law@redhat.com>
5948
5949 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5950 due to long keys.
5951 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5952 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5953
5954 * resolv/nss_dns/dns-host.c: Update copyright year.
5955
5956 2012-03-30 Ulrich Drepper <drepper@gmail.com>
5957
5958 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
5959 requests to save a system call. Fix check that all bytes are sent.
5960
5961 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5962 comments for sendmmsg.
5963
5964 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5965
5966 [BZ #13691]
5967 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5968 with only 1 character between 0x0041 and 0x01b0.
5969 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5970 * wcsmbs/tst-mbsnrtowcs.c: New file.
5971
5972 2012-03-29 David S. Miller <davem@davemloft.net>
5973
5974 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5975 small copies by hand.
5976
5977 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5978
5979 [BZ #13761]
5980 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5981 _nss_compat_initgroups_dyn): Fall back to malloc/free
5982 for large group memberships.
5983
5984 2012-03-28 David S. Miller <davem@davemloft.net>
5985
5986 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5987 that branches into memcpy.
5988 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5989 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5990 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5991 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5992 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5993 bits.
5994 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5995 implementation too.
5996 * sysdeps/sparc/mempcpy.S: New file.
5997
5998 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5999 the IFUNC routine in the libc case.
6000 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6001
6002 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6003 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6004 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6005 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6006 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6007 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6008 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6009 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6010
6011 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6012 loop to 256 bytes instead of 64 bytes and fix test signedness.
6013
6014 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6015 * sysdeps/sparc/sparc32/Makefile: rather than here...
6016 * sysdeps/sparc/sparc64/Makefile: and here.
6017
6018 2012-03-28 Ulrich Drepper <drepper@gmail.com>
6019
6020 * malloc/mallocbug.c: Avoid warnings about unused variables.
6021
6022 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6023
6024 [BZ #13760]
6025 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6026 in the right place. Discard and retry query if response is
6027 larger than input buffer size.
6028
6029 2012-03-28 Joseph Myers <joseph@codesourcery.com>
6030
6031 [BZ #369]
6032 [BZ #2678]
6033 [BZ #3866]
6034 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6035 x for large integer exponent.
6036 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6037 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
6038 sign of result as needed afterwards.
6039 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6040 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6041 result for underflowing pow the same as for overflow.
6042 (__kernel_standard_l): Handle powl overflow and underflow here
6043 rather than calling __kernel_standard.
6044 * math/libm-test.inc (pow_test): Add more tests.
6045
6046 [BZ #3868]
6047 [BZ #13879]
6048 [BZ #13910]
6049 [BZ #13911]
6050 [BZ #13912]
6051 [BZ #13913]
6052 [BZ #13915]
6053 [BZ #13916]
6054 [BZ #13917]
6055 [BZ #13918]
6056 [BZ #13919]
6057 [BZ #13920]
6058 [BZ #13921]
6059 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6060 * sysdeps/ieee754/k_standard.c: Include <float.h>.
6061 (__kernel_standard_l): New function.
6062 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6063 __kernel_standard.
6064 * math/w_acosl.c (__acosl): Likewise.
6065 * math/w_asinl.c (__asinl): Likewise.
6066 * math/w_atan2l.c (__atan2l): Likewise.
6067 * math/w_atanhl.c (__atanhl): Likewise.
6068 * math/w_coshl.c (__coshl): Likewise.
6069 * math/w_exp10l.c (__exp10l): Likewise.
6070 * math/w_exp2l.c (__exp2l): Likewise.
6071 * math/w_fmodl.c (__fmodl): Likewise.
6072 * math/w_hypotl.c (__hypotl): Likewise.
6073 * math/w_j0l.c (__j0l, __y0l): Likewise.
6074 * math/w_j1l.c (__j1l, __y1l): Likewise.
6075 * math/w_jnl.c (__jnl, __ynl): Likewise.
6076 * math/w_lgammal.c (__lgammal): Likewise.
6077 * math/w_log10l.c (__log10l): Likewise.
6078 * math/w_log2l.c (__log2l): Likewise.
6079 * math/w_logl.c (__logl): Likewise.
6080 * math/w_powl.c (__powl): Likewise.
6081 * math/w_remainderl.c (__remainderl): Likewise.
6082 * math/w_scalbl.c (sysv_scalbl): Likewise.
6083 * math/w_sinhl.c (__sinhl): Likewise.
6084 * math/w_sqrtl.c (__sqrtl): Likewise.
6085 * math/w_tgammal.c (__tgammal): Likewise.
6086 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6087 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6088 * math/libm-test.inc (acos_test): Add more tests.
6089 (acosh_test): Likewise.
6090 (asin_test): Likewise.
6091 (atanh_test): Likewise.
6092 (exp_test): Likewise.
6093 (exp10_test): Likewise.
6094 (exp2_test): Likewise.
6095 (expm1_test): Likewise.
6096 (lgamma_test): Likewise.
6097 (log_test): Likewise.
6098 (log10_test): Likewise.
6099 (log1p_test): Likewise.
6100 (log2_test): Likewise.
6101 (pow_test): Do not allow some spurious overflow exceptions.
6102 (sqrt_test): Add more tests.
6103 (tgamma_test): Likewise.
6104 (y0_test): Likewise.
6105 (y1_test): Likewise.
6106 (yn_test): Likewise.
6107
6108 2012-03-27 Anton Blanchard <anton@samba.org>
6109
6110 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6111 MAP_HUGETLB.
6112 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6113 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6114 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6115
6116 2012-03-27 David S. Miller <davem@davemloft.net>
6117
6118 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6119
6120 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6121 have-as-vis3 check.
6122
6123 2012-03-27 Andreas Jaeger <aj@suse.de>
6124
6125 * sysdeps/x86_64/elf/configure.in: Moved to ...
6126 * sysdeps/x86_64/configure.in: ... here.
6127 * sysdeps/x86_64/elf/start.S: Moved to ...
6128 * sysdeps/x86_64/start.S: ... here.
6129 * sysdeps/x86_64/elf/configure: Delete.
6130
6131 * sysdeps/x86_64/configure.in: Merge contents from
6132 sysdeps/i386/configure.in (without i686 check).
6133
6134 * sysdeps/i386/elf/Versions: Merge into ...
6135 * sysdeps/i386/Versions: ... this.
6136 * sysdeps/i386/elf/Versions: Delete file.
6137 * sysdeps/i386/elf/start.S: Moved to ...
6138 * sysdeps/i386/start.S: ...here.
6139 * sysdeps/i386/elf/configure.in: Merge into...
6140 * sysdeps/i386/configure.in: ...here.
6141 * sysdeps/i386/elf/configure.in: Delete file.
6142 * sysdeps/i386/elf/configure: Delete file.
6143
6144 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6145 * debug/backtracesyms.c: ... here.
6146 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6147 * debug/backtracesymsfd.c: ... here.
6148 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6149 * sysdeps/generic/ifunc-sel.h: ... here.
6150
6151 * sysdeps/unix/i386/start.c: Delete file.
6152 * sysdeps/unix/sparc/start.c: Delete file.
6153 * sysdeps/unix/start.c: Delete file.
6154
6155 * sysdeps/sh/elf/configure.in: Moved to ...
6156 * sysdeps/sh/configure.in: ... here.
6157 * sysdeps/sh/elf/start.S: Moved to ...
6158 * sysdeps/sh/start.S: ... here.
6159 * sysdeps/sh/elf/configure: Delete file.
6160
6161 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6162 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6163 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6164 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6165 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6166 * sysdeps/powerpc/powerpc64/start.S: here.
6167 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6168 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6169 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6170 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6171 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6172
6173 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6174 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6175 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6176 * sysdeps/powerpc/powerpc32/start.S: ... here.
6177 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6178 * sysdeps/powerpc/powerpc32/configure.in: ... this.
6179 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6180
6181 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6182 * sysdeps/powerpc/ifunc-sel.h: ... here.
6183 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6184 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6185
6186 * sysdeps/sparc/elf/configure.in: Moved to ...
6187 * sysdeps/sparc/configure.in: ... here.
6188 * sysdeps/sparc/elf/configure: Delete file.
6189 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6190 * sysdeps/sparc/sparc32/start.S: ... here.
6191 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6192 * sysdeps/sparc/sparc64/start.S: ... here.
6193 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6194 * sysdeps/sparc/sparc32/Makefile: ... this.
6195 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6196 * sysdeps/sparc/sparc64/Makefile: ... this.
6197
6198 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6199 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
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/setjmp.S: Moved to ...
6203 * sysdeps/s390/s390-32/setjmp.S: ... here.
6204 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6205 * sysdeps/s390/s390-32/configure.in: ... here.
6206 * sysdeps/s390/s390-32/elf/configure: Delete file.
6207 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6208 * sysdeps/s390/s390-32/start.S: ... here.
6209
6210 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6211 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
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/setjmp.S: Moved to ...
6215 * sysdeps/s390/s390-64/setjmp.S: ... here.
6216 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6217 * sysdeps/s390/s390-64/configure.in: ... here
6218 * sysdeps/s390/s390-64/elf/configure: Delete file.
6219 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6220 * sysdeps/s390/s390-64/start.S: ... here.
6221 * sysdeps/s390/s390-64/elf/configure: Delete.
6222
6223 * configure.in: Remove support for elf directories in sysdeps.
6224
6225 * configure: Regenerated.
6226 * sysdeps/i386/configure: Regenerated.
6227 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6228 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6229 * sysdeps/s390/s390-32/configure: Regenerated.
6230 * sysdeps/s390/s390-64/configure: Regenerated.
6231 * sysdeps/sh/configure: Regenerated.
6232 * sysdeps/sparc/configure: Regenerated.
6233 * sysdeps/x86_64/configure: Regenerated.
6234
6235 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
6236
6237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6238
6239 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6240 denormal result into account.
6241
6242 2012-03-25 Roland McGrath <roland@hack.frob.com>
6243
6244 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6245 Reported by Allan McRae <allan@archlinux.org>.
6246
6247 2012-03-23 Jeff Law <law@redhat.com>
6248
6249 * nss/getnssent.c (__nss_getent): Fix typo.
6250
6251 2012-03-23 David S. Miller <davem@davemloft.net>
6252
6253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6254
6255 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
6256
6257 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6258 to pad to uint64_t for each field.
6259 (dl_tls_index): Replace unsigned long with uint64_t.
6260
6261 2012-03-23 Daniel Jacobowitz <dmj@google.com>
6262 Paul Pluzhnikov <ppluzhnikov@google.com>
6263
6264 [BZ #6528]
6265 * grp/Makefile (otherlibs): Don't set it.
6266 * inet/Makefile (otherlibs): Likewise.
6267 * login/Makefile (otherlibs): Likewise.
6268 * nscd/Makefile (otherlibs): Likewise.
6269 * posix/Makefile (otherlibs): Likewise.
6270 * pwd/Makefile (otherlibs): Likewise.
6271 * rt/Makefile (otherlibs): Likewise.
6272 * sunrpc/Makefile (otherlibs): Likewise.
6273 * nss/Makefile (otherlibs): Likewise.
6274 Add libnss_files to routines and static-only-routines.
6275 ($(objpfx)getent): Remove rule.
6276 * resolv/Makefile: Add libnss_dns and libresolv to routines and
6277 static-only-routines.
6278
6279 2012-03-22 Joseph Myers <joseph@codesourcery.com>
6280
6281 [BZ #13892]
6282 * math/s_cexp.c: Include <float.h>.
6283 (__cexp): Handle exp result overflowing not necessarily
6284 overflowing both real and imaginary parts of result.
6285 * math/s_cexpf.c: Likewise.
6286 * math/s_cexpl.c: Likewise.
6287 * math/libm-test.inc (cexp_test): Add more tests.
6288 * sysdeps/i386/fpu/libm-test-ulps: Update.
6289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6290
6291 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6292
6293 * include/link.h (ELFW): New macro.
6294 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6295 Replace ELF64_R_TYPE with ELFW(R_TYPE).
6296
6297 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6298
6299 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6300 with uint64_t.
6301
6302 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6303
6304 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6305 declaration.
6306 (struct La_x32_retval): Likewise.
6307
6308 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6309
6310 * sysdeps/x86_64/preconfigure.in: New file.
6311 * sysdeps/x86_64/preconfigure: New generated file.
6312
6313 2012-03-22 Joseph Myers <joseph@codesourcery.com>
6314
6315 [BZ #13824]
6316 * math/e_exp2l.c: Include <float.h>.
6317 (__ieee754_exp2l): Handle overflow and underflow cases
6318 separately. Only pass fractional part of argument to
6319 __ieee754_expl.
6320 * math/libm-test.inc (exp2_test): Add more tests.
6321
6322 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6323 negating x to take absolute value.
6324 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6325 Likewise.
6326 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6327 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6328 Likewise.
6329 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6330 computing low part if x was negated.
6331 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6332
6333 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6334
6335 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6336 la_x32_gnu_pltexit.
6337 (pltexit): Cast int_retval to ptrdiff_t.
6338 * elf/tst-auditmod3b.c: Likewise.
6339 * elf/tst-auditmod4b.c: Likewise.
6340 * elf/tst-auditmod5b.c: Likewise.
6341 * elf/tst-auditmod6b.c: Likewise.
6342 * elf/tst-auditmod6c.c: Likewise.
6343 * elf/tst-auditmod7b.c: Likewise.
6344
6345 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6346 and x32_gnu_pltexit.
6347
6348 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6349 __ELF_NATIVE_CLASS.
6350 (La_x32_regs): New macro.
6351 (La_x32_retval): Likewise.
6352 (la_x32_gnu_pltenter): New function prototype.
6353 (la_x32_gnu_pltexit): Likewise.
6354
6355 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
6356
6357 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6358 exponent.
6359
6360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6361
6362 * configure.in (libc_cv_cc_nofma): Check for option to disable
6363 generation of FMA instructions.
6364 * configure: Regenerate.
6365 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6366 * sysdeps/ieee754/dbl-64/Makefile: New file.
6367 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6368 Remove brandred-fma4.
6369 (CFLAGS-brandred-fma4.c): Remove.
6370 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6371 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6372 define.
6373 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6374 define.
6375
6376 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6377
6378 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6379 LLONG_MAX != LONG_MAX.
6380 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6381 (_fitoa_word): Likewise.
6382 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6383 LLONG_MAX != LONG_MAX.
6384 * stdio-common/_itowa.h: Include <_itoa.h>.
6385 (_itowa_word): Use _ITOA_WORD_TYPE on value.
6386 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
6387 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
6388 only if not defined.
6389 (_ITOA_WORD_TYPE): Likewise.
6390 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6391 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6392
6393 2012-03-21 David S. Miller <davem@davemloft.net>
6394
6395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6396
6397 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6398
6399 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
6400 of x86_64 when setting libc_cv_slibdir, libdir and
6401 libc_cv_localedir.
6402 * sysdeps/unix/sysv/linux/configure: Regenerated.
6403
6404 2012-03-21 Joseph Myers <joseph@codesourcery.com>
6405
6406 * manual/lang.texi (Old Varargs): Remove section.
6407 (How Variadic): Update menu.
6408 (va_start): Do not mention varargs.h.
6409
6410 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6411 Joseph Myers <joseph@codesourcery.com>
6412
6413 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6414 link test.
6415 * configure: Regenerated.
6416
6417 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6418
6419 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
6420 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
6421 conformtest.pl
6422
6423 2012-03-21 Joseph Myers <joseph@codesourcery.com>
6424
6425 * NOTES: Remove.
6426 * Makefile (files-for-dist): Remove NOTES.
6427 (NOTES): Remove rule.
6428 * README: Don't refer to NOTES.
6429 * manual/creature.texi: Don't include macros.texi.
6430 * manual/intro.texi (creature.texi): Remove comment referring to
6431 NOTES.
6432
6433 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6434 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6435 * configure: Regenerated.
6436 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6437 LIBC_TRY_CC_OPTION.
6438 (libc_cv_as_i686): Likewise.
6439 (libc_cv_cc_avx): Likewise.
6440 (libc_cv_cc_sse2avx): Likewise.
6441 (libc_cv_cc_fma4): Likewise.
6442 (libc_cv_cc_novzeroupper): Likewise.
6443 * sysdeps/i386/configure: Regenerated.
6444
6445 [BZ #13883]
6446 * sysdeps/i386/fpu/s_cexp.S: Remove.
6447 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6448 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6449 * math/libm-test.inc (cexp_test): Add more tests.
6450 * sysdeps/i386/fpu/libm-test-ulps: Update.
6451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6452
6453 2012-03-21 Allan McRae <allan@archlinux.org>
6454
6455 * timezone/Makefile: Do not install iso3166.tab and zone.tab
6456
6457 2012-03-21 Joseph Myers <joseph@codesourcery.com>
6458
6459 [BZ #13871]
6460 * math/w_exp2.c: Do not include <float.h>.
6461 (o_threshold, u_threshold): Remove.
6462 (__exp2): Calculate result before checking finiteness and calling
6463 __kernel_standard.
6464 * math/w_exp2f.c: Likewise.
6465 * math/w_exp2l.c: Likewise.
6466 * math/libm-test.inc (exp2_test): Require overflow exception for
6467 1e6 input.
6468
6469 [BZ #3866]
6470 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6471 range of signed 64-bit integers before using fistpll. Remove
6472 checks for whether integers fit in mantissa bits.
6473 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6474 the range of signed 32-bit integers before using fistpl. Remove
6475 checks for whether integers fit in mantissa bits.
6476 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6477 (__ieee754_powl): Test for y outside the range of signed 64-bit
6478 integers before using fistpll. Reduce 64-bit values to 63-bit
6479 ones as needed.
6480 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6481 divide-by-zero is raised for zero to large negative powers.
6482 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6483 (__ieee754_powl): Test for y outside the range of signed 64-bit
6484 integers before using fistpll. Reduce 64-bit values to 63-bit
6485 ones as needed.
6486 * math/libm-test.inc (pow_test): Add more tests.
6487
6488 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6489
6490 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6491 <stdio-common/_itoa.h>.
6492 * debug/segfault.c: Likewise.
6493 * elf/dl-cache.c: Likewise.
6494 * elf/dl-minimal.c: Likewise.
6495 * elf/dl-misc.c: Likewise.
6496 * elf/dl-sysdep.c: Likewise.
6497 * elf/dl-version.c: Likewise.
6498 * elf/rtld.c: Likewise.
6499 * hurd/hurdsock.c: Likewise.
6500 * hurd/lookup-retry.c: Likewise.
6501 * malloc/malloc.c: Likewise.
6502 * malloc/mtrace.c: Likewise.
6503 * nscd/nscd_getgr_r.c: Likewise.
6504 * nscd/nscd_getpw_r.c: Likewise.
6505 * nscd/nscd_getserv_r.c: Likewise.
6506 * posix/getopt_init.c: Likewise.
6507 * posix/wordexp.c: Likewise.
6508 * stdio-common/_itoa.c: Likewise.
6509 * stdio-common/printf_fphex.c: Likewise.
6510 * stdio-common/vfprintf.c: Likewise.
6511 * string/_strerror.c: Likewise.
6512 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6513 * sysdeps/i386/i686/hp-timing.h: Likewise.
6514 * sysdeps/mach/_strerror.c: Likewise.
6515 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6516 * sysdeps/mach/hurd/sethostid.c: Likewise.
6517 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6518 * sysdeps/mach/xpg-strerror.c: Likewise.
6519 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6520 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6521 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6522 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6523 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6524 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6525 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6526 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6527 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6528 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6529 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6530 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6531 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6532 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6533 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6534 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6535 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6536 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6537 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6538 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6539 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6540
6541 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6542
6543 * stdio-common/_itoa.h: Moved to ...
6544 * sysdeps/generic/_itoa.h: Here.
6545
6546 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6547
6548 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6549 instead of "_itoa.h" and "_itowa.h".
6550 * stdio-common/vfprintf.: Likewise.
6551
6552 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6553
6554 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6555 <bits/wordsize.h>.
6556 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6557 (__signbit): Likwise.
6558 (llrintf): Likwise.
6559 (llrint): Likwise.
6560
6561 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6562
6563 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6564 __WORDSIZE != 64.
6565
6566 2012-03-20 Joseph Myers <joseph@codesourcery.com>
6567
6568 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6569 OVERFLOW_EXCEPTION_OK.
6570 * math/libm-test.inc ("Philosophy"): Update comment about
6571 exception testing.
6572 (OVERFLOW_EXCEPTION): Define.
6573 (OVERFLOW_EXCEPTION_OK): Likewise.
6574 (INVALID_EXCEPTION_OK): Renumber.
6575 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6576 (IGNORE_ZERO_INF_SIGN): Likewise.
6577 (test_exceptions): Handle FE_OVERFLOW.
6578 (exp10_test): Expect overflow exceptions.
6579 (exp2_test): Likewise.
6580 (expm1_test): Likewise.
6581 (nextafter_test): Likewise.
6582 (pow_test): Likewise.
6583 (scalbn_test): Likewise.
6584 (scalbln_test): Likewise.
6585
6586 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6587
6588 * sysdeps/x86_64/bits/atomic.h
6589 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6590 64bit integer.
6591 (atomic_exchange_acq): Likewise.
6592 (__arch_exchange_and_add_body): Likewise.
6593 (__arch_add_body): Likewise.
6594 (atomic_add_negative): Likewise.
6595 (atomic_add_zero): Likewise.
6596
6597 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6598
6599 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
6600 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6601
6602 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6603
6604 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6605 Check __x86_64__ instead of __WORDSIZE.
6606
6607 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6608
6609 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6610
6611 2012-03-19 David S. Miller <davem@davemloft.net>
6612
6613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6614
6615 * sysdeps/sparc/fpu/fenv_private.h: New file.
6616 * sysdeps/sparc/fpu/math_private.h: Use it.
6617 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6618 Remove.
6619 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6620 (libc_feholdexcept_setroundl): Remove.
6621 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6622 Remove.
6623 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6624 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6625
6626 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6627
6628 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6629 int64_t instead of long int.
6630 (INSERT_WORDS64): Likwise.
6631
6632 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6633
6634 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6635 _Unwind_GetCFA return to _Unwind_Ptr first.
6636
6637 2012-03-19 Joseph Myers <joseph@codesourcery.com>
6638
6639 [BZ #13629]
6640 * math/s_clog.c: Include <float.h>.
6641 (__clog): Scale large or subnormal inputs.
6642 * math/s_clogf.c: Likewise.
6643 * math/s_clogl.c: Likewise.
6644 * math/s_clog10.c: Include <float.h>.
6645 (M_LOG10_2): Define.
6646 (__clog10): Scale large or subnormal inputs.
6647 * math/s_clog10f.c: Likewise.
6648 * math/s_clog10l.c: Likewise.
6649 * math/libm-test.inc (clog_test): Add more tests.
6650 (clog10_test): Likewise.
6651 * sysdeps/i386/fpu/libm-test-ulps: Update.
6652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6653
6654 [BZ #11451]
6655 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6656 x and y.
6657 * math/libm-test.inc (atan2_test): Add another test.
6658
6659 * Makerules (common-objdir-compile): Remove.
6660 * sysdeps/unix/Makefile (config-generated): Do not add
6661 $(unix-generated) to variable.
6662 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6663 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6664 Remove rule.
6665 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6666 Likewise.
6667 [generic bits/local_lim.h] (before-compile): Do not append to
6668 variable.
6669 [generic bits/local_lim.h] (common-generated): Likewise.
6670 [generic sys/param.h] (before-compile): Do not append to variable.
6671 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6672 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6673 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6674 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6675 include.
6676 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6677 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6678 [generic sys/param.h] ($(addprefix
6679 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6680 [generic sys/param.h] (common-generated): Do not append to
6681 variable.
6682 [generic sys/param.h] (sysdep_headers): Likewise.
6683 [generic bits/errno.h] (before-compile): Do not append to
6684 variable.
6685 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6686 rule.
6687 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6688 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6689 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6690 [generic bits/errno.h] (common-generated): Do not append to
6691 variable.
6692 [generic bits/ioctls.h] (before-compile): Do not append to
6693 variable.
6694 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6695 rule.
6696 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6697 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6698 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6699 rule.
6700 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6701 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6702 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6703 [generic bits/ioctls.h] (common-generated): Do not append to
6704 variable.
6705 [generic sys/syscall.h] (syscall.h): Remove variable.
6706 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6707 rule.
6708 [generic sys/syscall.h] (before-compile): Do not append to
6709 variable.
6710 [generic sys/syscall.h] (common-generated): Likewise.
6711 * sysdeps/unix/errnos-tmpl.c: Remove file.
6712 * sysdeps/unix/errnos.awk: Likewise.
6713 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6714 * sysdeps/unix/ioctls.awk: Likewise.
6715 * sysdeps/unix/mk-local_lim.c: Likewise.
6716 * sysdeps/unix/snarf-ioctls: Likewise.
6717
6718 2012-03-19 Richard Henderson <rth@twiddle.net>
6719
6720 * sysdeps/i386/fpu/fenv_private.h: New file.
6721 * sysdeps/i386/fpu/math_private.h: Use it.
6722 (math_opt_barrier, math_force_eval): Remove.
6723 (libc_feholdexcept_setround_53bit): Remove.
6724 (libc_feupdateenv_53bit): Remove.
6725 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6726 (math_opt_barrier, math_force_eval): Remove.
6727 (libc_feholdexcept): Remove.
6728 (libc_feholdexcept_setround): Remove.
6729 (libc_fetestexcept, libc_fesetenv): Remove.
6730 (libc_feupdateenv_test): Remove.
6731 (libc_feupdateenv, libc_feholdsetround): Remove.
6732 (libc_feresetround): Remove.
6733
6734 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6735 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6736
6737 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6738 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6739 (libc_feupdateenv_testl): New.
6740 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6741 (libc_feupdateenv_testf): New.
6742 (libc_feupdateenv): Use libc_feupdateenv_test.
6743 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6744 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6745
6746 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6747 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6748 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6749 (libc_feresetround_noex): New.
6750 (libc_feresetround_noexf): New.
6751 (libc_feresetround_noexl): New.
6752 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6753 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6754 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6755 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6756 SET_RESTORE_ROUND.
6757 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6758 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6759 (__cos): Likewise.
6760 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6761 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6762 SET_RESTORE_ROUND_NOEX.
6763 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6764 SET_RESTORE_ROUND_NOEXF.
6765 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6766 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6767 (libc_feholdsetroundf): New.
6768 (libc_feresetround, libc_feresetroundf): New.
6769
6770 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6771 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6772 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6773
6774 * sysdeps/generic/math_private.h: Include <fenv.h>.
6775 (default_libc_feholdexcept): New.
6776 (default_libc_feholdexcept_setround): New.
6777 (default_libc_fesetenv, default_libc_feupdateenv): New.
6778 (libc_feholdexcept): Only define if undefined.
6779 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6780 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6781 (libc_feholdexcept_setroundl): Likewise.
6782 (libc_feholdexcept_setround_53bit): Likewise.
6783 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6784 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6785 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6786 (libc_feupdateenv_53bit): Likewise.
6787 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6788 (libc_feholdexcept): Convert from macro to inline function.
6789 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6790 (libc_fesetenv, libc_feupdateenv): Likewise.
6791
6792 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6793 not previously defined.
6794 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6795 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6796 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6797 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6798 * sysdeps/ieee754/flt-32/math_private.h: New file.
6799 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6800 math_private.h below SET_FLOAT_WORD.
6801 (__isnan, __isinf_ns, __finite): Remove.
6802 (__isnanf, __isinf_nsf, __finitef): Remove.
6803
6804 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6805
6806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6807
6808 2012-03-17 David S. Miller <davem@davemloft.net>
6809
6810 [BZ #6471]
6811 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6812 for 2.16.
6813
6814 2012-03-16 David S. Miller <davem@davemloft.net>
6815
6816 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6817 warnings.
6818
6819 [BZ #6471]
6820 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6821 properly.
6822 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6823 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6824 sysdep_routines when subdir is sysvipc.
6825 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6826 __getshmlba helper.
6827
6828 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6829
6830 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6831
6832 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6833 [__LP64__].
6834
6835 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6836
6837 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6838 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6839 (__lround): Renamed to ...
6840 (__llround): This. Replace long int with long long int.
6841 Define lround functions as aliases of llround functions.
6842 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6843
6844 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6845
6846 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6847 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6848 adresses to uintptr_t. Replace "long int" and "unsigned long
6849 int" with "greg_t" on va_arg.
6850
6851 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6852
6853 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6854 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6855
6856 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6857 Move e_machine check before EI_CLASS check. Handle x32
6858 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6859 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6860 SKIP_EM_IA_64 and include
6861 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6862
6863 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6864 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6865 (add_system_dir): New macro.
6866
6867 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6868 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6869
6870 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6871
6872 [BZ #2551]
6873 [BZ #2552]
6874 [BZ #2553]
6875 [BZ #2554]
6876 [BZ #2562]
6877 [BZ #2563]
6878 [BZ #2565]
6879 [BZ #2566]
6880 [BZ #2576]
6881 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6882 (y0): Likewise.
6883 * math/w_j0f.c (j0f): Likewise.
6884 (y0f): Likewise.
6885 * math/w_j0l.c (__j0l): Likewise.
6886 (__y0l): Likewise.
6887 * math/w_j1.c (j1): Likewise.
6888 (y1): Likewise.
6889 * math/w_j1f.c (j1f): Likewise.
6890 (y1f): Likewise.
6891 * math/w_j1l.c (__j1l): Likewise.
6892 (__y1l): Likewise.
6893 * math/w_jn.c (jn): Likewise.
6894 (yn): Likewise.
6895 * math/w_jnf.c (jnf): Likewise.
6896 (ynf): Likewise.
6897 * math/w_jnl.c (__jnl): Likewise.
6898 (__ynl): Likewise.
6899 * math/libm-test.inc (j0_test): Add more tests.
6900 (j1_test): Likewise.
6901 (jn_test): Likewise. Add trailing semicolon to existing test.
6902 (y0_test): Likewise.
6903 (y1_test): Likewise.
6904 * sysdeps/i386/fpu/libm-test-ulps: Update.
6905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6906
6907 [BZ #13851]
6908 [BZ #13854]
6909 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6910 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6911 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6912 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6913 (__tanl): Set errno for infinite argument.
6914 * sysdeps/i386/fpu/mptan.c: Remove.
6915 * sysdeps/i386/fpu/s_tan.S: Likewise.
6916 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6917 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6918 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6919 * math/libm-test.inc (tan_test): Add more tests and enable more
6920 tests for double and long double.
6921 * sysdeps/i386/fpu/libm-test-ulps: Update.
6922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6923
6924 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6925
6926 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6927 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6928
6929 2012-03-16 Roland McGrath <roland@hack.frob.com>
6930
6931 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6932 * configure.in: Use it for both main tree and add-ons.
6933 * configure: Regenerated.
6934
6935 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6936
6937 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6938
6939 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6940
6941 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6942 in comment.
6943
6944 [BZ #13851]
6945 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6946 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6947 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6948 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6949 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6950 infinite argument.
6951 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6952 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6953 != 0 for prec == 2.
6954 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6955 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6956 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6957 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6958 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6959 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6960 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6961 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6962 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6963 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6964 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6965 * math/libm-test.inc (cos_test): Add more tests and enable more
6966 tests for long double.
6967 (sin_test): Likewise.
6968 (sincos_test): Likewise.
6969 * sysdeps/i386/fpu/libm-test-ulps: Update.
6970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6971
6972 2012-03-16 David S. Miller <davem@davemloft.net>
6973
6974 * sysdeps/sparc/fpu/math_private.h: New file.
6975
6976 2012-03-15 David S. Miller <davem@davemloft.net>
6977
6978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6979 file.
6980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
6981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6982 file.
6983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6984 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6985 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6986 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6987 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6988 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6989 sysdep routines.
6990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6991
6992 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6993 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6994
6995 * sysdeps/sparc/sparc-ifunc.h: New file.
6996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6997 sparc-ifunc.h
6998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7000 Likewise.
7001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7002 Likewise.
7003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7007 Likewise.
7008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
7012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7013 Likewise.
7014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7015 Likewise.
7016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7020 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7021 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7022 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7023 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7024 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7025 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7026 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7027 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7030 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7031 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7032 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7033 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7034 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7035 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7036 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7037 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7038 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7039 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7040
7041 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7042
7043 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7044 scaling.
7045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7046
7047 2012-03-15 Andreas Jaeger <aj@suse.de>
7048
7049 [BZ #13852]
7050 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7051 ieee754/flt-32 implementation for sin, cos and sincos.
7052 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7053 * sysdeps/i386/fpu/s_cosf.S: Likewise.
7054 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7055 * sysdeps/i386/fpu/s_sinf.S: Likewise.
7056 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7057 ieee754/flt-32 implementation for tan.
7058
7059 * math/libm-test.inc (cos_test): Enable some large input tests for
7060 float as well
7061 (sin_test): Likewise.
7062 (sincos_test): Likewise.
7063 (tan_test): Add tests for large input.
7064
7065 * sysdeps/i386/fpu/libm-test-ulps: Update.
7066
7067 2012-03-15 Andreas Jaeger <aj@suse.de>
7068
7069 [BZ #13658]
7070 * math/libm-test.inc (cos_test): Add more test cases.
7071 (sin_test): Likewise.
7072 (sincos_test): Likewise.
7073
7074 2012-03-15 Andreas Jaeger <aj@suse.de>
7075
7076 [BZ #13837]
7077 * math/libm-test.inc (cos_test): Add a test case for large input
7078 value.
7079 (sin_test): Likewise.
7080 (sincos_test): Likewise.
7081
7082 2012-03-15 Andreas Jaeger <aj@suse.de>,
7083 Joseph Myers <joseph@codesourcery.com>
7084
7085 [BZ #13658]
7086 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7087 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7088 * sysdeps/i386/fpu/branred.c: Likewise.
7089 * sysdeps/i386/fpu/dosincos.c: Likewise.
7090 * sysdeps/i386/fpu/mpa.c: Likewise.
7091 * sysdeps/i386/fpu/s_cos.S: Likewise.
7092 * sysdeps/i386/fpu/s_sin.S: Likewise.
7093 * sysdeps/i386/fpu/s_sincos.S: Likewise.
7094 * sysdeps/i386/fpu/sincos32.c: Likewise.
7095
7096 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7097 Define.
7098 (libc_feupdateenv_53bit): Define.
7099 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7100 Define.
7101 (libc_feupdateenv_53bit): Define.
7102
7103 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7104 53 bit (without extend i386 double precision).
7105
7106 * math/libm-test.inc (sincos_test): Add tests for large input.
7107 (sin): Likewise.
7108 (cos): Likewise.
7109
7110 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7111
7112 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7113
7114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7115
7116 2012-03-15 David S. Miller <davem@davemloft.net>
7117
7118 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7119 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7120 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7121 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7129 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7130 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7131 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7132 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
7133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7134 file.
7135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
7136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7137 file.
7138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
7139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7140 file.
7141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
7142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7143 file.
7144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7145 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7146 fmin/fmax sysdep routines.
7147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7148
7149 2012-03-14 David S. Miller <davem@davemloft.net>
7150
7151 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7152 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7153 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7154 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7155 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7156 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7157 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7158 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7159 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7160 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7161 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7162 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7163 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7164 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7165 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7166 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7167 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7168 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7169 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7170 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7171 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7172 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7173 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7174 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7175 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7176 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7177 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7178 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
7179 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7180 routines.
7181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7182 file.
7183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
7184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7185 file.
7186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
7187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7188 file.
7189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
7190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7191 file.
7192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
7193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7194 file.
7195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
7196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7197 file.
7198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7199 file.
7200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7201 file.
7202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7203 file.
7204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7205 New file.
7206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7207 file.
7208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7209 file.
7210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
7211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7212 file.
7213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
7214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7215 file.
7216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
7217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7218 file.
7219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
7220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7221 VIS3 routines.
7222
7223 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7224 New file.
7225
7226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7227
7228 * sysdeps/sparc/configure.in: New file.
7229 * sysdeps/sparc/configure: Generate.
7230 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7231 * configure: Regenerate.
7232 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7233 * config.make.in (have-as-vis3): New.
7234 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7235 available use -Av9d instead of -Av9a.
7236 * sysdeps/sparc/sparc64/Makefile: Likewise.
7237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
7238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7239 New file.
7240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7241 file.
7242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7243 New file.
7244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7245 file.
7246 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7247 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7248 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7249 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7250 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7251
7252 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7253 fzeros/fnegs to load 0x80000000 into a float register instead of
7254 using the stack.
7255 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7256
7257 2012-03-14 Joseph Myers <joseph@codesourcery.com>
7258
7259 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7260 bits/syscall.h.
7261 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7262 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7263 ($(inst_includedir)/bits/syscall.h): Remove rule.
7264 ($(objpfx)bits/syscall.d): Include instead of
7265 $(objpfx)syscall-list.d.
7266 (generated): Change syscall-list.h and syscall-list.d to
7267 bits/syscall.h and bits/syscall.d.
7268
7269 2012-03-14 Roland McGrath <roland@hack.frob.com>
7270
7271 [BZ #13846]
7272 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7273
7274 2012-03-14 Joseph Myers <joseph@codesourcery.com>
7275
7276 [BZ #13841]
7277 * math/s_csqrt.c: Include <float.h>.
7278 (__csqrt): Scale large or subnormal inputs.
7279 * math/s_csqrtf.c: Likewise.
7280 * math/s_csqrtl.c: Likewise.
7281 * math/libm-test.inc (csqrt_test): Add more tests.
7282 * sysdeps/i386/fpu/libm-test-ulps: Update.
7283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7284
7285 [BZ #13840]
7286 * math/libm-test.inc (hypot_test): Add more tests.
7287
7288 2012-03-13 David S. Miller <davem@davemloft.net>
7289
7290 [BZ #13840]
7291 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7292 double-precision for the calculation instead of scaling.
7293
7294 2012-03-13 Joseph Myers <joseph@codesourcery.com>
7295
7296 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7297 manipulate bits before adding and subtracting TWO52[sx].
7298 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7299 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7300 Likewise.
7301 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7302
7303 2012-03-13 David S. Miller <davem@davemloft.net>
7304
7305 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7306 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7307 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7308 rtld-global-offsets.h
7309 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7310
7311 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7312 large parameters.
7313
7314 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7315
7316 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7317 'err' in the ifdef scope in which it is actually used.
7318
7319 * nss/nss_db/db-init.c: Include string.h
7320
7321 2012-03-12 David S. Miller <davem@davemloft.net>
7322
7323 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7324 masking out of the most significant byte of random value used.
7325 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7326 Fix coding style in previous change.
7327
7328 * sysdeps/unix/sysv/linux/kernel-features.h
7329 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7330 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7331 expression.
7332 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7333 later.
7334
7335 2012-03-11 David S. Miller <davem@davemloft.net>
7336
7337 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7338 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7339 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7340 for 'resultvar' otherwise things get truncated on 64-bit.
7341
7342 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7343 Fix masking out of the most significant byte of random value used.
7344
7345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7346
7347 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
7348
7349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7350
7351 2012-03-09 David S. Miller <davem@davemloft.net>
7352
7353 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7354 variables with appropriate CPP guards.
7355 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7356 frame pointer, not the stack pointer. Correct layout comments. Fix test
7357 on resulting framesize and the management of the outregs buffer for pltexit.
7358 Preserve floating point return values across _dl_call_pltexit call.
7359 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7360 framesize and the management of the outregs buffer for pltexit.
7361 Preserve floating point return values across _dl_call_pltexit
7362 call.
7363 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7364 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7365 (print_exit): Fix format string for return register value.
7366
7367 2012-03-10 Joseph Myers <joseph@codesourcery.com>
7368
7369 * sunrpc/Makefile (others): Add rpcgen.
7370 ($(objpfx)rpcgen): Remove special build rule and dependency on
7371 libc.
7372 * sunrpc/rpcgen.c: New file.
7373
7374 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
7375
7376 [BZ #13673]
7377 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7378 * stdio-common/bug-vfprintf-nargs.c: Likewise.
7379 * sysdeps/i386/crti.S: Likewise.
7380 * sysdeps/i386/crtn.S: Likewise.
7381 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7382 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7383 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7384 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7385 * sysdeps/sh/crti.S: Likewise.
7386 * sysdeps/sh/crtn.S: Likewise.
7387 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7388
7389 [BZ #13673]
7390 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7391 with URL.
7392 * locale/programs/locfile-kw.gperf: Likewise.
7393 * locale/programs/charmap-kw.h: Regenerated.
7394 * locale/programs/locfile-kw.h: Likewise.
7395
7396 [BZ #13673]
7397 * intl/plural.y: Replace FSF snail mail address with URL.
7398 * intl/plural.c: Regenerated.
7399
7400 2012-03-09 Richard Henderson <rth@twiddle.net>
7401
7402 * include/math_private.h: Remove file.
7403 * math/math_private.h: Move file ...
7404 * sysdeps/generic/math_private.h: ... here.
7405
7406 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7407 * sysdeps/powerpc/fpu/math_private.h: Likewise.
7408 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7409
7410 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
7411 and <math_private.h>.
7412 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7413 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7414 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7415 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7416 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7417 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
7418 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7419 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7420 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7421 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7422 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7423 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7424 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7425 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7426 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7427 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7428 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7429 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7430 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7431 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7432 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7433 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7434 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7435 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7436 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7437 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7438 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7439 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7440 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7441 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7442 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7443 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7444 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7445 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7446 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7447 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7448 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7449 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7450 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7451 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7452 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7453 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7454 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7455 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7456 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7457 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7458 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7459 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7460 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7461 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7462 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7463 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7464 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7465 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7466 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7467 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7468 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7469 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7470 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7471 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7472 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7473 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7474 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7475 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7476 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7477 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7478 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7479 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7480 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7481 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7482 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7483 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7484 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7485 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7486 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7487 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7488 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7489 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7490 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7491 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7492 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7493 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7494 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7495 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7496 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7497 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7498 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7499 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7500 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7501 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7502 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7503 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7504 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7505 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7506 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7507 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7508 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7509 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7510 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7511 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7512 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7513 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7514 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7515 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7516 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7517 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7518 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7519 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7520 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7521 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7522 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7523 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7524 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7525 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7526 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7527 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7528 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7529 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7530 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7531 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7532 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7533 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7534 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7535 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7536 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7537 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7538 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7539 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7540 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7541 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7542 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7543 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7544 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7545 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7546 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7547 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7548 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7549 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7550 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7551 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7552 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7553 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7554 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7555 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7556 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7557 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7558 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7559 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7560 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7561 * sysdeps/ieee754/k_standard.c: Likewise.
7562 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7563 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7564 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7565 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7566 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7567 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7568 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7569 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7570 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7571 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7572 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7573 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7574 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7575 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7576 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7577 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7578 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7579 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7580 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7581 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7582 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7583 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7584 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7585 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7586 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7587 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7588 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7589 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7590 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7591 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7592 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7593 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7594 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7595 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7596 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7597 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7598 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7599 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7600 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7601 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7602 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7603 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7604 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7605 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7606 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7607 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7608 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7609 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7610 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7611 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7612 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7613 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7614 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7615 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7616 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7617 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7618 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7619 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7620 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7621 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7622 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7623 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7624 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7625 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7626 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7627 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7628 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7629 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7630 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7631 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7632 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7633 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7634 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7635 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7636 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7637 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7638 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7639 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7640 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7641 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7642 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7643 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7644 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7645 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7646 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7647 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7648 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7649 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7650 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7651 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7652 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7653 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7654 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7655 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7656 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7657 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7658 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7659 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7660 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7661 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7662 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7663 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7664 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7665 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7666 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7667 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7668 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7669 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7670 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7671 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7672 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7673 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7674 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7675 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7676 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7677 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7678 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7679 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7680 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7681 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7682 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7683 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7684 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7685 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7686 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7687 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7688 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7689 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7690 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7691 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7692 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7693 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7694 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7695 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7696 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7697 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7698 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7699 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7700 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7701 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7702 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7703 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7704 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7705 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7706 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7707 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7708 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7709 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7710 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7711 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7712 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7713 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7714 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7715 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7716 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7717 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7718 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7719 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7720 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7721 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7722 * sysdeps/ieee754/s_lib_version.c: Likewise.
7723 * sysdeps/ieee754/s_matherr.c: Likewise.
7724 * sysdeps/ieee754/s_signgam.c: Likewise.
7725 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7726 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7727 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7728 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7729 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7730 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7731 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7732 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7733 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7734 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7735 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7736 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7737 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7738 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7739 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7740 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7741 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7742 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7743 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7744 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7745 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7746
7747 2012-03-09 Joseph Myers <joseph@codesourcery.com>
7748
7749 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7750 * sunrpc/rpc_main.c: Likewise.
7751 * sunrpc/rpc_svcout.c: Likewise.
7752
7753 2012-03-09 David S. Miller <davem@davemloft.net>
7754
7755 * include/math_private.h: New file.
7756
7757 2012-03-09 Joseph Myers <joseph@codesourcery.com>
7758
7759 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7760 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7761 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7762 from <bits/socket_type.h>.
7763 (enum __socket_type): Don't define here.
7764 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7765 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7766 bits/socket_type.h.
7767
7768 [BZ #13566]
7769 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7770 checking __USE_GNU.
7771
7772 * Makerules ($(inst_includedir)/%.h): New rule.
7773 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7774 (install-others): Remove variable setting.
7775 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7776
7777 2012-03-08 Richard Henderson <rth@twiddle.net>
7778
7779 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7780 from macro to inline function; merge with the
7781 !__LIBC_INTERNAL_MATH_INLINES version.
7782 (__ieee754_sqrtf): Likewise.
7783
7784 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7785 to inline function.
7786 (__rintf, __floor, __floorf): Likewise.
7787
7788 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7789 macro to inline function.
7790 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7791
7792 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7793 not <math/math_private.h>.
7794
7795 2012-03-08 David S. Miller <davem@davemloft.net>
7796
7797 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7798 copyright year.
7799 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7800
7801 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7802
7803 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7804 normalization.
7805 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7806 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7807
7808 2012-03-08 Ulrich Drepper <drepper@gmail.com>
7809
7810 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7811 be defined individually, they must be defined as a block. Define
7812 S for printing a string instead of hidint the different by using a
7813 macro for adding the 'l'.
7814 * stdio-common/tst-fphex-wide.c: Adjust.
7815
7816 2012-03-07 Marek Polacek <polacek@redhat.com>
7817
7818 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7819
7820 2012-03-08 Marek Polacek <polacek@redhat.com>
7821
7822 [BZ #13806]
7823 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7824 * stdio-common/tst-fphex.c: Define a few macros to make the
7825 test reusable. Use them.
7826 * stdio-common/tst-fphex-wide.c: New file.
7827
7828 2012-03-08 Joseph Myers <joseph@codesourcery.com>
7829
7830 [BZ #6911]
7831 * manual/macros.texi (gnusystems): New macro.
7832 (nongnusystems): Likewise.
7833 (gnulinuxhurdsystems): Likewise.
7834 (gnuhurdsystems): Likewise..
7835 (gnulinuxsystems): Likewise.
7836 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7837 variants of the GNU system, not "GNU system".
7838 * manual/conf.texi: Likewise.
7839 * manual/errno.texi: Likewise. Update example of errno macro
7840 expansion.
7841 * manual/filesys.texi: Likewise.
7842 (getumask): Document as specific to GNU/Hurd.
7843 * manual/install.texi: Likewise. Reword some references to
7844 GNU/Linux.
7845 * manual/intro.texi: Likewise.
7846 * manual/io.texi: Likewise.
7847 (File Name Portability): Detail which constraints are inapplicable
7848 to all GNU systems and which are only inapplicable to GNU/Hurd.
7849 * manual/job.texi: Likewise.
7850 * manual/llio.texi: Likewise.
7851 (O_NOCTTY): Document as present on GNU/Linux.
7852 * manual/maint.texi: Likewise.
7853 * manual/memory.texi: Likewise.
7854 * manual/pattern.texi: Likewise.
7855 * manual/pipe.texi: Likewise.
7856 * manual/process.texi: Likewise.
7857 * manual/resource.texi: Likewise.
7858 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7859 child on GNU/Hurd.
7860 * manual/setjmp.texi: Likewise.
7861 * manual/signal.texi: Likewise.
7862 * manual/startup.texi: Likewise.
7863 * manual/stdio.texi: Likewise.
7864 * manual/terminal.texi: Likewise.
7865 (ONLCR): Document as POSIX.
7866 (OXTABS): Document availability on GNU/Linux as XTABS.
7867 (ONOEOT): Document availability separately from other bits.
7868 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7869 * manual/time.texi: Likewise.
7870 * manual/users.texi: Likewise.
7871 * INSTALL: Regenerated.
7872 * sysdeps/gnu/errlist.c: Regenerated.
7873
7874 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7875 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7876 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7877 puts.
7878 * configure: Regenerated.
7879
7880 2012-03-07 Joseph Myers <joseph@codesourcery.com>
7881
7882 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7883 default includes instead of AC_HEADER_CHECK.
7884 * sysdeps/i386/configure: Regenerated.
7885
7886 [BZ #10716]
7887 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7888 * math/s_cacoshf.c (__cacoshf): Likewise.
7889 * math/s_cacoshl.c (__cacoshl): Likewise.
7890 * math/s_casinh.c (__casinh): Set signs of result from argument.
7891 * math/s_casinhf.c (__casinhf): Likewise.
7892 * math/s_casinhl.c (__casinhl): Likewise.
7893 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7894 (casinh_test): Add more tests.
7895 * sysdeps/i386/fpu/libm-test-ulps: Update.
7896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7897
7898 2012-03-07 Ulrich Drepper <drepper@gmail.com>
7899
7900 * po/zh_TW.po: Update from translation team.
7901
7902 * login/Makefile (distribute): Remove variable.
7903 * catgets/Makefile: Likewise.
7904 * mach/Makefile: Likewise.
7905 * malloc/Makefile: Likewise.
7906 * misc/Makefile: Likewise.
7907 * iconv/Makefile: Likewise.
7908 * nscd/Makefile: Likewise.
7909 * hurd/Makefile: Likewise.
7910 * manual/Makefile: Likewise.
7911 * locale/Makefile: Likewise.
7912 * intl/Makefile: Likewise.
7913 * conform/Makefile: Likewise.
7914 * nss/Makefile: Likewise.
7915 * time/Makefile: Likewise.
7916 * soft-fp/Makefile: Likewise.
7917 * dirent/Makefile: Likewise.
7918 * gmon/Makefile: Likewise.
7919 * po/Makefile: Likewise.
7920 * rt/Makefile: Likewise.
7921 * socket/Makefile: Likewise.
7922 * math/Makefile: Likewise.
7923 * signal/Makefile: Likewise.
7924 * debug/Makefile: Likewise.
7925 * elf/Makefile: Likewise.
7926 * timezone/Makefile: Likewise.
7927 * stdlib/Makefile: Likewise.
7928 * iconvdata/Makefile: Likewise.
7929 * sunrpc/Makefile: Likewise.
7930 * io/Makefile: Likewise.
7931 * argp/Makefile: Likewise.
7932 * inet/Makefile: Likewise.
7933 * hesiod/Makefile: Likewise.
7934 * grp/Makefile: Likewise.
7935 * csu/Makefile: Likewise.
7936 * wctype/Makefile: Likewise.
7937 * crypt/Makefile: Likewise.
7938 * libio/Makefile: Likewise.
7939 * string/Makefile: Likewise.
7940 * nis/Makefile: Likewise.
7941 * resolv/Makefile: Likewise.
7942 * stdio-common/Makefile: Likewise.
7943 * wcsmbs/Makefile: Likewise.
7944 * dlfcn/Makefile: Likewise.
7945 * posix/Makefile: Likewise.
7946
7947 [BZ #6959]
7948 * timezone/Makefile: Don't install timezone files, just the programs
7949 and scripts.
7950
7951 2012-03-06 Ulrich Drepper <drepper@gmail.com>
7952
7953 * nss/databases.def: Add missing gshadow entry.
7954
7955 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7956
7957 2012-03-06 Marek Polacek <polacek@redhat.com>
7958
7959 [BZ #13726]
7960 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7961 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7962 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7963 * stdio-common/tst-long-dbl-fphex.c: New file.
7964
7965 2012-03-06 David S. Miller <davem@davemloft.net>
7966
7967 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7968 (set_obp_int): New function.
7969 (get_obp_int): New function.
7970 (__get_clockfreq_via_dev_openprom): Likewise.
7971 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7972 Avoid unused variable warnings on 'val' and use builtin_expect.
7973 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7974 __builtin_expect.
7975 (INLINE_CLONE_SYSCALL): Likewise.
7976
7977 2012-03-05 David S. Miller <davem@davemloft.net>
7978
7979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7980
7981 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7982
7983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7984
7985 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7986 only for |x| >= 40.
7987 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7988
7989 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
7990
7991 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7992 Replace gettimeofday with __vdso_gettimeofday.
7993
7994 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7995 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7996 __vdso_clock_gettime and __vdso_getcpu.
7997
7998 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7999 time with __vdso_time.
8000
8001 2012-03-05 Joseph Myers <joseph@codesourcery.com>
8002
8003 * manual/lang.texi (size_t): Note types to which size_t may be
8004 equivalent with the GNU C Library, but do not describe when
8005 differences between them are significant.
8006
8007 2012-03-05 Andreas Jaeger <aj@suse.de>
8008
8009 * sysdeps/i386/fpu/libm-test-ulps: Update.
8010
8011 2012-03-05 Joseph Myers <joseph@codesourcery.com>
8012
8013 [BZ #3976]
8014 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8015 (__ieee754_pow): Save and restore rounding mode and use
8016 round-to-nearest for main computations.
8017 * math/libm-test.inc (pow_test_tonearest): New function.
8018 (pow_test_towardzero): Likewise.
8019 (pow_test_downward): Likewise.
8020 (pow_test_upward): Likewise.
8021 (main): Call the new functions.
8022 * sysdeps/i386/fpu/libm-test-ulps: Update.
8023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8024
8025 [BZ #3976]
8026 * math/libm-test.inc (cosh_test_tonearest): New function.
8027 (cosh_test_towardzero): Likewise.
8028 (cosh_test_downward): Likewise.
8029 (cosh_test_upward): Likewise.
8030 (sinh_test_tonearest): Likewise.
8031 (sinh_test_towardzero): Likewise.
8032 (sinh_test_downward): Likewise.
8033 (sinh_test_upward): Likewise.
8034 (main): Call the new functions.
8035 * sysdeps/i386/fpu/libm-test-ulps: Update.
8036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8037
8038 2012-03-05 Tom de Vries <tom@codesourcery.com>
8039
8040 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8041 default stack guard is set in last bytes.
8042 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8043
8044 2012-03-05 Kees Cook <keescook@chromium.org>
8045
8046 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
8047
8048 [BZ #13656]
8049 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8050 possibly allocate from heap instead of stack.
8051 * stdio-common/bug-vfprintf-nargs.c: New file.
8052 * stdio-common/Makefile (tests): Add nargs overflow test.
8053
8054 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
8055
8056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8057
8058 2012-03-03 Marek Polacek <polacek@redhat.com>
8059
8060 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8061 * math/math_private.h: Likewise.
8062 * stdlib/tst-strtod.c: Likewise.
8063 * sysdeps/i386/i486/bits/atomic.h: Likewise.
8064 * sysdeps/x86_64/bits/atomic.h: Likewise.
8065
8066 2012-03-02 David S. Miller <davem@davemloft.net>
8067
8068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8072 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8073 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8074 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8075 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8076
8077 2012-03-02 Roland McGrath <roland@hack.frob.com>
8078
8079 [BZ #13792]
8080 * manual/examples/README: New file, says the example source files
8081 can be used under GPL>=2.
8082 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8083 line containing just "*/".
8084 * manual/examples/add.c: Add copyright header (GPL>=2).
8085 * manual/examples/argp-ex1.c: Likewise.
8086 * manual/examples/argp-ex2.c: Likewise.
8087 * manual/examples/argp-ex3.c: Likewise.
8088 * manual/examples/argp-ex4.c: Likewise.
8089 * manual/examples/atexit.c: Likewise.
8090 * manual/examples/db.c: Likewise.
8091 * manual/examples/dir.c: Likewise.
8092 * manual/examples/dir2.c: Likewise.
8093 * manual/examples/execinfo.c: Likewise.
8094 * manual/examples/filecli.c: Likewise.
8095 * manual/examples/filesrv.c: Likewise.
8096 * manual/examples/fmtmsgexpl.c: Likewise.
8097 * manual/examples/genpass.c: Likewise.
8098 * manual/examples/inetcli.c: Likewise.
8099 * manual/examples/inetsrv.c: Likewise.
8100 * manual/examples/isockad.c: Likewise.
8101 * manual/examples/longopt.c: Likewise.
8102 * manual/examples/memopen.c: Likewise.
8103 * manual/examples/memstrm.c: Likewise.
8104 * manual/examples/mkfsock.c: Likewise.
8105 * manual/examples/mkisock.c: Likewise.
8106 * manual/examples/mygetpass.c: Likewise.
8107 * manual/examples/pipe.c: Likewise.
8108 * manual/examples/popen.c: Likewise.
8109 * manual/examples/rprintf.c: Likewise.
8110 * manual/examples/search.c: Likewise.
8111 * manual/examples/select.c: Likewise.
8112 * manual/examples/setjmp.c: Likewise.
8113 * manual/examples/sigh1.c: Likewise.
8114 * manual/examples/sigusr.c: Likewise.
8115 * manual/examples/stpcpy.c: Likewise.
8116 * manual/examples/strdupa.c: Likewise.
8117 * manual/examples/strftim.c: Likewise.
8118 * manual/examples/strncat.c: Likewise.
8119 * manual/examples/subopt.c: Likewise.
8120 * manual/examples/swapcontext.c: Likewise.
8121 * manual/examples/termios.c: Likewise.
8122 * manual/examples/testopt.c: Likewise.
8123 * manual/examples/testpass.c: Likewise.
8124 * manual/examples/timeval_subtract.c: Likewise.
8125
8126 [BZ #13792]
8127 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8128 function to ...
8129 * manual/timeval_subtract.c.texi: ... here, new file.
8130
8131 2012-03-02 David S. Miller <davem@davemloft.net>
8132
8133 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8134
8135 2012-03-02 Joseph Myers <joseph@codesourcery.com>
8136
8137 [BZ #3976]
8138 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8139 (__sin): Save and restore rounding mode and use round-to-nearest
8140 for all computations.
8141 (__cos): Save and restore rounding mode and use round-to-nearest
8142 for all computations.
8143 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8144 <fenv.h>.
8145 (tan): Save and restore rounding mode and use round-to-nearest for
8146 all computations.
8147 * math/libm-test.inc (cos_test_tonearest): New function.
8148 (cos_test_towardzero): Likewise.
8149 (cos_test_downward): Likewise.
8150 (cos_test_upward): Likewise.
8151 (sin_test_tonearest): Likewise.
8152 (sin_test_towardzero): Likewise.
8153 (sin_test_downward): Likewise.
8154 (sin_test_upward): Likewise.
8155 (tan_test_tonearest): Likewise.
8156 (tan_test_towardzero): Likewise.
8157 (tan_test_downward): Likewise.
8158 (tan_test_upward): Likewise.
8159 (main): Call the new functions.
8160 * sysdeps/i386/fpu/libm-test-ulps: Update.
8161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8162
8163 [BZ #10135]
8164 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8165 small n, then large n, before computing and testing k+n.
8166 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8167 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8168 Likewise.
8169 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8170 Likewise.
8171 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8172 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8173 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8174 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8175 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8176 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8177 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8178 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8179 * math/libm-test.inc (scalbn_test): Add more tests.
8180 (scalbln_test): Likewise.
8181
8182 * manual/filesys.texi (mode_t): Describe constraints on size and
8183 signedness, not exact equivalence to a particular type.
8184 (ino_t): Likewise.
8185 (ino64_t): Likewise.
8186 (dev_t): Likewise.
8187 (nlink_t): Likewise.
8188 (blkcnt_t): Likewise.
8189 (blkcnt64_t): Likewise.
8190 * manual/llio.texi (off_t): Likewise.
8191
8192 [BZ #3976]
8193 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8194 (__ieee754_exp): Save and restore rounding mode and use
8195 round-to-nearest for all computations.
8196 * math/libm-test.inc (exp_test_tonearest): New function.
8197 (exp_test_towardzero): Likewise.
8198 (exp_test_downward): Likewise.
8199 (exp_test_upward): Likewise.
8200 (main): Call the new functions.
8201 * sysdeps/i386/fpu/libm-test-ulps: Update.
8202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8203
8204 2012-03-01 Chris Demetriou <cgd@google.com>
8205
8206 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8207 have predictable order.
8208
8209 2012-03-01 David S. Miller <davem@davemloft.net>
8210
8211 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8212
8213 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8214 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8215 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8216 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8217
8218 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8219 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8220 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8222 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8223 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8224 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8225 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8226 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8227
8228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8229
8230 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8231 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8232 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8233
8234 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8235 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8236 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8237 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8238 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8239 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8240 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8241 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8242 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8243 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8244 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8245 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8246 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8247 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8248 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8249 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8250 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8251 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8252 * sysdeps/sparc/elf/configure: Regenerated.
8253
8254 2012-03-01 Joseph Myers <joseph@codesourcery.com>
8255
8256 * configure.in (AS, LD): Require binutils 2.20 or later.
8257 * configure: Regenerated.
8258 * manual/install.texi (Tools for Compilation): Give binutils 2.20
8259 as required minimum version.
8260 * INSTALL: Regenerated.
8261
8262 [BZ #2541]
8263 [BZ #4108]
8264 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8265 before squaring exponent.
8266 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8267 bottom long double and 27 bits of top long double before squaring
8268 exponent.
8269 * math/libm-test.inc (erfc_test): Add more tests.
8270 * sysdeps/i386/fpu/libm-test-ulps: Update.
8271 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8273
8274 2012-03-01 Kai Tietz <ktietz@redhat.com>
8275
8276 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8277 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8278 containing bit-fields.
8279 * soft-fp/extended.h (_FP_UNION_E): Likewise.
8280 * soft-fp/single.h (_FP_UNION_S): Likewise.
8281 * soft-fp/double.h (_FP_UNION_D): Likewise.
8282
8283 2012-02-29 Joseph Myers <joseph@codesourcery.com>
8284
8285 [BZ #13786]
8286 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8287 not include ../strcmp.S.
8288 [USE_AS_STRNCASECMP_L]: Likewise.
8289 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8290 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8291 * sysdeps/i386/i686/multiarch/strncase_l-c.c
8292 (__strncasecmp_l_ia32): Define as alias to
8293 __strncasecmp_l_nonascii.
8294
8295 [BZ #5794]
8296 * math/libm-test.inc (expm1_test): Add test for bug 5794.
8297 * sysdeps/i386/fpu/libm-test-ulps: Update.
8298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8299
8300 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8302
8303 2012-02-29 Jeff Law <law@redhat.com>
8304
8305 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8306 out of bounds read.
8307
8308 2012-02-29 Marek Polacek <polacek@redhat.com>
8309
8310 [BZ #13706]
8311 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8312 * elf/Makefile: Add rules to run tst-unused-dep.out.
8313
8314 2012-02-28 David S. Miller <davem@davemloft.net>
8315
8316 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8317 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8318 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8319 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8320 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8321 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8322
8323 2012-02-29 Joseph Myers <joseph@codesourcery.com>
8324
8325 * math/libm-test.inc (llround_test): Move one test from
8326 lround_test. Use TEST_f_L in moved test.
8327 (lround_test): Move misplaced test to llround_test. Add testcase
8328 from bug 2561.
8329
8330 2012-02-28 Ulrich Drepper <drepper@gmail.com>
8331
8332 * sysdeps/x86_64/fpu/e_expf.S: New file.
8333 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8334
8335 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
8336
8337 [BZ #13637]
8338 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8339 of remain_len that may cause incomplete multi-byte character and
8340 false match.
8341 * posix/bug-regex33.c: New file.
8342 * posix/Makefile (tests): Add bug-regex33.
8343
8344 2012-02-28 Joseph Myers <joseph@codesourcery.com>
8345
8346 * manual/macros.texi: New file.
8347 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8348 * manual/libc.texinfo: Include macros.texi.
8349 * manual/creatute.texi: Likewise.
8350 * manual/install.texi: Likewise.
8351 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8352 @glibcadj{} in references to the GNU C Library.
8353 * manual/charset.texi: Likewise.
8354 * manual/conf.texi: Likewise.
8355 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
8356 when not using those macros.
8357 * manual/creature.texi: Likewise.
8358 * manual/crypt.texi: Likewise.
8359 * manual/errno.texi: Likewise.
8360 * manual/filesys.texi: Likewise.
8361 * manual/header.texi: Likewise.
8362 * manual/install.texi: Likewise.
8363 * manual/intro.texi: Likewise.
8364 * manual/io.texi: Likewise.
8365 * manual/job.texi: Likewise.
8366 * manual/lang.texi: Likewise.
8367 * manual/libc.texiinfo: Likewise.
8368 * manual/llio.texi: Likewise.
8369 * manual/locale.texi: Likewise.
8370 * manual/maint.texi: Likewise.
8371 * manual/math.texi: Likewise.
8372 * manual/memory.texi: Likewise.
8373 * manual/message.texi: Likewise.
8374 * manual/nss.texi: Likewise.
8375 * manual/pattern.texi: Likewise.
8376 * manual/process.texi: Likewise.
8377 * manual/resource.texi: Likewise.
8378 * manual/search.texi: Likewise.
8379 * manual/setjmp.texi: Likewise.
8380 * manual/signal.texi: Likewise.
8381 * manual/socket.texi: Likewise.
8382 * manual/startup.texi: Likewise.
8383 * manual/stdio.texi: Likewise.
8384 * manual/string.texi: Likewise.
8385 * manual/sysinfo.texi: Likewise.
8386 * manual/syslog.texi: Likewise.
8387 * manual/terminal.texi: Likewise.
8388 * manual/time.texi: Likewise.
8389 * manual/users.texi: Likewise.
8390 * INSTALL: Regenerated.
8391 * NOTES: Regenerated.
8392 * sysdeps/gnu/errlist.c: Regenerated.
8393
8394 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
8395
8396 * include/dirent.h: Include <dirstream.h> before
8397 <dirent/dirent.h>.
8398
8399 2012-02-28 David S. Miller <davem@davemloft.net>
8400
8401 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
8402 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
8403 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8404 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8405
8406 2012-02-27 David S. Miller <davem@davemloft.net>
8407
8408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8410 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8411 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8412
8413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8414 frame pointer instead of stack pointer relative arg slot.
8415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8416 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8417 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8418
8419 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
8420
8421 [BZ #3992]
8422 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8423
8424 2012-02-27 David S. Miller <davem@davemloft.net>
8425
8426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8430 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8431 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8432 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8433 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8434
8435 2012-02-27 Joseph Myers <joseph@codesourcery.com>
8436
8437 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8438 later. Allow versions 5-9.
8439 * configure: Regenerated.
8440 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8441 required minimum version and 4.6 as recommended version. Do not
8442 mention bugs in GCC 2.7 and 2.8.
8443 * INSTALL: Regenerated.
8444
8445 2012-02-27 David S. Miller <davem@davemloft.net>
8446
8447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8451 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8452 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8453 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8454 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8455
8456 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8457 manipulate bits before adding and subtracting TWO112[sx].
8458 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8459
8460 2012-02-27 Roland McGrath <roland@hack.frob.com>
8461
8462 [BZ #13775]
8463 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8464 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8465 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8466 being in POSIX, because they are in 1003.1-2008.
8467
8468 * rt/tst-aio.c: Include <fcntl.h>.
8469 * rt/tst-aio7.c: Likewise.
8470 * rt/tst-aio64.c: Likewise.
8471
8472 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8473
8474 2012-02-27 Joseph Myers <joseph@codesourcery.com>
8475
8476 * manual/install.texi (--with-headers): Describe headers as
8477 interface headers, not private headers.
8478 (Specific advice for GNU/Linux systems): Describe use of headers
8479 from "make headers_install", not private headers from older
8480 kernels.
8481 * INSTALL: Regenerated.
8482 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8483 Change to 2.6.19.
8484 * sysdeps/unix/sysv/linux/configure: Regenerated.
8485
8486 * manual/llio.texi (fclean): Remove documentation.
8487
8488 * manual/Makefile (libc-texi-generated): New variable. Include
8489 version.texi.
8490 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8491 $(libc-texi-generated), not duplicated list of files.
8492 (version.texi, stamp-version): New rules.
8493 (realclean): Remove $(libc-texi-generated), not individual files
8494 from that list. Do not remove dir-add.texinfo.
8495 * manual/libc.texinfo: Comment out uses of edition numbers and
8496 references to printed manual. Remove last-updated dates.
8497 (EDITION): Comment out.
8498 (ISBN): Likewise.
8499 (VERSION, UPDATED): Remove.
8500 (version.texi): Include.
8501
8502 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8503
8504 * sysdeps/posix/spawni.c: Include <signal.h>.
8505 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8506 * sysdeps/pthread/aio_fsync.c: Likewise.
8507
8508 2012-02-26 Ulrich Drepper <drepper@gmail.com>
8509
8510 * conform/Makefile (tests): Run only when not cross-compiling and
8511 when fast-check is not defined.
8512
8513 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8514 * conform/data/limits.h-data: Fixes for POSIX2008.
8515 * conform/run-conformtest.sh: Run all tests.
8516 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8517 headers.
8518 * include/bits/dlfcn.h: Likewise.
8519 * include/langinfo.h: Likewise.
8520 * include/monetary.h: Likewise.
8521 * include/sys/poll.h: Likewise.
8522
8523 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8524 for __USE_GNU.
8525 * posix/spawn.h: Define __need_sigset_t.
8526 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8527 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8528 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8529 to get sigevent_t only.
8530 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8531 only for __USE_GNU.
8532 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8533 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8534 process_vm_writev only for __USE_GNU.
8535 * termios/termios.h: Declare tcgetsid also for POSIX2008.
8536
8537 * conform/Makefile: For now ignore errors from run-conformtest.
8538 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8539 POSIX to avoid namespace pollution. Don't prepend headers.
8540 * conform/data/aio.h-data: Fixes for POSIX testing.
8541 * conform/data/fcntl.h-data: Likewise.
8542 * conform/data/glob.h-data: Likewise.
8543 * conform/data/grp.h-data: Likewise.
8544 * conform/data/pthread.h-data: Likewise.
8545 * conform/data/pwd.h-data: Likewise.
8546 * conform/data/signal.h-data: Likewise.
8547 * conform/data/spawn.h-data: Likewise.
8548 * conform/data/stdio.h-data: Likewise.
8549 * conform/data/stdlib.h-data: Likewise.
8550 * conform/data/stropts.h-data: Likewise.
8551 * conform/data/sys/mman.h-data: Likewise.
8552 * conform/data/sys/stat.h-data: Likewise.
8553 * conform/data/sys/types.h-data: Likewise.
8554 * conform/data/sys/wait.h-data: Likewise.
8555 * conform/data/time.h-data: Likewise.
8556 * conform/data/unistd.h-data: Likewise.
8557 * conform/data/utime.h-data: Likewise.
8558
8559 * io/sys/stat.h: fchmod was always in POSIX.
8560 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8561 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8562 * rt/aio.h: Define __need_timespec before including <time.h>.
8563 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8564 struct. Add forward declaration of pthread_attr_t and use it in
8565 sigevent.
8566 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8567 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8568 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8569 always remove CLK_TCK definition.
8570
8571 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8572
8573 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8574
8575 2012-02-25 Ulrich Drepper <drepper@gmail.com>
8576
8577 * conform/run-conformtest.sh: New file.
8578 * conform/Makefile: Run run-conformtest for tests.
8579 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8580 support.
8581
8582 * conform/data/uchar.h-data: New file.
8583 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8584 * conform/data/arpa/inet.h-data: Likewise.
8585 * conform/data/assert.h-data: Likewise.
8586 * conform/data/complex.h-data: Likewise.
8587 * conform/data/cpio.h-data: Likewise.
8588 * conform/data/ctype.h-data: Likewise.
8589 * conform/data/dirent.h-data: Likewise.
8590 * conform/data/dlfcn.h-data: Likewise.
8591 * conform/data/errno.h-data: Likewise.
8592 * conform/data/fcntl.h-data: Likewise.
8593 * conform/data/float.h-data: Likewise.
8594 * conform/data/fmtmsg.h-data: Likewise.
8595 * conform/data/fnmatch.h-data: Likewise.
8596 * conform/data/ftw.h-data: Likewise.
8597 * conform/data/glob.h-data: Likewise.
8598 * conform/data/grp.h-data: Likewise.
8599 * conform/data/iconv.h-data: Likewise.
8600 * conform/data/inttypes.h-data: Likewise.
8601 * conform/data/langinfo.h-data: Likewise.
8602 * conform/data/libgen.h-data: Likewise.
8603 * conform/data/limits.h-data: Likewise.
8604 * conform/data/locale.h-data: Likewise.
8605 * conform/data/math.h-data: Likewise.
8606 * conform/data/monetary.h-data: Likewise.
8607 * conform/data/mqueue.h-data: Likewise.
8608 * conform/data/ndbm.h-data: Likewise.
8609 * conform/data/net/if.h-data: Likewise.
8610 * conform/data/netdb.h-data: Likewise.
8611 * conform/data/netinet/in.h-data: Likewise.
8612 * conform/data/nl_types.h-data: Likewise.
8613 * conform/data/poll.h-data: Likewise.
8614 * conform/data/pthread.h-data: Likewise.
8615 * conform/data/pwd.h-data: Likewise.
8616 * conform/data/regex.h-data: Likewise.
8617 * conform/data/sched.h-data: Likewise.
8618 * conform/data/search.h-data: Likewise.
8619 * conform/data/semaphore.h-data: Likewise.
8620 * conform/data/setjmp.h-data: Likewise.
8621 * conform/data/signal.h-data: Likewise.
8622 * conform/data/spawn.h-data: Likewise.
8623 * conform/data/stdarg.h-data: Likewise.
8624 * conform/data/stdio.h-data: Likewise.
8625 * conform/data/stdlib.h-data: Likewise.
8626 * conform/data/string.h-data: Likewise.
8627 * conform/data/strings.h-data: Likewise.
8628 * conform/data/stropts.h-data: Likewise.
8629 * conform/data/sys/ipc.h-data: Likewise.
8630 * conform/data/sys/mman.h-data: Likewise.
8631 * conform/data/sys/msg.h-data: Likewise.
8632 * conform/data/sys/resource.h-data: Likewise.
8633 * conform/data/sys/select.h-data: Likewise.
8634 * conform/data/sys/sem.h-data: Likewise.
8635 * conform/data/sys/shm.h-data: Likewise.
8636 * conform/data/sys/socket.h-data: Likewise.
8637 * conform/data/sys/stat.h-data: Likewise.
8638 * conform/data/sys/statvfs.h-data: Likewise.
8639 * conform/data/sys/time.h-data: Likewise.
8640 * conform/data/sys/timeb.h-data: Likewise.
8641 * conform/data/sys/times.h-data: Likewise.
8642 * conform/data/sys/types.h-data: Likewise.
8643 * conform/data/sys/uio.h-data: Likewise.
8644 * conform/data/sys/un.h-data: Likewise.
8645 * conform/data/sys/utsname.h-data: Likewise.
8646 * conform/data/sys/wait.h-data: Likewise.
8647 * conform/data/syslog.h-data: Likewise.
8648 * conform/data/tar.h-data: Likewise.
8649 * conform/data/termios.h-data: Likewise.
8650 * conform/data/utime.h-data: Likewise.
8651 * conform/data/utmpx.h-data: Likewise.
8652 * conform/data/varargs.h-data: Likewise.
8653 * conform/data/wchar.h-data: Likewise.
8654 * conform/data/wctype.h-data: Likewise.
8655 * conform/data/wordexp.h-data: Likewise.
8656
8657 * include/stropts.h: New file.
8658 * include/uchar.h: New file.
8659 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8660 * include/assert.h: Likewise.
8661 * include/ctype.h: Likewise.
8662 * include/dirent.h: Likewise.
8663 * include/dlfcn.h: Likewise.
8664 * include/fcntl.h: Likewise.
8665 * include/fnmatch.h: Likewise.
8666 * include/glob.h: Likewise.
8667 * include/grp.h: Likewise.
8668 * include/libio.h: Likewise.
8669 * include/locale.h: Likewise.
8670 * include/math.h: Likewise.
8671 * include/net/if.h: Likewise.
8672 * include/netdb.h: Likewise.
8673 * include/netinet/in.h: Likewise.
8674 * include/pthread.h: Likewise.
8675 * include/pwd.h: Likewise.
8676 * include/regex.h: Likewise.
8677 * include/sched.h: Likewise.
8678 * include/search.h: Likewise.
8679 * include/setjmp.h: Likewise.
8680 * include/signal.h: Likewise.
8681 * include/stdio.h: Likewise.
8682 * include/stdlib.h: Likewise.
8683 * include/string.h: Likewise.
8684 * include/sys/cdefs.h: Likewise.
8685 * include/sys/mman.h: Likewise.
8686 * include/sys/msg.h: Likewise.
8687 * include/sys/resource.h: Likewise.
8688 * include/sys/select.h: Likewise.
8689 * include/sys/socket.h: Likewise.
8690 * include/sys/stat.h: Likewise.
8691 * include/sys/statvfs.h: Likewise.
8692 * include/sys/time.h: Likewise.
8693 * include/sys/times.h: Likewise.
8694 * include/sys/uio.h: Likewise.
8695 * include/sys/utsname.h: Likewise.
8696 * include/sys/wait.h: Likewise.
8697 * include/termios.h: Likewise.
8698 * include/time.h: Likewise.
8699 * include/ulimit.h: Likewise.
8700 * include/unistd.h: Likewise.
8701 * include/utime.h: Likewise.
8702 * include/wchar.h: Likewise.
8703 * include/wctype.h: Likewise.
8704 * include/wordexp.h: Likewise.
8705
8706 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8707
8708 * time/time.h: TIME_UTC must be a macro.
8709 Make timespec_get available for ISO C11 only as well.
8710
8711 2012-02-24 Ulrich Drepper <drepper@gmail.com>
8712
8713 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8714 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8715
8716 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8717
8718 * configure.in: Use -o not -a in test for unsupported multi-arch.
8719
8720 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8721
8722 * manual/texinfo.tex: Update to version 2012-01-19.16.
8723
8724 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8725
8726 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8727
8728 2012-02-24 Roland McGrath <roland@hack.frob.com>
8729
8730 [BZ #13738]
8731 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8732 * manual/fdl-1.3.texi: New file.
8733 * manual/fdl-1.1.texi: File removed.
8734
8735 [BZ #13738]
8736 * manual/libc.texinfo (FDL_VERSION): New @set.
8737 Use it for mention of FDL in cover text.
8738 (Documentation License): Use it in @include file name.
8739
8740 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8741 Roland McGrath <roland@hack.frob.com>
8742
8743 [BZ #5461]
8744 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8745 not LONG_LONG_MAX and LONG_LONG_MIN.
8746 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8747 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8748 name.
8749 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8750
8751 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8752
8753 [BZ #2547]
8754 [BZ #11365]
8755 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8756 manipulate bits before adding and subtracting TWO23[sx].
8757 * math/libm-test.inc (nearbyint_test): Add more tests.
8758
8759 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8760
8761 [BZ #2548]
8762 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8763 bits before adding and subtracting TWO23[sx].
8764 * math/libm-test.inc (rint_test): Add more tests.
8765 (rint_test_tonearest): Likewise.
8766 (rint_test_towardzero): Likewise.
8767 (rint_test_downward): Likewise.
8768 (rint_test_upward: Likewise.
8769
8770 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8771
8772 [BZ #10110]
8773 * include/stdc-predef.h: New file. Extracted from features.h.
8774 * include/features.h: Include stdc-predef.h.
8775 * Makefile (headers): Add stdc-predef.h.
8776 * CONFORMANCE (Compiler limitations): Update.
8777
8778 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8779
8780 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8781
8782 2012-02-21 David S. Miller <davem@davemloft.net>
8783
8784 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8785 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8786
8787 2012-02-20 David S. Miller <davem@davemloft.net>
8788
8789 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8790 using a normal save/restore sequence, rather than allocating a
8791 dummy stack frame just to store a frame pointer and restore.
8792 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8793
8794 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8795
8796 * manual/install.texi: Fix stray word in line-wrapped comment.
8797
8798 2012-02-20 David S. Miller <davem@davemloft.net>
8799
8800 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8801 both binutils and gcc support GOTDATA.
8802
8803 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8804 "rd %pc" in the PIC register setup sequences.
8805
8806 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8807 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8808 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8809 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8810 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8811 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8812 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8813 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8814 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8815 (SYSCALL_ERROR_HANDLER): Likewise.
8816 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8817 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8818 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8819 (SYSCALL_ERROR_HANDLER): Likewise.
8820
8821 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8822 (HAVE_GCC_GOTDATA): New.
8823 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8824 relocation support in both binutils and gcc.
8825 * sysdeps/sparc/elf/configure: Regenerate.
8826
8827 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8828 * sysdeps/sparc/sparc32/elf/configure: Delete.
8829 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8830 * sysdeps/sparc/sparc64/elf/configure: Delete.
8831 * sysdeps/sparc/elf/configure.in: New file.
8832 * sysdeps/sparc/elf/configure: Generate.
8833
8834 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8835 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8836 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8837 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8838 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8839
8840 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8841
8842 * manual/install.texi: Do not mention specific glibc version
8843 numbers.
8844 * manual/libc.texinfo (VERSION, UPDATED): Update.
8845 (@copying): Use @copyright{} and range of years.
8846
8847 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8848
8849 [BZ #13695]
8850 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8851 [crti.S not in sysdirs] (generated): Do not append.
8852 [crti.S not in sysdirs] (omit-deps): Likewise.
8853 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8854 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8855 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8856 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8857 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8858 Likewise.
8859 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8860 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8861 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8862 * csu/defs.awk: Remove file.
8863 * sysdeps/generic/initfini.c: Likewise.
8864 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8865 variable.
8866 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8867 Likewise.
8868
8869 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8870
8871 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8872 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8873 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8874 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8875 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8876 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8877 <bits/epoll.h>.
8878 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8879 (__EPOLL_PACKED): Define to empty if not defined by
8880 <bits/epoll.h>.
8881 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8882 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8883 bits/epoll.h.
8884
8885 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8886
8887 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8888 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8889 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8890 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8891 <bits/timerfd.h>.
8892 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8893 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8894 bits/timerfd.h.
8895
8896 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8897
8898 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8899 in C locale.
8900 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8901 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8902 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8904
8905 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8906
8907 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8908 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8909
8910 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8911
8912 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8913 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8914 defined.
8915 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8916 Likewise.
8917 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8918 entry for 2.16.
8919
8920 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8921
8922 * math/w_acos.c: Use non-signaling floating-point comparisons.
8923 * math/w_acosf.c: Likewise.
8924 * math/w_acosh.c: Likewise.
8925 * math/w_acoshf.c: Likewise.
8926 * math/w_acoshl.c: Likewise.
8927 * math/w_acosl.c: Likewise.
8928 * math/w_asin.c: Likewise.
8929 * math/w_asinf.c: Likewise.
8930 * math/w_asinl.c: Likewise.
8931 * math/w_atanh.c: Likewise.
8932 * math/w_atanhf.c: Likewise.
8933 * math/w_atanhl.c: Likewise.
8934 * math/w_exp2.c: Likewise.
8935 * math/w_exp2f.c: Likewise.
8936 * math/w_exp2l.c: Likewise.
8937 * math/w_j0.c: Likewise.
8938 * math/w_j0f.c: Likewise.
8939 * math/w_j0l.c: Likewise.
8940 * math/w_j1.c: Likewise.
8941 * math/w_j1f.c: Likewise.
8942 * math/w_j1l.c: Likewise.
8943 * math/w_jn.c: Likewise.
8944 * math/w_jnf.c: Likewise.
8945 * math/w_log.c: Likewise.
8946 * math/w_log10.c: Likewise.
8947 * math/w_log10f.c: Likewise.
8948 * math/w_log10l.c: Likewise.
8949 * math/w_log2.c: Likewise.
8950 * math/w_log2f.c: Likewise.
8951 * math/w_log2l.c: Likewise.
8952 * math/w_logf.c: Likewise.
8953 * math/w_logl.c: Likewise.
8954 * math/w_sqrt.c: Likewise.
8955 * math/w_sqrtf.c: Likewise.
8956 * math/w_sqrtl.c: Likewise.
8957 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8958 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8959 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8960 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8961 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8962
8963 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8964
8965 [BZ #9739]
8966 * manual/string.texi (strnlen): Use correct parameter name in
8967 equivalent expression.
8968
8969 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8970
8971 [BZ #11174]
8972 * manual/users.texi (seteuid): Consistently use neweuid for
8973 argument name.
8974
8975 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8976
8977 [BZ #13704]
8978 * manual/nss.texi (Services in the NSS configuration): Correct
8979 list of services in example configuration file.
8980
8981 2012-02-19 Nick Bowler <nbowler@draconx.ca>
8982
8983 [BZ #11322]
8984 * manual/arith.texi: Remove statements about negative zero
8985 behaving identically to zero.
8986
8987 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8988
8989 [BZ #5993]
8990 * manual/install.texi: Do not document upgrading from libc5.
8991
8992 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8993
8994 [BZ #4596]
8995 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8996
8997 2012-02-18 David S. Miller <davem@davemloft.net>
8998
8999 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9000 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9001 %o7 across the call.
9002 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9003 instead.
9004 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9005 SETUP_PIC_REG_LEAF.
9006 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9007 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9008 * sysdeps/sparc/crtn.S: Likewise.
9009
9010 2012-02-17 Ulrich Drepper <drepper@gmail.com>
9011
9012 * aout/Makefile: Remove.
9013
9014 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
9015
9016 [BZ #13058]
9017 * manual/examples/argp-ex1.c (main): Format definition in GNU
9018 style.
9019 * manual/examples/argp-ex2.c (main): Likewise.
9020 * manual/examples/argp-ex3.c (main): Likewise.
9021 * manual/examples/argp-ex4.c (main): Likewise.
9022 * manual/examples/longopt.c (main): Use new-style prototype
9023 definition.
9024 * manual/examples/strncat.c (main): Specify return type and use
9025 (void) for arguments.
9026 * manual/examples/subopt.c (main): Use char **argv argument.
9027
9028 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9029
9030 [BZ #5077]
9031 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9032 rounding modes.
9033
9034 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
9035
9036 [BZ #6907]
9037 * manual/string.texi (strchr): Change when strchrnul is
9038 recommended.
9039
9040 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
9041
9042 [BZ #174]
9043 * manual/locale.texi (setlocale): Document LOCPATH.
9044
9045 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9046
9047 [BZ #10210]
9048 * manual/process.texi (execle): Move @dots{} before last argument.
9049
9050 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
9051
9052 [BZ #12047]
9053 * manual/charset.texi (Generic Charset Conversion): Fix typo
9054 (LC_TYPE -> LC_CTYPE).
9055
9056 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
9057
9058 [BZ #5805]
9059 * manual/arith.texi (scalbn): Use @var{} on parameter names.
9060 (scalbnf): Likewise.
9061 (scalbnl): Likewise.
9062 (scalbln): Likewise.
9063 (scalblnf): Likewise.
9064 (scalblnl): Likewise.
9065 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9066 (vwarnx): Likewise.
9067 (verr): Likewise.
9068 (verrx): Likewise.
9069 * manual/filesys.texi (telldir): Use braces around return type.
9070 * manual/llio.texi (mmap): Add space after comma.
9071 (mmap64): Likewise.
9072 * manual/math.texi (jn): Use @var{} on parameter names.
9073 (jnf): Likewise.
9074 (jnl): Likewise.
9075 (yn): Likewise.
9076 (ynf): Likewise.
9077 (ynl): Likewise.
9078 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9079 line.
9080 * manual/resource.texi (ulimit): Use @dots{} instead of literal
9081 "...".
9082 (sched_get_priority_min): Remove semicolon on @deftypefun line.
9083 (sched_get_priority_max): Likewise.
9084 * manual/signal.texi (sigvec): Add space after comma.
9085 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9086 names.
9087 (if_indextoname): Likewise.
9088 (if_freenameindex): Likewise.
9089 (sendto): Use ',' instead of '.' in prototype.
9090 * manual/startup.texi (syscall): Use @dots{} instead of literal
9091 "...".
9092 * manual/stdio.texi (__fpending): Separate initial words of
9093 paragraph from @deftypefun line.
9094 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9095 "...".
9096 (vsyslog): Use @var{} on parameter names.
9097 * manual/terminal.texi (stty): Use @var{} on parameter names.
9098 * manual/users.texi (getutmp): Use @var{} on parameter names.
9099 (getutmpx): Likewise.
9100
9101 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9102
9103 [BZ #6884]
9104 * manual/stdio.texi (fopen): Fix typos in description of
9105 ",ccs=STRING".
9106
9107 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9108
9109 [BZ #4026]
9110 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9111 get clock_id definition.
9112
9113 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
9114
9115 [BZ #4822]
9116 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9117 (madvise): Cast every argument to void on its own.
9118
9119 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9120
9121 [BZ #9902]
9122 * manual/startup.texi (Exit Status): Fix typo.
9123
9124 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9125
9126 [BZ #10140]
9127 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9128 * manual/examples/argp-ex2.c: Likewise.
9129 * manual/examples/argp-ex3.c: Likewise.
9130
9131 2012-02-16 Richard Henderson <rth@redhat.com>
9132
9133 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9134 * sysdeps/s390/s390-32/initfini.c: Remove.
9135 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9136 * sysdeps/s390/s390-64/initfini.c: Remove.
9137
9138 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9139
9140 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9141 compiler output for sysdeps/generic/initfini.c.
9142 * sysdeps/sh/elf/initfini.c: Remove file.
9143
9144 2012-02-16 David S. Miller <davem@davemloft.net>
9145
9146 [BZ #11494]
9147 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9148
9149 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9150 * sysdeps/sparc/crti.S: New file.
9151 * sysdeps/sparc/crtn.S: New file.
9152 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9153 * sysdeps/sparc/sparc64/Makefile: Likewise.
9154
9155 2012-02-15 Mike Frysinger <vapier@gentoo.org>
9156
9157 [BZ #3335]
9158 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9159
9160 2012-02-15 Roland McGrath <roland@hack.frob.com>
9161
9162 [BZ #4822]
9163 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9164
9165 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9166 (write, read, close): Likewise.
9167 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9168
9169 2012-02-15 Joseph Myers <joseph@codesourcery.com>
9170
9171 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9172 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9173 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9174 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9175 <bits/signalfd.h>.
9176 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9177 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9178 bits/signalfd.h.
9179
9180 2012-02-14 Marek Polacek <polacek@redhat.com>
9181
9182 * sysdeps/x86_64/crti.S: New file.
9183 * sysdeps/x86_64/crtn.S: New file.
9184 * sysdeps/x86_64/elf/initfini.c: Remove file.
9185
9186 2012-02-13 Joseph Myers <joseph@codesourcery.com>
9187
9188 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9189 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9190 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9191 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9192 <bits/inotify.h>.
9193 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9194 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9195 bits/inotify.h.
9196
9197 2012-02-13 Joseph Myers <joseph@codesourcery.com>
9198
9199 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9200 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9201 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9202 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9203 <bits/eventfd.h>.
9204 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9205 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9206 bits/eventfd.h.
9207
9208 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
9209
9210 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9211 __feraiseexcept instead of feraiseexcept.
9212
9213 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9214 nanosleep invocations.
9215 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9216 strings, and add error checking for a nanosleep invocations.
9217
9218 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9219
9220 Replace FSF snail mail address with URLs, as per GNU coding standards.
9221 Most of the snail mail addresses were wrong anyway, and omitting
9222 them makes the source code easier to maintain. Almost all of the
9223 changes are to license notices and to locale LC_IDENTIFICATION
9224 addresses, except for this one:
9225 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9226 not its snail mail address.
9227
9228 2012-02-09 Richard Henderson <rth@twiddle.net>
9229
9230 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9231 of kernel-features.h.
9232
9233 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9234
9235 2012-02-08 Marek Polacek <polacek@redhat.com>
9236
9237 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9238 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9239 * sysdeps/gnu/_G_config.h: Likewise.
9240 * sysdeps/generic/_G_config.h: Likewise.
9241
9242 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
9243
9244 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9245 tests.
9246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9247
9248 * sysdeps/powerpc/powerpc32/crti.S: New file.
9249 * sysdeps/powerpc/powerpc32/crtn.S: New file.
9250 * sysdeps/powerpc/powerpc64/crti.S: New file.
9251 * sysdeps/powerpc/powerpc64/crtn.S: New file.
9252
9253 * Makeconfig (have-initfini): Don't set.
9254 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9255 * configure.in (nopic_initfini): Don't substitute.
9256 * config.h.in (HAVE_INITFINI): Don't #undef.
9257 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9258 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9259
9260 2012-02-08 Joseph Myers <joseph@codesourcery.com>
9261
9262 Support crti.S and crtn.S provided directly by architectures.
9263 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9264 [crti.S in sysdirs] (omit-deps): Likewise.
9265 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9266 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9267 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9268 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9269 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9270 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9271 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9272 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9273 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9274 compiler output for sysdeps/generic/initfini.c.
9275 * sysdeps/i386/elf/Makefile: Remove file.
9276 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9277
9278 2012-02-07 Marek Polacek <polacek@redhat.com>
9279
9280 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9281 * sysdeps/gnu/_G_config.h: Likewise.
9282 * sysdeps/mach/hurd/_G_config.h: Likewise.
9283
9284 2012-02-07 Marek Polacek <polacek@redhat.com>
9285
9286 * math/Makefile (tests): Add tst-CMPLX2.
9287 * math/tst-CMPLX2.c: New file.
9288
9289 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
9290
9291 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9292
9293 * math/libm-test.inc (jn_test): Add missing L suffix.
9294
9295 2012-02-06 Marek Polacek <polacek@redhat.com>
9296
9297 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9298 * sysdeps/i386/fpu/e_powf.S: Likewise.
9299 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9300 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9301 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9302 * sysdeps/i386/fpu/e_pow.S: Likewise.
9303 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9304 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9305 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9306 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9307 * sysdeps/i386/fpu/e_log2.S: Likewise.
9308 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9309 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9310 * sysdeps/i386/fpu/e_powl.S: Likewise.
9311 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9312 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9313 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9314 * sysdeps/i386/fpu/e_logl.S: Likewise.
9315 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9316 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9317 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9318 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9319 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9320 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9321 * sysdeps/i386/fpu/e_log.S: Likewise.
9322 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9323 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9324 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9325 * sysdeps/i386/fpu/e_logf.S: Likewise.
9326 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9327 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9328 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9329 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9330 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9331 * sysdeps/i386/fpu/e_log10.S: Likewise.
9332 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9333 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9334 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9335 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9336 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9337 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9338 * sysdeps/i386/asm-syntax.h: Likewise.
9339 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9340 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9341 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9342 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9343 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9344 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9345 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9346 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9347 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9348 * sysdeps/powerpc/sysdep.h: Likewise.
9349 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9350 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9351
9352 2012-02-06 Joseph Myers <joseph@codesourcery.com>
9353
9354 [BZ #411]
9355 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9356
9357 2012-02-06 Joseph Myers <joseph@codesourcery.com>
9358
9359 * sysdeps/i386/sysdep.h: Include <features.h>.
9360 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9361 version.
9362
9363 2012-02-05 Joseph Myers <joseph@codesourcery.com>
9364
9365 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9366 Define.
9367 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9368 LOAD_PIC_REG_STR.
9369
9370 2012-02-03 Joseph Myers <joseph@codesourcery.com>
9371
9372 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9373 (SETUP_PIC_REG): Use GET_PC_THUNK.
9374 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9375 macro.
9376
9377 2012-02-03 Joseph Myers <joseph@codesourcery.com>
9378
9379 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9380 for non-PIC compilation.
9381 (SETUP_PIC_REG): Add .p2align directive.
9382 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9383 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9384 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9385 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9386 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9387 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9388 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9389 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9390 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9391 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9392 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9393 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9394 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9395 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9396 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9397 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9398 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9399 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9400 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9401 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9402 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9403 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9404 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9405 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9406 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9407 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9408 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9409 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9410 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9411 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9412 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9413 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9414 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9415 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9416 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9417 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9418 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9419 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9420 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9421 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9422 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9423
9424 2012-02-03 Joseph Myers <joseph@codesourcery.com>
9425
9426 * math/tst-CMPLX.c: Include <stdio.h>.
9427
9428 2012-01-31 Joseph Myers <joseph@codesourcery.com>
9429
9430 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9431 float.
9432 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9433 * sysdeps/sparc/bits/mathdef.h: Likewise.
9434
9435 2012-01-31 Marek Polacek <polacek@redhat.com>
9436
9437 * libio/libio.h: Don't define _PARAMS.
9438 * locale/programs/config.h: Don't define PARAMS.
9439 * stdlib/strtol_l.c: Likewise.
9440 (__strtol_l): Remove PARAMS from the prototype.
9441
9442 2012-01-31 Ulrich Drepper <drepper@gmail.com>
9443
9444 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
9445 names. Just use the correct names. Remove unnecessary wrapper
9446 functions.
9447 * malloc/arena.c: Likewise.
9448 * malloc/hooks.c: Likewise.
9449
9450 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9451 ARENA_TEST says not to. Simplify test for creation of a new arena.
9452 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9453
9454 2012-01-30 Ulrich Drepper <drepper@gmail.com>
9455
9456 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9457 into tail calls.
9458 (update_get_addr): New function.
9459 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9460 GET_ADDR_MODULE parameter.
9461
9462 2012-01-30 Joseph Myers <joseph@codesourcery.com>
9463
9464 * crypt/cert.c: Remove __STDC__ conditionals.
9465 * crypt/crypt-entry.c: Likewise.
9466 * crypt/crypt_util.c: Likewise.
9467 * libio/filedoalloc.c: Likewise.
9468 * libio/fileops.c: Likewise.
9469 * libio/genops.c: Likewise.
9470 * libio/iofclose.c: Likewise.
9471 * libio/iofdopen.c: Likewise.
9472 * libio/iofopen.c: Likewise.
9473 * libio/iofopen64.c: Likewise.
9474 * libio/iogetdelim.c: Likewise.
9475 * libio/iopopen.c: Likewise.
9476 * libio/obprintf.c: Likewise.
9477 * libio/oldfileops.c: Likewise.
9478 * libio/oldiofclose.c: Likewise.
9479 * libio/oldiofdopen.c: Likewise.
9480 * libio/oldiofopen.c: Likewise.
9481 * libio/oldiopopen.c: Likewise.
9482 * libio/wfiledoalloc.c: Likewise.
9483 * libio/wgenops.c: Likewise.
9484 * locale/programs/xmalloc.c: Likewise.
9485 * misc/syslog.c: Likewise.
9486 * stdio-common/xbug.c: Likewise.
9487 * string/memchr.c: Likewise.
9488 * string/memcmp.c: Likewise.
9489 * string/memrchr.c: Likewise.
9490 * string/rawmemchr.c: Likewise.
9491 * sysdeps/posix/getcwd.c: Likewise.
9492 * time/strftime_l.c: Likewise.
9493
9494 2012-01-30 Joseph Myers <joseph@codesourcery.com>
9495
9496 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
9497 * config.make.in (config-cflags-sse2avx): Define.
9498 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9499 Fix typo.
9500
9501 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9502
9503 * scripts/config.guess: Update from upstream config git repository.
9504 * scripts/config.sub: Likewise.
9505
9506 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9507
9508 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9509 (EM_NUM): Update.
9510 (R_TILEPRO_*, R_TILEGX_*): New macros.
9511
9512 * scripts/firstversions.awk: Fix bug in version range handling.
9513
9514 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9515
9516 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9517
9518 * include/sys/epoll.h: New file.
9519 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9520 libc_hidden_def.
9521
9522 2012-01-28 Ulrich Drepper <drepper@gmail.com>
9523
9524 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9525 Avoid unnecessary __WORDSIZE == 64 test.
9526 (fmaxf): Use VEX format if possible.
9527 (fmax): Likewise.
9528 (fminf): Likewise.
9529 (fmin): Likewise.
9530
9531 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9532 * math/math_private.h: Remove libc_fegetround* and
9533 libc_fesetround*.
9534 * sysdeps/i386/configure.in: Check for -msse2avx.
9535 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9536 also if SSE2AVX is defined.
9537 Remove libc_fegetround* and libc_fesetround*.
9538 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9539 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9540 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9541 of HAS_YMM_USABLE.
9542 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9543 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9544 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9545 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9546 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9547
9548 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9549
9550 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9551
9552 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9553 size is not set.
9554 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9555
9556 2012-01-27 Ulrich Drepper <drepper@gmail.com>
9557
9558 [BZ #13618]
9559 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9560 relocation.
9561 * Makeconfig (libm): Define.
9562 * elf/Makefile: Add rules to build and run tst-relsort1.
9563 * elf/tst-relsort1.c: New file.
9564 * elf/tst-relsort1mod1.c: New file.
9565 * elf/tst-relsort1mod2.c: New file.
9566
9567 2012-01-27 Joseph Myers <joseph@codesourcery.com>
9568
9569 * math/s_ldexp.c: Remove __STDC__ conditionals.
9570 * math/s_ldexpf.c: Likewise.
9571 * math/s_ldexpl.c: Likewise.
9572 * math/s_nextafter.c: Likewise.
9573 * math/s_nexttowardf.c: Likewise.
9574 * math/s_significand.c: Likewise.
9575 * math/s_significandf.c: Likewise.
9576 * math/s_significandl.c: Likewise.
9577 * math/w_jnl.c: Likewise.
9578 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9579 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9580 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9581 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9582 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9583 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9584 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9585 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9586 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9587 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9588 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9589 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9590 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9591 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9592 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9593 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9594 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9595 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9596 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9597 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9598 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9599 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9600 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9601 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9602 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9603 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9604 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9605 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9606 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9607 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9608 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9609 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9610 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9611 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9612 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9613 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9614 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9615 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9616 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9617 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9618 * sysdeps/ieee754/k_standard.c: Likewise.
9619 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9620 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9621 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9622 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9623 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9624 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9625 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9626 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9627 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9628 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9629 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9630 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9631 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9632 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9633 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9634 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9635 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9636 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9637 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9638 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9639 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9640 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9641 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9642 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9643 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9644 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9645 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9646 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9647 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9648 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9649 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9650 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9651 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9652 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9653 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9654 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9655 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9656 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9657 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9658 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9659 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9660 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9661 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9662 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9663 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9664 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9665 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9666 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9667 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9668 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9669 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9670 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9671 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9672 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9673 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9674 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9675 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9676 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9677 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9678 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9679 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9680 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9681 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9682 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9683 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9684 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9685 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9686 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9687 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9688 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9689 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9690 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9691 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9692 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9693 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9694 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9695 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9696 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9697 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9698 * sysdeps/ieee754/s_matherr.c: Likewise.
9699 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9700 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9701 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9702 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9703
9704 2012-01-26 Joseph Myers <joseph@codesourcery.com>
9705
9706 * crypt/md5.h: Remove __STDC__ conditionals.
9707 * libio/libioP.h: Likewise.
9708 * locale/programs/config.h: Likewise.
9709 * sysdeps/generic/sysdep.h: Likewise.
9710 * sysdeps/i386/asm-syntax.h: Likewise.
9711 * sysdeps/s390/asm-syntax.h: Likewise.
9712 * sysdeps/unix/sysdep.h: Likewise.
9713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9715
9716 2012-01-26 Joseph Myers <joseph@codesourcery.com>
9717
9718 * libio/libio.h: Remove __STDC__ conditionals.
9719 * malloc/obstack.h: Likewise.
9720 * math/complex.h: Likewise.
9721 * math/math.h: Likewise.
9722 * sysdeps/generic/_G_config.h: Likewise.
9723 * sysdeps/gnu/_G_config.h: Likewise.
9724 * sysdeps/mach/hurd/_G_config.h: Likewise.
9725 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9726 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9727 * sysdeps/sparc/bits/mathdef.h: Likewise.
9728
9729 2012-01-26 Ulrich Drepper <drepper@gmail.com>
9730
9731 [BZ #13583]
9732 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
9733 Clean up HAS_* macros.
9734 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
9735 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9736 possible.
9737 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9738 HAS_AVX.
9739 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9740 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9741 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9742 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9743 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9744
9745 2012-01-25 Joseph Myers <joseph@codesourcery.com>
9746
9747 * elf/tst-unique3.cc (gets): Remove declaration.
9748 * elf/tst-unique3lib.cc (gets): Likewise.
9749 * elf/tst-unique3lib2.cc (gets): Likewise.
9750 * elf/tst-unique4.cc (gets): Likewise.
9751
9752 2012-01-24 Ulrich Drepper <drepper@gmail.com>
9753
9754 * include/stdio.h: Add C++ protection. Add gets declarations and
9755 definitions.
9756 * debug/tst-chk1.c: Don't declare gets here.
9757 * stdio-common/tst-gets.c: Likewise.
9758
9759 2012-01-24 Joseph Myers <joseph@codesourcery.com>
9760
9761 * posix/glob: Remove directory.
9762
9763 2012-01-24 Joseph Myers <joseph@codesourcery.com>
9764
9765 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9766
9767 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9768
9769 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9770 of the non-standard EPFNOSUPPORT.
9771
9772 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9773
9774 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9775 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9776 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9777
9778 2012-01-21 Ulrich Drepper <drepper@gmail.com>
9779
9780 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9781
9782 2012-01-20 Ulrich Drepper <drepper@gmail.com>
9783
9784 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9785 transient errors.
9786 * nscd/grpcache.c (cache_addgr): Likewise.
9787 * nscd/hstcache.c (cache_addhst): Likewise.
9788 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9789 * nscd/pwdcache.c (cache_addpw): Likewise.
9790 * nscd/servicescache.c (cache_addserv): Likewise.
9791
9792 2012-01-16 Ulrich Drepper <drepper@gmail.com>
9793
9794 * malloc/malloc.c: Various cleanups.
9795 * malloc/hooks.c: Likewise.
9796
9797 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9798 * stdlib/bug-fmtmsg1.c: New file.
9799
9800 * stdlib/fmtmsg.c (init): Add missing unlock.
9801 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9802
9803 2012-01-12 Marek Polacek <polacek@redhat.com>
9804
9805 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9806 and _GNU_SOURCE.
9807
9808 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9809
9810 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9811 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9812 macro to ensure uniqueness of label name.
9813 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9814 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9815
9816 2012-01-11 Ulrich Drepper <drepper@gmail.com>
9817
9818 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9819
9820 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9821 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9822 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9823 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9824
9825 2012-01-10 Ulrich Drepper <drepper@gmail.com>
9826
9827 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9828
9829 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9830 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9831 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9832
9833 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9834
9835 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
9836 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9837 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9838 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
9839
9840 * math/bits/math-finite.h: Add ldexp support.
9841
9842 2012-01-10 Marek Polacek <polacek@redhat.com>
9843
9844 * locale/programs/localedef.h (show_archive_content): Add noreturn
9845 attribute.
9846
9847 2012-01-09 Ulrich Drepper <drepper@gmail.com>
9848
9849 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9850
9851 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9852
9853 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9854
9855 * io/Makefile (headers): Add bits/poll2.h.
9856
9857 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9858
9859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9860 typo #include statement.
9861
9862 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9863
9864 * include/sys/cdefs.h: Define __attribute_alloc_size.
9865 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9866 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9867 * elf/pldd.c: Likewise.
9868 * iconv/iconv_charmap.c: Likewise.
9869 * iconv/iconvconfig.c: Likewise.
9870 * iconv/strtab.c: Likewise.
9871 * locale/programs/locale.c: Likewise.
9872 * locale/programs/localedef.h: Likewise.
9873 * locale/programs/simple-hash.c: Likewise.
9874 * nscd/nscd.h: Likewise.
9875 * nss/makedb.c: Likewise.
9876 * sysdeps/generic/ldconfig.h: Likewise.
9877 * locale/programs/localedef.c: Remove xmalloc prototype.
9878 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9879
9880 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9881
9882 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9883 appropriate.
9884
9885 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9886
9887 * math/Makefile (tests): Add tst-CMPLX.
9888 * math/tst-CMPLX.c: New file.
9889
9890 * math/complex.h (CMPLXL): Fix typo.
9891
9892 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9893 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9894 GLIBC_2.16.
9895 * debug/tst-chk1.c: Add poll and ppoll tests.
9896 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9897 * include/sys/poll.h: Add hidden proto for ppoll.
9898 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9899 * sysdeps/mach/hurd/ppoll.c: Likewise.
9900 * io/ppoll.c: Likewise.
9901 * debug/poll_chk.c: New file.
9902 * debug/ppoll_chk.c: New file.
9903 * include/bits/poll2.h: New file.
9904 * io/bits/poll2.h: New file.
9905
9906 [BZ #1350]
9907 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9908
9909 * configure.in: static is always set to yes. Remove.
9910 * config.make.in: Don't set build-static.
9911 * Makeconfig: Remove use of build-static.
9912 * dlfcn/Makefile: Likewise.
9913 * elf/Makefile: Likewise.
9914 * math/Makefile: Likewise.
9915 * misc/Makefile: Likewise.
9916 * nptl/Makefile: Likewise.
9917 * sysdeps/mach/hurd/Makefile: Likewise.
9918
9919 * configure.in: PWD_P is not used anymore.
9920 * config.make.in: Remove PWD_P entry.
9921
9922 * configure.in: Remove last remnants of RANLIB.
9923 No need to check for signed size_t anymore.
9924 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9925 and IA-64.
9926 Remove __builtin_expect test because we require at least gcc 3.4.
9927 * aclocal.m4: Likewise.
9928
9929 * wcsmbs/mbrtoc16.c: Implement using towc function.
9930 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9931 * wcsmbs/wcsmbsload.c: Likewise.
9932 * iconv/gconv_simple.c: Likewise.
9933 * iconv/gconv_int.h: Likewise.
9934 * iconv/gconv_builtin.h: Likewise.
9935 * iconv/iconv_prog.c: Remove CHAR16 handling.
9936
9937 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9938
9939 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9940
9941 * configure.in: Remove --with-elf and --enable-bounded options.
9942 Dont set base_machine for ia64. More non-ELF conditions removed.
9943 Remove testing and setting of leading underscore information.
9944 * config.make.in (build-bounded): Set to no.
9945 * config.h.in: Remove NO_UNDERSCORES entry.
9946 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9947 them.
9948 * csu/start.c: Remove !NO_UNDERSCORE code.
9949 * locale/localeinfo.h: Likewise.
9950 * sysdeps/generic/machine-gmon.h: Likewise.
9951 * sysdeps/generic/sysdep.h: Likewise.
9952 * sysdeps/i386/sysdep.h: Likewise.
9953 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9954 * sysdeps/mach/sysdep.h: Likewise.
9955 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9956 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9957 * sysdeps/sh/sysdep.h: Likewise.
9958 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9959 * sysdeps/unix/i386/sysdep.S: Likewise.
9960 * sysdeps/unix/sparc/start.c: Likewise.
9961 * sysdeps/unix/sparc/sysdep.S: Likewise.
9962 * sysdeps/unix/sparc/sysdep.h: Likewise.
9963 * sysdeps/unix/start.c: Likewise.
9964 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9965 * sysdeps/x86_64/sysdep.h: Likewise.
9966
9967 2012-01-07 Ulrich Drepper <drepper@gmail.com>
9968
9969 [BZ #13553]
9970 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9971 for non-gcc.
9972 * argp/argp-fmtstream.h: Use const instead __const.
9973 * argp/argp.h: Likewise.
9974 * assert/assert.h: Likewise.
9975 * bits/fenv.h: Likewise.
9976 * bits/sched.h: Likewise.
9977 * bits/sigset.h: Likewise.
9978 * bits/sigthread.h: Likewise.
9979 * catgets/nl_types.h: Likewise.
9980 * conform/data/pthread.h-data: Likewise.
9981 * crypt/crypt-private.h: Likewise.
9982 * crypt/crypt.h: Likewise.
9983 * crypt/crypt_util.c: Likewise.
9984 * ctype/ctype.h: Likewise.
9985 * debug/execinfo.h: Likewise.
9986 * debug/mbsnrtowcs_chk.c: Likewise.
9987 * debug/mbsrtowcs_chk.c: Likewise.
9988 * debug/wcsnrtombs_chk.c: Likewise.
9989 * debug/wcsrtombs_chk.c: Likewise.
9990 * debug/wcstombs_chk.c: Likewise.
9991 * dirent/dirent.h: Likewise.
9992 * dlfcn/dlfcn.h: Likewise.
9993 * elf/neededtest4.c: Likewise.
9994 * grp/grp.h: Likewise.
9995 * gshadow/gshadow.h: Likewise.
9996 * iconv/gconv.h: Likewise.
9997 * iconv/gconv_int.h: Likewise.
9998 * iconv/gconv_simple.c: Likewise.
9999 * iconv/iconv.h: Likewise.
10000 * iconv/loop.c: Likewise.
10001 * iconv/skeleton.c: Likewise.
10002 * include/aio.h: Likewise.
10003 * include/aliases.h: Likewise.
10004 * include/argz.h: Likewise.
10005 * include/arpa/inet.h: Likewise.
10006 * include/assert.h: Likewise.
10007 * include/dirent.h: Likewise.
10008 * include/dlfcn.h: Likewise.
10009 * include/execinfo.h: Likewise.
10010 * include/fcntl.h: Likewise.
10011 * include/fenv.h: Likewise.
10012 * include/glob.h: Likewise.
10013 * include/grp.h: Likewise.
10014 * include/libintl.h: Likewise.
10015 * include/mntent.h: Likewise.
10016 * include/netdb.h: Likewise.
10017 * include/pwd.h: Likewise.
10018 * include/rpc/netdb.h: Likewise.
10019 * include/sched.h: Likewise.
10020 * include/search.h: Likewise.
10021 * include/shadow.h: Likewise.
10022 * include/signal.h: Likewise.
10023 * include/stdio.h: Likewise.
10024 * include/stdlib.h: Likewise.
10025 * include/string.h: Likewise.
10026 * include/sys/socket.h: Likewise.
10027 * include/sys/stat.h: Likewise.
10028 * include/sys/statfs.h: Likewise.
10029 * include/sys/statvfs.h: Likewise.
10030 * include/sys/syslog.h: Likewise.
10031 * include/sys/time.h: Likewise.
10032 * include/sys/uio.h: Likewise.
10033 * include/time.h: Likewise.
10034 * include/unistd.h: Likewise.
10035 * include/utmp.h: Likewise.
10036 * include/wchar.h: Likewise.
10037 * include/wctype.h: Likewise.
10038 * inet/aliases.h: Likewise.
10039 * inet/arpa/inet.h: Likewise.
10040 * inet/netinet/ether.h: Likewise.
10041 * inet/netinet/in.h: Likewise.
10042 * intl/libintl.h: Likewise.
10043 * io/bits/fcntl2.h: Likewise.
10044 * io/fcntl.h: Likewise.
10045 * io/ftw.h: Likewise.
10046 * io/sys/poll.h: Likewise.
10047 * io/sys/stat.h: Likewise.
10048 * io/sys/statfs.h: Likewise.
10049 * io/sys/statvfs.h: Likewise.
10050 * io/utime.h: Likewise.
10051 * libio/bits/stdio.h: Likewise.
10052 * libio/bits/stdio2.h: Likewise.
10053 * libio/libio.h: Likewise.
10054 * libio/libioP.h: Likewise.
10055 * libio/stdio.h: Likewise.
10056 * locale/lc-ctype.c: Likewise.
10057 * locale/locale.h: Likewise.
10058 * login/utmp.h: Likewise.
10059 * malloc/arena.c: Likewise.
10060 * malloc/malloc.c: Likewise.
10061 * malloc/malloc.h: Likewise.
10062 * malloc/mcheck.c: Likewise.
10063 * malloc/mtrace.c: Likewise.
10064 * math/bits/mathcalls.h: Likewise.
10065 * math/fenv.h: Likewise.
10066 * math/math_private.h: Likewise.
10067 * misc/bits/error.h: Likewise.
10068 * misc/bits/syslog.h: Likewise.
10069 * misc/err.h: Likewise.
10070 * misc/error.h: Likewise.
10071 * misc/fstab.h: Likewise.
10072 * misc/mntent.h: Likewise.
10073 * misc/regexp.h: Likewise.
10074 * misc/search.h: Likewise.
10075 * misc/sgtty.h: Likewise.
10076 * misc/sys/mman.h: Likewise.
10077 * misc/sys/syslog.h: Likewise.
10078 * misc/sys/uio.h: Likewise.
10079 * misc/sys/xattr.h: Likewise.
10080 * misc/ttyent.h: Likewise.
10081 * nis/rpcsvc/ypclnt.h: Likewise.
10082 * nss/nss.h: Likewise.
10083 * posix/bits/unistd.h: Likewise.
10084 * posix/fnmatch.h: Likewise.
10085 * posix/glob.h: Likewise.
10086 * posix/sched.h: Likewise.
10087 * posix/spawn.h: Likewise.
10088 * posix/sys/wait.h: Likewise.
10089 * posix/unistd.h: Likewise.
10090 * posix/wordexp.h: Likewise.
10091 * pwd/pwd.h: Likewise.
10092 * resolv/netdb.h: Likewise.
10093 * resource/sys/resource.h: Likewise.
10094 * rt/aio.h: Likewise.
10095 * rt/bits/mqueue2.h: Likewise.
10096 * rt/mqueue.h: Likewise.
10097 * shadow/shadow.h: Likewise.
10098 * signal/signal.h: Likewise.
10099 * socket/send.c: Likewise.
10100 * socket/sendto.c: Likewise.
10101 * socket/sys/socket.h: Likewise.
10102 * stdio-common/printf.h: Likewise.
10103 * stdlib/bits/stdlib.h: Likewise.
10104 * stdlib/fmtmsg.h: Likewise.
10105 * stdlib/monetary.h: Likewise.
10106 * stdlib/stdlib.h: Likewise.
10107 * stdlib/ucontext.h: Likewise.
10108 * streams/stropts.h: Likewise.
10109 * string/argz.h: Likewise.
10110 * string/bits/string2.h: Likewise.
10111 * string/string.h: Likewise.
10112 * string/strings.h: Likewise.
10113 * sunrpc/rpc/auth.h: Likewise.
10114 * sunrpc/rpc/auth_des.h: Likewise.
10115 * sunrpc/rpc/clnt.h: Likewise.
10116 * sunrpc/rpc/netdb.h: Likewise.
10117 * sunrpc/rpc/pmap_clnt.h: Likewise.
10118 * sunrpc/rpc/xdr.h: Likewise.
10119 * sysdeps/generic/inttypes.h: Likewise.
10120 * sysdeps/generic/net/if.h: Likewise.
10121 * sysdeps/generic/sys/swap.h: Likewise.
10122 * sysdeps/gnu/net/if.h: Likewise.
10123 * sysdeps/gnu/utmpx.h: Likewise.
10124 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10125 * sysdeps/i386/i486/bits/string.h: Likewise.
10126 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10127 * sysdeps/s390/bits/string.h: Likewise.
10128 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10129 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10130 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10131 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10132 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10133 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10134 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10135 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10136 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10137 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10138 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10139 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10140 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10141 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10142 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10143 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10144 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10145 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10146 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10147 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10148 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10149 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10150 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10151 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10152 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10153 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10154 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10155 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10156 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10157 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10158 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10159 * sysvipc/sys/ipc.h: Likewise.
10160 * sysvipc/sys/msg.h: Likewise.
10161 * sysvipc/sys/sem.h: Likewise.
10162 * sysvipc/sys/shm.h: Likewise.
10163 * termios/termios.h: Likewise.
10164 * time/sys/time.h: Likewise.
10165 * time/time.h: Likewise.
10166 * wcsmbs/bits/wchar2.h: Likewise.
10167 * wcsmbs/uchar.h: Likewise.
10168 * wcsmbs/wchar.h: Likewise.
10169 * wctype/wctype.h: Likewise.
10170
10171 [BZ #13551]
10172 * Makeconfig: Remove all but ELF support including AIX support.
10173 * Makerules: Likewise.
10174 * config.h.in: Likewise.
10175 * config.make.in: Likewise.
10176 * configure: Likewise.
10177 * configure.in: Likewise.
10178 * csu/Makefile: Likewise.
10179 * csu/version.c: Likewise.
10180 * debug/Makefile: Likewise.
10181 * dlfcn/Makefile: Likewise.
10182 * elf/Makefile: Likewise.
10183 * extra-lib.mk: Likewise.
10184 * iconv/Makefile: Likewise.
10185 * include/libc-symbols.h: Likewise.
10186 * include/shlib-compat.h: Likewise.
10187 * resolv/Makefile: Likewise.
10188 * resolv/res_libc.c: Likewise.
10189 * rt/Makefile: Likewise.
10190 * sysdeps/i386/asm-syntax.h: Likewise.
10191 * sysdeps/i386/sysdep.h: Likewise.
10192 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10193 * sysdeps/mach/sysdep.h: Likewise.
10194 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10195 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10196 * sysdeps/s390/asm-syntax.h: Likewise.
10197 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10198 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10199 * sysdeps/sh/sysdep.h: Likewise.
10200 * sysdeps/unix/sparc/sysdep.h: Likewise.
10201 * sysdeps/wordsize-32/divdi3.c: Likewise.
10202 * sysdeps/x86_64/sysdep.h: Likewise.
10203
10204 * argp/Versions: Remove _argp_unlock_xxx.
10205
10206 [BZ #13559]
10207 * abilist/ld.abilist: Update. Adjust for removal of tls option.
10208 * abilist/libBrokenLocale.abilist: Likewise.
10209 * abilist/libanl.abilist: Likewise.
10210 * abilist/libc.abilist: Likewise.
10211 * abilist/libcrypt.abilist: Likewise.
10212 * abilist/libdl.abilist: Likewise.
10213 * abilist/libm.abilist: Likewise.
10214 * abilist/libnsl.abilist: Likewise.
10215 * abilist/libpthread.abilist: Likewise.
10216 * abilist/libresolv.abilist: Likewise.
10217 * abilist/librt.abilist: Likewise.
10218 * abilist/libthread_db.abilist: Likewise.
10219 * abilist/libutil.abilist: Likewise.
10220 * abilist/libnss_db.abilist: New file.
10221
10222 * scripts/abilist.awk: Add support for indirect functions.
10223
10224 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10225
10226 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10227
10228 * shlib-versions: Remove entries for ports architectures.
10229
10230 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10231 files in ports.
10232 * elf/stackguard-macros.h: Remove support for IA-64.
10233 * elf/tst-auditmod1.c: Likewise.
10234 * sysdeps/generic/ldsodefs.h: Likewise.
10235
10236 * sysdeps/unix/sysv/linux/configure.in: Ports should define
10237 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10238 configure files.
10239
10240 [BZ #13552]
10241 * configure.in: Remove --enable-omitfp support.
10242 * FAQ.in: Adjust.
10243 * config.make.in: Likewise.
10244 * Makeconfig: Likewise.
10245 * manual/install.texi: Likewise.
10246
10247 In case anyone cares, the IA-64 architecture could move to ports.
10248 * sysdeps/ia64/*: Removed.
10249 * sysdeps/unix/sysv/linux/ia64/*: Removed.
10250 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
10251
10252 [BZ #13555]
10253 * configure.in: Remove entries for unsupported architectures.
10254
10255 [BZ #13533]
10256 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10257 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
10258 routines.
10259 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10260 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10261 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
10262 fall back to using wcrtomb.
10263 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10264 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
10265 renaming.
10266 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10267 * wcsmbs/tst-c16c32-1.c: New file.
10268
10269 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10270 local variable.
10271
10272 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10273
10274 * elf/tst-unique3.cc: Add explicit declaration of gets.
10275 * elf/tst-unique3lib.cc: Likewise.
10276 * elf/tst-unique3lib2.cc: Likewise.
10277 * elf/tst-unique4.cc: Likewise.
10278
10279 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10280
10281 2012-01-06 Joseph Myers <joseph@codesourcery.com>
10282
10283 [BZ #13566]
10284 * assert/assert.h (static_assert): Don't define for C++.
10285 * libio/stdio.h (gets): Do declare for C++ <= C++11.
10286 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10287
10288 2012-01-03 Ulrich Drepper <drepper@gmail.com>
10289
10290 * iconv/loop.c (single loop): Fix assertion in storing of
10291 remaining bytes.
10292
10293 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10294
10295 2012-01-01 Ulrich Drepper <drepper@gmail.com>
10296
10297 * posix/getconf.c: Update copyright year.
10298 * nss/getent.c: Likewise.
10299 * nss/makedb.c: Likewise.
10300 * iconv/iconvconfig.c: Likewise.
10301 * iconv/iconv_prog.c: Likewise.
10302 * elf/ldconfig.c: Likewise.
10303 * elf/pldd.c: Likewise.
10304 * elf/sotruss.ksh: Likewise.
10305 * catgets/gencat.c: Likewise.
10306 * csu/version.c: Likewise.
10307 * elf/ldd.bash.in: Likewise.
10308 * elf/sprof.c (print_version): Likewise.
10309 * locale/programs/locale.c: Likewise.
10310 * locale/programs/localedef.c: Likewise.
10311 * login/programs/pt_chown.c: Likewise.
10312 * nscd/nscd.c (print_version): Likewise.
10313 * debug/xtrace.sh: Likewise.
10314 * malloc/memusage.sh: Likewise.
10315 * malloc/mtrace.pl: Likewise.
10316 * debug/catchsegv.sh: Likewise.
10317
10318 2011-12-30 Jakub Jelinek <jakub@redhat.com>
10319
10320 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10321 pure attribute.
10322
10323 2011-12-24 Ulrich Drepper <drepper@gmail.com>
10324
10325 [BZ #13533]
10326 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10327 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10328 transformations.
10329 * iconv/gconv_int.h: Likewise.
10330 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10331 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10332 from libc for GLIBC_2.16.
10333 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10334 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10335 * wcsmbs/uchar.h: Really define mbstate_t.
10336 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10337 * wcsmbs/c16rtomb.c: New file.
10338 * wcsmbs/mbrtoc16.c: New file.
10339 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10340 for C/POSIX locale.
10341 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10342 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10343
10344 * wcsmbs/wchar.h: Add missing __restrict.
10345
10346 2011-12-23 Ulrich Drepper <drepper@gmail.com>
10347
10348 [BZ #13532]
10349 * time/Makefile (routines): Add timespec_get.
10350 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10351 * time/time.h: Define TIME_UTC and declare timespec_get. Define
10352 timespec for ISO C11.
10353 * time/timespec_get.c: New file.
10354 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10355 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10356
10357 [BZ #13531]
10358 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10359 * stdlib/stdlib.h: Declare aligned_alloc.
10360 * Versions.def: Add GLIBC_2.16 for libc.
10361 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10362
10363 [BZ 13527]
10364 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10365 ISO C11.
10366
10367 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
10368 code.
10369
10370 [BZ #13528]
10371 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10372
10373 [BZ #13529]
10374 * assert/assert.h (static_assert): Define.
10375
10376 * version.h: Update for 2.16 development version.
10377
10378 [BZ #13526]
10379 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10380 _ISOC11_SOURCE.
10381
10382 * version.h (RELEASE): Bump for 2.15 release.
10383 * include/features.h (__GLIBC_MINOR__): Bump to 15.
10384
10385 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10386 Patch by Marek Polacek <mpolacek@redhat.com>.
10387
10388 * bits/byteswap.h: Protect long long constants with __extension__.
10389 * sysdeps/i386/bits/byteswap.h: Likewise.
10390 * sysdeps/ia64/bits/byteswap.h: Likewise.
10391 * sysdeps/s390/bits/byteswap.h: Likewise.
10392 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10393
10394 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10395
10396 [BZ #13540]
10397 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
10398 destination buffer.
10399 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10400
10401 2011-12-23 Marek Polacek <polacek@redhat.com>
10402
10403 * elf/dl-addr.c (determine_info): Add inline keyword.
10404 * elf/tst-auditmod4b.c (check_avx): Likewise.
10405 * elf/tst-auditmod6b.c (check_avx): Likewise.
10406 * elf/tst-auditmod6c.c (check_avx): Likewise.
10407 * elf/tst-auditmod7b.c (check_avx): Likewise.
10408
10409 2011-12-23 Ulrich Drepper <drepper@gmail.com>
10410
10411 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10412 !__SSE_MATH__.
10413
10414 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10415
10416 [BZ #13540]
10417 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
10418 processing for last bytes.
10419
10420 2011-08-06 Bruno Haible <bruno@clisp.org>
10421
10422 [BZ #13061]
10423 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10424 U+0385, not to U+1FEE.
10425
10426 [BZ #13062]
10427 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10428 entry for U+00A5 U+0301.
10429
10430 2011-12-22 Ulrich Drepper <drepper@gmail.com>
10431
10432 [BZ #13166]
10433 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10434 buffer for the output is too small.
10435
10436 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10437 optimization.
10438
10439 [BZ #13185]
10440 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10441 SSE flags if possible.
10442
10443 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10444
10445 [BZ #13540]
10446 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10447 processing for last bytes.
10448
10449 2011-12-22 Joseph Myers <joseph@codesourcery.com>
10450
10451 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10452 (syscall-list-default-options, syscall-list-default-condition)
10453 (syscall-list-includes): Define.
10454 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10455 list of ABIs and options and #if conditions for each ABI. Do not
10456 handle common syscalls between ABIs specially.
10457 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10458 Remove.
10459 (syscall-list-variants, syscall-list-32bit-options)
10460 (syscall-list-32bit-condition, syscall-list-64bit-options)
10461 (syscall-list-64bit-condition): Define.
10462 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10463 (syscall-list-variants, syscall-list-32bit-options)
10464 (syscall-list-32bit-condition, syscall-list-64bit-options)
10465 (syscall-list-64bit-condition): Define.
10466 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10467 Remove.
10468 (syscall-list-variants, syscall-list-32bit-options)
10469 (syscall-list-32bit-condition, syscall-list-64bit-options)
10470 (syscall-list-64bit-condition): Define.
10471 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10472 Remove.
10473 (syscall-list-variants, syscall-list-32bit-options)
10474 (syscall-list-32bit-condition, syscall-list-64bit-options)
10475 (syscall-list-64bit-condition): Define.
10476
10477 2011-12-22 Ulrich Drepper <drepper@gmail.com>
10478
10479 * locale/iso-639.def: Add brx entry.
10480
10481 [BZ #13328]
10482 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10483 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10484
10485 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10486 __feraiseexcept_renamed.
10487
10488 2011-12-21 Ulrich Drepper <drepper@gmail.com>
10489
10490 [BZ #13538]
10491 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10492 EPOLLET with unsigned values.
10493 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10494 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10495
10496 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10497 to large cancellation.
10498 * math/s_cacoshf.c: Likewise.
10499 * math/s_cacoshl.c: Likewise.
10500
10501 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10502
10503 [BZ #13305]
10504 [BZ #12786]
10505 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10506 * math/s_cacoshf.c: Likewise.
10507 * math/s_cacoshl.c: Likewise.
10508
10509 2011-12-21 Ulrich Drepper <drepper@gmail.com>
10510
10511 [BZ #13439]
10512 * iconv/gconv.h: Define __GCONV_SWAP.
10513 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10514 * iconvdata/utf-16.c: Likewise.
10515 * iconvdata/utf-32.c: Likewise.
10516
10517 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10518
10519 [BZ #13524]
10520 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10521 numerator after shifting it by one limb.
10522
10523 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10524
10525 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10526 under [__USE_EXTERN_INLINES].
10527
10528 2011-12-17 Ulrich Drepper <drepper@gmail.com>
10529
10530 [BZ #13446]
10531 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10532
10533 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10534
10535 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10536 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10537 optimized code.
10538 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10539 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10540 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10541 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10542 for strncasecmp/strncasecmp_l compilation.
10543 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10544 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10545
10546 2011-12-08 Marek Polacek <mpolacek@redhat.com>
10547
10548 [BZ #13484]
10549 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10550 of __asm__.
10551
10552 2011-12-17 Ulrich Drepper <drepper@gmail.com>
10553
10554 [BZ #13506]
10555 * time/tzfile.c (__tzfile_read): Check values from file header.
10556
10557 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10558
10559 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10560 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10561 * powerpc/powerpc32/dl-start.S: Likewise.
10562 * powerpc/powerpc32/elf/start.S: Likewise.
10563 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10564 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10565 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10566 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10567 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10568 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10569 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10570 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10571 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10572 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10573 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10574 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10575 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10576 * powerpc/powerpc32/memset.S: Likewise.
10577 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10578 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10579 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10580 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10581 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10582 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10583 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10584 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10585 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10586 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10587 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10588 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10589 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10590
10591 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10592
10593 * math/libm-test.inc: Added more nearbyint tests.
10594 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10595 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10596 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10597 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10598
10599 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10600
10601 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10602 FD_CLOEXEC.
10603
10604 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10605
10606 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10607 Add wcscpy-ssse3 wcscpy-c.
10608 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10609 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10610 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10611 * sysdeps/x86_64/wcschr.S: New file.
10612 * sysdeps/x86_64/wcsrchr.S: New file.
10613 * string/test-strcmp.c: Remove checking of wcscmp function for
10614 wrong alignments.
10615 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10616 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10617 wcsrchr-sse2 wcsrchr-c.
10618 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10619 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10620 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10621 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10622 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10623 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10624 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10625 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10626 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10627 * wcsmbc/wcschr.c (WCSCHR): New macro.
10628
10629 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10630
10631 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10632 * wcsmbs/test-wcsrchr.c: New file.
10633 * string/test-strrchr.c: Add wcsrchr support.
10634 (WIDE): New macro.
10635 * wcsmbs/test-wcscpy.c: New file.
10636 * string/test-strcpy.c: Add wcscpy support.
10637 (WIDE): New macro.
10638
10639 2011-12-10 Ulrich Drepper <drepper@gmail.com>
10640
10641 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10642 the inner loop.
10643
10644 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10645
10646 [BZ #13472]
10647 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10648
10649 2011-12-04 Ulrich Drepper <drepper@gmail.com>
10650
10651 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
10652 Minor optimizations.
10653
10654 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10655 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10656 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10657
10658 2011-12-03 Ulrich Drepper <drepper@gmail.com>
10659
10660 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10661 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10662 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10663 for gcc to avoid warnings.
10664 * inet/Makefile (tests): Add tst-checks.
10665 * inet/tst-checks.c: New file.
10666
10667 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10668 warning.
10669
10670 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10671 __wmemcmp_sse2.
10672
10673 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10674 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10675
10676 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10677
10678 2011-12-02 Ulrich Drepper <drepper@gmail.com>
10679
10680 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10681 problem.
10682
10683 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10684
10685 2011-11-29 Joseph Myers <joseph@codesourcery.com>
10686
10687 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10688 conditional on GCC version.
10689 (__arch_compare_and_exchange_val_8_acq)
10690 (__arch_compare_and_exchange_val_16_acq)
10691 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10692 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10693 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10694
10695 2011-12-02 Joseph Myers <joseph@codesourcery.com>
10696
10697 * sysdeps/sh/backtrace.c: New file.
10698
10699 2011-12-02 Andreas Schwab <schwab@redhat.com>
10700
10701 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10702 parenthesis.
10703
10704 2011-12-01 Andreas Schwab <schwab@redhat.com>
10705
10706 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10707 falling back to utime.
10708
10709 2011-11-30 Andreas Schwab <schwab@redhat.com>
10710
10711 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10712 expectations for float.
10713
10714 2011-11-29 Andreas Schwab <schwab@redhat.com>
10715
10716 * locale/weight.h (findidx): Add parameter len.
10717 * locale/weightwc.h (findidx): Likewise.
10718 * posix/fnmatch_loop.c (FCT): Adjust caller.
10719 * posix/regcomp.c (build_equiv_class): Likewise.
10720 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10721 * posix/regexec.c (check_node_accept_bytes): Likewise.
10722 * string/strcoll_l.c (STRCOLL): Likewise.
10723 * string/strxfrm_l.c (STRXFRM): Likewise.
10724
10725 2011-11-17 Ulrich Drepper <drepper@gmail.com>
10726
10727 * Makefile.in: Remove CVSOPT handling.
10728 * configure.in: Remove use of AC_REVISION.
10729 * iconvdata/Makefile (distribute): No need to filter out CVS.
10730 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10731 handling.
10732
10733 2011-11-16 Andreas Schwab <schwab@redhat.com>
10734
10735 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10736 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10737 [USE_AS_STRNCASECMP_L]: Likewise.
10738 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10739 NO_TLS_DIRECT_SEG_REFS.
10740 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10741 Fix argument offsets for non-PIC.
10742 [USE_AS_STRNCASECMP_L]: Likewise.
10743 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10744 NO_TLS_DIRECT_SEG_REFS.
10745
10746 2011-11-15 Ulrich Drepper <drepper@gmail.com>
10747
10748 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
10749 O_CLOEXEC.
10750 * locale/loadlocale.c (_nl_load_locale): Likewise.
10751
10752 2011-11-15 Andreas Schwab <schwab@redhat.com>
10753
10754 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10755 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10756 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10757 (SYSCALL_GETTIME): Set errno on error.
10758
10759 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10760 count references to noai6ai_cached.
10761
10762 2011-11-15 Ulrich Drepper <drepper@gmail.com>
10763
10764 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10765
10766 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10767 FD_CLOEXEC for /proc/self/maps.
10768
10769 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10770 FD_CLOEXEC for /proc/meminfo.
10771
10772 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10773 gai.conf.
10774
10775 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10776 FD_CLOEXEC for given file.
10777
10778 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10779
10780 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10781 FD_CLOEXEC for /etc/hosts.
10782 (_gethtent): Likewise.
10783
10784 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10785
10786 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10787 cancellation and set FD_CLOEXEC for /etc/netgroup.
10788
10789 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10790 reading /etc/publickey.
10791
10792 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10793 allow cancellation when reading /etc/group.
10794
10795 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10796 cancellation.
10797 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10798
10799 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10800 when using data file.
10801
10802 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10803
10804 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10805 (write_nis_obj): Use "c" and "e" in fopen.
10806
10807 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10808
10809 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10810
10811 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10812
10813 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10814
10815 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10816 locale.alias.
10817
10818 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10819
10820 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10821
10822 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10823
10824 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10825 file parsing and set FD_CLOEXEC.
10826
10827 2011-11-14 Ulrich Drepper <drepper@gmail.com>
10828
10829 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10830
10831 2011-11-14 Andreas Schwab <schwab@redhat.com>
10832
10833 * malloc/arena.c (arena_get2): Don't call reused_arena when
10834 _int_new_arena failed.
10835
10836 2011-11-14 Ulrich Drepper <drepper@gmail.com>
10837
10838 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10839 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10840 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10841 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10842 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10843 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10844 to compile strcasecmp and strncasecmp.
10845 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10846 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10847
10848 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10849
10850 2011-11-13 Ulrich Drepper <drepper@gmail.com>
10851
10852 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10853 locale-defines.sym to gen-as-const-headers.
10854 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10855 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10856 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10857 to compile strcasecmp and strncasecmp.
10858 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10859 strcasecmp_l and strncasecmp_l.
10860 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10861 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10862 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10863 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10864 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10865 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10866 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10867 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10868 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10869 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10870 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10871
10872 2011-11-12 Ulrich Drepper <drepper@gmail.com>
10873
10874 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10875 result of SYSDEP_GETTIME_CPU to retval.
10876 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10877 parameter list to macro. Remove trailing semicolon. Adjust users.
10878
10879 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10880 variable.
10881
10882 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10883 mantissa words.
10884 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10885
10886 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10887 from unused variable.
10888
10889 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10890 DWARF definitions.
10891 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10892 for assembling.
10893
10894 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10895 over namespaces.
10896
10897 * sunrpc/rpc_prot.c (rejected): Fix case value.
10898
10899 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10900 unsigned long long int to avoid warnings in shift.
10901
10902 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10903 of use of trans.
10904 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10905 variable tmp.
10906
10907 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10908 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10909 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10910
10911 * nis/nis_table.c (nis_list): Use variable of correct type for
10912 result of __follow_path call.
10913
10914 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10915
10916 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10917 of math functions ceil, trunc, floor, round, and sqrt, when
10918 avaliable on the platform.
10919 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10920 name clash.
10921 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10922 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10923 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10924
10925 2011-10-30 Marek Polacek <mpolacek@redhat.com>
10926
10927 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10928 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10929
10930 2011-11-11 Roland McGrath <roland@hack.frob.com>
10931
10932 * include/unistd.h: Fix __readlink return type.
10933 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10934
10935 2011-11-11 Ulrich Drepper <drepper@gmail.com>
10936
10937 * stdlib/ucontext.h: Undo last change for makecontext.
10938
10939 2011-11-11 Andreas Schwab <schwab@redhat.com>
10940
10941 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10942
10943 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10944 * setjmp/setjmp.h: Mark functions as non-leaf.
10945 * setjmp/bits/setjmp2.h: Likewise.
10946 * stdlib/ucontext.h: Likewise.
10947
10948 2011-11-10 Andreas Schwab <schwab@redhat.com>
10949
10950 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10951 (reused_arena): Don't check arena limit.
10952 (arena_get2): Atomically check arena limit.
10953
10954 2011-11-08 Ulrich Drepper <drepper@gmail.com>
10955
10956 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10957 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10958
10959 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10960 instructions.
10961
10962 2011-11-07 Andreas Schwab <schwab@redhat.com>
10963
10964 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10965 handler when locking.
10966
10967 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10968 Fix size of allocated buffer.
10969
10970 2011-11-04 Andreas Schwab <schwab@redhat.com>
10971
10972 [BZ #10103]
10973 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10974 declarations for long double functions.
10975 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10976
10977 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10978
10979 2011-11-03 Andreas Schwab <schwab@redhat.com>
10980
10981 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10982 installed.
10983
10984 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10985 is disabled.
10986
10987 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10988
10989 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10990
10991 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10992
10993 * include/alloca.h (stackinfo_alloca_round): Define.
10994 (extend_alloca): Use it.
10995 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10996 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10997 here.
10998
10999 * scripts/check-local-headers.sh: Ignore libaudit.h.
11000
11001 * nscd/Makefile (extra-objs): Make recursively expanded.
11002
11003 2011-11-01 Ulrich Drepper <drepper@gmail.com>
11004
11005 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11006 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11007
11008 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11009 * posix/tst-rfc3484-2.c: Likewise.
11010 * posix/tst-rfc3484-3.c: Likewise.
11011
11012 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11013 process_vm_writev.
11014 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11015 process_vm_writev.
11016 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11017 process_vm_writev from libc using GLIBC_2.15 version.
11018
11019 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11020
11021 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11022
11023 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11024 stack usage.
11025
11026 2011-10-31 Ulrich Drepper <drepper@gmail.com>
11027
11028 [BZ #13367]
11029 * nss/getent.c (initgroups_keys): Show error message in case no group
11030 names are given.
11031
11032 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11033 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11034 __bump_nl_timestamp.
11035 * nscd/connections (nscd_init): When host database is served open
11036 netlink socket and request notification about configuration changes.
11037 (main_loop_poll): Track netlink file descriptor and bump timestamp
11038 in case data becomes available.
11039 (main_loop_epoll): Likewise.
11040 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11041 (database_pers_head): Add extra_data fileds.
11042 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11043 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11044 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11045 Adjust caller.
11046 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11047 in6ai data, call __free_in6ai.
11048 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11049 Add -DHAVE_NETLINK.
11050 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
11051 interface information. Reuse previous data if netlink timestamp
11052 is not changed.
11053 (__bump_nl_timestamp): New function.
11054 (__free_in6ai): New function.
11055
11056 2011-10-30 Ulrich Drepper <drepper@gmail.com>
11057
11058 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11059 close_not_cancel_no_status here.
11060 (__check_pf): Reorganize code a bit to not call close twice if OOM.
11061
11062 2011-10-29 Ulrich Drepper <drepper@gmail.com>
11063
11064 [BZ #13276]
11065 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11066 return value.
11067
11068 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
11069 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11070 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11071
11072 2011-07-03 Andreas Jaeger <aj@suse.de>
11073
11074 [BZ #10709]
11075 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11076 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11077 * math/libm-test.inc (sin_test): Add test case.
11078
11079 2011-10-29 Ulrich Drepper <drepper@gmail.com>
11080
11081 [BZ #13337]
11082 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11083 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11084
11085 * elf/chroot_canon.c (chroot_canon): Cleanups.
11086
11087 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11088
11089 [BZ #13335]
11090 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11091 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11092
11093 * string/test-strchr.c: Make usable for strchrnul testing.
11094 * string/test-strchrnul.c: New file.
11095 * string/Makefile (strop-tests): Add strchrnul.
11096
11097 * po/it.po: Update from translation team.
11098 * po/es.po: Likewise.
11099
11100 2011-10-28 Ulrich Drepper <drepper@gmail.com>
11101
11102 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11103 the three constants needed as parameters. Drop the others.
11104 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11105 __m128i_strloadu_tolower.
11106 Create and initialize variable zero and use it in all the places
11107 where _mm_setzero_si128 was used.
11108
11109 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11110 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11111 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11112 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11113 anymore.
11114 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11115 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11116 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11117 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11118 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11119 __mpranred, __mptan.
11120 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11121 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11122 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11123 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11124 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11125 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11126 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11127 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11128 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11129
11130 2011-10-28 Andreas Schwab <schwab@redhat.com>
11131
11132 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11133 redefine if SHARED.
11134 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11135
11136 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11137 wide char related routines to wcsmbs subdir.
11138
11139 2011-10-27 Andreas Schwab <schwab@redhat.com>
11140
11141 [BZ #13344]
11142 * misc/sys/cdefs.h (__THROWNL): Define.
11143 * posix/unistd.h: Use __THREADNL instead of __THREAD
11144 for memory synchronization functions.
11145
11146 2011-10-26 Roland McGrath <roland@hack.frob.com>
11147
11148 [BZ #13349]
11149 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11150 doesn't exist.
11151 * manual/stdio.texi (Obstack Streams): Node removed.
11152
11153 2011-10-26 Andreas Schwab <schwab@redhat.com>
11154
11155 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11156 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11157 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11158
11159 * math/math_private.h (math_force_eval): Allow non-addressable
11160 arguments.
11161 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11162
11163 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11164
11165 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11166 file is not needed.
11167
11168 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11169 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11170 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11171 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11172 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11173 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11174 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11175 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11176 Add AVX variants.
11177 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11178 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11179 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11180 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11181 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11182 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11183 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11184 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11185 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11186 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11187 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11188 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11189 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11190 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11191 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11192 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11193 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11194 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11195 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11196
11197 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11198 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
11199
11200 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11201 place. Use VEX encoding when compiling for AVX.
11202
11203 2011-10-25 Andreas Schwab <schwab@redhat.com>
11204
11205 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11206 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11207
11208 * string/test-strchr.c (do_test): Don't generate NUL bytes.
11209
11210 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11211
11212 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
11213 useless if() expression.
11214 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11215 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11216 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11217 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11218 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11219 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11220 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11221 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11222 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11223 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11224 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11225 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11226 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11227 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11228 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11229 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11230 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11231 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11232 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11233
11234 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11235
11236 2011-10-25 Andreas Schwab <schwab@redhat.com>
11237
11238 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11239 condition.
11240 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11241
11242 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11243
11244 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11245 .text section. Avoid duplicate constants.
11246 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11247 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11248 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11249 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11250 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11251 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11252 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11253 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11254 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11255 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11256 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11257 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11258 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11259 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11260 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11261 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11262 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11263 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11264 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11265 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11266 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11267 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11268 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11269 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11270 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11271 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11272 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11273 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11274 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11275 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11276 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11277 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11278 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11279 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11280 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11281 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11282 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11283 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11284 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11285 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11286 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11287 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11288 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11289 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11290 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11291
11292 2011-10-24 Ulrich Drepper <drepper@gmail.com>
11293
11294 * sysdeps/x86_64/dla.h: Move to ...
11295 * sysdeps/x86_64/fpu/dla.h: ...here.
11296 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11297 situations. Use __builtin_fma only for gcc 4.6 and up.
11298
11299 * config.make.in: Add have-mfma4 entry.
11300 * configure.in: Substitute libc_cv_cc_fma4.
11301 * math/Makefile (dbl-only-routines): Add sincostab.
11302 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11303 Use __sincostab not sincos.
11304 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11305 name is a macro.
11306 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11307 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11308 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11309 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11310 using __copysign.
11311 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11312 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11313 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11314 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11315 and __inv.
11316 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11317 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11318 __copysign.
11319 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
11320 define aliases when function name is a macro.
11321 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11322 sysdeps/ieee754/dbl-64/sincos.tbl.
11323 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11324 fma4-enabled routines.
11325 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11326 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11327 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11328 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11329 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11330 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11331 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11332 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11333 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11334 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11335 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11336 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11337 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11338 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11339 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11340 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11341 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11342 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11343 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11344 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11345 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11346 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11347 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11348 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11349 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11350 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11351 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11352 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11353 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11354 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11355
11356 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11357 rename.
11358 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11359 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11360 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11361 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11362 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11363 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11364 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11365 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11366
11367 2011-10-24 Andreas Schwab <schwab@redhat.com>
11368
11369 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11370
11371 2011-10-23 Ulrich Drepper <drepper@gmail.com>
11372
11373 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11374
11375 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11376 prediction.
11377 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11378
11379 * string/strnlen.c: Don't define STRNLEN, reverse logic.
11380 Remove unused variable magic_bits.
11381 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11382
11383 * string/strnlen.c: Define and use STRNLEN macro.
11384 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11385 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11386 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11387 * wcsmbs/wcslen.c: Define and use WCSLEN.
11388 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11389 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11390 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11391 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11392 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11393 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11394 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11395
11396 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11397
11398 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11399 strnlen-sse2-no-bsf.
11400 Rename strlen-no-bsf to strlen-sse2-no-bsf.
11401 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
11402 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
11403 Add strnlen support.
11404 (USE_AS_STRNLEN): New macro.
11405 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11406 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11407 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11408 * sysdeps/x86_64/wcslen.S: New file.
11409
11410 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
11411
11412 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11413 XMM-moves are used for copying on small sizes.
11414
11415 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11416
11417 * wcsmbs/Makefile (strop-tests): Add wcschr.
11418 * wcsmbs/test-wcschr.c: New file.
11419 * string/test-strchr.c: Update.
11420 Add wcschr support.
11421 (WIDE): New macro.
11422
11423 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11424
11425 * wcsmbs/Makefile (strop-tests): Add wcslen.
11426 * wcsmbs/test-wcslen.c: New file.
11427 * string/test-strlen.c: Update.
11428 Add wcslen support.
11429 (WIDE): New macro.
11430
11431 2011-10-23 Ulrich Drepper <drepper@gmail.com>
11432
11433 * po/it.po: Update from translation team.
11434
11435 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11436
11437 * sysdeps/x86_64/wcscmp.S: Update.
11438 Fix wrong comparison semantics.
11439 wcscmp shall use signed comparison not unsigned.
11440 Don't use substraction to avoid overflow bug.
11441 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11442 * wcsmbc/wcscmp.c: Likewise.
11443 * string/test-strcmp.c: Likewise.
11444 Add new tests to check cases with negative values.
11445
11446 2011-10-23 Ulrich Drepper <drepper@gmail.com>
11447
11448 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11449 * sysdeps/x86_64/dla.h: ...here. New file.
11450 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11451 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11452 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11453 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11454 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11455 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11456 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11457 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11458 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11459
11460 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
11461
11462 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11463 __ynl_finite aliases.
11464
11465 2011-10-22 Ulrich Drepper <drepper@gmail.com>
11466
11467 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11468
11469 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11470 define DLA_FMA.
11471 [DLA_FMA] (EMULV): Use DLA_FMA.
11472 [DLA_FMA] (MUL12): Use EMULV.
11473 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11474 that are not needed.
11475 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11476 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11477 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11478 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11479 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11480 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11481 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11482
11483 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11484
11485 * math/s_nan.c: Undef __nan.
11486 * math/s_nanf.c: Undef __nanf.
11487 * math/s_nanl.c: Undef __nanl.
11488 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11489 "math_private.h".
11490
11491 2011-10-22 Ulrich Drepper <drepper@gmail.com>
11492
11493 * math/s_catan.c: Add branch predictions.
11494 * math/s_catanf.c: Likewise.
11495 * math/s_catanh.c: Likewise.
11496 * math/s_catanhf.c: Likewise.
11497 * math/s_catanhl.c: Likewise.
11498 * math/s_catanl.c: Likewise.
11499 * math/s_cexp.c: Likewise.
11500 * math/s_cexpf.c: Likewise.
11501 * math/s_cexpl.c: Likewise.
11502 * math/s_clog.c: Likewise.
11503 * math/s_clog10.c: Likewise.
11504 * math/s_clog10f.c: Likewise.
11505 * math/s_clog10l.c: Likewise.
11506 * math/s_clogf.c: Likewise.
11507 * math/s_clogl.c: Likewise.
11508 * math/s_csqrt.c: Likewise.
11509 * math/s_csqrtf.c: Likewise.
11510 * math/s_csqrtl.c: Likewise.
11511 * math/s_ctanf.c: Likewise.
11512 * math/s_ctanh.c: Likewise.
11513 * math/s_ctanhf.c: Likewise.
11514 * math/s_ctanhl.c: Likewise.
11515 * math/s_ctanl.c: Likewise.
11516
11517 * math/math_private.h: Define __nan, __nanf, __nanl.
11518 * math/s_cacosh.c: Include <math_private.h>.
11519 * math/s_cacoshl.c: Likewise.
11520 * math/s_casinh.c: Likewise.
11521 * math/s_casinhf.c: Likewise.
11522 * math/s_casinhl.c: Likewise.
11523 * math/s_ccos.c: Rely entire on ccosh.
11524 * math/s_ccosf.c: Rely entire on ccoshf.
11525 * math/s_ccosl.c: Rely entirely on ccoshl.
11526 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11527 Remove tests for FE_INVALID.
11528 * math/s_ccoshf.c: Likewise.
11529 * math/s_ccoshl.c: Likewise.
11530 * math/s_csin.c: Likewise.
11531 * math/s_csinf.c: Likewise.
11532 * math/s_csinh.c Likewise.
11533 * math/s_csinhf.c: Likewise.
11534 * math/s_csinhl.c: Likewise.
11535 * math/s_csinl.c: Likewise.
11536 * math/s_ctan.c: Likewise.
11537 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11538 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11539 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11540
11541 2011-10-21 Ulrich Drepper <drepper@gmail.com>
11542
11543 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11544 compilation problems.
11545
11546 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11547 __builtin_expect.
11548
11549 2011-10-20 Ulrich Drepper <drepper@gmail.com>
11550
11551 * sysdeps/i386/configure.in: Test for -mfma4 option.
11552 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11553 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11554 COMMON_CPUID_INDEX_80000001.
11555 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11556 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11557 use it if FMA3 is not supported.
11558 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11559
11560 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11561 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11562
11563 2011-10-20 Andreas Schwab <schwab@redhat.com>
11564
11565 [BZ #12892]
11566 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11567 it would create a cycle with a link time dependency.
11568
11569 2011-10-19 Ulrich Drepper <drepper@gmail.com>
11570
11571 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11572 instruction.
11573 * string/Makefile (strop-tests): Add rawmemchr.
11574 * string/test-rawmemchr.c: New file.
11575
11576 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11577 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11578 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11579 when compiling str{,n}casecmp and when AVX is available. Hook up
11580 new optimized code in initializers.
11581
11582 2011-10-19 Andreas Schwab <schwab@redhat.com>
11583
11584 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11585 __feraiseexcept instead of feraiseexcept.
11586
11587 2011-10-18 Ulrich Drepper <drepper@gmail.com>
11588
11589 * math/math_private.h: Define defaults for libc_fetestexcept and
11590 libc_feupdateenv.
11591 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11592 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11593 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11594 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11595 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11596 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11597 libc_fetestexcept and libc_feupdateenv.
11598
11599 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11600 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11601 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11602 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11603 libc_feholdexcept_setround.
11604
11605 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11606 Add s_nearbyint-c and s_nearbyintf-c.
11607 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11608 nearbyintf inlines.
11609 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11610 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11611 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11612 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11613
11614 * math/math_private.h: Define defaults for libc_fegetround,
11615 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11616 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11617 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11618 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11619 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11620 standard functions.
11621 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11622 Remove comments and hacks for old compiler versions.
11623 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11624 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11625 libc_feholdexceptl.
11626
11627 2011-10-18 Andreas Schwab <schwab@redhat.com>
11628
11629 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
11630 (__feraiseexcept_renamed): Add __NTH.
11631 (feraiseexcept): Add __NTH. Rename local variables to fix
11632 namespace violations.
11633
11634 2011-10-17 Ulrich Drepper <drepper@gmail.com>
11635
11636 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11637
11638 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11639
11640 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11641 recently added interfaces.
11642 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11643
11644 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11645 about macro parameter expansion.
11646
11647 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11648 __NO_MATH_INLINES is defined. Cleanups.
11649
11650 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11651 and __floorf is target has SSE4.1.
11652 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11653 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11654 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11655 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11656
11657 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11658 name.
11659 (floorf): Likewise.
11660
11661 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11662
11663 2011-10-17 Andreas Schwab <schwab@redhat.com>
11664
11665 * misc/sys/cdefs.h: Fix last change.
11666
11667 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11668 database lookup.
11669
11670 2011-10-16 Ulrich Drepper <drepper@gmail.com>
11671
11672 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11673
11674 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11675 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11676 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11677 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11678 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11679 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11680 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11681 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11682 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11683 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11684 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11685 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11686 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11687 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11688 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11689 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11690 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11691 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11692 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11693 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11694 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11695 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11696
11697 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11698 ceil, ceilf, floor, floorf.
11699
11700 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11701 Perform IRELATIVE relocations last.
11702
11703 * elf/do-rel.h: Add another parameter nrelative, replacing the
11704 local variable with the same name. Change name of the function
11705 to end in Rel or Rela (uppercase).
11706 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11707 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11708 elf_dynamic_do_##reloc function.
11709
11710 2011-10-15 Ulrich Drepper <drepper@gmail.com>
11711
11712 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11713 is sufficient, at least on modern CPUs.
11714
11715 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11716
11717 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11718 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11719
11720 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11721 __expl_finite.
11722 * math/bits/math-finite.h: Add entries for exp.
11723 * math/e_expl.c: Add __*_finite alias.
11724 * sysdeps/i386/fpu/e_exp.S: Likewise.
11725 * sysdeps/i386/fpu/e_expf.S: Likewise.
11726 * sysdeps/i386/fpu/e_expl.c: Likewise.
11727 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11728 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11729 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11730 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11731 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11732 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11733 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11734
11735 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11736 is sufficient, at least on modern CPUs.
11737
11738 * ctype/ctype-info.c (__ctype_init): Define.
11739 * include/ctype.h (__ctype_init): Declare.
11740 (__ctype_b_loc): The variable is always initialized.
11741 (__ctype_toupper_loc): Likewise.
11742 (__ctype_tolower_loc): Likewise.
11743 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11744 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11745
11746 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11747
11748 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11749
11750 * configure.in: Also look in $cxxmachine/include for C++ system
11751 headers.
11752
11753 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11754
11755 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11756 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11757 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11758 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11759 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11760 (USE_AS_WMEMCMP): New macro.
11761 Fixing indents.
11762 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11763 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11764 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11765 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11766 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11767 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11768 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11769 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11770 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11771 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11772 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11773 (USE_AS_WMEMCMP): New macro.
11774 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11775 * sysdeps/string/test-memcmp.c: Update.
11776 Fix simple_wmemcmp.
11777 Add new tests.
11778 * wcsmbs/wmemcmp.c: Update.
11779 (WMEMCMP): New macro.
11780 Fix overflow bug.
11781
11782 2011-10-12 Andreas Jaeger <aj@suse.de>
11783
11784 [BZ #13268]
11785 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11786
11787 2011-10-15 Ulrich Drepper <drepper@gmail.com>
11788
11789 * libio/iofwide.c (do_length): Avoid warning.
11790
11791 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11792
11793 2011-10-14 Ulrich Drepper <drepper@gmail.com>
11794
11795 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11796
11797 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11798 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11799 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11800 * sysdeps/i386/i686/fpu/e_log.S: New file.
11801 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11802 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11803
11804 * ctype/ctype.h: Add support for inlined isXXX functions when
11805 compiling C++ code.
11806
11807 2011-10-14 Andreas Schwab <schwab@redhat.com>
11808
11809 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11810
11811 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11812
11813 2011-10-13 Roland McGrath <roland@hack.frob.com>
11814
11815 [BZ #13291]
11816 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11817
11818 2011-10-13 Andreas Schwab <schwab@redhat.com>
11819
11820 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11821 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11822 feraiseexcept.
11823
11824 * sysdeps/x86_64/memrchr.S: Check for zero size.
11825
11826 * string/stratcliff.c: Add memrchr tests.
11827
11828 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11829
11830 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11831 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11832 rawmemchr-sse2 rawmemchr-sse2-bsf.
11833 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11834 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11835 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11836 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11837 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11838 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11839 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11840 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11841 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11842 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11843 * string/memrchr.c (MEMRCHR): New macro.
11844
11845 2011-10-12 Ulrich Drepper <drepper@gmail.com>
11846
11847 Add integration with gcc's -ffinite-math-only and optimize wrapper
11848 functions in libm.
11849 * Versions.def: Define GLIBC_2.15 version for libm.
11850 * math/Makefile (headers): Add bits/math-finite.h.
11851 * math/bits/math-finite.h: New file.
11852 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11853 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11854 * math/e_acoshl.c: Add __*_finite alias.
11855 * math/e_acosl.c: Likewise.
11856 * math/e_asinl.c: Likewise.
11857 * math/e_atan2l.c: Likewise.
11858 * math/e_atanhl.c: Likewise.
11859 * math/e_coshl.c: Likewise.
11860 * math/e_exp10.c: Likewise.
11861 * math/e_exp10f.c: Likewise.
11862 * math/e_exp10l.c: Likewise.
11863 * math/e_exp2l.c: Likewise.
11864 * math/e_fmodl.c: Likewise.
11865 * math/e_gammal_r.c: Likewise.
11866 * math/e_hypotl.c: Likewise.
11867 * math/e_j0l.c: Likewise.
11868 * math/e_j1l.c: Likewise.
11869 * math/e_jnl.c: Likewise.
11870 * math/e_lgammal_r.c: Likewise.
11871 * math/e_log10l.c: Likewise.
11872 * math/e_log2l.c: Likewise.
11873 * math/e_logl.c: Likewise.
11874 * math/e_powl.c: Likewise.
11875 * math/e_sinhl.c: Likewise.
11876 * math/e_sqrtl.c: Likewise.
11877 * math/e_scalb.c: Completely rewritten and optimized.
11878 * math/e_scalbf.c: Likewise.
11879 * math/e_scalbl.c: Likewise.
11880 * math/w_acos.c: Likewise.
11881 * math/w_acosf.c: Likewise.
11882 * math/w_acosl.c: Likewise.
11883 * math/w_acosh.c: Likewise.
11884 * math/w_acoshf.c: Likewise.
11885 * math/w_acoshl.c: Likewise.
11886 * math/w_asin.c: Likewise.
11887 * math/w_asinf.c: Likewise.
11888 * math/w_asinl.c: Likewise.
11889 * math/w_atan2.c: Likewise.
11890 * math/w_atan2f.c: Likewise.
11891 * math/w_atan2l.c: Likewise.
11892 * math/w_atanh.c: Likewise.
11893 * math/w_atanhf.c: Likewise.
11894 * math/w_atanhl.c: Likewise.
11895 * math/w_exp10.c: Likewise.
11896 * math/w_exp10f.c: Likewise.
11897 * math/w_exp10l.c: Likewise.
11898 * math/w_fmod.c: Likewise.
11899 * math/w_fmodf.c: Likewise.
11900 * math/w_fmodl.c: Likewise.
11901 * math/w_j0.c: Likewise.
11902 * math/w_j0f.c: Likewise.
11903 * math/w_j0l.c: Likewise.
11904 * math/w_j1.c: Likewise.
11905 * math/w_j1f.c: Likewise.
11906 * math/w_j1l.c: Likewise.
11907 * math/w_jn.c: Likewise.
11908 * math/w_jnf.c: Likewise.
11909 * math/w_log.c: Likewise.
11910 * math/w_logf.c: Likewise.
11911 * math/w_logl.c: Likewise.
11912 * math/w_log10.c: Likewise.
11913 * math/w_log10f.c: Likewise.
11914 * math/w_log10l.c: Likewise.
11915 * math/w_log2.c: Likewise.
11916 * math/w_log2f.c: Likewise.
11917 * math/w_log2l.c: Likewise.
11918 * math/w_pow.c: Likewise.
11919 * math/w_powf.c: Likewise.
11920 * math/w_powl.c: Likewise.
11921 * math/w_remainder.c: Likewise.
11922 * math/w_remainderf.c: Likewise.
11923 * math/w_remainderl.c: Likewise.
11924 * math/w_scalb.c: Likewise.
11925 * math/w_scalbf.c: Likewise.
11926 * math/w_scalbl.c: Likewise.
11927 * math/w_sqrt.c: Likewise.
11928 * math/w_sqrtf.c: Likewise.
11929 * math/w_sqrtl.c: Likewise.
11930 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11931 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11932 used.
11933 * math/math_private.h: Declare __kernel_standard_f.
11934 * math/w_cosh.c: Remove cruft and optimize a bit.
11935 * math/w_coshf.c: Likewise.
11936 * math/w_coshl.c: Likewise.
11937 * math/w_exp2.c: Likewise.
11938 * math/w_exp2f.c: Likewise.
11939 * math/w_exp2l.c: Likewise.
11940 * math/w_hypot.c: Likewise.
11941 * math/w_hypotf.c: Likewise.
11942 * math/w_hypotl.c: Likewise.
11943 * math/w_lgamma.c: Likewise.
11944 * math/w_lgamma_r.c: Likewise.
11945 * math/w_lgammaf.c: Likewise.
11946 * math/w_lgammaf_r.c: Likewise.
11947 * math/w_lgammal.c: Likewise.
11948 * math/w_lgammal_r.c: Likewise.
11949 * math/w_sinh.c: Likewise.
11950 * math/w_sinhf.c: Likewise.
11951 * math/w_sinhl.c: Likewise.
11952 * math/w_tgamma.c: Likewise.
11953 * math/w_tgammaf.c: Likewise.
11954 * math/w_tgammal.c: Likewise.
11955 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11956 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11957 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11958 Minor optimizations. Pretty printing. Remove cruft.
11959 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11960 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11961 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11962 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11963 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11964 * sysdeps/i386/fpu/e_asin.S: Likewise.
11965 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11966 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11967 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11968 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11969 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11970 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11971 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11972 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11973 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11974 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11975 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11976 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11977 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11978 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11979 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11980 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11981 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11982 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11983 * sysdeps/i386/fpu/e_log.S: Likewise.
11984 * sysdeps/i386/fpu/e_log10.S: Likewise.
11985 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11986 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11987 * sysdeps/i386/fpu/e_log2.S: Likewise.
11988 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11989 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11990 * sysdeps/i386/fpu/e_logf.S: Likewise.
11991 * sysdeps/i386/fpu/e_logl.S: Likewise.
11992 * sysdeps/i386/fpu/e_pow.S: Likewise.
11993 * sysdeps/i386/fpu/e_powf.S: Likewise.
11994 * sysdeps/i386/fpu/e_powl.S: Likewise.
11995 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11996 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11997 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11998 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11999 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12000 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12001 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12002 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12003 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12004 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12005 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12006 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12007 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12008 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12009 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12010 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12011 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12012 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12013 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12014 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12015 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12016 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12017 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12018 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12019 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12020 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12021 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12022 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12023 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12024 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12025 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12026 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12027 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12028 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12029 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12030 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12031 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12032 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12033 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12034 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12035 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12036 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12037 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12038 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12039 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12040 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12041 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12042 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12043 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12044 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12045 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12046 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12047 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12048 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12049 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12050 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12051 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12052 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12053 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12054 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12055 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12056 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12057 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12058 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12059 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12060 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12061 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12062 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12063 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12064 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12065 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12066 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12067 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12068 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12069 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12070 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12071 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12072 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12073 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12074 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12075 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12076 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12077 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12078 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12079 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12080 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12081 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12082 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12083 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12084 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12085 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12086 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12087 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12088 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12089 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12090 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12091 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12092 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12093 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12094 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12095 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12096 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12097 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12098 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12099 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12100 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12101 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12102 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12103 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12104 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12105 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12106 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12107 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12108 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12109 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12110 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12111 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12112 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12113 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12114 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12115 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12116 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12117 (__isnanf): Likewise.
12118 (__isinf_ns): Likewise.
12119 (__isinf_nsf): Likewise.
12120 (__finite): Likewise.
12121 (__finitef): Likewise.
12122 (__ieee754_sqrt): Define as macro.
12123 (__ieee754_sqrtf): Define as macro.
12124 (__ieee754_sqrtl): Define as macro.
12125 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12126 inlined copy.
12127 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12128 __FINITE_MATH_ONLY__ consistent.
12129 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12130
12131 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12132
12133 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12134 of rawmemchr.
12135
12136 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12137
12138 2011-10-09 Ulrich Drepper <drepper@gmail.com>
12139
12140 * po/ja.po: Update from translation team.
12141
12142 2011-10-08 Roland McGrath <roland@hack.frob.com>
12143
12144 * locale/programs/locarchive.c (prepare_address_space): New function.
12145 (create_archive, enlarge_archive, open_archive): Use it.
12146
12147 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12148 inside [SHARED], where it is used.
12149
12150 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12151
12152 * nss/getent.c (netgroup_keys): Remove unused variable.
12153 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12154
12155 2011-10-08 Ulrich Drepper <drepper@gmail.com>
12156
12157 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12158 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12159 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12160 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12161 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12162 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12163 * math/Makefile (libm-calls): Add s_isinf_ns.
12164 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12165 * math/multc3.c: Likewise.
12166 * math/s_casin.c: Likewise.
12167 * math/s_casinf.c: Likewise.
12168 * math/s_casinl.c: Likewise.
12169 * math/s_ccos.c: Likewise.
12170 * math/s_ccosf.c: Likewise.
12171 * math/s_ccosl.c: Likewise.
12172 * math/s_ctan.c: Likewise.
12173 * math/s_ctanf.c: Likewise.
12174 * math/s_ctanh.c: Likewise.
12175 * math/s_ctanhf.c: Likewise.
12176 * math/s_ctanhl.c: Likewise.
12177 * math/s_ctanl.c: Likewise.
12178 * math/w_fmod.c: Likewise.
12179 * math/w_fmodf.c: Likewise.
12180 * math/w_fmodl.c: Likewise.
12181 * math/w_remainder.c: Likewise.
12182 * math/w_remainderf.c: Likewise.
12183 * math/w_remainderl.c: Likewise.
12184 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12185 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12186 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12187 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12188 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12189 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12190 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12191 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12192
12193 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12194 of the number.
12195 * stdio-common/printf_fphex.c: Likewise.
12196 * stdio-common/printf_size.c: Likewise.
12197
12198 * math/e_exp10.c: Include math_private.h using <...> not "...".
12199 * math/e_exp10f.c: Likewise.
12200 * math/e_exp10l.c: Likewise.
12201 * math/e_exp2l.c: Likewise.
12202 * math/e_j0l.c: Likewise.
12203 * math/e_j1l.c: Likewise.
12204 * math/e_jnl.c: Likewise.
12205 * math/e_lgammal_r.c: Likewise.
12206 * math/e_rem_pio2l.c: Likewise.
12207 * math/e_scalb.c: Likewise.
12208 * math/e_scalbf.c: Likewise.
12209 * math/e_scalbl.c: Likewise.
12210 * math/k_cosl.c: Likewise.
12211 * math/k_sinl.c: Likewise.
12212 * math/k_tanl.c: Likewise.
12213 * math/s_cacoshf.c: Likewise.
12214 * math/s_catan.c: Likewise.
12215 * math/s_catanf.c: Likewise.
12216 * math/s_catanh.c: Likewise.
12217 * math/s_catanhf.c: Likewise.
12218 * math/s_catanhl.c: Likewise.
12219 * math/s_catanl.c: Likewise.
12220 * math/s_ccosh.c: Likewise.
12221 * math/s_ccoshf.c: Likewise.
12222 * math/s_ccoshl.c: Likewise.
12223 * math/s_cexp.c: Likewise.
12224 * math/s_cexpf.c: Likewise.
12225 * math/s_cexpl.c: Likewise.
12226 * math/s_clog.c: Likewise.
12227 * math/s_clog10.c: Likewise.
12228 * math/s_clog10f.c: Likewise.
12229 * math/s_clog10l.c: Likewise.
12230 * math/s_clogf.c: Likewise.
12231 * math/s_clogl.c: Likewise.
12232 * math/s_csin.c: Likewise.
12233 * math/s_csinf.c: Likewise.
12234 * math/s_csinh.c: Likewise.
12235 * math/s_csinhf.c: Likewise.
12236 * math/s_csinhl.c: Likewise.
12237 * math/s_csinl.c: Likewise.
12238 * math/s_csqrt.c: Likewise.
12239 * math/s_csqrtf.c: Likewise.
12240 * math/s_csqrtl.c: Likewise.
12241 * math/s_ctan.c: Likewise.
12242 * math/s_ctanf.c: Likewise.
12243 * math/s_ctanh.c: Likewise.
12244 * math/s_ctanhf.c: Likewise.
12245 * math/s_ctanhl.c: Likewise.
12246 * math/s_ctanl.c: Likewise.
12247 * math/s_ldexp.c: Likewise.
12248 * math/s_ldexpf.c: Likewise.
12249 * math/s_ldexpl.c: Likewise.
12250 * math/s_significand.c: Likewise.
12251 * math/s_significandf.c: Likewise.
12252 * math/s_significandl.c: Likewise.
12253 * math/w_acos.c: Likewise.
12254 * math/w_acosf.c: Likewise.
12255 * math/w_acosh.c: Likewise.
12256 * math/w_acoshf.c: Likewise.
12257 * math/w_acoshl.c: Likewise.
12258 * math/w_acosl.c: Likewise.
12259 * math/w_asin.c: Likewise.
12260 * math/w_asinf.c: Likewise.
12261 * math/w_asinl.c: Likewise.
12262 * math/w_atan2.c: Likewise.
12263 * math/w_atan2f.c: Likewise.
12264 * math/w_atan2l.c: Likewise.
12265 * math/w_atanh.c: Likewise.
12266 * math/w_atanhf.c: Likewise.
12267 * math/w_atanhl.c: Likewise.
12268 * math/w_cosh.c: Likewise.
12269 * math/w_coshf.c: Likewise.
12270 * math/w_coshl.c: Likewise.
12271 * math/w_dremf.c: Likewise.
12272 * math/w_exp10.c: Likewise.
12273 * math/w_exp10f.c: Likewise.
12274 * math/w_exp10l.c: Likewise.
12275 * math/w_exp2.c: Likewise.
12276 * math/w_exp2f.c: Likewise.
12277 * math/w_fmod.c: Likewise.
12278 * math/w_fmodf.c: Likewise.
12279 * math/w_fmodl.c: Likewise.
12280 * math/w_hypot.c: Likewise.
12281 * math/w_hypotf.c: Likewise.
12282 * math/w_hypotl.c: Likewise.
12283 * math/w_j0.c: Likewise.
12284 * math/w_j0f.c: Likewise.
12285 * math/w_j0l.c: Likewise.
12286 * math/w_j1.c: Likewise.
12287 * math/w_j1f.c: Likewise.
12288 * math/w_j1l.c: Likewise.
12289 * math/w_jn.c: Likewise.
12290 * math/w_jnf.c: Likewise.
12291 * math/w_jnl.c: Likewise.
12292 * math/w_lgamma.c: Likewise.
12293 * math/w_lgamma_r.c: Likewise.
12294 * math/w_lgammaf.c: Likewise.
12295 * math/w_lgammaf_r.c: Likewise.
12296 * math/w_lgammal.c: Likewise.
12297 * math/w_lgammal_r.c: Likewise.
12298 * math/w_log.c: Likewise.
12299 * math/w_log10.c: Likewise.
12300 * math/w_log10f.c: Likewise.
12301 * math/w_log10l.c: Likewise.
12302 * math/w_log2.c: Likewise.
12303 * math/w_log2f.c: Likewise.
12304 * math/w_log2l.c: Likewise.
12305 * math/w_logf.c: Likewise.
12306 * math/w_logl.c: Likewise.
12307 * math/w_pow.c: Likewise.
12308 * math/w_powf.c: Likewise.
12309 * math/w_powl.c: Likewise.
12310 * math/w_remainder.c: Likewise.
12311 * math/w_remainderf.c: Likewise.
12312 * math/w_remainderl.c: Likewise.
12313 * math/w_scalb.c: Likewise.
12314 * math/w_scalbf.c: Likewise.
12315 * math/w_scalbl.c: Likewise.
12316 * math/w_sinh.c: Likewise.
12317 * math/w_sinhf.c: Likewise.
12318 * math/w_sinhl.c: Likewise.
12319 * math/w_sqrt.c: Likewise.
12320 * math/w_sqrtf.c: Likewise.
12321 * math/w_sqrtl.c: Likewise.
12322 * math/w_tgamma.c: Likewise.
12323 * math/w_tgammaf.c: Likewise.
12324 * math/w_tgammal.c: Likewise.
12325
12326 * po/ja.po: Update from translation team.
12327
12328 2011-09-29 Andreas Jaeger <aj@suse.de>
12329
12330 [BZ #13179]
12331 * sunrpc/netname.c (netname2host): Fix logic.
12332
12333 [BZ #6779]
12334 [BZ #6783]
12335 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12336 correctly.
12337 * math/w_remainder.c (__remainder): Likewise.
12338 * math/w_remainderf.c (__remainderf): Likewise.
12339 * math/libm-test.inc (remainder_test): Add test cases.
12340
12341 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12342
12343 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
12344 sdiv_qrnnd.
12345
12346 2011-10-07 Ulrich Drepper <drepper@gmail.com>
12347
12348 * string/test-memcmp.c: Avoid unncessary #defines.
12349 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12350
12351 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12352
12353 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12354 Use new sse2 version for core i3 - i7 as it's faster
12355 than sse42 version.
12356 (bit_Prefer_PMINUB_for_stringop): New.
12357 * sysdeps/x86_64/rawmemchr.S: Update.
12358 Replace with faster SSE2 version.
12359 * sysdeps/x86_64/memrchr.S: New file.
12360 * sysdeps/x86_64/memchr.S: Update.
12361 Replace with faster SSE2 version.
12362
12363 2011-09-12 Marek Polacek <mpolacek@redhat.com>
12364
12365 * elf/dl-load.c (lose): Add cast to avoid warning.
12366
12367 2011-10-07 Ulrich Drepper <drepper@gmail.com>
12368
12369 * po/ca.po: Update from translation team.
12370
12371 * inet/getnetgrent_r.c: Hook up nscd.
12372 * nscd/Makefile (routines): Add nscd_netgroup.
12373 (nscd-modules): Add netgroupcache.
12374 (CFLAGS-netgroupcache.c): Define.
12375 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12376 (cache_search): Add const to second parameter.
12377 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12378 INNETGR.
12379 (dbs): Add netgrdb entry.
12380 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12381 (verify_persistent_db): Handle netgrdb.
12382 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12383 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12384 GETFDNETGR.
12385 (netgroup_response_header): Define.
12386 (innetgroup_response_header): Define.
12387 (datahead): Add netgroup_response_header and innetgroup_response_header
12388 elements.
12389 * nscd/nscd.conf: Add entries for netgroup cache.
12390 * nscd/nscd.h (dbtype): Add netgrdb.
12391 (_PATH_NSCD_NETGROUP_DB): Define.
12392 (netgroup_iov_disabled): Declare.
12393 (xmalloc, xcalloc, xrealloc): Move declarations here.
12394 (cache_search): Adjust prototype.
12395 Add netgroup-related prototypes.
12396 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
12397 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
12398 (__nscd_innetgr): Declare.
12399 * nscd/selinux.c (perms): Use access_vector_t as element type and
12400 add netgroup-related initializers.
12401 * nscd/netgroupcache.c: New file.
12402 * nscd/nscd_netgroup.c: New file.
12403 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12404 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12405 For four parameters use innetgr.
12406 * nss/nss_files/files-init.c: Add definition and callback for netgr.
12407 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12408 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12409 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12410
12411 * nscd/connections.c (register_traced_file): Don't register file
12412 for disabled databases.
12413
12414 2011-10-06 Ulrich Drepper <drepper@gmail.com>
12415
12416 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
12417
12418 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
12419 from tree and freeing node.
12420
12421 2011-09-25 Jiri Olsa <jolsa@redhat.com>
12422
12423 * nss/nsswitch.c (__nss_database_lookup): Handle
12424 nss_parse_service_list out of memory case.
12425
12426 2011-09-15 Jiri Olsa <jolsa@redhat.com>
12427
12428 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12429 out of memory case.
12430
12431 2011-10-04 Andreas Schwab <schwab@redhat.com>
12432
12433 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12434 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12435 pass it down.
12436 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12437 elf_machine_rela, elf_machine_lazy_rel.
12438 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12439 (ELF_DYNAMIC_DO_REL): Likewise.
12440 (ELF_DYNAMIC_DO_RELA): Likewise.
12441 (ELF_DYNAMIC_RELOCATE): Likewise.
12442 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12443 to ELF_DYNAMIC_DO_REL.
12444 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12445 (dl_main): In trace mode always set __RTLD_NOIFUNC.
12446 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12447 elf_machine_rela.
12448 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12449 skip_ifunc, don't call ifunc function if non-zero.
12450 (elf_machine_rela): Likewise.
12451 (elf_machine_lazy_rel): Likewise.
12452 (elf_machine_lazy_rela): Likewise.
12453 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12454 (elf_machine_lazy_rel): Likewise.
12455 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12456 Likewise.
12457 (elf_machine_lazy_rel): Likewise.
12458 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12459 Likewise.
12460 (elf_machine_lazy_rel): Likewise.
12461 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12462 (elf_machine_lazy_rel): Likewise.
12463 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12464 (elf_machine_lazy_rel): Likewise.
12465 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12466 (elf_machine_lazy_rel): Likewise.
12467 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12468 (elf_machine_lazy_rel): Likewise.
12469 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12470 (elf_machine_lazy_rel): Likewise.
12471 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12472 (elf_machine_lazy_rel): Likewise.
12473
12474 2011-09-28 Ulrich Drepper <drepper@gmail.com>
12475
12476 * nss/nss_files/files-init.c (_nss_files_init): Use static
12477 initialization for all the *_traced_file variables.
12478
12479 2011-09-28 Andreas Schwab <schwab@redhat.com>
12480
12481 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12482
12483 2011-09-27 Roland McGrath <roland@hack.frob.com>
12484
12485 [BZ #13226]
12486 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12487
12488 2011-09-27 Andreas Schwab <schwab@redhat.com>
12489
12490 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12491 Reread the line before reparsing it.
12492
12493 2011-09-26 Andreas Schwab <schwab@redhat.com>
12494
12495 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12496
12497 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12498 Maxim Kuvyrkov <maxim@codesourcery.com>
12499 Joseph Myers <joseph@codesourcery.com>
12500
12501 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12502 if needed for __stack_chk_guard.
12503
12504 2011-09-19 Roland McGrath <roland@hack.frob.com>
12505
12506 * sysdeps/posix/spawni.c (script_execute): Always define it.
12507 It will be optimized away if unused.
12508 (maybe_script_execute): New function.
12509 (__spawni): Call it.
12510
12511 * Makerules: Don't include tls.make.
12512 (config-tls): Always set to thread.
12513 * tls.make.c: File removed.
12514
12515 2011-09-19 Mike Frysinger <vapier@gentoo.org>
12516
12517 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12518 * config.make.in (CPPFLAGS-config): New substituted variable.
12519
12520 2011-09-15 Ulrich Drepper <drepper@gmail.com>
12521
12522 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12523
12524 [BZ #13192]
12525 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12526 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12527
12528 2011-09-15 Roland McGrath <roland@hack.frob.com>
12529
12530 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12531 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12532 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12533 (CALL_FAIL): Likewise.
12534 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12535 (CALL_FAIL): Macro removed.
12536 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12537
12538 2011-09-15 Ulrich Drepper <drepper@gmail.com>
12539
12540 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12541 for __FINITE_MATH_ONLY__ == 1.
12542
12543 2011-09-15 Andreas Schwab <schwab@redhat.com>
12544
12545 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12546 __ieee754_sqrt instead of sqrt.
12547 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12548 __ieee754_sqrtf instead of sqrtf.
12549 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12550 __floorf instead of floorf.
12551 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12552 __floorf, __truncf instead of floorf, truncf.
12553
12554 2011-09-14 Ulrich Drepper <drepper@gmail.com>
12555
12556 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12557
12558 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12559 __extern_always_inline.
12560 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12561 32-bit.
12562
12563 2011-09-14 Andreas Schwab <schwab@redhat.com>
12564
12565 * elf/rtld.c (dl_main): Also relocate in dependency order when
12566 doing symbol dependency testing.
12567
12568 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12569
12570 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12571 Always define `refsym'.
12572
12573 2011-09-13 Andreas Schwab <schwab@redhat.com>
12574
12575 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12576 (__FD_ELT): Renamed from __FDELT.
12577 * misc/bits/select2.h (__FD_ELT): Likewise.
12578 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12579 __FD_MASK instead of __FDELT, __FDMASK.
12580 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12581 Likewise.
12582 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12583 Likewise.
12584
12585 * elf/Makefile (gen-ldd): Fix pattern.
12586
12587 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12588 (init_tls): Likewise.
12589
12590 2011-09-12 Ulrich Drepper <drepper@gmail.com>
12591
12592 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12593
12594 2011-09-12 Andreas Schwab <schwab@redhat.com>
12595
12596 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12597 `struct cmsghdr *' instead of `void *'.
12598 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12599 Likewise.
12600
12601 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12602
12603 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12604 if non-absolute.
12605 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12606 ldd_rewrite_script.
12607
12608 2011-09-11 Ulrich Drepper <drepper@gmail.com>
12609
12610 * configure.in: Remove --with-tls option.
12611 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12612 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12613 out in case it is missing.
12614 * sysdeps/ia64/elf/configure.in: Likewise.
12615 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12616 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12617 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12618 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12619 * sysdeps/sh/elf/configure.in: Likewise.
12620 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12621 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12622 * sysdeps/x86_64/elf/configure.in: Likewise.
12623 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12624 * sysdeps/mach/hurd/tls.h: Likewise.
12625
12626 [BZ #13067]
12627 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12628
12629 [BZ #13090]
12630 * configure.in: Fix use of AC_INIT.
12631
12632 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12633
12634 2011-09-10 Ulrich Drepper <drepper@gmail.com>
12635
12636 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12637 __set_errno.
12638 * malloc/hooks.c: Likewise.
12639
12640 [BZ #11929]
12641 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12642 variables statically.
12643 (narenas): Initialize.
12644 (list_lock): Initialize.
12645 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12646 initializtion of main_arena and list_lock. Small cleanups.
12647 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12648 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12649 Add initializers to main_arena and mp_.
12650 (malloc_state): Remove pagesize member. Change all users to use
12651 GLRO(dl_pagesize).
12652
12653 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12654 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12655 is always initialized.
12656
12657 * malloc/malloc.c: Removed unused configurations and dead code.
12658 * malloc/arena.c: Likewise.
12659 * malloc/hooks.c: Likewise.
12660 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
12661
12662 * include/tls.h: Removed. USE___THREAD must always be defined.
12663 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12664 * elf/dl-libc.c: Likewise.
12665 * elf/dl-tsd.c: Likewise.
12666 * include/errno.h: Likewise.
12667 * include/netdb.h: Likewise.
12668 * include/resolv.h: Likewise.
12669 * inet/herrno-loc.c: Likewise.
12670 * inet/herrno.c: Likewise.
12671 * malloc/arena.c: Likewise.
12672 * malloc/hooks.c: Likewise.
12673 * malloc/malloc.c: Likewise.
12674 * resolv/res-state.c: Likewise.
12675 * resolv/res_libc.c: Likewise.
12676 * sysdeps/i386/dl-machine.h: Likewise.
12677 * sysdeps/ia64/dl-machine.h: Likewise.
12678 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12679 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12680 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12681 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12682 * sysdeps/sh/dl-machine.h: Likewise.
12683 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12684 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12685 * sysdeps/unix/i386/sysdep.S: Likewise.
12686 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12687 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12688 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12689 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12690 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12691 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12692 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12693 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12694 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12695 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12696 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12697 * sysdeps/x86_64/dl-machine.h: Likewise.
12698 * tls.make.c: Likewise.
12699
12700 * configure.in: Remove --with-__thread option. Make tests for
12701 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12702 tls_model attribute fail if no support is available. Remove
12703 USE_IN_LIBIO.
12704 * Makeconfig: Adjust for dropped configure option. All features are
12705 now mandatory.
12706 * Makerules: Likewise.
12707 * Versions.def: Likewise.
12708 * argp/argp-fmtstream.c: Likewise.
12709 * argp/argp-fmtstream.h: Likewise.
12710 * argp/argp-help.c: Likewise.
12711 * assert/assert.c: Likewise.
12712 * config.h.in: Likewise.
12713 * config.make.in: Likewise.
12714 * configure: Likewise.
12715 * configure.in: Likewise.
12716 * csu/Versions: Likewise.
12717 * csu/init.c: Likewise.
12718 * elf/tst-audit2.c: Likewise.
12719 * elf/tst-tls10.c: Likewise.
12720 * elf/tst-tls10.h: Likewise.
12721 * elf/tst-tls11.c: Likewise.
12722 * elf/tst-tls12.c: Likewise.
12723 * elf/tst-tls14.c: Likewise.
12724 * elf/tst-tlsmod11.c: Likewise.
12725 * elf/tst-tlsmod12.c: Likewise.
12726 * elf/tst-tlsmod13.c: Likewise.
12727 * elf/tst-tlsmod13a.c: Likewise.
12728 * elf/tst-tlsmod14a.c: Likewise.
12729 * elf/tst-tlsmod15b.c: Likewise.
12730 * elf/tst-tlsmod16a.c: Likewise.
12731 * elf/tst-tlsmod16b.c: Likewise.
12732 * elf/tst-tlsmod7.c: Likewise.
12733 * elf/tst-tlsmod8.c: Likewise.
12734 * elf/tst-tlsmod9.c: Likewise.
12735 * gmon/gmon.c: Likewise.
12736 * grp/fgetgrent_r.c: Likewise.
12737 * grp/putgrent.c: Likewise.
12738 * hurd/fopenport.c: Likewise.
12739 * include/libc-symbols.h: Likewise.
12740 * include/tls.h: Likewise.
12741 * intl/gettextP.h: Likewise.
12742 * intl/loadinfo.h: Likewise.
12743 * locale/global-locale.c: Likewise.
12744 * locale/localeinfo.h: Likewise.
12745 * mach/devstream.c: Likewise.
12746 * malloc/arena.c: Likewise.
12747 * malloc/set-freeres.c: Likewise.
12748 * misc/err.c: Likewise.
12749 * misc/getttyent.c: Likewise.
12750 * misc/mntent_r.c: Likewise.
12751 * posix/getopt.c: Likewise.
12752 * posix/wordexp.c: Likewise.
12753 * pwd/fgetpwent_r.c: Likewise.
12754 * resolv/Versions: Likewise.
12755 * resolv/res_hconf.c: Likewise.
12756 * shadow/fgetspent_r.c: Likewise.
12757 * shadow/putspent.c: Likewise.
12758 * stdio-common/printf_fphex.c: Likewise.
12759 * stdio-common/tmpfile.c: Likewise.
12760 * stdlib/abort.c: Likewise.
12761 * stdlib/fmtmsg.c: Likewise.
12762 * sunrpc/auth_unix.c: Likewise.
12763 * sunrpc/clnt_perr.c: Likewise.
12764 * sunrpc/clnt_tcp.c: Likewise.
12765 * sunrpc/clnt_udp.c: Likewise.
12766 * sunrpc/clnt_unix.c: Likewise.
12767 * sunrpc/openchild.c: Likewise.
12768 * sunrpc/svc_simple.c: Likewise.
12769 * sunrpc/svc_tcp.c: Likewise.
12770 * sunrpc/svc_udp.c: Likewise.
12771 * sunrpc/svc_unix.c: Likewise.
12772 * sunrpc/xdr.c: Likewise.
12773 * sunrpc/xdr_array.c: Likewise.
12774 * sunrpc/xdr_rec.c: Likewise.
12775 * sunrpc/xdr_ref.c: Likewise.
12776 * sunrpc/xdr_stdio.c: Likewise.
12777
12778 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12779
12780 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12781
12782 2011-07-03 Andreas Jaeger <aj@suse.de>
12783
12784 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12785 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12786 regenerate with gen-libm-tests.pl.
12787
12788 2010-05-12 Petr Baudis <pasky@suse.cz>
12789
12790 [BZ #11589]
12791 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12792 around j0() zero points by switching to j1().
12793 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12794 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12795 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12796 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12797
12798 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12799
12800 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12801 instead of 0.
12802 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12803 instead of 0. .
12804 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12805 Patch in part by Pavel Roskin <proski@gnu.org>.
12806
12807 [BZ #13138]
12808 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12809 realloc.
12810 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12811 Free memory block if necessary.
12812
12813 [BZ #12847]
12814 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12815 be NULL. Don't lock in this case.
12816
12817 2011-09-09 Roland McGrath <roland@hack.frob.com>
12818
12819 * elf/elf.h (ELFOSABI_GNU): New macro.
12820 (ELFOSABI_LINUX): Define to that.
12821
12822 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12823
12824 * string/strncat.c (strncat): Undef the symbol in case it has been
12825 defined in bits/string.h.
12826
12827 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12828
12829 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12830
12831 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
12832 link map.
12833
12834 2011-08-17 Andreas Jaeger <aj@suse.de>
12835
12836 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12837
12838 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12839 Ian Lance Taylor <iant@google.com>
12840
12841 * math/libm-test.inc (lround_test): New testcase.
12842 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12843
12844 2011-09-08 Ulrich Drepper <drepper@gmail.com>
12845
12846 * Makefile: Remove support for automatic cvs check-ins.
12847 * Makerules: Likewise.
12848 * config.make.in: Likewise.
12849 * configure.in: Likewise.
12850 * intl/Makefile: Likewise.
12851 * locale/Makefile: Likewise.
12852 * po/Makefile: Likewise.
12853 * posix/Makefile: Likewise.
12854 * sysdeps/gnu/Makefile: Likewise.
12855 * sysdeps/mach/hurd/Makefile: Likewise.
12856 * sysdeps/sparc/sparc32/Makefile: Likewise.
12857
12858 [BZ #13118]
12859 * posix/Makefile (bug-regex32-ENV): Define.
12860 Patch by John Stanley <jpsinthemix@verizon.net>.
12861
12862 * misc/Makefile (headers): Add bits/select2.h.
12863 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12864 * misc/bits/select2.h: New file.
12865 * include/bits/select2.h: New file.
12866 * debug/Makefile (routines): Add fdelt_chk.
12867 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12868 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12869 FD_ISSET.
12870 * debug/fdelt_chk.c: New file.
12871
12872 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12873 * wcsmbs/test-wmemcmp.c: Likewise.
12874 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
12875 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
12876
12877 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12878
12879 * string/Makefile (strop-tests): Add memcmp.
12880 * string/test-wmemcmp.c: New file.
12881 * string/test-memcmp.c: Add wmemcmp support.
12882
12883 2011-09-08 Roland McGrath <roland@hack.frob.com>
12884
12885 [BZ #13153]
12886 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12887 2011-07-19 change.
12888
12889 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12890 garbage value in a __mach_port_mod_refs call in the cases of the
12891 task-self and thread-self ports.
12892
12893 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12894
12895 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12896
12897 2011-09-08 Andreas Schwab <schwab@redhat.com>
12898
12899 * elf/dl-load.c (lose): Check for non-null L.
12900
12901 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12902
12903 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12904
12905 * elf/dl-libc.c (dlerror_run): Pass back error code from
12906 dl_catch_error.
12907
12908 [BZ #13123]
12909 * elf/dl-load.c (lose): Free l_origin if it is valid.
12910
12911 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12912 names.
12913 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12914 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12915 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12916 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12917 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12918 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12919
12920 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12921
12922 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12923 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12924 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12925 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12926 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12927 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12928 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12929 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12930 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12931 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12932
12933 2011-08-15 Alan Modra <amodra@gmail.com>
12934
12935 [BZ #13092]
12936 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12937 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12938 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12939 ppc_mcount to static-only-routines.
12940 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12941 __mcount_internal.
12942 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12943 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12944
12945 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12946
12947 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12948 for finite and infinity parameters.
12949
12950 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12951
12952 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12953 and add nop instructions for throughput optimization.
12954 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12955
12956 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12957
12958 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12959 aligned copy for power7 with vector-scalar instructions.
12960 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12961
12962 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12963
12964 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12965 AVX check.
12966
12967 2011-09-07 Andreas Schwab <schwab@redhat.com>
12968
12969 [BZ #13144]
12970 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12971 last change.
12972
12973 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12974
12975 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12976 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12977 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12978 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12979 clock_gettime.
12980
12981 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12982
12983 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12984 Forgot to demangle the pointer.
12985
12986 * sysdeps/i386/sysdep.h: Define atom_text_section.
12987 * sysdeps/x86_64/sysdep.h: Likewise.
12988 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12989 section with atom_text_section.
12990 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12991 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12992 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12993 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12994 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12995
12996 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12997 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12998 already be defined. Change to take two parameters and don't assign
12999 result to variable. Adjust all users.
13000 Define INTERNAL_GETTIME if not already defined.
13001 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13002 call.
13003 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13004 HAVE_CLOCK_GETTIME_VSYSCALL.
13005 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13006
13007 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13008 gettimeofday vsyscall, just use time.
13009
13010 2011-09-06 Andreas Schwab <schwab@redhat.com>
13011
13012 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13013 <errno.h>.
13014
13015 2011-09-06 Ulrich Drepper <drepper@gmail.com>
13016
13017 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13018 syscall on x86-64.
13019 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13020 syscall.
13021 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13022 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13023 syscall if possible.
13024
13025 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13026
13027 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13028 e_ident. Don't pass to find_mapsXX.
13029 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13030
13031 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13032
13033 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13034 strchr-sse2-no-bsf strrchr-sse2-no-bsf
13035 * sysdeps/x86_64/multiarch/strchr.S: Update.
13036 Check bit_slow_BSF bit.
13037 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13038 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13039 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13040
13041 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13042
13043 [BZ #13134]
13044 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13045 before glibc 2.15.
13046 (tryshell): Define.
13047 (__spawni): Change last parameter to be flag. Test
13048 SPAWN_XFLAGS_USE_PATH flag to use path or not.
13049 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13050 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13051 * posix/spawni.c: Likewise.
13052 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13053 * posix/spawnp.c: Likewise. Change normal version to use
13054 SPAWN_XFLAGS_USE_PATH.
13055 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13056 SPAWN_XFLAGS_TRY_SHELL.
13057
13058 [BZ #13150]
13059 * posix/glob.h: Remove gcc 1.x support.
13060
13061 [BZ #13068]
13062 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13063
13064 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13065
13066 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13067 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13068 strrchr-sse2-bsf
13069 * sysdeps/i386/i686/multiarch/strchr.S: New file.
13070 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13071 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13072 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13073 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13074 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13075
13076 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13077
13078 * sysdeps/x86_64/wcscmp.S: New file.
13079
13080 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13081 wcscmp-c wcscmp-sse2
13082 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13083 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13084 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13085 * wcsmbs/wcscmp.c: Allow renaming.
13086
13087 2011-09-05 David S. Miller <davem@davemloft.net>
13088
13089 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13090 stack slot, rather than the struct return pointer slot.
13091 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13092 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13094 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13095
13096 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13097
13098 * po/ja.po: Update from translation team.
13099
13100 [BZ #13144]
13101 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13102 kernel in 64-bit binaries.
13103
13104 2011-09-01 David S. Miller <davem@davemloft.net>
13105
13106 * elf/elf.h (HWCAP_SPARC_*): Move to..
13107 * sysdeps/sparc/sysdep.h: this new file and add new values.
13108 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13109 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13110 _DL_HWCAP_COUNT to 24.
13111 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13112 entries.
13113 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13114 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13115 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13116 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13117 instead of magic constants.
13118 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13119
13120 2011-08-31 David S. Miller <davem@davemloft.net>
13121
13122 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13123 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13124 Reimplement to do errno handling inline.
13125 (SYSCALL_ERROR_HANDLER): New macro.
13126 (__SYSCALL_STRING): Do not do errno handling in asm.
13127 (__CLONE_SYSCALL_STRING): Delete.
13128 (__INTERNAL_SYSCALL_STRING): Delete.
13129 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13130 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13131 (PSEUDO): Reimplement to do errno handling inline.
13132 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13133 (SYSCALL_ERROR_HANDLER): New macro.
13134 (__SYSCALL_STRING): Do not do errno handling in asm.
13135 (__CLONE_SYSCALL_STRING): Delete.
13136 (__INTERNAL_SYSCALL_STRING): Delete.
13137 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13138 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13139 i386.
13140 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13141 (inline_syscall*): Add 'err' argument.
13142 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13143 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13144 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13145 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13146
13147 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13148 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13149
13150 2011-08-30 Andreas Schwab <schwab@redhat.com>
13151
13152 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13153
13154 2011-08-29 Jiri Olsa <jolsa@redhat.com>
13155
13156 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13157 directive.
13158
13159 2011-08-24 David S. Miller <davem@davemloft.net>
13160
13161 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13162
13163 2011-08-24 Andreas Schwab <schwab@redhat.com>
13164
13165 * elf/Makefile: Add rules to build and run unload8 test.
13166 * elf/unload8.c: New file.
13167 * elf/unload8mod1.c: New file.
13168 * elf/unload8mod1x.c: New file.
13169 * elf/unload8mod2.c: New file.
13170 * elf/unload8mod3.c: New file.
13171
13172 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13173 it wasn't used.
13174
13175 2011-08-23 David S. Miller <davem@davemloft.net>
13176
13177 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13178 subtract stack bias.
13179 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13180 %sp not %fp in calculations.
13181 (_JMPBUF_UNWINDS_ADJ): Likewise.
13182
13183 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13184 (aio_suspend): Call it to force an exception region around the
13185 AIO_MISC_WAIT() invocation.
13186
13187 2011-08-23 Andreas Schwab <schwab@redhat.com>
13188
13189 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13190 backslash.
13191
13192 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
13193
13194 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13195 protection macro.
13196 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13197 and <dl-machine.h>.
13198 (Elf64_FuncDesc): Remove.
13199
13200 2011-08-22 David S. Miller <davem@davemloft.net>
13201
13202 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13203 sigaltstack check, add missing cfi directives.
13204 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13205 missing cfi directives, and sigaltstack handling.
13206
13207 2011-08-16 Andreas Schwab <schwab@redhat.com>
13208
13209 [BZ #11724]
13210 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13211 object is seen twice.
13212 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13213
13214 * elf/Makefile (distribute): Add tst-initorder2.c.
13215 (tests): Add tst-initorder2.
13216 (modules-names): Add tst-initorder2a tst-initorder2b
13217 tst-initorder2c tst-initorder2d. Add rules to build them.
13218 ($(objpfx)tst-initorder2.out): New rule.
13219 * elf/tst-initorder2.c: New file.
13220 * elf/tst-initorder2.exp: New file.
13221
13222 2011-08-22 Andreas Schwab <schwab@redhat.com>
13223
13224 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13225
13226 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13227 dependencies back to end of function.
13228
13229 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13230 $(elfobjdir)/ld.so.
13231
13232 2011-08-21 Ulrich Drepper <drepper@gmail.com>
13233
13234 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13235 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13236 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13237 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13238 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13239 of __vdso_gettimeofday.
13240 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13241 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
13242 attribute_hidden.
13243 (_libc_vdso_platform_setup): Remove initialization of
13244 __vdso_gettimeofday and __vdso_time.
13245
13246 2011-08-20 Ulrich Drepper <drepper@gmail.com>
13247
13248 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13249 and fgetc_unlocked.
13250 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13251 getc_unlocked.
13252
13253 * elf/dl-open.c (add_to_global): Report additions to the global scope
13254 for LD_DEBUG=scopes.
13255 (dl_open_worker): Also print scope of newly loaded dependencies.
13256 (_dl_show_scope): Indicate if there is no scope.
13257
13258 [BZ #13114]
13259 * stdio-common/Makefile (tests): Add bug24.
13260 * stdio-common/bug24.c: New file.
13261
13262 2011-08-19 Andreas Jaeger <aj@suse.de>
13263
13264 [BZ #13114]
13265 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13266 non-existant file when using close-on-exec mode.
13267
13268 2011-08-20 Ulrich Drepper <drepper@gmail.com>
13269
13270 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13271 the very first instruction.
13272
13273 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13274 the CFI state in the end.
13275 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13276 inclusion of dl-trampoline.h.
13277 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13278
13279 2011-08-19 Andreas Schwab <schwab@redhat.com>
13280
13281 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13282 expectations for long double.
13283
13284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13285 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13286
13287 2011-08-14 David S. Miller <davem@davemloft.net>
13288
13289 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13290 artificual limit depends upon the system page size.
13291
13292 2011-08-17 Ulrich Drepper <drepper@gmail.com>
13293
13294 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13295 * resolv/Makefile: Define CFLAGS-libresolv.
13296
13297 2011-08-17 Andreas Schwab <schwab@redhat.com>
13298
13299 * nss/makedb.c (compute_tables): Make variables used in nested
13300 function static.
13301
13302 2011-08-17 Ulrich Drepper <drepper@gmail.com>
13303
13304 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13305 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13306 if buffer was too small.
13307
13308 * elf/pldd.c (main): Attach to all threads in the process.
13309 Rewrite /proc handling to use *at functions.
13310
13311 2011-08-16 Ulrich Drepper <drepper@gmail.com>
13312
13313 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13314 specifies first scope to show.
13315 (dl_open_worker): Update callers. Move printing scope of new
13316 object to before the relocation.
13317 * elf/rtld.c (dl_main): Update _dl_show_scope call.
13318 * sysdeps/generic/ldsodefs.h: Update declaration.
13319
13320 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13321 string for the scope number.
13322
13323 2011-08-14 Ulrich Drepper <drepper@gmail.com>
13324
13325 * nscd/servicescache.c (cache_addserv): Make sure written is always
13326 initialized.
13327
13328 2011-08-14 Roland McGrath <roland@hack.frob.com>
13329
13330 * sysdeps/i386/i486/bits/atomic.h
13331 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13332 statement expression, so as to suppress "set but not used" warning.
13333 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13334
13335 * string/strncat.c (STRNCAT): Use prototype definition.
13336
13337 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13338 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13339 -Iprograms here.
13340 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13341 (localedef-modules): Add localedef.
13342 (locale-modules): Add locale.
13343
13344 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13345 * elf/rtld.c (dl_main): Invert order of assignment in last change,
13346 to avoid a warning.
13347
13348 2011-08-14 David S. Miller <davem@davemloft.net>
13349
13350 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13351 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13352
13353 2011-08-13 Ulrich Drepper <drepper@gmail.com>
13354
13355 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
13356 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13357 * elf/rtld.c (dl_main): Set l_name of vDSO.
13358 Call _dl_show_scope when DL_DEBUG_SCOPES.
13359 (process_dl_debug): Recognize scopes flag and also set it for all.
13360 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13361 Declare _dl_show_scope.
13362
13363 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13364 (do_dlopen): Pass caller_dlopen to dl_open.
13365 (__libc_dlopen_mode): Initialize caller_dlopen.
13366
13367 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13368 of libc. Make tolower call locale-independent. Optimize a bit by
13369 using isdigit instead of isalnum.
13370 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13371
13372 2011-08-12 Ulrich Drepper <drepper@gmail.com>
13373
13374 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13375 was a dependency or dynamically loaded.
13376
13377 2011-08-11 Ulrich Drepper <drepper@gmail.com>
13378
13379 * intl/l10nflist.c: Allow architecture-specific pop function.
13380 * sysdeps/x86_64/l10nflist.c: New file.
13381
13382 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13383 classification.
13384
13385 2011-08-10 Andreas Schwab <schwab@redhat.com>
13386
13387 * include/dirent.h: Add libc_hidden_proto for scandirat and
13388 scandirat64. Don't declare __scandirat64.
13389 * dirent/scandirat.c: Add libc_hidden_def.
13390 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13391 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13392
13393 2011-08-10 David S. Miller <davem@davemloft.net>
13394
13395 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
13396 enum.
13397 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13398 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13399 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13400
13401 2011-08-09 Ulrich Drepper <drepper@gmail.com>
13402
13403 * Versions.def [libc]: Add GLIBC_2.15.
13404 * dirent/Makefile (routines): Add scandirat and scandirat64.
13405 * dirent/Versions [libc]: Export scandirat and scandirat64 for
13406 GLIBC_2.15.
13407 * dirent/dirent.h: Declare scandirat and scandirat64.
13408 * dirent/scandirat.c: New file.
13409 * dirent/scandirat64.c: New file.
13410 * sysdeps/wordsize-64/scandirat.c: New file.
13411 * sysdeps/wordsize-64/scandirat64.c: New file.
13412 * dirent/opendir.c: Define opendirat.
13413 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
13414 using scandirat.
13415 * dirent/scandir64.c: Adjust for scandir.c change.
13416 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
13417 __scandirat64, and __scandir_cancel_handler.
13418 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
13419 additional parameter and use openat instead of open (outside of ld.so).
13420 Add new __opendir as wrapper around __opendirat.
13421 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13422 here without requiring old scandirat implementation.
13423
13424 2011-08-08 Ulrich Drepper <drepper@gmail.com>
13425
13426 * dirent/scandir.c (cancel_handler): Renamed to
13427 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
13428 defined. Adjust users.
13429 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13430 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13431
13432 2011-08-04 Ulrich Drepper <drepper@gmail.com>
13433
13434 * string/test-string.h (IMPL): Use __STRING to expand name and then
13435 stringify it.
13436
13437 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
13438 of cleanups.
13439
13440 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13441
13442 * string/Makefile: Update.
13443 (strop-tests): Append strncat.
13444 * string/test-wcscmp.c: New file.
13445 New comprehensive test for wcscmp.
13446 * string/test-strcmp.c: Update.
13447 (WIDE): New define.
13448
13449 2011-07-22 Andreas Schwab <schwab@redhat.com>
13450
13451 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13452 line.
13453
13454 2011-07-26 Andreas Schwab <schwab@redhat.com>
13455
13456 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13457 encoding to ACE if AI_IDN.
13458
13459 2011-08-01 Jakub Jelinek <jakub@redhat.com>
13460
13461 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13462 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13463
13464 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13465
13466 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13467 Fix overflow bug in strncat.
13468 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13469
13470 * string/test-strncat.c: Update.
13471 Add new tests for checking overflow bugs.
13472
13473 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13474
13475 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13476 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13477 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13478 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13479 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13480 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13481 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13482 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13483 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13484
13485 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13486 (USE_AS_STRCAT): Define.
13487 Add strcat and strncat support.
13488 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13489
13490 2011-07-25 Andreas Schwab <schwab@redhat.com>
13491
13492 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13493 __n bigger than INT_MAX+1.
13494 (__strncmp_g): Likewise.
13495
13496 2011-07-23 Ulrich Drepper <drepper@gmail.com>
13497
13498 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13499 * libio/stido.h: Likewise.
13500
13501 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13502 (AF_NFC): Define.
13503 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13504 (AF_NFC): Define.
13505
13506 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13507 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13508 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13509 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13510 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13511
13512 [BZ #13021]
13513 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13514 installed.
13515
13516 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13517 typo.
13518 (_dl_x86_64_save_sse): Likewise.
13519
13520 2011-07-22 Ulrich Drepper <drepper@gmail.com>
13521
13522 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13523 OSXSAVE.
13524 (_dl_x86_64_save_sse): Likewise.
13525
13526 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13527
13528 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13529
13530 2011-07-21 Andreas Schwab <schwab@redhat.com>
13531
13532 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13533 change.
13534 (_dl_x86_64_save_sse): Use correct AVX check.
13535
13536 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13537
13538 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13539 bug in strncpy/strncat.
13540 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13541
13542 2011-07-21 Ulrich Drepper <drepper@gmail.com>
13543
13544 * string/tester.c (test_strcat): Add tests for different alignments
13545 of source and destination.
13546 (test_strncat): Likewise.
13547
13548 2011-07-20 Ulrich Drepper <drepper@gmail.com>
13549
13550 [BZ #12852]
13551 * posix/glob.c (glob): Check passed in values before using them in
13552 expressions to avoid some overflows.
13553 (glob_in_dir): Likewise.
13554
13555 [BZ #13007]
13556 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13557 check for AVX enablement so that we don't crash with old kernels and
13558 new hardware.
13559 * elf/tst-audit4.c: Add same checks here.
13560 * elf/tst-audit6.c: Likewise.
13561
13562 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
13563
13564 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13565
13566 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13567
13568 2011-07-20 Ulrich Drepper <drepper@gmail.com>
13569
13570 * po/cs.po: Update from translation team.
13571 * po/bg.po: Likewise.
13572
13573 2011-07-12 Marek Polacek <mpolacek@redhat.com>
13574
13575 * misc/sys/cdefs.h: Add support for const attribute.
13576 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13577 to gnu_dev_{major,minor,makedev} functions.
13578
13579 2011-07-20 Marek Polacek <mpolacek@redhat.com>
13580
13581 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13582
13583 2011-07-20 Andreas Schwab <schwab@redhat.com>
13584
13585 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13586 strlen results.
13587
13588 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13589
13590 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13591 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13592 register in order to avoid conflicts with the soft frame pointer
13593 being held in r11 when necessary.
13594 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13595 (INTERNAL_VSYSCALL_NCS): Likewise.
13596
13597 2011-07-14 Marek Polacek <mpolacek@redhat.com>
13598
13599 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13600 * elf/dl-fini.c (_dl_fini): Adjust caller.
13601 * elf/dl-close.c (_dl_close_worker): Likewise.
13602 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13603
13604 2011-07-15 Marek Polacek <mpolacek@redhat.com>
13605
13606 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13607 "aux_cache->nlibs < 0".
13608
13609 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13610 in the reload-count case.
13611
13612 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13613
13614 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13615 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13616 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13617 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13618 * sysdeps/x86_64/multiarch/strcat.S: New file.
13619 * sysdeps/x86_64/multiarch/strncat.S: New file.
13620 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13621 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13622 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13623 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13624 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13625 (USE_AS_STRCAT): Define.
13626 Add strcat and strncat support.
13627 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13628 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13629 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13630 * string/strncat.c: Update.
13631 (USE_AS_STRNCAT): Define.
13632 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13633 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13634 and i7.
13635 * sysdeps/x86_64/multiarch/init-arch.h
13636 (bit_Prefer_PMINUB_for_stringop): New.
13637 (index_Prefer_PMINUB_for_stringop): Likewise.
13638 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13639 bit_Prefer_PMINUB_for_stringop.
13640
13641 2011-07-19 Ulrich Drepper <drepper@gmail.com>
13642
13643 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13644 buffer64.
13645 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13646 of casting of buffer.
13647 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13648 buffer32 and buffer64.
13649 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13650 writes instead of casting of buffer.
13651 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13652 buffer32.
13653 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13654 casting of buffer.
13655
13656 2011-07-19 Andreas Schwab <schwab@redhat.com>
13657
13658 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13659
13660 2011-07-19 Ulrich Drepper <drepper@gmail.com>
13661
13662 * nscd/nscd.c (termination_handler): Don't do anything for a database
13663 if it has not yet been initialized.
13664
13665 2011-07-18 Ulrich Drepper <drepper@gmail.com>
13666
13667 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13668
13669 2011-07-15 Marek Polacek <mpolacek@redhat.com>
13670
13671 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13672
13673 2011-07-18 Ulrich Drepper <drepper@gmail.com>
13674
13675 * po/nl.po: Update from translation team.
13676 * po/sv.po: Likewise.
13677
13678 2011-07-16 Roland McGrath <roland@hack.frob.com>
13679
13680 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13681 now disallowed by GCC.
13682
13683 * configure.in (use-default-link): Default to yes if a test -shared
13684 link meets our qualifications.
13685 * configure: Regenerated.
13686
13687 * config.make.in (output-format): New variable.
13688 * configure.in: Check for ld --print-output-format support.
13689 * configure: Regenerated.
13690 * Makerules ($(common-objpfx)format.lds)
13691 [$(output-format) != unknown]: Just use $(output-format),
13692 instead of the linker-script munging.
13693
13694 2011-07-14 Roland McGrath <roland@hack.frob.com>
13695
13696 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13697 of $(common-objpfx)shlib.lds.
13698 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13699
13700 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13701 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13702
13703 * configure.in (-z relro check): Adjust test code to add a large
13704 writable data section after it.
13705 * configure: Regenerated.
13706
13707 2011-07-11 Roland McGrath <roland@hack.frob.com>
13708
13709 * configure.in (-z relro check): Fix test code to make the variable
13710 truly const.
13711 * configure: Regenerated.
13712
13713 2011-07-11 Ulrich Drepper <drepper@gmail.com>
13714
13715 * nscd/nscd.h (struct traced_file): Define.
13716 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13717 elements. Add traced_files.
13718 (inotify_fd): Declare.
13719 (register_traced_file): Declare.
13720 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13721 (inotify_fd): Export.
13722 (resolv_conf_descr): Remove.
13723 (nscd_init): Move inotify descriptor creation to main.
13724 Don't register files for notification here.
13725 (register_traced_file): New function.
13726 (invalidate_cache): Don't use reset_res to determine whether to call
13727 res_init, go through the list of registered files.
13728 (main_loop_poll): The inotify descriptors are now stored in the
13729 structures for the traced files.
13730 (main_loop_epoll): Likewise
13731 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13732 to __nss_disable_nscd.
13733 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13734 for a database anymore. Check the records for all the registered
13735 files instead.
13736 * nss/Makefile (libnss_files-routines): Add files-init.
13737 (libnss_db-routines): Add db-init.
13738 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13739 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13740 * nss/nss_db/db-init.c: New file.
13741 * nss/nss_files/files-init.c: New file.
13742 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13743 __nss_lookup_function.
13744 (__nss_lookup_function): Call nss_load_library.
13745 (nss_load_all_libraries): New function.
13746 (__nss_disable_nscd): Take parameter with callback function for files
13747 to register. Set is_nscd. Load all the DSOs for the NSS modules
13748 used for the cached services.
13749 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13750 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13751 options for features to all the files in nscd.
13752
13753 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13754
13755 2011-07-10 Roland McGrath <roland@hack.frob.com>
13756
13757 * csu/elf-init.c (__libc_csu_init): Comment typo.
13758
13759 2011-07-09 Ulrich Drepper <drepper@gmail.com>
13760
13761 * po/pl.po: Update from translation team.
13762 * po/ja.po: Likewise.
13763 * po/ru.po: Likewise.
13764 * po/ko.po: Likewise.
13765 * po/fr.po: Likewise.
13766
13767 2011-07-09 Roland McGrath <roland@hack.frob.com>
13768
13769 * configure.in (.ctors/.dtors header and trailer check):
13770 Use an empirical test on a built program.
13771 * configure: Regenerated.
13772
13773 * configure.in (-z relro check): Use an empirical test on a built DSO.
13774 Detect, but do not require, on ia64.
13775 * configure: Regenerated.
13776
13777 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13778 Update tests that use readelf to use $READELF instead.
13779 * configure: Regenerated.
13780
13781 2011-07-08 Ulrich Drepper <drepper@gmail.com>
13782
13783 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13784 if the result is not used.
13785
13786 2011-07-05 Andreas Jaeger <aj@suse.de>
13787
13788 [BZ#9696]
13789 * stdlib/tst-strtod.c: Add testcase.
13790
13791 2011-07-07 Ulrich Drepper <drepper@gmail.com>
13792
13793 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
13794 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
13795 The latter has a higher limit. Take additional parameter to pass to
13796 the new function.
13797 (__pathconf): Pass file to __statfs_link_max.
13798 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13799 __statfs_link_max.
13800 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13801 __statfs_link_max.
13802
13803 [BZ #12868]
13804 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13805 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13806 Handle Lustre.
13807 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13808 (__statfs_filesize_max): Likewise.
13809 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13810
13811 2011-07-05 Andreas Jaeger <aj@suse.de>
13812
13813 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13814
13815 2011-07-06 Marek Polacek <mpolacek@redhat.com>
13816
13817 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13818 `status' variable.
13819 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13820 Likewise.
13821
13822 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13823
13824 * Makefile (strop-tests): Add strncat.
13825 * string/test-strncat.c: New file.
13826
13827 2011-06-30 Marek Polacek <mpolacek@redhat.com>
13828
13829 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13830
13831 2011-06-21 Andreas Jaeger <aj@suse.de>
13832
13833 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13834 Copy rule from iconvdata/Makefile.
13835
13836 2011-07-06 Ulrich Drepper <drepper@gmail.com>
13837
13838 [BZ #12922]
13839 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13840 but no long options are defined, just return 'W'.
13841
13842 2011-06-22 Marek Polacek <mpolacek@redhat.com>
13843
13844 [BZ #9696]
13845 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13846
13847 2011-07-06 Ulrich Drepper <drepper@gmail.com>
13848
13849 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13850 netgroups to read.
13851 (innetgr): Likewise.
13852
13853 2011-07-05 Roland McGrath <roland@hack.frob.com>
13854
13855 * config.make.in (install_root): Default to $(DESTDIR).
13856
13857 2011-07-05 Ulrich Drepper <drepper@gmail.com>
13858
13859 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13860
13861 2011-07-02 Roland McGrath <roland@hack.frob.com>
13862
13863 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13864
13865 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13866 containing directory rather than embedding absolute directory names.
13867
13868 * scripts/check-local-headers.sh: Rewritten using awk.
13869 Match by word, not by line. Print error messages for matches.
13870 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13871
13872 * Makerules [shlib-lds-flags empty]:
13873 ($(common-objpfx)libc_pic.opts): New target.
13874 ($(common-objpfx)libc_pic.os.clean): New target.
13875 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13876
13877 * config.make.in (OBJCOPY): New variable.
13878 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13879 * configure: Regenerated.
13880
13881 * config.make.in (use-default-link): New variable.
13882 * configure.in (use_default_link): Grok --with-default-link to set it.
13883 * configure: Regenerated.
13884 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13885 (shlib-lds, shlib-lds-flags): Define to empty.
13886
13887 * Makerules (shlib-lds): New variable.
13888 (shlib-lds-flags): New variable.
13889 (build-shlib, build-moduile, build-module-asneeded): Use it.
13890 ($(common-objpfx)libc.so): Use $(shlib-lds).
13891 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13892 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13893
13894 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13895 DT_FLAGS/DT_FLAGS_1 with zero flags.
13896
13897 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13898 linker script munging.
13899
13900 2011-07-02 Ulrich Drepper <drepper@gmail.com>
13901
13902 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13903 as 128-bit value.
13904 * crypt/sha512.c (sha512_process_block): Perform total addition using
13905 128-bit if possible.
13906 (__sha512_finish_ctx): Likewise.
13907 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13908 as 64-bit value.
13909 * crypt/sha256.c (SWAP64): Define.
13910 (sha256_process_block): Perform total addition using 64-bit if
13911 possible.
13912 (__sha256_finish_ctx): Likewise.
13913
13914 2011-07-01 Ulrich Drepper <drepper@gmail.com>
13915
13916 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13917 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13918 * nscd/hstcache.c (cache_addhst): Likewise.
13919 * nscd/grpcache.c (cache_addgr): Likewise.
13920 * nscd/aicache.c (addhstaiX): Likewise
13921 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13922
13923 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
13924
13925 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13926 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13927 * nscd/hstcache.c (cache_addhst): Likewise.
13928 * nscd/grpcache.c (cache_addgr): Likewise.
13929 * nscd/aicache.c (addhstaiX): Likewise
13930
13931 2011-07-01 Andreas Schwab <schwab@redhat.com>
13932
13933 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13934 domain only when needed.
13935
13936 2011-06-30 Andreas Schwab <schwab@redhat.com>
13937
13938 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13939 is always restored.
13940
13941 2011-06-29 Ulrich Drepper <drepper@gmail.com>
13942
13943 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13944 are re-adding the entry.
13945 * nscd/servicescache.c (cache_addserv): Likewise.
13946
13947 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13948
13949 * sysdeps/generic/dl-irel.h: fix protection against multiple
13950 inclusions.
13951 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13952
13953 2011-06-28 Ulrich Drepper <drepper@gmail.com>
13954
13955 [BZ #12935]
13956 * malloc/memusage.sh: Fix quoting in message.
13957 * debug/xtrace.sh: Likewise.
13958
13959 * configure.in: Remove support for --experimental-malloc option, make
13960 it the default.
13961 * config.make.in: Likewise.
13962 * malloc/Makefile: Likewise.
13963
13964 2011-06-27 Andreas Schwab <schwab@redhat.com>
13965
13966 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13967 two-byte characters.
13968
13969 2011-06-27 Roland McGrath <roland@hack.frob.com>
13970
13971 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13972 AC_CACHE_CHECK invocation.
13973 * configure: Regenerated.
13974
13975 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13976
13977 2011-06-27 Ulrich Drepper <drepper@gmail.com>
13978
13979 [BZ #12350]
13980 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13981 bit from old_res_options.
13982
13983 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13984
13985 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13986 value type for setfct.
13987
13988 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13989
13990 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13991 __gettimeofday instead of gettimeofday.
13992
13993 2011-06-26 Ulrich Drepper <drepper@gmail.com>
13994
13995 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13996
13997 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13998
13999 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14000
14001 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14002 info.
14003
14004 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14005
14006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14007 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14008 strcpy-sse2-unaligned strncpy-sse2-unaligned
14009 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14010 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14011 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14012 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14013 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14014 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14015 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14016 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14017 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14018 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14019 (STRCPY): Support SSE2 and SSSE3 versions.
14020
14021 2011-06-24 Ulrich Drepper <drepper@gmail.com>
14022
14023 [BZ #12874]
14024 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14025 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14026 kernels which artificially limit size of requests.
14027
14028 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14029
14030 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14031 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14032 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14033 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14034 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14035 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14036 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14037 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14038 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14039 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14040 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14041 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14042 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14043 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14044 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14045 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14046 Enable unaligned load optimization for Intel Core i3, i5 and i7
14047 processors.
14048 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14049 Define.
14050 (index_Fast_Unaligned_Load): Define.
14051 (HAS_FAST_UNALIGNED_LOAD): Define.
14052
14053 2011-06-23 Marek Polacek <mpolacek@redhat.com>
14054
14055 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14056
14057 2011-06-22 Ulrich Drepper <drepper@gmail.com>
14058
14059 [BZ #12907]
14060 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14061 until it is clear that the information is realy needed.
14062 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14063
14064 2011-06-22 Andreas Schwab <schwab@redhat.com>
14065
14066 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14067
14068 2011-06-22 Ulrich Drepper <drepper@gmail.com>
14069
14070 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14071 /sys/devices/system/cpu/online if it is usable.
14072
14073 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14074 reading the information from the /proc filesystem to once a second.
14075
14076 2011-06-21 Andreas Jaeger <aj@suse.de>
14077
14078 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14079 NULL after inclusion of kernel headers.
14080
14081 2011-06-21 Ulrich Drepper <drepper@gmail.com>
14082
14083 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14084 calls to internal_setent.
14085
14086 [BZ #12885]
14087 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14088 addresses using gethostbyname4_r ignore IPv4 addresses.
14089
14090 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14091 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
14092
14093 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14094
14095 2011-06-20 David S. Miller <davem@davemloft.net>
14096
14097 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14098 inclusions.
14099 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14100
14101 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14102 (elf_irel): Use it.
14103 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14104 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14105 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14106 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14107 * sysdeps/x86_64/dl-irel.h: Likewise.
14108
14109 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14110 * elf/dl-sym.c: Likewise.
14111
14112 2011-06-15 Ulrich Drepper <drepper@gmail.com>
14113
14114 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14115 need to dereference resplen2.
14116
14117 2011-06-14 Andreas Schwab <schwab@redhat.com>
14118
14119 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14120
14121 2011-06-15 Ulrich Drepper <drepper@gmail.com>
14122
14123 * Makeconfig: Define vardbdir and inst_vardbdir.
14124 * nss/Makefile: Add rules to install db-Makefile.
14125
14126 * nss/nss_db/db-XXX.c: Cleanup.
14127
14128 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14129 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14130 GLIBC_PRIVATE.
14131 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14132 * nss/makedb.c: Implement -g option to specify that value strings
14133 are generated and should not be added to table iterated over for
14134 get*ent calls.
14135 * nss/nss_db/db-initgroups.c: New file.
14136
14137 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14138 interface.
14139
14140 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14141 (internal_getgrouplist): Adjust to name change.
14142 Update use_initgroups_entry if this is not the first call.
14143 * nss/databases.def: Add initgroups entry.
14144
14145 * nss/makedb.c (compute_tables): Check result of multiple hash table
14146 sizes to minimize maximum chain length.
14147
14148 2011-06-14 Ulrich Drepper <drepper@gmail.com>
14149
14150 * Versions.def: Add entry for libnss_db.
14151 * shlib-versions: Likewise.
14152 * nss/Makefile: Add rules to build libnss_db.
14153 * nss/Versions: Add libnss_db information. Organize libnss_files
14154 entries better.
14155 * nss/db-Makefile: Add gshadow support. Change rules for the new
14156 makedb progra. Some minor improvements to generate smaller files.
14157 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14158 here from...
14159 * nss/makedb.c: ...here.
14160 Improve database format to be smaller and require less memory at
14161 runtime.
14162 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14163 db anymore.
14164 * nss/nss_db/db-netgrp.c: Likewise.
14165 * nss/nss_db/db-open.c: Likewise.
14166 * nss/nss_files/flies-XXX.x: Adjust comments.
14167 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14168 * nss/nss_files/files-grp.c: Likewise.
14169 * nss/nss_files/files-hosts.c: Likewise.
14170 * nss/nss_files/files-network.c: Likewise.
14171 * nss/nss_files/files-proto.c: Likewise.
14172 * nss/nss_files/files-pwd.c: Likewise.
14173 * nss/nss_files/files-rpc.c: Likewise.
14174 * nss/nss_files/files-service.c: Likewise.
14175 * nss/nss_files/files-sgrp.c: Likewise.
14176 * nss/nss_files/files-spwd.c: Likewise.
14177 * nss/nss_db/db-alias.c: Removed.
14178 * nss/nss_db/dummy-db.h: Removed.
14179
14180 2011-06-02 Ulrich Drepper <drepper@gmail.com>
14181
14182 * nss/makedb.c: Rewritten to not use database library.
14183 * nss/Makefile: Update to build new makedb program.
14184
14185 2011-06-14 Andreas Jaeger <aj@suse.de>
14186
14187 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14188 memset declaration.
14189
14190 2011-06-10 Andreas Schwab <schwab@redhat.com>
14191
14192 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14193 tmpbuf.
14194
14195 2011-06-10 Roland McGrath <roland@hack.frob.com>
14196
14197 * Makerules (shlib.lds): Fail if the linker script comes out empty.
14198 * elf/Makefile ($(objpfx)ld.so): Likewise.
14199
14200 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14201 Don't list ld.so twice in dependencies.
14202
14203 * posix/bug-regex31.c: Include <stdlib.h>.
14204
14205 * nscd/hstcache.c (cache_addhst): Remove unused variable.
14206
14207 * nis/nss_compat/compat-spwd.c
14208 (getspent_next_nss_netgr): Remove unused variable.
14209 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14210
14211 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14212 nonmembers" output to use the right array.
14213
14214 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14215
14216 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14217
14218 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14219 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14220 * catgets/gencat.c (read_input_file): Likewise.
14221 * locale/programs/locarchive.c (enlarge_archive): Likewise.
14222
14223 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14224 variable definition inside #if's controlling its use.
14225
14226 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14227
14228 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14229
14230 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14231
14232 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14233 unreachable code.
14234
14235 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14236
14237 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14238 * configure: Regenerated.
14239
14240 * Makerules: Revert last change.
14241 * elf/Makefile: Likewise.
14242
14243 2011-06-09 Roland McGrath <roland@hack.frob.com>
14244
14245 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14246 * elf/Makefile ($(objpfx)librtld.os): Likewise.
14247 (reloc-link): Likewise.
14248
14249 2011-06-09 Ulrich Drepper <drepper@gmail.com>
14250
14251 * elf/Makefile: Add rules to build pldd.
14252 * elf/pldd.c: New file.
14253 * elf/pldd-xx.c: New file.
14254
14255 2011-06-07 Ulrich Drepper <drepper@gmail.com>
14256
14257 * version.h: Update for 2.15 development version.
14258
14259 2011-06-07 David S. Miller <davem@davemloft.net>
14260
14261 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14262 ifuncs.
14263 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14264 elf_machine_lazy_rel): Likewise.
14265 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14266 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14267 elf_machine_lazy_rel): Likewise.
14268 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14269 dl_hwcap via passed in argument.
14270 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14271 Likewise.
14272
14273 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14274
14275 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
14276
14277 2011-06-06 Roland McGrath <roland@hack.frob.com>
14278
14279 [BZ #12849]
14280 * manual/fdl-1.1.texi: New file, verbatim from:
14281 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14282 * manual/lgpl-2.1.texi: New file, verbatim from:
14283 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14284 * manual/Makefile (licenses): New variable, list those new file names.
14285 (texis): Use it.
14286 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14287
14288 * manual/fdl.texi: File removed.
14289 * manual/lesser.texi: File removed.
14290 * manual/libc.texinfo (Copying, Documentation License):
14291 Use new @include file names, put @appendix directive before @include.
14292
14293 2011-06-04 Jakub Jelinek <jakub@redhat.com>
14294
14295 [BZ #12841]
14296 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14297 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14298 (mq_open): Add __NTH.
14299
14300 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
14301
14302 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14303 Assume Intel Core i3/i5/i7 processor if AVX is available.
14304
14305 2011-05-31 Ulrich Drepper <drepper@gmail.com>
14306
14307 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14308 typo.
14309
14310 2011-05-31 Andreas Schwab <schwab@redhat.com>
14311
14312 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14313 memory. Use alloca_account. Fix memory leak when retrying.
14314
14315 2011-05-31 Ulrich Drepper <drepper@gmail.com>
14316
14317 * version.h (RELEASE): Bump for 2.14 release.
14318 * include/features.h (__GLIBC_MINOR__): Bump to 14.
14319
14320 * config.make.in (RANLIB): Remove entry.
14321
14322 2011-05-30 Ulrich Drepper <drepper@gmail.com>
14323
14324 * po/Makefile (po-sed-cmd): Add ksh to extensions.
14325 (libc.pot): Work around missing support for .ksh extension in xgettext.
14326
14327 [BZ #12684]
14328 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14329 if both request failed.
14330 (send_dg): In case of server errors clear resplen or *resplen2.
14331
14332 [BZ #12454]
14333 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14334 when there are multiple maps.
14335 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14336 (_dl_fini): Remove test here.
14337
14338 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14339
14340 2011-05-29 Ulrich Drepper <drepper@gmail.com>
14341
14342 [BZ #12350]
14343 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14344 bit from old_res_options.
14345 (gaih_inet): Likewise.
14346
14347 [BZ #11099]
14348 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
14349 as signed.
14350
14351 * resolv/res_init.c (res_setoptions): Make the code more compact.
14352
14353 [BZ #11558]
14354 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14355 set RES_USEVC.
14356
14357 [BZ #11634]
14358 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14359
14360 * malloc/malloc.h: Mark malloc hook variables as deprecated.
14361
14362 [BZ #11781]
14363 * malloc/malloc.h: Declare malloc hook variables as volatile.
14364
14365 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14366 in last patch.
14367
14368 [BZ #11799]
14369 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
14370 raise in the comment.
14371 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14372 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14373 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
14374
14375 2011-05-28 Ulrich Drepper <drepper@gmail.com>
14376
14377 [BZ #12811]
14378 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14379 grow the buffers more if it already has to be sufficient.
14380 (build_wcs_upper_buffer): Likewise.
14381 * posix/regexec.c (check_matching): Likewise.
14382 (clean_state_log_if_needed): Likewise.
14383 (extend_buffers): Don't enlarge buffers beyond size of the input
14384 buffer.
14385 Patches mostly by Emil Wojak <emil@wojak.eu>.
14386 * posix/bug-regex32.c: New file.
14387 * posix/Makefile (tests): Add bug-regex32.
14388
14389 * locale/findlocale.c (_nl_find_locale): Return right away if
14390 _nl_explode_name failed.
14391 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14392
14393 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14394
14395 * debug/xtrace.sh: Unify messages.
14396 * malloc/memusage.sh: Likewise.
14397
14398 [BZ #12813]
14399 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
14400 time symbol from vDSO. Substitute with vsyscall if not available.
14401 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
14402 __vdso_time.
14403
14404 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14405 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14406 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14407 Add sendmmsg and internal_sendmmsg.
14408 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14409 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14410 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14411
14412 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14413 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14414 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14415
14416 2011-05-27 Ulrich Drepper <drepper@gmail.com>
14417
14418 [BZ #12813]
14419 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
14420 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
14421 available.
14422 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14423 __vdso_getcpu.
14424
14425 [BZ #12814]
14426 * iconvdata/Makefile (tests): Add bug-iconv9.
14427 * iconvdata/bug-iconv9.c: New file.
14428
14429 2011-05-27 Andreas Schwab <schwab@redhat.com>
14430
14431 [BZ #12814]
14432 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14433
14434 2011-05-25 Jakub Jelinek <jakub@redhat.com>
14435
14436 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14437 (struct user_regs_struct): Change intcs field back to cs.
14438
14439 2011-05-25 Ulrich Drepper <drepper@gmail.com>
14440
14441 * po/ja.po: Update from translation team.
14442
14443 2011-05-23 Ulrich Drepper <drepper@gmail.com>
14444
14445 [BZ #12795]
14446 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14447 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14448
14449 2011-05-20 Andreas Schwab <schwab@redhat.com>
14450
14451 * stdlib/longlong.h: Update from GCC.
14452
14453 2011-05-23 Andreas Schwab <schwab@redhat.com>
14454
14455 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14456 parameter name.
14457 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14458 Add parameter name.
14459 (__sysconf): Pass it down.
14460
14461 2011-05-22 Ulrich Drepper <drepper@gmail.com>
14462
14463 [BZ #12671]
14464 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14465 some situations.
14466 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14467 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14468 add in in __libc_use_alloca calls. Adjust callers.
14469 (glob): Use malloc in some situations.
14470
14471 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14472 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14473 pltexit.
14474
14475 2011-05-21 Ulrich Drepper <drepper@gmail.com>
14476
14477 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14478 and CLOCK_BOOTTIME_ALARM.
14479
14480 [BZ #12782]
14481 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14482 is returned.
14483
14484 * string/_strerror.c (__strerror_r): Print negative errors as signed
14485 numbers.
14486
14487 [BZ #12777]
14488 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14489 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14490 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14491
14492 * configure.in: Fix typo in redirection and correct removal of test
14493 files in two cases.
14494
14495 [BZ #12788]
14496 * locale/setlocale.c (new_composite_name): Fix test to check for
14497 identical name of all categories.
14498
14499 [BZ #12792]
14500 * libio/filedoalloc.c (local_isatty): New function.
14501 (_IO_file_doallocate): Use local_isatty.
14502 * stdio-common/perror.c (perror): In case a new stream is used
14503 forward the stream error.
14504 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14505 error flag.
14506
14507 2011-05-20 Ulrich Drepper <drepper@gmail.com>
14508
14509 [BZ #11869]
14510 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14511 alloca.
14512 * include/alloca.h (extend_alloca_account): Define.
14513
14514 [BZ #11857]
14515 * posix/regex.h: Fix comments with documentation of user-accessible
14516 fields after compilation and describe correct free'ing of pattern
14517 after re_compile_pattern.
14518 Patch by Reuben Thomas <rrt@sc3d.org>.
14519
14520 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14521
14522 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14523 and -mno-altivec to prevent the compiler from using Altivec and/or
14524 VSX instructions when the corresponding registers are not available.
14525
14526 2011-05-19 Andreas Schwab <schwab@redhat.com>
14527
14528 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14529
14530 2011-05-19 Ulrich Drepper <drepper@gmail.com>
14531
14532 * libio/freopen.c (freopen): Use __dup2, not dup2.
14533 * libio/freopen64.c (freopen64): Likewise.
14534
14535 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14536
14537 [BZ #12775]
14538 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14539 * math/Makefile (tests): Add test-powl.
14540 (CFLAGS-test-powl.c): Define.
14541 * math/test-powl.c: New file.
14542
14543 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14544
14545 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14546
14547 2011-05-17 Ulrich Drepper <drepper@gmail.com>
14548
14549 [BZ #11837]
14550 * iconvdata/gb18030.c: Update to GB18020-2005.
14551
14552 2011-05-16 Ulrich Drepper <drepper@gmail.com>
14553
14554 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14555 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14556 Patch by Aharon Robbins <arnold@skeeve.com>.
14557
14558 [BZ #11892]
14559 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14560 on the stack.
14561
14562 [BZ #11895]
14563 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14564 through underflows.
14565
14566 [BZ #12766]
14567 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14568 point to strings before performing equality test for error_one_per_line
14569 mode.
14570
14571 [BZ #11697]
14572 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14573
14574 [BZ #11820]
14575 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14576 (struct user_fpregs_struct): Avoid __uint*_t types.
14577
14578 [BZ #6420]
14579 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14580 symbol info. Use it instead of calling _dl_addr locally.
14581 (lock_and_info): New function.
14582 (tr_freehook): Call lock_and_info and pass symbol info as additional
14583 parameter to tr_where.
14584 (tr_mallochook): Likewise.
14585 (tr_reallochook): Likewise.
14586 (tr_memalignhook): Likewise.
14587
14588 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14589 used and couldn't be at all thread-safe.
14590
14591 2011-05-15 Ulrich Drepper <drepper@gmail.com>
14592
14593 * libio/freopen.c (freopen): Don't close old file descriptor
14594 before the new one is opened. Instead dup the new file descriptor
14595 to the old one after the new stream is created.
14596 * libio/freopen64.c (freopen64): Likewise.
14597 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14598 * libio/fileops.c (_IO_new_file_close_it): Handle new
14599 _IO_FLAGS2_NOCLOSE flag.
14600 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14601 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14602 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14603 _IO_FLAGS2_NOCLOSE flag.
14604 * include/unistd.h: Add hidden_proto for dup3.
14605 Define __have_dup3.
14606 * io/dup3.c: Define hidden symbol.
14607 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14608
14609 [BZ #7101]
14610 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14611 when an incomplete long option is used.
14612 * posix/tst-getopt_long1.c: New file.
14613 * posix/Makefile (tests): Add tst-getopt_long1.
14614
14615 [BZ #10138]
14616 * scripts/config.guess: Update from autoconf-2.68.
14617 * scripts/config.sub: Likewise.
14618
14619 [BZ #10157]
14620 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14621 tests into ...
14622 (has_cpuclock): ...this. New function.
14623 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14624 macro here based on has_cpuclock code.
14625
14626 [BZ #10149]
14627 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14628 First byte (not low byte) is now always NUL.
14629 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14630
14631 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14632 Use non-cancelable interfaces.
14633
14634 [BZ #9809]
14635 * locale/iso-639.def: Add entry for Sorani.
14636
14637 [BZ #11901]
14638 * include/stdlib.h: Move include protection to the right place.
14639 Define abort_msg_s. Declare __abort_msg with it.
14640 * stdlib/abort.c (__abort_msg): Adjust type.
14641 * assert/assert.c (__assert_fail_base): New function. Majority
14642 of code from __assert_fail. Allocate memory for __abort_msg with
14643 mmap.
14644 (__assert_fail): Now call __assert_fail_base.
14645 * assert/assert-perr.c: Remove bulk of implementation. Use
14646 __assert_fail_base.
14647 * include/assert.hL Declare __assert_fail_base.
14648 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14649 mmap.
14650 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14651
14652 2011-05-14 Ulrich Drepper <drepper@gmail.com>
14653
14654 [BZ #11952]
14655 [BZ #12453]
14656 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14657 until all modules are registered in the DTV.
14658 * elf/Makefile: Add rules to build and run tst-tls19.
14659 * elf/tst-tls19.c: New file.
14660 * elf/tst-tls19mod1.c: New file.
14661 * elf/tst-tls19mod2.c: New file.
14662 * elf/tst-tls19mod3.c: New file.
14663 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14664
14665 [BZ #12083]
14666 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14667 correctly.
14668
14669 [BZ #12601]
14670 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14671 two-byte sequence errors.
14672 * iconvdata/Makefile (tests): Add bug-iconv8.
14673 * iconvdata/bug-iconv8.c: New file.
14674
14675 [BZ #12626]
14676 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14677 buf2 definition.
14678
14679 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14680
14681 [BZ #12432]
14682 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14683 (dummy_getcfa): New function.
14684 (init): Get _Unwind_GetCFA address, use dummy if not found.
14685 (backtrace_helper): In recursion check, also check whether CFA changes.
14686 (__backtrace): Completely initialize arg.
14687
14688 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
14689 storing incomplete byte sequence in state object. Avoid testing for
14690 guaranteed too small input if we know there is enough data available.
14691
14692 2011-05-11 Andreas Schwab <schwab@redhat.com>
14693
14694 * Makeconfig (+link-pie): Indent.
14695 * Rules (binaries-pie): Define if $(have-fpie) and
14696 $(build-shared).
14697 (binaries-shared): Also filter out $(binaries-pie).
14698 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14699 * nscd/Makefile (others-pie): Add nscd.
14700 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14701 ($(objpfx)nscd): Remove command override.
14702 * login/Makefile (others-pie): Add pt_chown.
14703 ($(objpfx)pt_chown): Remove command override.
14704 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14705 remove command overrides.
14706
14707 2011-05-13 Ulrich Drepper <drepper@gmail.com>
14708
14709 * libio/tst_putwc.c: Fix error messages.
14710
14711 [BZ #12724]
14712 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14713 currently writing and seek to current position when not.
14714 * libio/Makefile (tests): Add bug-fclose1.
14715 * libio/bug-fclose1.c: New file.
14716
14717 2011-05-12 Ulrich Drepper <drepper@gmail.com>
14718
14719 [BZ #12511]
14720 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14721 don't set DF_1_NODELETE here.
14722 (do_lookup_x): When entering new entry test for copy relocation
14723 and if necessary set DF_1_NODELETE flag.
14724 * elf/tst-unique4.cc: New file.
14725 * elf/tst-unique4.h: New file.
14726 * elf/tst-unique4lib.cc: New file.
14727 * elf/Makefile: Add rules to build and run tst-unique4.
14728 Patch by Piotr Bury <pbury@goahead.com>.
14729
14730 2011-05-11 Ulrich Drepper <drepper@gmail.com>
14731
14732 [BZ #12052]
14733 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14734
14735 [BZ #12625]
14736 * misc/mntent_r.c (addmntent): Flush the stream after the output
14737
14738 [BZ #12393]
14739 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14740 (is_trusted_path_normalize): Skip initial colon. Append slash
14741 to empty buffer. Duplicate is_trusted_path code but allow
14742 constructed patch to be prefix.
14743 (is_dst): Allow $ORIGIN followed by /.
14744 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14745 Correct testing of result of is_trusted_path_normalize
14746 (decompose_rpath): Fix warning.
14747
14748 2011-05-10 Ulrich Drepper <drepper@gmail.com>
14749
14750 [BZ #11257]
14751 * grp/initgroups.c (internal_getgrouplist): When we found the service
14752 list through the initgroups entry in nsswitch.conf do not always
14753 continue on a successful lookup. Don't always use the
14754 __nss_group_database value if it is set.
14755 * nss/nsswitch.conf (initgroups): Change action for successful db
14756 lookup to continue for compatibility.
14757
14758 2011-05-09 Ulrich Drepper <drepper@gmail.com>
14759
14760 [BZ #11532]
14761 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14762 and CP774 modules.
14763 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14764 and CP774 modules.
14765 * iconvdata/tst-tables.sh: Likewise.
14766 * iconvdata/cp770.c: New file.
14767 * iconvdata/cp771.c: New file.
14768 * iconvdata/cp772.c: New file.
14769 * iconvdata/cp773.c: New file.
14770 * iconvdata/cp774.c: New file.
14771 * iconvdata/testdata/CP770: New file.
14772 * iconvdata/testdata/CP770..UTF8: New file.
14773 * iconvdata/testdata/CP771: New file.
14774 * iconvdata/testdata/CP771..UTF8: New file.
14775 * iconvdata/testdata/CP772: New file.
14776 * iconvdata/testdata/CP772..UTF8: New file.
14777 * iconvdata/testdata/CP773: New file.
14778 * iconvdata/testdata/CP773..UTF8: New file.
14779 * iconvdata/testdata/CP774: New file.
14780 * iconvdata/testdata/CP774..UTF8: New file.
14781
14782 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14783 END CHARMAP line.
14784 * iconvdata/gen-8bit-gap.sh: Likewise.
14785 * iconvdata/gen-8bit.sh: Likewise.
14786
14787 * locale/iso-639.def: Add ary entry.
14788
14789 [BZ #11258]
14790 * locale/C-translit.h.in: Add U20A1 transliteration.
14791
14792 [BZ #12178]
14793 * locale/iso-639.def: Add wae entry.
14794 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14795
14796 [BZ #12545]
14797 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14798 for n.
14799
14800 [BZ #12711]
14801 * locale/C-translit.h.in: Add entry for U20B9.
14802 Patch by pravin.d.s@gmail.com.
14803
14804 2011-05-08 Ulrich Drepper <drepper@gmail.com>
14805
14806 [BZ #12713]
14807 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14808 ENAMETOOLONG use generic getcwd.
14809 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14810 in rtld. Use *stat64.
14811 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
14812 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
14813 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
14814 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14815 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14816 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14817 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14818 __fstatat64 macros.
14819 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14820 * dirent/rewinddir.c: Add libc_hidden_def.
14821 * sysdeps/mach/hurd/rewinddir.c: Likewise.
14822 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
14823
14824 * include/dirent.h (__alloc_dir): Add flags parameter.
14825 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14826 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14827 __alloc_dir.
14828 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14829 from fdopendir if O_CLOEXEC is already set.
14830
14831 2011-03-15 Alan Modra <amodra@gmail.com>
14832
14833 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14834 l_tls_firstbyte_offset non-zero. Save padding offset in
14835 l_tls_firstbyte_offset for later use.
14836 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14837 freeing static tls block.
14838
14839 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14840
14841 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14842 where #ifdef was intended. The intent is to prevent ARG_MAX from
14843 being defined by the kernel headers.
14844
14845 2011-05-07 Ulrich Drepper <drepper@gmail.com>
14846
14847 [BZ #12734]
14848 * resolv/resolv.h: Define RES_NOTLDQUERY.
14849 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14850 no-tld-query and set RES_NOTLDQUERY.
14851 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14852 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14853 modern BIND to search name as TLD unless forbidden.
14854
14855 2011-05-07 Petr Baudis <pasky@suse.cz>
14856 Ulrich Drepper <drepper@gmail.com>
14857
14858 [BZ #12393]
14859 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14860 (is_trusted_path): ...to here.
14861 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
14862 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
14863 using is_trusted_path_normalize() in setuid scripts.
14864
14865 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14866
14867 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14868 __BEGIN/__END_DECLS.
14869
14870 2011-05-06 Ulrich Drepper <drepper@gmail.com>
14871
14872 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14873 NSS_STATUS_NOTFOUND if no record was found.
14874
14875 2011-05-05 Andreas Schwab <schwab@redhat.com>
14876
14877 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14878 (headers-not-in-tirpc): Remove rpc/netdb.h
14879 * resolv/netdb.h: Revert last change.
14880
14881 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14882
14883 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14884 circular dependency between libgcc.a and libc.a.
14885
14886 2011-05-05 Andreas Schwab <schwab@redhat.com>
14887
14888 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14889 * nis/Makefile: Don't install rpcsvc/*.
14890 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14891 instead of <rpc/types.h>.
14892 (MAXHOSTNAMELEN): Define.
14893
14894 2011-05-03 Andreas Schwab <schwab@redhat.com>
14895
14896 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14897
14898 2011-04-28 Maciej Babinski <mbabinski@google.com>
14899
14900 [BZ #12714]
14901 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14902 gethostbyname4_r when IPv6 results are possible.
14903
14904 2011-05-02 Ulrich Drepper <drepper@gmail.com>
14905
14906 [BZ #12723]
14907 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14908 _PC_PIPE_BUF handling.
14909
14910 2011-04-30 Bruno Haible <bruno@clisp.org>
14911
14912 [BZ #12717]
14913 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14914 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14915 to 'int'.
14916 * inet/getnameinfo.c (getnameinfo): Likewise.
14917
14918 2011-04-29 Ulrich Drepper <drepper@gmail.com>
14919
14920 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14921 to groups setting in database lookup.
14922 * nss/nsswitch.conf: Add initgroups entry.
14923
14924 2011-04-22 Ulrich Drepper <drepper@gmail.com>
14925
14926 [BZ #12685]
14927 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14928 mode string.
14929 Patch by Eric Blake <eblake@redhat.com>.
14930
14931 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14932
14933 * sunrpc/Makefile (need-export-routines): Add svc_run.
14934 (routines): Remove svc_run.
14935 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14936 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14937 * sunrpc/svc_run.c (svc_run): Likewise.
14938 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14939
14940 2011-04-21 Ulrich Drepper <drepper@gmail.com>
14941
14942 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14943 problem in reallocation in last patch.
14944
14945 2011-04-20 Ulrich Drepper <drepper@gmail.com>
14946
14947 * sunrpc/Makefile: Move inclusion of Rules.
14948
14949 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14950
14951 * nss/nss_files/files-initgroups.c: New file.
14952 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14953 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14954 _nss_files_initgroups_dyn.
14955
14956 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14957
14958 * elf/elf.h (R_ARM_IRELATIVE): Define.
14959
14960 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14961
14962 * po/ru.po: Update from translation team.
14963
14964 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14965
14966 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14967 dependencies.
14968
14969 2011-02-06 Mike Frysinger <vapier@gentoo.org>
14970
14971 [BZ #12653]
14972 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14973 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14974 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14975 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14976 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14977
14978 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14979
14980 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14981 differing bytes.
14982 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14983 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14984 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14985
14986 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14987
14988 [BZ #12420]
14989 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14990 storing it.
14991 * stdlib/bug-getcontext.c: New file.
14992 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14993
14994 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14995
14996 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14997 instructions into .machine "z9-109".
14998 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14999 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15000
15001 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15002
15003 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15004 between environment variables and auxiliary vector.
15005
15006 2011-04-16 Ulrich Drepper <drepper@gmail.com>
15007
15008 * Makefile: Add rules to build linkobj/libc.so.
15009 * include/libc-symbols.h: Define libc_hidden_nolink.
15010 * include/rpc/auth.h: Mark functions which are to be hidden.
15011 * include/rpc/auth_des.h: Likewise.
15012 * include/rpc/auth_unix.h: Likewise.
15013 * include/rpc/clnt.h: Likewise.
15014 * include/rpc/des_crypt.h: Likewise.
15015 * include/rpc/key_prot.h: Likewise.
15016 * include/rpc/pmap_clnt.h: Likewise.
15017 * include/rpc/pmap_prot.h: Likewise.
15018 * include/rpc/pmap_rmt.h: Likewise.
15019 * include/rpc/rpc_msg.h: Likewise.
15020 * include/rpc/svc.h: Likewise.
15021 * include/rpc/svc_auth.h: Likewise.
15022 * include/rpc/xdr.h: Likewise.
15023 * nis/Makefile: Link all DSOs against linkobj/libc.so.
15024 * nss/Makefile: Likewise.
15025 * sunrpc/Makefile: Don't install headers. Build library with normal
15026 entry points. Don't build rpcinfo. Link RPC tests appropriately.
15027 * sunrpc/auth_des.c: Hide exported symbols by default, export some
15028 for the compat linking library. Remove use of INTDEF/INTUSE.
15029 * sunrpc/auth_none.c: Likewise.
15030 * sunrpc/auth_unix.c: Likewise.
15031 * sunrpc/authdes_prot.c: Likewise.
15032 * sunrpc/authuxprot.c: Likewise.
15033 * sunrpc/clnt_gen.c: Likewise.
15034 * sunrpc/clnt_perr.c: Likewise.
15035 * sunrpc/clnt_raw.c: Likewise.
15036 * sunrpc/clnt_simp.c: Likewise.
15037 * sunrpc/clnt_tcp.c: Likewise.
15038 * sunrpc/clnt_udp.c: Likewise.
15039 * sunrpc/clnt_unix.c: Likewise.
15040 * sunrpc/des_crypt.c: Likewise.
15041 * sunrpc/des_soft.c: Likewise.
15042 * sunrpc/get_myaddr.c: Likewise.
15043 * sunrpc/key_call.c: Likewise.
15044 * sunrpc/key_prot.c: Likewise.
15045 * sunrpc/netname.c: Likewise.
15046 * sunrpc/pm_getmaps.c: Likewise.
15047 * sunrpc/pm_getport.c: Likewise.
15048 * sunrpc/pmap_clnt.c: Likewise.
15049 * sunrpc/pmap_prot.c: Likewise.
15050 * sunrpc/pmap_prot2.c: Likewise.
15051 * sunrpc/pmap_rmt.c: Likewise.
15052 * sunrpc/publickey.c: Likewise.
15053 * sunrpc/rpc_cmsg.c: Likewise.
15054 * sunrpc/rpc_common.c: Likewise.
15055 * sunrpc/rpc_dtable.c: Likewise.
15056 * sunrpc/rpc_prot.c: Likewise.
15057 * sunrpc/rpc_thread.c: Likewise.
15058 * sunrpc/rtime.c: Likewise.
15059 * sunrpc/svc.c: Likewise.
15060 * sunrpc/svc_auth.c: Likewise.
15061 * sunrpc/svc_authux.c: Likewise.
15062 * sunrpc/svc_raw.c: Likewise.
15063 * sunrpc/svc_run.c: Likewise.
15064 * sunrpc/svc_simple.c: Likewise.
15065 * sunrpc/svc_tcp.c: Likewise.
15066 * sunrpc/svc_udp.c: Likewise.
15067 * sunrpc/svc_unix.c: Likewise.
15068 * sunrpc/svcauth_des.c: Likewise.
15069 * sunrpc/xcrypt.c: Likewise.
15070 * sunrpc/xdr.c: Likewise.
15071 * sunrpc/xdr_array.c: Likewise.
15072 * sunrpc/xdr_float.c: Likewise.
15073 * sunrpc/xdr_intXX_t.c: Likewise.
15074 * sunrpc/xdr_mem.c: Likewise.
15075 * sunrpc/xdr_rec.c: Likewise.
15076 * sunrpc/xdr_ref.c: Likewise.
15077 * sunrpc/xdr_sizeof.c: Likewise.
15078 * sunrpc/xdr_stdio.c: Likewise.
15079
15080 2011-04-10 Ulrich Drepper <drepper@gmail.com>
15081
15082 [BZ #12650]
15083 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15084 * sysdeps/ia64/dl-tls.h: Likewise.
15085 * sysdeps/powerpc/dl-tls.h: Likewise.
15086 * sysdeps/s390/dl-tls.h: Likewise.
15087 * sysdeps/sh/dl-tls.h: Likewise.
15088 * sysdeps/sparc/dl-tls.h: Likewise.
15089 * sysdeps/x86_64/dl-tls.h: Likewise.
15090 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15091
15092 2011-03-14 Andreas Schwab <schwab@redhat.com>
15093
15094 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15095 rpath element also skip the following colon.
15096 (expand_dynamic_string_token): Add is_path parameter and pass
15097 down to DL_DST_REQUIRED and _dl_dst_substitute.
15098 (decompose_rpath): Call expand_dynamic_string_token with
15099 non-zero is_path. Ignore empty rpaths.
15100 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15101 with zero is_path.
15102
15103 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15104
15105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15106 Make cancelable.
15107
15108 2011-04-09 Ulrich Drepper <drepper@gmail.com>
15109
15110 [BZ #12655]
15111 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15112 Patch by Filipe David Manana <fdmanana@apache.org>.
15113
15114 2011-04-07 Andreas Schwab <schwab@redhat.com>
15115
15116 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15117 Maintain aligned stack.
15118 (CHECK_RSP): Remove unused macro.
15119
15120 2011-04-03 Ulrich Drepper <drepper@gmail.com>
15121
15122 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15123 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15124
15125 2011-04-02 Ulrich Drepper <drepper@gmail.com>
15126
15127 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15128
15129 * include/features.h: Mention __USE_XOPEN2K8 in comment.
15130
15131 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15132
15133 [BZ #12518]
15134 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15135 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15136 * sysdeps/x86_64/memmove.c: New file.
15137 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15138 (memcpy): Renamed to ...
15139 (__new_memcpy): This.
15140 (memcpy): Provide GLIBC_2_14 memcpy.
15141 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15142 (memcpy): Provide GLIBC_2_2_5 memcpy.
15143
15144 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15145
15146 [BZ #12631]
15147 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15148
15149 2011-03-30 Andreas Schwab <schwab@redhat.com>
15150
15151 * misc/syncfs.c: New file.
15152 * misc/Makefile (routines): Add syncfs.
15153 * posix/unistd.h: Declare syncfs.
15154 * sysdeps/unix/syscalls.list: Add syncfs.
15155
15156 2011-04-01 Andreas Schwab <schwab@redhat.com>
15157
15158 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15159 open_by_handle_at.
15160 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15161 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15162 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15163 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15164 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15165 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15166 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15167
15168 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15169
15170 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15171 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15172 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15173 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15174 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15175 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15176 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15177
15178 * io/Makefile: Compile fallocate.c, fallocate64.c, and
15179 sync_file_range.c with -fexceptions.
15180 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15181 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15182 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15183 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15184 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15185 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15186 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
15187 sync_file_range as cancellation point
15188 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
15189 now a wrapper around __call_sync_file_range with cancellation handling.
15190 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15191 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
15192 function name to __call_sync_file_range.
15193 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15194 Add call_sync_file_range.
15195
15196 2011-04-01 Andreas Schwab <schwab@redhat.com>
15197
15198 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15199 bits/timex.h.
15200
15201 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15202
15203 * iconv/iconv.h: Fix typo in comment.
15204 * io/fcntl.h: Likewise.
15205 * libio/stdio.h: Likewise.
15206 * posix/spawn.h: Likewise.
15207 * posix/unistd.h: Likewise.
15208 * stdlib/stdlib.h: Likewise.
15209 * time/time.h: Likewise.
15210 * wcsmbs/wchar.h: Likewise.
15211
15212 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15213 open_by_handle): Add.
15214 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15215 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
15216 Augment a few comments.
15217 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15218 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15219 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15220 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15221 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15222 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15223 open_by_handle.
15224
15225 * io/fcntl.h (AT_EMPTY_PATH): Define.
15226
15227 2011-03-30 Ulrich Drepper <drepper@gmail.com>
15228
15229 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15230 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15231 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15232 to...
15233 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
15234 * Versions.def: Add GLIBC_2.14.
15235 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15236 Export.
15237
15238 2011-03-22 Ulrich Drepper <drepper@gmail.com>
15239
15240 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15241 round counter.
15242 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15243
15244 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
15245
15246 [BZ #12597]
15247 * string/test-strncmp.c (do_page_test): New function.
15248 (check2): Likewise.
15249 (test_main): Call check2.
15250 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15251
15252 2011-03-20 Ulrich Drepper <drepper@gmail.com>
15253
15254 [BZ #12587]
15255 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15256 Handle cache information in CPU leaf 4.
15257 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15258
15259 2011-03-18 Ulrich Drepper <drepper@gmail.com>
15260
15261 [BZ #12583]
15262 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15263 character representation.
15264 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15265
15266 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
15267
15268 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15269 END(__isnan) to END(__isnanf) to match function entry point/label
15270 EALIGN(__isnanf,...).
15271
15272 2011-03-10 Jakub Jelinek <jakub@redhat.com>
15273
15274 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15275
15276 2011-03-10 Ulrich Drepper <drepper@gmail.com>
15277
15278 [BZ #12510]
15279 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15280 copy from the symbol referenced in the relocation to initialize the
15281 used variable.
15282 Patch by Piotr Bury <pbury@goahead.com>.
15283 * elf/Makefile: Add rules to build and tst-unique3.
15284 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15285 * elf/tst-unique3.cc: New file.
15286 * elf/tst-unique3.h: New file.
15287 * elf/tst-unique3lib.cc: New file.
15288 * elf/tst-unique3lib2.cc: New file.
15289
15290 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15291
15292 2011-03-10 Mike Frysinger <vapier@gentoo.org>
15293
15294 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15295 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
15296 to _start.
15297
15298 2011-03-06 Ulrich Drepper <drepper@gmail.com>
15299
15300 * elf/dl-load.c (_dl_map_object): If we are looking for the first
15301 to-be-loaded object along a path to loader is ld.so.
15302
15303 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15304 Ulrich Drepper <drepper@gmail.com>
15305
15306 * sysdeps/x86_64/memset.S: After aligning destination, code
15307 branches to different locations depending on the value of
15308 misalignment, when multiarch is enabled. Fix this.
15309
15310 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15311
15312 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15313 Set _x86_64_preferred_memory_instruction for AMD processsors.
15314 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15315 Set bit_Prefer_SSE_for_memop for AMD processors.
15316
15317 2011-03-04 Ulrich Drepper <drepper@gmail.com>
15318
15319 * libio/fmemopen.c (fmemopen): Optimize a bit.
15320
15321 2011-03-03 Andreas Schwab <schwab@redhat.com>
15322
15323 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15324
15325 2011-03-03 Roland McGrath <roland@redhat.com>
15326
15327 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15328
15329 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
15330
15331 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
15332 __bzero_ultra1 instead of __memset_ultra1.
15333
15334 2011-02-23 Andreas Schwab <schwab@redhat.com>
15335 Ulrich Drepper <drepper@gmail.com>
15336
15337 [BZ #12509]
15338 * include/link.h (struct link_map): Add l_orig_initfini.
15339 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15340 returning unsuccessfully.
15341 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15342 close of a file loaded at startup, restore the original l_initfini
15343 list.
15344 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15345 list, store the pointer.
15346 * elf/Makefile ($(objpfx)noload-mem): New rule.
15347 (noload-ENV): Define.
15348 (tests): Add $(objpfx)noload-mem.
15349 * elf/noload.c: Include <memcheck.h>.
15350 (main): Call mtrace. Close all opened handles.
15351
15352 2011-02-17 Andreas Schwab <schwab@redhat.com>
15353
15354 [BZ #12454]
15355 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15356 dependencies are missing.
15357
15358 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15359
15360 Fix __if_freereq crash: Unlike the generic version which uses free,
15361 Hurd needs munmap.
15362 * sysdeps/mach/hurd/ifreq.h: New file.
15363
15364 2011-01-27 Petr Baudis <pasky@suse.cz>
15365 Ulrich Drepper <drepper@gmail.com>
15366
15367 [BZ 12445]#
15368 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15369 to extend_alloca().
15370 * stdio-common/bug23.c: New file.
15371 * stdio-common/Makefile (tests): Add bug23.
15372
15373 2010-09-28 Andreas Schwab <schwab@redhat.com>
15374 Ulrich Drepper <drepper@gmail.com>
15375
15376 [BZ #12489]
15377 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15378 before performing relro protection. At old place add assertion
15379 to make sure nothing changed.
15380
15381 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
15382 Glauber de Oliveira Costa <glommer@gmail.com>
15383
15384 * elf/elf.h: Add new ARM TLS relocs.
15385
15386 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
15387
15388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15389 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15390 cast from r3.
15391 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
15392 'tests' variable.
15393 * sysdeps/wordsize-64/tst-writev.c: New file.
15394
15395 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
15396
15397 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
15398 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
15399 insns in _dl_start to prevent a TOC reference before relocs are
15400 resolved.
15401
15402 2011-02-15 Ulrich Drepper <drepper@gmail.com>
15403
15404 [BZ #12469]
15405 * Makeconfig: Remove RANLIB definition.
15406 * Makerules: Don't use RANLIB.
15407 * aclocal.m4: Remove ranlib test.
15408 * configure.in: No need to check for ranlib.
15409 * elf/rtld-Rules: Don't use RANLIB.
15410
15411 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15412
15413 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15414 protection macro.
15415 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15416 inclusion protection macro.
15417
15418 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
15419 SIGRTMIN and SIGRTMAX and print information in that case only when
15420 SIGRTMIN is defined.
15421
15422 2011-02-11 Jakub Jelinek <jakub@redhat.com>
15423
15424 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15425 arginfo fn returning -1.
15426
15427 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15428 and thousands string is zero terminated.
15429
15430 2011-02-03 Andreas Schwab <schwab@redhat.com>
15431
15432 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15433 sysdeps/unix/sysv/linux/bits/socket.h.
15434
15435 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15436
15437 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15438 (__CPU_COUNT): Remove old macros.
15439 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15440 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15441 (__CPU_ALLOC, __CPU_FREE): Add macros.
15442 (__sched_cpualloc, __sched_cpufree): Add declarations.
15443
15444 2011-02-05 Ulrich Drepper <drepper@gmail.com>
15445
15446 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15447 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15448 * nscd/aicache.c (addhstaiX): Return timeout of added value.
15449 (readdhstai): Return value of addhstaiX call.
15450 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15451 (addgrbyX): Return value returned by cache_addgr.
15452 (readdgrbyname): Return value returned by addgrbyX.
15453 (readdgrbygid): Likewise.
15454 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15455 (addpwbyX): Return value returned by cache_addpw.
15456 (readdpwbyname): Return value returned by addhstbyX.
15457 (readdpwbyuid): Likewise.
15458 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15459 (addservbyX): Return value returned by cache_addserv.
15460 (readdservbyname): Return value returned by addservbyX:
15461 (readdservbyport): Likewise.
15462 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15463 (addhstbyX): Return value returned by cache_addhst.
15464 (readdhstbyname): Return value returned by addhstbyX.
15465 (readdhstbyaddr): Likewise.
15466 (readdhstbynamev6): Likewise.
15467 (readdhstbyaddrv6): Likewise.
15468 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15469 (readdinitgroups): Return value returned by addinitgroupsX.
15470 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15471 (prune_cache): Keep track of timeout value of re-added entries.
15472 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15473 * nscd/nscd.h: Adjust prototypes of readd* functions.
15474
15475 2011-02-04 Roland McGrath <roland@redhat.com>
15476
15477 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15478 (nis_stats): Likewise.
15479 * nis/nis_modify.c (nis_modify): Likewise.
15480 * nis/nis_remove.c (nis_remove): Likewise.
15481 * nis/nis_add.c (nis_add): Likewise.
15482
15483 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15484
15485 * posix/fnmatch_loop.c: Add some consts.
15486
15487 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15488
15489 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15490
15491 [BZ #12460]
15492 * config.make.in (config-cflags-novzeroupper): Define.
15493 * configure.in: Substitute libc_cv_cc_novzeroupper.
15494 * elf/Makefile (AVX-CFLAGS): Define.
15495 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15496 (CFLAGS-tst-auditmod4a.c): Likewise.
15497 (CFLAGS-tst-auditmod4b.c): Likewise.
15498 (CFLAGS-tst-auditmod6b.c): Likewise.
15499 (CFLAGS-tst-auditmod6c.c): Likewise.
15500 (CFLAGS-tst-auditmod7b.c): Likewise.
15501 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15502
15503 2011-02-02 Ulrich Drepper <drepper@gmail.com>
15504
15505 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15506 function to the callback.
15507 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15508
15509 2011-02-02 Andreas Schwab <schwab@redhat.com>
15510
15511 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15512 of errno.
15513
15514 2011-01-19 Ulrich Drepper <drepper@gmail.com>
15515
15516 [BZ #11724]
15517 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15518 of constructors.
15519 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15520 of destructors.
15521 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15522
15523 [BZ #11724]
15524 * elf/Makefile: Add rules to build and run new test.
15525 * elf/tst-initorder.c: New file.
15526 * elf/tst-initorder.exp: New file.
15527 * elf/tst-initordera1.c: New file.
15528 * elf/tst-initordera2.c: New file.
15529 * elf/tst-initordera3.c: New file.
15530 * elf/tst-initordera4.c: New file.
15531 * elf/tst-initorderb1.c: New file.
15532 * elf/tst-initorderb2.c: New file.
15533 * elf/tst-order-a1.c: New file.
15534 * elf/tst-order-a2.c: New file.
15535 * elf/tst-order-a3.c: New file.
15536 * elf/tst-order-a4.c: New file.
15537 * elf/tst-order-b1.c: New file.
15538 * elf/tst-order-b2.c: New file.
15539 * elf/tst-order-main.c: New file.
15540 New test case by George Gensure <werkt0@gmail.com>.
15541
15542 2010-10-01 Andreas Schwab <schwab@redhat.com>
15543
15544 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15545 decoding ACE if AI_CANONIDN.
15546
15547 2011-01-18 Ulrich Drepper <drepper@gmail.com>
15548
15549 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15550
15551 2011-01-17 Ulrich Drepper <drepper@gmail.com>
15552
15553 * version.h (RELEASE): Bump for 2.13 release.
15554 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15555
15556 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15557
15558 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15559 MADV_NOHUGEPAGE.
15560 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15561 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15562 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15563 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15564 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15565 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15566
15567 * posix/getconf.c: Update copyright year.
15568 * catgets/gencat.c: Likewise.
15569 * csu/version.c: Likewise.
15570 * debug/catchsegv.sh: Likewise.
15571 * debug/xtrace.sh: Likewise.
15572 * elf/ldconfig.c: Likewise.
15573 * elf/ldd.bash.in: Likewise.
15574 * elf/sprof.c (print_version): Likewise.
15575 * iconv/iconv_prog.c: Likewise.
15576 * iconv/iconvconfig.c: Likewise.
15577 * locale/programs/locale.c: Likewise.
15578 * locale/programs/localedef.c: Likewise.
15579 * malloc/memusage.sh: Likewise.
15580 * malloc/mtrace.pl: Likewise.
15581 * nscd/nscd.c (print_version): Likewise.
15582 * nss/getent.c: Likewise.
15583
15584 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15585 PF_CAIF, and PF_ALG.
15586 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15587
15588 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15589
15590 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15591 (modules-names): Use them.
15592 (ifunc-test-modules, ifunc-pie-tests): Define.
15593 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15594 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15595 (test-extras): Likewise.
15596 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15597 $(compile-command.c).
15598 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15599 (all-built-dso): Define.
15600 (check-textrel.out, check-execstack.out): Depend on it.
15601
15602 * configure.in: Don't override --enable-multi-arch.
15603
15604 2011-01-15 Ulrich Drepper <drepper@gmail.com>
15605
15606 [BZ #6812]
15607 * nscd/hstcache.c (tryagain): Define.
15608 (cache_addhst): Return tryagain not notfound for temporary errors.
15609 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15610 failed.
15611
15612 2011-01-14 Ulrich Drepper <drepper@gmail.com>
15613
15614 [BZ #10563]
15615 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15616 to make the syscall.
15617 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15618
15619 [BZ #12378]
15620 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15621 and fall back to matching as normal character if the string ends before
15622 the matching ']' is found. This is what POSIX requires.
15623 * posix/testfnm.c: Adjust test result.
15624 * posix/globtest.sh: Adjust test result. Add new test.
15625 * posix/tst-fnmatch.input: Likewise.
15626 * posix/tst-fnmatch2.c: Add new test.
15627
15628 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15629
15630 * elf/Makefile (check-execstack): Revert last change. Depend on
15631 check-execstack.h.
15632 (check-execstack.h): New target.
15633 (generated): Add check-execstack.h.
15634 * elf/check-execstack.c: Include "check-execstack.h".
15635 (main): Revert last change.
15636 (handle_file): Return zero if GNU_STACK is absent and
15637 DEFAULT_STACK_PERMS doesn't include PF_X.
15638
15639 2011-01-13 Ulrich Drepper <drepper@gmail.com>
15640
15641 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15642 in child fails because the descriptor is already closed.
15643 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15644 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15645 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
15646
15647 [BZ #12397]
15648 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15649 syscall.
15650
15651 [BZ #10484]
15652 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15653 temporary buffer used to handle multi lookups locally.
15654 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
15655
15656 2011-01-12 Ulrich Drepper <drepper@gmail.com>
15657
15658 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15659 loader is ld.so.
15660
15661 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15662
15663 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15664 alignment for SSE2.
15665
15666 2011-01-12 Ulrich Drepper <drepper@gmail.com>
15667
15668 [BZ #12394]
15669 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15670 characters. When rounding increased number of integer digits recompute
15671 number of groups.
15672 * stdio-common/tst-grouping.c: New file.
15673 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15674
15675 2011-01-09 Ulrich Drepper <drepper@gmail.com>
15676
15677 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15678 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15679
15680 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15681 void.
15682 * bits/select.h: Likewise.
15683
15684 2011-01-08 Ulrich Drepper <drepper@gmail.com>
15685
15686 * po/ja.po: Update from translation team.
15687
15688 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
15689
15690 [BZ #11155]
15691 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15692 implementation just like for lxstat, fxstatat, et al.
15693
15694 2010-12-27 Jim Meyering <meyering@redhat.com>
15695
15696 [BZ #12348]
15697 * posix/regexec.c (build_trtable): Return failure indication upon
15698 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15699
15700 2010-12-25 Ulrich Drepper <drepper@gmail.com>
15701
15702 [BZ #12201]
15703 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15704 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15705 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15706 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15707
15708 [BZ #12207]
15709 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15710
15711 [BZ #12204]
15712 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15713 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15714
15715 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15716
15717 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15718 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15719 script has SORT_BY_INIT_PRIORITY.
15720 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15721 NO_CTORS_DTORS_SECTIONS is defined.
15722 * elf/soinit.c: Likewise.
15723 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15724 NO_CTORS_DTORS_SECTIONS is defined.
15725 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15726 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15727 * sysdeps/sh/init-first.c: Likewise.
15728 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15729
15730 2010-12-24 Ulrich Drepper <drepper@gmail.com>
15731
15732 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15733 always use the slow path.
15734
15735 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15736
15737 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15738 similar rule which adds the sysdep directories to the header search in
15739 order to pick up the correct platform stackinfo.h.
15740 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15741 perform test if it is, otherwise return successfully without testing.
15742 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15743 DEFAULT_STACK_PERMS define in stackinfo.h.
15744 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15745 defined in stackinfo.h.
15746 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15747 DEFAULT_STACK_PERMS defined in stackinfo.h.
15748 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15749 * sysdeps/ia64/stackinfo.h: Likewise.
15750 * sysdeps/s390/stackinfo.h: Likewise.
15751 * sysdeps/sh/stackinfo.h: Likewise.
15752 * sysdeps/sparc/stackinfo.h: Likewise.
15753 * sysdeps/x86_64/stackinfo.h: Likewise.
15754 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15755 PF_X for powerpc64. Retain PF_X for powerpc32.
15756
15757 2010-12-19 Ulrich Drepper <drepper@gmail.com>
15758
15759 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15760 accurately.
15761 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15762 GETDENTS_64BIT_ALIGNED.
15763
15764 2010-12-14 Ulrich Drepper <dreper@gmail.com>
15765
15766 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
15767
15768 2010-12-10 Andreas Schwab <schwab@redhat.com>
15769
15770 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15771 _GNU_SOURCE.
15772
15773 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15774 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15775 Remove __restrict.
15776 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15777 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15778
15779 2010-12-09 Ulrich Drepper <drepper@gmail.com>
15780
15781 [BZ #11655]
15782 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15783 are initialized.
15784
15785 2010-12-09 Jakub Jelinek <jakub@redhat.com>
15786
15787 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15788
15789 2010-12-03 Ulrich Drepper <drepper@gmail.com>
15790
15791 * po/it.po: Update from translation team.
15792
15793 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15794
15795 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15796 unused codes.
15797
15798 2010-11-30 Ulrich Drepper <drepper@gmail.com>
15799
15800 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15801
15802 2010-11-24 Andreas Schwab <schwab@redhat.com>
15803
15804 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15805 specially.
15806 (gaih_getanswer_slice): Likewise.
15807
15808 2010-10-20 Jakub Jelinek <jakub@redhat.com>
15809
15810 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15811
15812 2010-05-31 Petr Baudis <pasky@suse.cz>
15813
15814 [BZ #11149]
15815 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15816 silently even in the chroot mode.
15817
15818 2010-11-22 Ulrich Drepper <drepper@gmail.com>
15819
15820 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15821 last patch a bit. Pretty printing
15822
15823 2010-05-31 Petr Baudis <pasky@suse.cz>
15824
15825 [BZ #10085]
15826 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15827 initialization of skip_initgroups_dyn.
15828
15829 2010-11-19 Ulrich Drepper <drepper@gmail.com>
15830
15831 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15832 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15833
15834 2010-11-16 Ulrich Drepper <drepper@gmail.com>
15835
15836 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15837
15838 2010-11-11 Andreas Schwab <schwab@redhat.com>
15839
15840 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15841 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15842 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15843 ($(objpfx)tst-fnmatch-mem): New rule.
15844 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15845 * posix/tst-fnmatch.c (main): Call mtrace.
15846
15847 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15848
15849 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15850 Support Intel processor model 6 and model 0x2c.
15851
15852 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
15853
15854 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15855 signed comparison.
15856
15857 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15858
15859 [BZ #12205]
15860 * string/test-strncasecmp.c (check_result): New function.
15861 (do_one_test): Use it.
15862 (check1): New function.
15863 (test_main): Use it.
15864 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15865 Support strcasecmp and strncasecmp.
15866
15867 2010-11-08 Ulrich Drepper <drepper@gmail.com>
15868
15869 [BZ #12194]
15870 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15871 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15872
15873 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15874
15875 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15876 IFUNC support.
15877 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15878 memset-x86-64.
15879 * sysdeps/x86_64/multiarch/bzero.S: New file.
15880 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15881 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15882 * sysdeps/x86_64/multiarch/memset.S: New file.
15883 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15884 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15885 Set bit_Prefer_SSE_for_memop for Intel processors.
15886 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15887 Define.
15888 (index_Prefer_SSE_for_memop): Define.
15889 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15890
15891 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
15892
15893 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15894 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15895
15896 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15897
15898 [BZ #12191]
15899 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15900 (__x86_64_raw_data_cache_size_half): Likewise.
15901 (__x86_64_raw_shared_cache_size): Likewise.
15902 (__x86_64_raw_shared_cache_size_half): Likewise.
15903
15904 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15905 (__x86_64_raw_data_cache_size_half): Likewise.
15906 (__x86_64_raw_shared_cache_size): Likewise.
15907 (__x86_64_raw_shared_cache_size_half): Likewise.
15908 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15909 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15910 and __x86_64_raw_shared_cache_size_half. Round
15911 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15912 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15913 to multiple of 256 bytes.
15914
15915 2010-11-03 Ulrich Drepper <drepper@gmail.com>
15916
15917 [BZ #12167]
15918 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15919 of inacessible symlinks. Verify result of symlink before returning it.
15920 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15921 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15922
15923 2010-10-28 Erich Ritz <erichritz@gmail.com>
15924
15925 * math/math.h (isinf): Fix typo in comment.
15926
15927 2010-11-01 Ulrich Drepper <drepper@gmail.com>
15928
15929 * po/da.po: Update from translation team.
15930
15931 2010-10-26 Ulrich Drepper <drepper@gmail.com>
15932
15933 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15934 is added to the list.
15935
15936 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15937 Ulrich Drepper <drepper@gmail.com>
15938
15939 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15940 the global list here. Move code to...
15941 (_dl_add_to_namespace_list): ...here. New function.
15942 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15943 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15944 * elf/dl-load.c (lose): Don't remove the element from the list.
15945 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15946 (_dl_map_object): Likewise.
15947
15948 2010-10-25 Ulrich Drepper <drepper@gmail.com>
15949
15950 [BZ #12159]
15951 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15952 into all bytes of SSE register.
15953 Patch by Richard Li <richardpku@gmail.com>.
15954
15955 2010-10-24 Ulrich Drepper <drepper@gmail.com>
15956
15957 [BZ #12140]
15958 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15959 perturbing.
15960
15961 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15962
15963 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15964 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15965 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15966 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15968 submachine.
15969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15970
15971 2010-10-22 Andreas Schwab <schwab@redhat.com>
15972
15973 * include/dlfcn.h (__RTLD_SECURE): Define.
15974 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15975 mode & __RTLD_SECURE instead.
15976 (open_path): Rename preloaded parameter to secure.
15977 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15978 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15979 * elf/dl-deps.c (openaux): Likewise.
15980 * elf/rtld.c (struct map_args): Remove is_preloaded.
15981 (map_doit): Don't use it.
15982 (dl_main): Likewise.
15983 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15984 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15985
15986 2010-09-09 Andreas Schwab <schwab@redhat.com>
15987
15988 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15989 (sysd-rules-targets): Remove duplicates.
15990 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15991 rtld-%.$o dependency.
15992
15993 2010-10-18 Andreas Schwab <schwab@redhat.com>
15994
15995 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15996 _dl_map_object do it.
15997
15998 2010-10-19 Ulrich Drepper <drepper@gmail.com>
15999
16000 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16001 fast fma builtins, define the macros in the C99 standard.
16002 (FP_FAST_FMAF): Likewise.
16003 (FP_FAST_FMAL): Likewise.
16004 * sysdeps/x86_64/bits/mathdef.h: Likewise.
16005
16006 * bits/mathdef.h: Update copyright year.
16007 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16008
16009 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
16010
16011 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16012 builtins, define the macros in the C99 standard.
16013 (FP_FAST_FMAF): Likewise.
16014 (FP_FAST_FMAL): Likewise.
16015 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16016 multiply/add.
16017 (FP_FAST_FMAF): Likewise.
16018
16019 2010-10-15 Jakub Jelinek <jakub@redhat.com>
16020
16021 [BZ #3268]
16022 * math/libm-test.inc (fma_test): Some new testcases.
16023 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16024 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16025 y and infinite z. Do multiplication by C already in long double.
16026 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16027 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16028 y and infinite z. Do bitwise or of inexact bit into u.d.
16029 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16030 * sysdeps/i386/fpu/s_fmaf.S: Removed.
16031 * sysdeps/i386/fpu/s_fma.S: Removed.
16032 * sysdeps/i386/fpu/s_fmal.S: Removed.
16033
16034 2010-10-16 Jakub Jelinek <jakub@redhat.com>
16035
16036 [BZ #3268]
16037 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16038 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16039 computation is not scheduled after fetestexcept. Fix value
16040 of minimum denormal long double.
16041
16042 2010-10-14 Jakub Jelinek <jakub@redhat.com>
16043
16044 [BZ #3268]
16045 * math/libm-test.inc (fma_test): Add some more tests.
16046 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16047 correctly.
16048
16049 2010-10-15 Andreas Schwab <schwab@redhat.com>
16050
16051 * scripts/data/localplt-s390-linux-gnu.data: New file.
16052 * scripts/data/localplt-s390x-linux-gnu.data: New file.
16053
16054 2010-10-13 Jakub Jelinek <jakub@redhat.com>
16055
16056 [BZ #3268]
16057 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16058 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16059 instead of dbl-64.
16060 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16061 inlines.
16062 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16063 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16064 if one of x and y is very large and the other is subnormal.
16065 * sysdeps/s390/fpu/s_fmaf.c: New file.
16066 * sysdeps/s390/fpu/s_fma.c: New file.
16067 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16068 * sysdeps/powerpc/fpu/s_fma.S: New file.
16069 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16070 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16071 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16072
16073 2010-10-12 Jakub Jelinek <jakub@redhat.com>
16074
16075 [BZ #3268]
16076 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16077 fma tests.
16078 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16079 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16080 * sysdeps/i386/i686/multiarch/s_fma.c: Include
16081 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16082 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16083 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16084 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16085
16086 2010-10-12 Ulrich Drepper <drepper@redhat.com>
16087
16088 [BZ #12078]
16089 * posix/regcomp.c (parse_branch): One more memory leak plugged.
16090 * posix/bug-regex31.input: Add test case.
16091
16092 2010-10-11 Ulrich Drepper <drepper@gmail.com>
16093
16094 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16095 * posix/bug-regex31.input: New file.
16096
16097 [BZ #12078]
16098 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16099 (parse_sub_exp): Fix last change, use postorder.
16100
16101 * posix/bug-regex31.c: New file.
16102 * posix/Makefile: Add rules to build and run bug-regex31.
16103
16104 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16105
16106 [BZ #12078]
16107 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16108
16109 [BZ #12108]
16110 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16111 to have entries in sys_siglist.
16112
16113 [BZ #12093]
16114 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16115 be NULL.
16116
16117 2010-10-07 Jakub Jelinek <jakub@redhat.com>
16118
16119 [BZ #3268]
16120 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16121 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16122 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16123 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16124 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16125 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16126 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16127 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16128 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16129 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16130 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16131 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16132 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16133 * math/ftestexcept.c (fetestexcept): Likewise.
16134 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16135 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16136 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16137 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16138 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16139 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16140 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16141
16142 2010-10-11 Ulrich Drepper <drepper@gmail.com>
16143
16144 [BZ #12107]
16145 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16146 newline.
16147
16148 2010-10-06 Ulrich Drepper <drepper@gmail.com>
16149
16150 * string/bug-strstr1.c: New file.
16151 * string/Makefile: Add rules to build and run bug-strstr1.
16152
16153 2010-10-05 Eric Blake <eblake@redhat.com>
16154
16155 [BZ #12092]
16156 * string/str-two-way.h (two_way_long_needle): Always clear memory
16157 when skipping input due to the shift table.
16158
16159 2010-10-03 Ulrich Drepper <drepper@gmail.com>
16160
16161 [BZ #12005]
16162 * malloc/mcheck.c: Handle large requests.
16163
16164 [BZ #12077]
16165 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16166 for strncmp and strncasecmp.
16167 * string/stratcliff.c: Add tests for strcmp and strncmp.
16168 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16169
16170 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16171
16172 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16173 __set_fpscr.
16174
16175 2010-09-30 Andreas Jaeger <aj@suse.de>
16176
16177 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16178 (CGROUP_SUPER_MAGIC): Define.
16179 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16180 Handle btrfs and cgroup file systems.
16181 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16182 Likewise.
16183
16184 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
16185
16186 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16187 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16188
16189 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16190
16191 [BZ #12067]
16192 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16193 trying to locate the ELF header.
16194
16195 2010-09-27 Andreas Schwab <schwab@redhat.com>
16196
16197 [BZ #11611]
16198 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16199 Mask out sign-bit copies when constructing f_fsid.
16200
16201 2010-09-24 Petr Baudis <pasky@suse.cz>
16202
16203 * debug/stack_chk_fail_local.c: Add missing licence exception.
16204 * debug/warning-nop.c: Likewise.
16205
16206 2010-09-15 Joseph Myers <joseph@codesourcery.com>
16207
16208 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16209 implementing getdents64 using getdents syscall, set d_type if
16210 __ASSUME_GETDENTS32_D_TYPE.
16211
16212 2010-09-16 Andreas Schwab <schwab@redhat.com>
16213
16214 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16215 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16216
16217 2010-09-21 Ulrich Drepper <drepper@redhat.com>
16218
16219 [BZ #12037]
16220 * posix/unistd.h: Undo change of feature selection for ftruncate from
16221 2010-01-11.
16222
16223 2010-09-20 Ulrich Drepper <drepper@redhat.com>
16224
16225 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
16226 detection.
16227
16228 2010-09-20 Andreas Schwab <schwab@redhat.com>
16229
16230 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16231 fanotify_mark.
16232 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16233
16234 2010-09-14 Andreas Schwab <schwab@redhat.com>
16235
16236 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16237 variables after CHECK_SP call.
16238 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16239
16240 2010-09-13 Andreas Schwab <schwab@redhat.com>
16241 Ulrich Drepper <drepper@redhat.com>
16242
16243 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16244 re-relocationg ld.so.
16245 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16246 _dl_init_paths call.
16247 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
16248 here anymore.
16249
16250 2010-09-14 Ulrich Drepper <drepper@redhat.com>
16251
16252 * resolv/res_init.c (__res_vinit): Count the default server we added.
16253
16254 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
16255 Ulrich Drepper <drepper@redhat.com>
16256
16257 [BZ #11968]
16258 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16259 (____longjmp_chk): Use %ebx for saving value across system call.
16260 Add unwind info.
16261
16262 2010-09-06 Andreas Schwab <schwab@redhat.com>
16263
16264 * manual/Makefile: Don't mix pattern rules with normal rules.
16265
16266 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
16267
16268 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16269 operation.
16270 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16271 * libio/iofopncook.c (_IO_cookie_init): Likewise.
16272 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16273 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16274 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16275 Likewise.
16276
16277 2010-09-04 Ulrich Drepper <drepper@redhat.com>
16278
16279 [BZ #11979]
16280 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16281 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16282
16283 2010-09-02 Ulrich Drepper <drepper@redhat.com>
16284
16285 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16286 * sysdeps/x86_64/addmul_1.S: Likewise.
16287 * sysdeps/x86_64/lshift.S: Likewise.
16288 * sysdeps/x86_64/mul_1.S: Likewise.
16289 * sysdeps/x86_64/rshift.S: Likewise.
16290 * sysdeps/x86_64/sub_n.S: Likewise.
16291 * sysdeps/x86_64/submul_1.S: Likewise.
16292
16293 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
16294
16295 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16296 Define __sched_param instead of SCHED_* and sched_param when
16297 <bits/sched.h> is included with __need_schedparam defined.
16298 * bits/sched.h [__need_schedparam]
16299 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
16300 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16301 (__defined_schedparam): Define to 1.
16302 (__sched_param): New structure, identical to sched_param.
16303 (__need_schedparam): Undefine.
16304
16305 2010-08-31 Mike Frysinger <vapier@gentoo.org>
16306
16307 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16308 (epoll_create1): Declare.
16309
16310 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16311
16312 2010-08-31 Andreas Schwab <schwab@redhat.com>
16313
16314 [BZ #7066]
16315 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16316 shifting retval into place.
16317
16318 2010-09-01 Ulrich Drepper <drepper@redhat.com>
16319
16320 * nis/rpcsvc/nis.h: Update copyright notice.
16321 * nis/rpcsvc/nis.x: Likewise.
16322 * nis/rpcsvc/nis_callback.h: Likewise.
16323 * nis/rpcsvc/nis_callback.x: Likewise.
16324 * nis/rpcsvc/nis_object.x: Likewise.
16325 * nis/rpcsvc/nis_tags.h: Likewise.
16326 * nis/rpcsvc/yp.h: Likewise.
16327 * nis/rpcsvc/yp.x: Likewise.
16328 * nis/rpcsvc/ypupd.h: Likewise.
16329 * nis/yp_xdr.c: Likewise.
16330 * nis/ypupdate_xdr.c: Likewise.
16331
16332 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
16333 mainly the body of pmap_getport. Add parameters to specify timeouts.
16334 (pmap_getport): Use __libc_rpc_getport.
16335 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16336 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16337 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16338
16339 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
16340
16341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16342 fanotify_mark.
16343
16344 2010-08-27 Roland McGrath <roland@redhat.com>
16345
16346 * sysdeps/i386/i686/multiarch/Makefile
16347 (CFLAGS-varshift.c): New variable.
16348
16349 2010-08-27 Ulrich Drepper <drepper@redhat.com>
16350
16351 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16352 * sysdeps/i386/i686/multiarch/varshift.c: New file.
16353
16354 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16355
16356 * sysdeps/x86_64/strlen.S: Minimal code improvement.
16357
16358 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
16359
16360 * sysdeps/x86_64/strlen.S: Unroll the loop.
16361 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16362 strlen-sse2 strlen-sse2-bsf.
16363 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16364 __strlen_no_bsf if bit_Slow_BSF is set.
16365 (__strlen_sse42): Removed.
16366 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16367 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16368
16369 2010-08-25 Roland McGrath <roland@redhat.com>
16370
16371 * sysdeps/x86_64/multiarch/varshift.S: File removed.
16372 * sysdeps/x86_64/multiarch/varshift.c: New file.
16373 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16374 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16375 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16376 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16377
16378 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
16379
16380 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16381 strlen-sse2 strlen-sse2-bsf.
16382 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16383 __strlen_sse2_bsf if bit_Slow_BSF is unset.
16384 (__strlen_sse2): Removed.
16385 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16386 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16387 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16388 bit_Slow_BSF for Atom.
16389 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16390 (index_Slow_BSF): Define.
16391 (HAS_SLOW_BSF): Define.
16392
16393 2010-08-25 Ulrich Drepper <drepper@redhat.com>
16394
16395 [BZ #10851]
16396 * resolv/res_init.c (__res_vinit): When no server address at all
16397 is given default to loopback.
16398
16399 2010-08-24 Roland McGrath <roland@redhat.com>
16400
16401 * configure.in: Remove config-name.h generation.
16402 * configure: Regenerated.
16403 * config-name.in: File removed.
16404 * scripts/config-uname.sh: New file.
16405 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16406 ($(objdir)config-name.h): New target.
16407
16408 * sunrpc/rpc_parse.h: Avoid nested comment.
16409
16410 2010-08-24 Richard Henderson <rth@redhat.com>
16411 Ulrich Drepper <drepper@redhat.com>
16412 H.J. Lu <hongjiu.lu@intel.com>
16413
16414 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16415 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16416 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16417 Replace _mm_srli_si128 with __m128i_shift_right. Replace
16418 _mm_alignr_epi8 with _mm_loadu_si128.
16419 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
16420 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
16421 (__m128i_shift_right): Removed.
16422 * sysdeps/i386/i686/multiarch/varshift.h: New file.
16423 * sysdeps/i386/i686/multiarch/varshift.S: New file.
16424 * sysdeps/x86_64/multiarch/varshift.h: New file.
16425 * sysdeps/x86_64/multiarch/varshift.S: New file.
16426
16427 2010-08-21 Mike Frysinger <vapier@gentoo.org>
16428
16429 * configure.in: Move assembler checks to before sysdep dir checking.
16430
16431 2010-08-20 Petr Baudis <pasky@suse.cz>
16432
16433 * LICENSES: Sync the sunrpc license.
16434
16435 2010-08-19 Ulrich Drepper <drepper@redhat.com>
16436
16437 * sunrpc/auth_des.c: Update copyright notice once again.
16438 * sunrpc/auth_none.c: Likewise.
16439 * sunrpc/auth_unix.c: Likewise.
16440 * sunrpc/authdes_prot.c: Likewise.
16441 * sunrpc/authuxprot.c: Likewise.
16442 * sunrpc/bindrsvprt.c: Likewise.
16443 * sunrpc/clnt_gen.c: Likewise.
16444 * sunrpc/clnt_perr.c: Likewise.
16445 * sunrpc/clnt_raw.c: Likewise.
16446 * sunrpc/clnt_simp.c: Likewise.
16447 * sunrpc/clnt_tcp.c: Likewise.
16448 * sunrpc/clnt_udp.c: Likewise.
16449 * sunrpc/clnt_unix.c: Likewise.
16450 * sunrpc/des_crypt.c: Likewise.
16451 * sunrpc/des_soft.c: Likewise.
16452 * sunrpc/get_myaddr.c: Likewise.
16453 * sunrpc/getrpcport.c: Likewise.
16454 * sunrpc/key_call.c: Likewise.
16455 * sunrpc/key_prot.c: Likewise.
16456 * sunrpc/openchild.c: Likewise.
16457 * sunrpc/pm_getmaps.c: Likewise.
16458 * sunrpc/pm_getport.c: Likewise.
16459 * sunrpc/pmap_clnt.c: Likewise.
16460 * sunrpc/pmap_prot.c: Likewise.
16461 * sunrpc/pmap_prot2.c: Likewise.
16462 * sunrpc/pmap_rmt.c: Likewise.
16463 * sunrpc/rpc/auth.h: Likewise.
16464 * sunrpc/rpc/auth_unix.h: Likewise.
16465 * sunrpc/rpc/clnt.h: Likewise.
16466 * sunrpc/rpc/des_crypt.h: Likewise.
16467 * sunrpc/rpc/key_prot.h: Likewise.
16468 * sunrpc/rpc/netdb.h: Likewise.
16469 * sunrpc/rpc/pmap_clnt.h: Likewise.
16470 * sunrpc/rpc/pmap_prot.h: Likewise.
16471 * sunrpc/rpc/pmap_rmt.h: Likewise.
16472 * sunrpc/rpc/rpc.h: Likewise.
16473 * sunrpc/rpc/rpc_des.h: Likewise.
16474 * sunrpc/rpc/rpc_msg.h: Likewise.
16475 * sunrpc/rpc/svc.h: Likewise.
16476 * sunrpc/rpc/svc_auth.h: Likewise.
16477 * sunrpc/rpc/types.h: Likewise.
16478 * sunrpc/rpc/xdr.h: Likewise.
16479 * sunrpc/rpc_clntout.c: Likewise.
16480 * sunrpc/rpc_cmsg.c: Likewise.
16481 * sunrpc/rpc_common.c: Likewise.
16482 * sunrpc/rpc_cout.c: Likewise.
16483 * sunrpc/rpc_dtable.c: Likewise.
16484 * sunrpc/rpc_hout.c: Likewise.
16485 * sunrpc/rpc_main.c: Likewise.
16486 * sunrpc/rpc_parse.c: Likewise.
16487 * sunrpc/rpc_parse.h: Likewise.
16488 * sunrpc/rpc_prot.c: Likewise.
16489 * sunrpc/rpc_sample.c: Likewise.
16490 * sunrpc/rpc_scan.c: Likewise.
16491 * sunrpc/rpc_scan.h: Likewise.
16492 * sunrpc/rpc_svcout.c: Likewise.
16493 * sunrpc/rpc_tblout.c: Likewise.
16494 * sunrpc/rpc_util.c: Likewise.
16495 * sunrpc/rpc_util.h: Likewise.
16496 * sunrpc/rpcinfo.c: Likewise.
16497 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16498 * sunrpc/rpcsvc/key_prot.x: Likewise.
16499 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16500 * sunrpc/rpcsvc/mount.x: Likewise.
16501 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16502 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16503 * sunrpc/rpcsvc/rex.x: Likewise.
16504 * sunrpc/rpcsvc/rstat.x: Likewise.
16505 * sunrpc/rpcsvc/rusers.x: Likewise.
16506 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16507 * sunrpc/rpcsvc/spray.x: Likewise.
16508 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16509 * sunrpc/rtime.c: Likewise.
16510 * sunrpc/svc.c: Likewise.
16511 * sunrpc/svc_auth.c: Likewise.
16512 * sunrpc/svc_authux.c: Likewise.
16513 * sunrpc/svc_raw.c: Likewise.
16514 * sunrpc/svc_run.c: Likewise.
16515 * sunrpc/svc_simple.c: Likewise.
16516 * sunrpc/svc_tcp.c: Likewise.
16517 * sunrpc/svc_udp.c: Likewise.
16518 * sunrpc/svc_unix.c: Likewise.
16519 * sunrpc/svcauth_des.c: Likewise.
16520 * sunrpc/xcrypt.c: Likewise.
16521 * sunrpc/xdr.c: Likewise.
16522 * sunrpc/xdr_array.c: Likewise.
16523 * sunrpc/xdr_float.c: Likewise.
16524 * sunrpc/xdr_mem.c: Likewise.
16525 * sunrpc/xdr_rec.c: Likewise.
16526 * sunrpc/xdr_ref.c: Likewise.
16527 * sunrpc/xdr_sizeof.c: Likewise.
16528 * sunrpc/xdr_stdio.c: Likewise.
16529
16530 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16531 handling.
16532
16533 2010-08-19 Andreas Schwab <schwab@redhat.com>
16534
16535 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16536
16537 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
16538
16539 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16540 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16541 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16542 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16543 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16544 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16545 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16546 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16547 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16548 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16549 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16550 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16551 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16552 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16553
16554 2010-07-26 Anton Blanchard <anton@samba.org>
16555
16556 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16557 * malloc/arena.c (heap_trim): Likewise.
16558
16559 2010-08-16 Ulrich Drepper <drepper@redhat.com>
16560
16561 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16562 here. Not...
16563 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16564 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16565
16566 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16567
16568 * sysdeps/i386/elf/Makefile: New file.
16569
16570 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16571
16572 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16573 from fanotify_init.
16574 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16575 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16576
16577 2010-08-15 Ulrich Drepper <drepper@redhat.com>
16578
16579 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16580 of strncasecmp_l.
16581 * sysdeps/multiarch/strcmp.S: Likewise.
16582
16583 2010-08-14 Ulrich Drepper <drepper@redhat.com>
16584
16585 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16586 strncase_l-nonascii.
16587 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16588 Add strncase_l-ssse3.
16589 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16590 * sysdeps/x86_64/strcmp.S: Likewise.
16591 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16592 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16593 * sysdeps/x86_64/strncase.S: New file.
16594 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16595 * sysdeps/x86_64/strncase_l.S: New file.
16596 * string/Makefile (strop-tests): Add strncasecmp.
16597 * string/test-strncasecmp.c: New file.
16598
16599 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16600 warning.
16601
16602 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16603 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16604
16605 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16606
16607 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16608
16609 2010-08-12 Ulrich Drepper <drepper@redhat.com>
16610
16611 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16612 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16613 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16614
16615 2010-05-01 Alan Modra <amodra@gmail.com>
16616
16617 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16618 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16619 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16620 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16621 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16622 tidying. Don't tail-call __sigjmp_save for static lib.
16623 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16624 save location.
16625 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16626 (CALL_MCOUNT): Add eh info, and nop after bl.
16627 (TAIL_CALL_SYSCALL_ERROR): New macro.
16628 (PSEUDO_RET): Use it.
16629 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16630 Correct save location of integer regs and cr.
16631 (_dl_profile_resolve): Correct cr save location. Delete nops
16632 after bl when SHARED. Reduce cfi size a little by better
16633 placement of cfi directives.
16634 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16635 make a stack frame. Instead use parm save area as a temp.
16636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16637 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16639 Don't make a stack frame for parent, use parm save area.
16640 Increase child stack frame to 112 bytes. Don't save unused reg,
16641 and adjust reg usage. Set up cfi on error recovery and
16642 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16644 (__makecontext): Add dummy nop after jump to exit.
16645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16646 Use correct parm save area and cr save, reduce stack frame.
16647 Correct cfi for possible PSEUDO_RET frame setup.
16648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16649 Branch to local label emitted by PSEUDO_RET rather than
16650 __syscall_error.
16651
16652 2010-08-12 Andreas Schwab <schwab@redhat.com>
16653
16654 [BZ #11904]
16655 * locale/programs/locale.c (print_assignment): New function.
16656 (show_locale_vars): Use it.
16657
16658 2010-08-11 Ulrich Drepper <drepper@redhat.com>
16659
16660 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16661 field.
16662 (struct statfs64): Likewise.
16663 (_STATFS_F_FLAGS): Define.
16664 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16665 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16666 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16667 (ST_VALID): Define locally.
16668 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16669 __statvfs_getflags, use the provided value.
16670 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16671 __ASSUME_STATFS_F_FLAGS.
16672
16673 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16674
16675 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16676 Add sys/fanotify.h.
16677 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16678 fanotify_mask for GLIBC_2.13.
16679 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16680 fanotify_init and fanotify_mark.
16681 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16682 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16683
16684 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16685 Add prlimit.
16686 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16687 prlimit64 for GLIBC_2.13.
16688 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16689 prlimit64.
16690 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16691 syscall.
16692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16693 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16694 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16695 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16696 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16697 add prlimit alias.
16698 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16699
16700 [BZ #11903]
16701 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16702 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16703
16704 * nss/Makefile: Add rules to build and run tst-nss-test1.
16705 * shlib-versions: Add entry for libnss_test1.
16706 * nss/nss_test1.c: New file.
16707 * nss/tst-nss-test1.c: New file.
16708
16709 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16710 (__nss_configure_lookup): Set appropriate entry in
16711 __nss_configure_lookup to true.
16712 * nss/nsswitch.h: Define enum with indeces of databases in
16713 databases and __nss_database_custom arrays. Declare
16714 __nss_database_custom.
16715 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16716 to avoid using nscd when custom rules are installed.
16717 * nss/getXXbyYY_r.c: Likewise.
16718 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16719
16720 * nss/nss_files/files-parse.c: Whitespace fixes.
16721
16722 2010-08-09 Ulrich Drepper <drepper@redhat.com>
16723
16724 [BZ #11883]
16725 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16726 * posix/fnmatch_loop.c: Likewise.
16727
16728 2010-07-17 Andi Kleen <ak@linux.intel.com>
16729
16730 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16731 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16732 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16733 * Versions.def [GLIBC_2.13]: Add.
16734
16735 2010-08-06 Ulrich Drepper <drepper@redhat.com>
16736
16737 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16738 Also fail if tpwd after pwuid call is NULL.
16739
16740 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16741
16742 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16743 when converting to ms.
16744
16745 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16746
16747 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16748 EOPNOTSUPP errors with ENOTTY.
16749 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16750 EOPNOTSUPP errors with ENOTTY.
16751
16752 2010-07-31 Ulrich Drepper <drepper@redhat.com>
16753
16754 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16755 Add strcasecmp_l-ssse3.
16756 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16757 strcasecmp.
16758 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16759 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16760 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16761
16762 2010-07-30 Ulrich Drepper <drepper@redhat.com>
16763
16764 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16765
16766 * string/Makefile (strop-tests): Add strcasecmp.
16767 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16768 strcasecmp_l-nonascii.
16769 (gen-as-const-headers): Add locale-defines.sym.
16770 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16771 * sysdeps/x86_64/strcasecmp.S: New file.
16772 * sysdeps/x86_64/strcasecmp_l.S: New file.
16773 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16774 * sysdeps/x86_64/locale-defines.sym: New file.
16775 * string/test-strcasecmp.c: New file.
16776
16777 * string/test-strcasestr.c: Test both ends of the range of characters.
16778 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16779
16780 2010-07-29 Roland McGrath <roland@redhat.com>
16781
16782 [BZ #11856]
16783 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16784
16785 2010-07-27 Ulrich Drepper <drepper@redhat.com>
16786
16787 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16788 for ld.so.
16789
16790 2010-07-27 Andreas Schwab <schwab@redhat.com>
16791
16792 * manual/memory.texi (Malloc Tunable Parameters): Document
16793 M_PERTURB.
16794
16795 2010-07-26 Roland McGrath <roland@redhat.com>
16796
16797 [BZ #11840]
16798 * configure.in (-fgnu89-inline check): Set and substitute
16799 gnu89_inline, not libc_cv_gnu89_inline.
16800 * configure: Regenerated.
16801 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16802
16803 2010-07-26 Ulrich Drepper <drepper@redhat.com>
16804
16805 * string/test-strnlen.c: New file.
16806 * string/Makefile (strop-tests): Add strnlen.
16807 * string/tester.c (test_strnlen): Add a few more test cases.
16808 * string/tst-strlen.c: Better error reporting.
16809
16810 * sysdeps/x86_64/strnlen.S: New file.
16811
16812 2010-07-24 Ulrich Drepper <drepper@redhat.com>
16813
16814 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16815 lower-latency instructions.
16816
16817 2010-07-23 Ulrich Drepper <drepper@redhat.com>
16818
16819 * string/test-strcasestr.c: New file.
16820 * string/test-strstr.c: New file.
16821 * string/Makefile (strop-tests): Add strstr and strcasestr.
16822 * string/str-two-way.h: Don't undefine MAX.
16823 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16824
16825 2010-07-21 Andreas Schwab <schwab@redhat.com>
16826
16827 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16828 strcasestr-nonascii.
16829 (CFLAGS-strcasestr-nonascii.c): Define.
16830 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16831 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16832 Remove unused attribute.
16833
16834 2010-07-20 Roland McGrath <roland@redhat.com>
16835
16836 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16837 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16838 ld.so.cache was broken. With it, there is no way to disable dsocaps
16839 like LD_HWCAP_MASK can disable hwcaps.
16840
16841 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16842
16843 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16844
16845 2010-07-16 Ulrich Drepper <drepper@redhat.com>
16846
16847 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16848 call in strcasestr.
16849 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16850 __strcasestr_sse42_nonascii.
16851 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16852 strcasestr-nonascii.c.
16853 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16854
16855 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
16856
16857 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16858 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16859 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16860 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16861
16862 2010-07-09 Ulrich Drepper <drepper@redhat.com>
16863
16864 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16865 fcntl.
16866
16867 2010-07-06 Andreas Schwab <schwab@redhat.com>
16868
16869 [BZ #11577]
16870 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16871 dl_signal_cerror.
16872
16873 2010-07-06 Ulrich Drepper <drepper@redhat.com>
16874
16875 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16876 _PC_PIPE_BUF using F_GETPIPE_SZ.
16877
16878 2010-07-05 Roland McGrath <roland@redhat.com>
16879
16880 * manual/arith.texi (Rounding Functions): Fix rint description
16881 implicit in round description.
16882
16883 2010-07-02 Ulrich Drepper <drepper@redhat.com>
16884
16885 * elf/Makefile: Fix linking for a few tests to make recent linker
16886 happy.
16887
16888 2010-06-30 Andreas Schwab <schwab@redhat.com>
16889
16890 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16891 $(common-objpfx)libc_nonshared.a.
16892
16893 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
16894
16895 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16896 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16897 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16898 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16899 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16900 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16901 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16902 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16917 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16918 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16919 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16920 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16921 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16922 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16923 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16924 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16925 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16926 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16927 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16928 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16943
16944 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16945
16946 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16947 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16948 * string/memmove.c (memmove): Renamed to ...
16949 (MEMMOVE): ...this. Default to memmove.
16950 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16951 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16952 (END_CHK): Define.
16953 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16954 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16955 mempcpy-ssse3-back memmove-ssse3-back.
16956 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16957 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16958 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16959 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16960 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16961 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16962 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16963 * sysdeps/x86_64/multiarch/memmove.c: New file.
16964 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16965 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16966 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16967 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16968 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16969 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16970 Define.
16971 (index_Fast_Copy_Backward): Define.
16972 (HAS_ARCH_FEATURE): Define.
16973 (HAS_FAST_REP_STRING): Define.
16974 (HAS_FAST_COPY_BACKWARD): Define.
16975
16976 2010-06-21 Andreas Schwab <schwab@redhat.com>
16977
16978 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16979 Restore proper fallback handling.
16980
16981 2010-06-19 Ulrich Drepper <drepper@redhat.com>
16982
16983 [BZ #11701]
16984 * posix/group_member.c (__group_member): Correct checking loop.
16985
16986 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16987 OOM in getpwuid_r correctly. Return error number when the caller
16988 should return, otherwise -1.
16989 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16990 call returning > 0 value.
16991 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16992
16993 2010-06-07 Andreas Schwab <schwab@redhat.com>
16994
16995 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16996 libc_nonshared.a from targets in modules-names.
16997
16998 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16999
17000 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17001 requires it.
17002
17003 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
17004
17005 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17006 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17007 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17008 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17009
17010 2010-06-02 Andreas Schwab <schwab@redhat.com>
17011
17012 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17013
17014 2010-06-14 Ulrich Drepper <drepper@redhat.com>
17015
17016 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17017 and F_GETPIPE_SZ.
17018 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17019 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17020 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17021 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17022 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17023 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17024
17025 2010-06-14 Roland McGrath <roland@redhat.com>
17026
17027 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17028
17029 2010-06-07 Jakub Jelinek <jakub@redhat.com>
17030
17031 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17032 __REDIRECT followed by __THROW.
17033 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17034 * posix/getopt.h (getopt): Likewise.
17035
17036 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17037
17038 * hurd/lookup-at.c (__file_name_lookup_at): Accept
17039 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
17040 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17041 in AT_FLAGS.
17042 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17043 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17044
17045 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
17046
17047 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17048
17049 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
17050
17051 [BZ #11640]
17052 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17053 Properly check family and model.
17054
17055 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
17056
17057 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17058
17059 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
17060
17061 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17062
17063 2010-05-21 Ulrich Drepper <drepper@redhat.com>
17064
17065 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17066 symbol reference.
17067
17068 2010-05-19 Andreas Schwab <schwab@redhat.com>
17069
17070 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17071 symbol reference.
17072
17073 2010-05-21 Andreas Schwab <schwab@redhat.com>
17074
17075 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17076 and internal_recvmmsg.
17077 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17078 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17079 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17080 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17081
17082 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17083 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17084 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17085
17086 2010-05-20 Andreas Schwab <schwab@redhat.com>
17087
17088 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17089
17090 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
17091
17092 POWER7 optimizations.
17093 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17094 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17095
17096 2010-05-19 Ulrich Drepper <drepper@redhat.com>
17097
17098 * version.h: Update for 2.13 development version.
17099
17100 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
17101
17102 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17103 exceptions. Return 0.
17104
17105 2010-05-07 Roland McGrath <roland@redhat.com>
17106
17107 * elf/ldconfig.c (main): Add a const.
17108
17109 2010-05-06 Ulrich Drepper <drepper@redhat.com>
17110
17111 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17112 (args_options): Add no-idn option.
17113 (ahosts_keys_int): Add idn_flags to ai_flags.
17114 (parse_option): Handle 'i' option to clear idn_flags.
17115
17116 * malloc/malloc.c (_int_free): Possible race in the most recently
17117 added check. Only act on the data if no current modification
17118 happened.
17119
17120 See ChangeLog.17 for earlier changes.
This page took 0.822638 seconds and 4 git commands to generate.