]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Avoid duplicate DNS requests if answer is longer than a implementation
[thirdparty/glibc.git] / ChangeLog
1 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2
3 [BZ #14307]
4 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5 the temporary buffer used to invoke __gethostbyname2_r,
6 __gethostbyaddr_r and gethostbyname4_r to make room for struct
7 host_data / struct gaih_addrtuple.
8 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10 header file nss/nsswitch.h.
11 * nss/nsswitch.h (global scope): Add definition of implementation
12 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
13 resolv/nss_dns/dns-host.c).
14
15 2012-07-11 Andreas Jaeger <aj@suse.de>
16
17 * po/fr.po: Update from translation team.
18
19 * po/sv.po: Update from translation team
20 * po/fr.po: Another update from translation team.
21
22 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23
24 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25 for subnormals or multiply small sinh result by itself.
26 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28
29 2012-07-11 David S. Miller <davem@davemloft.net>
30
31 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32
33 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
34
35 [BZ #14347]
36 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37 (INTERNAL_MARK): Shift it here.
38
39 2012-07-10 Marek Polacek <polacek@redhat.com>
40
41 [BZ #14151]
42 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
43 libc_cv_asm_global_directive with .globl.
44 * configure: Regenerated.
45 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
46 with .globl.
47 * sysdeps/i386/configure: Regenerated.
48 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
49 with .globl.
50 * sysdeps/x86_64/configure: Regenerated.
51 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
52 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
53 * elf/tst-unique2mod2.c: Likewise.
54 * elf/tst-unique2mod1.c: Likewise.
55 * elf/tst-unique1mod2.c: Likewise.
56 * elf/tst-unique1mod1.c: Likewise.
57 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
59 * sysdeps/s390/s390-64/sysdep.h: Likewise.
60 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61 * sysdeps/mach/sysdep.h: Likewise.
62 * sysdeps/i386/sysdep.h: Likewise.
63 * sysdeps/i386/i386-mcount.S: Likewise.
64 * sysdeps/x86_64/_mcount.S: Likewise.
65 * sysdeps/x86_64/sysdep.h: Likewise.
66 * sysdeps/sh/_mcount.S: Likewise.
67 * sysdeps/sh/sysdep.h: Likewise.
68 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
69 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
70 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
71 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
73 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
74 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
75 * locale/localeinfo.h: Likewise.
76 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
77 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
78
79 2012-07-09 Roland McGrath <roland@hack.frob.com>
80
81 [BZ #14336]
82 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
83 system".
84 * manual/message.texi (The Uniforum approach): Likewise.
85 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
86 (glibc iconv Implementation): Likewise.
87
88 2012-07-09 Joseph Myers <joseph@codesourcery.com>
89
90 [BZ #14337]
91 * math/s_clog.c (__clog): Avoid scaling a value down where that
92 could result in underflow.
93 * math/s_clog10.c (__clog10): Likewise.
94 * math/s_clog10f.c (__clog10f): Likewise.
95 * math/s_clog10l.c (__clog10l): Likewise.
96 * math/s_clogf.c (__clogf): Likewise.
97 * math/s_clogl.c (__clogl): Likewise.
98 * math/libm-test.inc (clog_test): Add more tests.
99 (clog10_test): Likewise.
100 * sysdeps/i386/fpu/libm-test-ulps: Update.
101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
102
103 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
104
105 [BZ #14283]
106 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
107 by 7 not 8 to examine high bit of fractional part.
108
109 [BZ #14042]
110 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
111 for call to __mcount_internal.
112 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
113 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
114 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
115
116 2012-07-06 Joseph Myers <joseph@codesourcery.com>
117
118 [BZ #14154]
119 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
120 approximation for values within 0x1p-13f of an odd multiple of
121 pi/4.
122 * math/libm-test.inc (tan_test): Do not allow spurious underflow
123 exception. Add more tests.
124 * sysdeps/i386/fpu/libm-test-ulps: Update.
125
126 [BZ #6778]
127 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
128 inputs and return -1 for them. Do not check for +Inf in case not
129 reachable for +Inf.
130 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
131 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
132 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
133 and return -1 for them. Do not check for +Inf in case not
134 reachable for +Inf.
135 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
136 define.
137 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
138 and return -1 for them. Do not check for +Inf in case not
139 reachable for +Inf.
140 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
141 spurious underflow.
142 * sysdeps/i386/fpu/libm-test-ulps: Update.
143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
144
145 2012-07-06 Mike Frysinger <vapier@gentoo.org>
146
147 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
148
149 2012-07-05 Joseph Myers <joseph@codesourcery.com>
150
151 [BZ #14157]
152 [BZ #14331]
153 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
154 could result in spurious underflow. Scale down values above
155 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
156 * math/s_csqrtf.c (__csqrtf): Likewise.
157 * math/s_csqrtl.c (__csqrtl): Likewise.
158 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
159 spurious underflow.
160 * sysdeps/i386/fpu/libm-test-ulps: Update.
161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
162
163 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
164
165 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
166 xopen-msg.sed.
167 * catgets/xopen-msg.awk: New file.
168 * catgets/xopen-msg.sed: Removed.
169
170 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
171 po2text.sed.
172 * intl/po2test.awk: New file.
173 * intl/po2test.sed: Removed.
174
175 2012-07-04 Joseph Myers <joseph@codesourcery.com>
176
177 [BZ #14328]
178 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
179 or multiply small sinh result by itself.
180 * math/s_ctanf.c (__ctanf): Likewise.
181 * math/s_ctanh.c (__ctanh): Likewise.
182 * math/s_ctanhf.c (__ctanhf): Likewise.
183 * math/s_ctanhl.c (__ctanhl): Likewise.
184 * math/s_ctanl.c (__ctanl): Likewise.
185 * math/libm-test.inc (ctan_test_tonearest): New function.
186 (ctan_test_towardzero): Likewise.
187 (ctan_test_downward): Likewise.
188 (ctan_test_upward): Likewise.
189 (ctanh_test_tonearest): Likewise.
190 (ctanh_test_towardzero): Likewise.
191 (ctanh_test_downward): Likewise.
192 (ctanh_test_upward): Likewise.
193 (main): Call these new functions.
194 * sysdeps/i386/fpu/libm-test-ulps: Update.
195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
196
197 2012-07-03 Mike Frysinger <vapier@gentoo.org>
198
199 * .gitignore: Delete /ports entry.
200
201 2012-07-03 Andreas Jaeger <aj@suse.de>
202
203 * po/bg.po: Update from translation team.
204 * po/cs.po: Likewise.
205 * po/de.po: Likewise.
206 * po/hr.po: Likewise.
207 * po/nl.pl: Likewise.
208 * po/pl.po: Likewise.
209 * po/vi.po: Likewise.
210
211 2012-07-03 Joseph Myers <joseph@codesourcery.com>
212
213 * Makeconfig [!+link] (+link-before-libc): New variable.
214 [!+link] (+link-after-libc): Likewise.
215 [!+link] (+link-tests): Likewise.
216 [!+link] (+link): Define in terms of $(+link-before-libc) and
217 $(+link-after-libc).
218 [!+link-static] (+link-static-before-libc): New variable.
219 [!+link-static] (+link-static-after-libc): Likewise.
220 [!+link-static] (+link-static-tests): Likewise.
221 [!+link-static] (+link-static): Define in terms of
222 $(+link-static-before-libc) and $(+link-static-after-libc).
223 [build-shared] (link-libc-before-gnulib): New variable.
224 [build-shared] (link-libc-tests): Likewise.
225 [build-shared] (link-libc): Define in terms of
226 $(link-libc-before-gnulib).
227 [!build-shared] (link-libc-tests): New variable.
228 (link-libc-static-tests): New variable.
229 [!gnulib] (gnulib-arch): New variable.
230 [!gnulib] (gnulib-tests): Likewise.
231 [!gnulib] (static-gnulib-arch): Likewise.
232 [!gnulib] (static-gnulib-tests): Likewise.
233 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
234 Define with "=" instead of ":=".
235 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
236 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
237 * Rules (binaries-all-notests): New variable.
238 (binaries-all-tests): Likewise.
239 (binaries-static-notests): Likewise.
240 (binaries-static-tests): Likewise.
241 (binaries-all): Define using $(binaries-all-notests) and
242 $(binaries-all-tests).
243 (binaries-static): Define using $(binaries-static-notests) and
244 $(binaries-static-tests).
245 (binaries-shared-tests): New variable.
246 (binaries-shared-notests): Likewise.
247 (binaries-shared): Remove variable.
248 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
249 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
250 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
251 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
252 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
253 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
254 * elf/Makefile (sln-modules): New variable.
255 (extra-objs): Add $(sln-modules:=.o).
256 (ldconfig-modules): Add static-stubs.
257 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
258 * elf/static-stubs.c: New file.
259
260 [BZ #14283]
261 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
262 by 7 not 8 to examine high bit of fractional part. Use volatile
263 variables when splitting into final array of floats if
264 __FLT_EVAL_METHOD__ != 0.
265 * math/libm-test.inc (cos_test): Add another test.
266 (sin_test): Likewise.
267 * sysdeps/i386/fpu/libm-test-ulps: Update.
268
269 [BZ #14273]
270 * math/libm-test.inc (cosh_test): Add more tests.
271
272 * version.h (RELEASE): Set to "development".
273 (VERSION): Set to "2.16.90".
274
275 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
276
277 * NEWS: Update copyright. Remove last-updated date.
278 Mention math library bug fixes and timezone data changes.
279 * README: Mention GNU/Hurd, x32, and HPPA support status.
280
281 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
282
283 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
284
285 2012-06-27 Andreas Jaeger <aj@suse.de>
286
287 * manual/contrib.texi (Contributors): Add Samuel Thibault.
288
289 2012-06-25 Andreas Jaeger <aj@suse.de>
290
291 * sysdeps/s390/fpu/libm-test-ulps: Update.
292
293 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
294 Thomas Schwinge <thomas@codesourcery.com>
295
296 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
297 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
298 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
299 fanotify_mark.
300
301 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
302
303 * sysdeps/mach/start.c: Remove file.
304 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
305 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
306 * sysdeps/sh/init-first.c: Likewise.
307
308 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
309 registers for frame unwinding purposes, add CFI directives.
310 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
311 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
312 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
313 Likewise.
314
315 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
316 __fortify_fail returning.
317 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
318
319 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
320 sysdeps/sh/____longjmp_chk.S.
321 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
322 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
323 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
324 (gen-as-const-headers): Append sigaltstack-offsets.sym.
325
326 * sysdeps/sh/abort-instr.h: New file.
327 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
328 process in case exit returns.
329
330 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
331 initialize the GOT register before use.
332
333 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
334 calculation of ARGC > 4.
335
336 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
337 meaningful names to some local labels.
338
339 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
340 Kaz Kojima <kkojima@rr.iij4u.or.jp>
341
342 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
343 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
344 (__arch_compare_and_exchange_val_16_acq): Likewise.
345 (__arch_compare_and_exchange_val_32_acq): Likewise.
346 (atomic_exchange_and_add): Fix gUSA sequence.
347 (atomic_add): Likewise.
348 (atomic_add_negative): Likewise.
349 (atomic_add_zero): Likewise.
350 (atomic_bit_test_set): Likewise.
351
352 2012-06-22 Andreas Schwab <schwab@redhat.com>
353
354 [BZ #13579]
355 * include/link.h (struct link_map): Add l_free_initfini.
356 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
357 l_initfini.
358 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
359 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
360 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
361 set.
362
363 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
364
365 * configure.in: Use AC_LANG_SOURCE.
366 * configure: Regenerate.
367
368 2012-06-22 Roland McGrath <roland@hack.frob.com>
369
370 * configure.in (libc_cv_localstatedir): New substituted variable.
371 * configure: Regenerated.
372 * config.make.in (localstatedir): New variable, substituted from
373 libc_cv_localstatedir.
374 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
375 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
376 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
377 * sysdeps/gnu/configure: Regenerated.
378
379 2012-06-21 Jeff Law <law@redhat.com>
380
381 [BZ #14277]
382 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
383 free. Simplify list management for _LIBC case.
384
385 2012-06-21 Joseph Myers <joseph@codesourcery.com>
386
387 [BZ #14273]
388 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
389 Clear sign bit of 64-bit integer value before comparing against
390 overflow value.
391
392 * sysdeps/mach/configure: Regenerated.
393
394 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
395
396 [BZ #14278]
397 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
398
399 2012-06-21 Jeff Law <law@redhat.com>
400
401 [BZ #13882]
402 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
403 uint16_t for elements in the "seen" array to avoid char overflows.
404 * elf/dl-fini.c (_dl_sort_fini): Likewise.
405 * elf/dl-open.c (dl_open_worker): Likewise.
406
407 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
408
409 * scripts/list-sources.sh: Scan PORTS for translations.
410 * po/libc.pot: Regenerated.
411
412 2012-06-21 Andreas Jaeger <aj@suse.de>
413
414 [BZ #12194]
415 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
416 warning.
417 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
418 * bits/byteswap-16.h (__bswap_16): Likewise.
419 * bits/byteswap.h (__bswap_constant_16): Likewise.
420
421 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
422
423 [BZ #14117]
424 * sysdeps/i386/fpu_control.h: Removed.
425 * sysdeps/x86_64/fpu_control.h: Moved to ...
426 * sysdeps/x86/fpu_control.h: Here.
427
428 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
429 (_FPU_SETCW): Likewise.
430
431 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
432
433 [BZ #14117]
434 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
435 * sysdeps/x86/fpu/bits/mathinline.h: This.
436 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
437
438 [BZ #14050]
439 [BZ #14117]
440 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
441 functions if __x86_64__ is defined.
442
443 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
444
445 * string/endian.h: Add !__ASSEMBLER__ condition for including
446 conversion interfaces.
447
448 2012-06-15 Joseph Myers <joseph@codesourcery.com>
449
450 [BZ #14241]
451 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
452 of ABS(x) in calculating zero to negative powers other than odd
453 integers.
454 * math/libm-test.inc (pow_test): Add more tests.
455
456 2012-06-15 Andreas Jaeger <aj@suse.de>
457
458 * manual/contrib.texi (Contributors): Update entry of Liubov
459 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
460 Machado Filho.
461
462 2012-06-15 Cyril Hrubis <metan@ucw.cz>
463
464 * string/string.h: Add __wur to GNU version of strerror_r.
465
466 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
467
468 [BZ #14229]
469 * string/Makefile (tests): Add tst-strtok_r.
470 * string/tst-strtok_r.c: New file.
471 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
472 RAX_LP/RDX_LP on SAVE_PTR.
473
474 2012-06-14 Roland McGrath <roland@hack.frob.com>
475
476 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
477
478 2012-06-14 Joseph Myers <joseph@codesourcery.com>
479
480 * libm_test.inc (csqrt_test): Allow more spurious underflow
481 exceptions.
482 (j0_test): Likewise.
483 (j1_test): Likewise.
484 (y0_test): Likewise.
485 (y1_test): Likewise.
486
487 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
488
489 * po/Makefile (libc.pot): Use UTF-8 charset.
490
491 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
492
493 [BZ #14210]
494 Suppress sign-conversion warning from FD_SET.
495 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
496 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
497 not unsigned long int.
498 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
499
500 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
501
502 [BZ #14050]
503 [BZ #14117]
504 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
505 __extern_always_inline instead of __extern_inline.
506 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
507 (__signbit): Likewise.
508 (__signbitl): Support C++ namespace.
509 (lrintf): New inline function.
510 (lrint): Likewise.
511 (llrintf): Likewise.
512 (llrint): Likewise.
513 (fmaxf): Likewise.
514 (fmax): Likewise.
515 (fminf): Likewise.
516 (fmin): Likewise.
517 (rint): Likewise.
518 (rintf): Likewise.
519 (ceil): Likewise.
520 (ceilf): Likewise.
521 (floor): Likewise.
522 (floorf): Likewise.
523 (nearbyint): Likewise.
524 (nearbyintf): Likewise.
525
526 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
527
528 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
529 non-default versions.
530
531 2012-06-11 Roland McGrath <roland@hack.frob.com>
532
533 [BZ #14218]
534 * manual/argp.texi (Argp): Reword argp_parse description slightly.
535
536 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
537
538 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
539 (FE_UPWARD, FE_DOWNWARD): Don't define.
540 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
541 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
542
543 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
544 reading it.
545 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
546 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
547
548 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
549
550 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
551 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
552 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
553 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
554
555 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
556
557 [BZ #14117]
558 * sysdeps/i386/fpu/bits/fenv.h: Removed.
559 * sysdeps/i386/fpu/Implies: New file.
560 * sysdeps/x86_64/fpu/Implies: Likewise.
561 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
562 * sysdeps/x86/fpu/bits/fenv.h: This.
563
564 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
565 __SSE_MATH__.
566
567 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
568
569 [BZ #14134]
570 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
571 character 0xffff that matches the last element of the
572 conversion table.
573
574 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
575
576 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
577 fmodl commit.
578
579 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
580
581 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
582 values higher than 25.6283.
583
584 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
585
586 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
587 subnormal exponent extraction and add some __builtin_expect.
588 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
589 Fix for subnormal mantissa calculation.
590
591 2012-06-04 Mike Frysinger <vapier@gentoo.org>
592
593 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
594 cpu2 is -1 and errno is not ENOSYS.
595
596 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
597
598 [BZ #14117]
599 * sysdeps/i386/i486/bits/string.h: Renamed to ...
600 * sysdeps/x86/bits/string.h: This.
601 * sysdeps/x86_64/bits/string.h: Removed.
602
603 * sysdeps/i386/i486/bits/string.h: Define inline functions only
604 if not compiling for x86-64, but compiling for >= i486.
605
606 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
607 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
608
609 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
610 New macro from Linux kernel 3.4.0.
611 (FP_XSTATE_MAGIC2): Likewise.
612 (FP_XSTATE_MAGIC2_SIZE): Likewise.
613 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
614 (struct _fpx_sw_bytes): New struct.
615 (struct _xsave_hdr): Likewise.
616 (struct _ymmh_state): Likewise.
617 (struct _xstate): Likewise.
618
619 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
620 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
621 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
622 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
623 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
624 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
625
626 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
627 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
628 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
629 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
630 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
631 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
632
633 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
634
635 [BZ #13743]
636 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
637 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
638 (sysdep_headers): Include sys/platform/ppc.h.
639 * sysdeps/powerpc/test-gettimebase.c: Test for
640 __ppc_get_timebase() to catch future ISA opcode/insn changes.
641 * manual/Makefile (appendices): Include platform.texi.
642 * manual/contrib.texi (Contributors): Update @node pointers.
643 * manual/maint.texi (Maintenance): Likewise.
644 (Platform): New node.
645 * manual/platform.texi: New file. Document the new features.
646
647 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
648 Jakub Jelinek <jakub@redhat.com>
649
650 [BZ #14188]
651 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
652 where __builtin_expect is unavailable.
653
654 2012-06-03 David S. Miller <davem@davemloft.net>
655
656 * stdlib/longlong.h: Updated from GCC.
657
658 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
659
660 [BZ #14042]
661 * sysdeps/powerpc/powerpc32/mcount.c: New file.
662 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
663 __mcount_internal.
664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
665 (GLIBC_2.16): Likewise.
666
667 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
668
669 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
670
671 2012-06-01 Joseph Myers <joseph@codesourcery.com>
672
673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
674 (default-abi): New variable.
675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
676 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
677 variable.
678 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
679 Likewise.
680 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
681 Likewise.
682 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
683 Likewise.
684
685 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
686 definition. Document in comment.
687
688 2012-06-01 David S. Miller <davem@davemloft.net>
689
690 * stdlib/longlong.h: Updated from GCC.
691
692 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
693
694 [BZ #14117]
695 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
696 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
697 sys/debugreg.h sys/io.h here.
698 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
699 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
700 sys/io.h.
701 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
702 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
703 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
704 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
705 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
706 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
707
708 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
709 Define only if __x86_64__ is defined.
710
711 2012-06-01 Joseph Myers <joseph@codesourcery.com>
712
713 [BZ #14048]
714 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
715 Use int64_t for variable i.
716 * math/libm-test.inc (fmod_test): Add more tests.
717
718 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
719 z computation is not scheduled after fetestexcept.
720 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
721 Use math_force_eval instead of asm to ensure calculation scheduled
722 before exception test.
723 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
724 Ensure a1 + u.d computation is not scheduled after fetestexcept.
725
726 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
727
728 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
729 computation is not scheduled after fetestexcept.
730
731 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
732
733 [BZ #14117]
734 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
735 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
736
737 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
738
739 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
740 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
741
742 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
743
744 [BZ #14117]
745 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
746 <bits/wordsize.h>.
747 (__WCHAR_MIN): Support __WORDSIZE == 64.
748 (__WCHAR_MAX): Likewise.
749
750 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
751 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
752
753 [BZ #14183]
754 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
755 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
756
757 [BZ #14117]
758 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
759 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
760
761 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
762 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
763
764 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
765 Defined to 1 if __x86_64__ isn't defined.
766 (_STAT_VER_LINUX_OLD): New.
767 (st_atime): Remove duplicate.
768 (st_mtime): Likewise.
769 (st_ctime): Likewise.
770
771 2012-05-31 David S. Miller <davem@davemloft.net>
772
773 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
774 entries.
775
776 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
777
778 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
779 gen-libm-test.pl.
780
781 [BZ #14132]
782 * elf/dl-reloc.c: Include <_itoa.h>.
783 (_dl_reloc_bad_type): Remove use of INTUSE.
784 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
785 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
786 * stdio-common/psiginfo.c (psiginfo): Likewise.
787 * stdio-common/psignal.c (psignal): Likewise.
788 * string/strsignal.c (strsignal): Likewise.
789 * include/signal.h (_sys_siglist): Declare hidden proto.
790 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
791 INTVARDEF with libc_hidden_data_def.
792 * stdio-common/itoa-udigits.c: Likewise.
793 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
794 (_itoa_lower_digits_internal): Remove declaration.
795 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
796 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
797 (_sys_sigabbrev_internal): Remove aliases.
798 (_sys_siglist): Define hidden alias.
799
800 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
801
802 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
803 bits/sysctl.h.
804
805 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
806
807 [BZ #14117]
808 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
809 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
810
811 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
812 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
813 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
814 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
815 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
816 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
817
818 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
819 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
820 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
821
822 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
823 with __addr.
824 (insw): Likewise.
825 (insl): Likewise.
826 (outsb): Likewise.
827 (outsw): Likewise.
828 (outsl): Likewise.
829
830 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
831 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
832 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
833
834 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
835 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
836 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
837 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
838 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
839 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
840
841 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
842 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
843
844 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
845 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
846
847 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
848 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
849 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
850
851 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
852 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
853 to ...
854 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
855
856 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
857 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
858 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
859
860 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
861 for x86-64.
862 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
863
864 2012-05-31 Joseph Myers <joseph@codesourcery.com>
865
866 * math/math.h (M_El): Use two more decimal places.
867 (M_LOG2El): Likewise.
868 (M_LOG10El): Likewise.
869 (M_LN2l): Likewise.
870 (M_LN10l): Likewise.
871 (M_PIl): Likewise.
872 (M_PI_2l): Likewise.
873 (M_PI_4l): Likewise.
874 (M_1_PIl): Likewise.
875 (M_2_PIl): Likewise.
876 (M_2_SQRTPIl): Likewise.
877 (M_SQRT2l): Likewise.
878 (M_SQRT1_2l): Likewise.
879
880 2012-05-31 David S. Miller <davem@davemloft.net>
881
882 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
883 values between float registers.
884 * sysdeps/sparc/sparc64/memset.S: Likewise.
885 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
886
887 2012-05-31 Mike Frysinger <vapier@gentoo.org>
888
889 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
890 -D_FORTIFY_SOURCE=1.
891 (CPPFLAGS-tst-longjmp_chk.c): Define.
892 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
893 (CPPFLAGS-tst-longjmp_chk2.c): Define.
894 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
895 CFLAGS-tst-wchar-h.c.
896
897 2012-05-31 Marek Polacek <polacek@redhat.com>
898
899 [BZ #14132]
900 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
901 __endmntent_internal): Remove declaration.
902 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
903 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
904 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
905
906 2012-05-30 David S. Miller <davem@davemloft.net>
907
908 * sysdeps/sparc/sparc32/soft-fp/q_util.c
909 (___Q_simulate_exceptions): Use real FP ops rather than writing
910 into the %fsr.
911 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
912 Likewise.
913
914 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
915
916 [BZ #14117]
917 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
918 * sysdeps/x86/bits/xtitypes.h: This.
919
920 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
921 * sysdeps/x86/bits/wordsize.h: This.
922
923 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
924 * sysdeps/x86/bits/huge_vall.h: This.
925
926 * sysdeps/i386/bits/select.h: Removed.
927 * sysdeps/x86_64/bits/select.h: Renamed to ...
928 * sysdeps/x86/bits/select.h: This.
929
930 * sysdeps/i386/bits/setjmp.h: Removed.
931 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
932 * sysdeps/x86/bits/setjmp.h: This.
933
934 * sysdeps/i386/bits/mathdef.h: Removed.
935 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
936 * sysdeps/x86/bits/mathdef.h: This.
937
938 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
939
940 [BZ #14132]
941 * include/sys/socket.h (__connect_internal)
942 (__libc_sa_len_internal): Remove declaration.
943 (__connect, __libc_sa_len): Declare hidden_proto.
944 (SA_LEN): Remove use of INTUSE.
945 * socket/connect.c: Add libc_hidden_def.
946 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
947 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
948 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
949 alias.
950 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
951 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
952 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
953 of adding _internal alias.
954
955 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
956
957 [BZ #14117]
958 * sysdeps/i386/bits/link.h: Removed.
959 * sysdeps/i386/bits/linkmap.h: Likewise.
960 * sysdeps/x86_64/bits/link.h: Renamed to ...
961 * sysdeps/x86/bits/link.h: This.
962 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
963 * sysdeps/x86/bits/linkmap.h: This.
964
965 * sysdeps/i386/bits/endian.h: Removed.
966 * sysdeps/x86_64/bits/endian.h: Renamed to ...
967 * sysdeps/x86/bits/endian.h: This.
968
969 * sysdeps/i386/bits/byteswap.h: Removed.
970 * sysdeps/i386/bits/byteswap-16.h: Likewise.
971 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
972 * sysdeps/x86/bits/byteswap.h: This.
973 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
974 * sysdeps/x86/bits/byteswap-16.h: This.
975 * sysdeps/i386/Implies: Add x86.
976 * sysdeps/x86_64/Implies: Likewise.
977
978 2012-05-30 David S. Miller <davem@davemloft.net>
979
980 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
981 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
982 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
983 (FP_TRAPPING_EXCEPTIONS): Define.
984 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
985 (FP_TRAPPING_EXCEPTIONS): Define.
986 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
987 subnormals only when inexact has been signalled or underflow
988 exceptions are enabled.
989 (_FP_PACK_CANONICAL): Likewise.
990
991 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
992
993 [BZ #14183]
994 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
995 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
996
997 2012-05-30 Richard Henderson <rth@twiddle.net>
998
999 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1000 with #ifndef NOT_IN_libc.
1001
1002 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1003 marked to avoid plt entry.
1004
1005 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1006
1007 [BZ #14112]
1008 * Makeconfig (default-abi): New macro.
1009 (abi-includes): Likewise.
1010 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1011 $(abi-$(default-abi)-lib-soname) for soname if defined.
1012 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1013 abi-variants.
1014 * Makefile (installed-stubs): Likewise.
1015 * include/stubs-biarch.h: Removed.
1016 * scripts/lib-names.awk: Only handle one library at a time.
1017 * scripts/soversions.awk: Remove WORDSIZE support.
1018 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1019 entries.
1020 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1021 Removed.
1022 (syscall-list-default-condition): Likewise.
1023 (syscall-list-default-condition): Likewise.
1024 (syscall-list-includes): Likewise.
1025 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1026 syscall-list-* with abi-*. Handle undefined abi-variants.
1027 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1028 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1029 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1030 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1031 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1032 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1033 Removed.
1034 (syscall-list-32-options): Likewise.
1035 (syscall-list-32-condition): Likewise.
1036 (syscall-list-64-options): Likewise.
1037 (syscall-list-64-condition): Likewise.
1038 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1039 macro.
1040 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1041 Renamed to ...
1042 (abi-*): This.
1043 (abi-64-ld-soname): New macro.
1044 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1045 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1046 Renamed to ...
1047 (abi-*): This.
1048 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1049 * sysdeps/x86_64/x32/shlib-versions: Likewise.
1050
1051 2012-05-30 Joseph Myers <joseph@codesourcery.com>
1052
1053 * sysdeps/unix/sysv/linux/kernel-features.h
1054 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1055 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1056 include <kernel-features.h>.
1057 [!__NR_ftruncate64]: Remove conditional code.
1058 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1059 [__NR_ftruncate64]: Make code unconditional.
1060 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1061 * sysdeps/unix/sysv/linux/truncate64.c: Do not
1062 include <kernel-features.h>.
1063 [!__NR_ftruncate64]: Remove conditional code.
1064 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1065 [__NR_ftruncate64]: Make code unconditional.
1066 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1068 include <kernel-features.h>.
1069 [!__NR_ftruncate64]: Remove conditional code.
1070 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1071 [__NR_ftruncate64]: Make code unconditional.
1072 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1074 include <kernel-features.h>.
1075 [!__NR_ftruncate64]: Remove conditional code.
1076 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1077 [__NR_ftruncate64]: Make code unconditional.
1078 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1079
1080 * configure.in (libc_cv_fpie): Weaken to a compile test using
1081 LIBC_TRY_CC_OPTION.
1082 * configure: Regenerated.
1083
1084 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1085
1086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1090 Refreshed.
1091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1097 Refreshed.
1098
1099 2012-05-27 David S. Miller <davem@davemloft.net>
1100
1101 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1102 (___Q_zero): New.
1103 (__Q_simulate_exceptions): Return void. Change to simulate
1104 exceptions by writing into the %fsr.
1105 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1106 (__Qp_handle_exceptions): Likewise.
1107 (numbers): Delete.
1108 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1109 __Qp_handle_exceptions.
1110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1111 __Qp_handle_exceptions.
1112 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1113 as unused and give dummy FP_RND_NEAREST initializer.
1114 (FP_INHIBIT_RESULTS): Define.
1115 (___Q_simulate_exceptions): Update declaration.
1116 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1117 formatting.
1118 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1119 as unused and give dummy FP_RND_NEAREST initializer.
1120 (__Qp_handle_exceptions): Update declaration.
1121 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1122 formatting.
1123
1124 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
1125
1126 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1127 the temporary FPU control word.
1128 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1129 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1130 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1131 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1132 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1133 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1134 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1135 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1136 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1137 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1138 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1139
1140 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1141
1142 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1143 fields.
1144
1145 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
1146
1147 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1148 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1149 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1150 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1151 Likewise.
1152 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1153 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1154 Likewise.
1155
1156 2012-05-27 Ulrich Drepper <drepper@gmail.com>
1157
1158 * po/h.po: Update from translation team.
1159
1160 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
1161
1162 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1163
1164 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1165 handling of denormals.
1166 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1167 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1168 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1169 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1170 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1171 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1172 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1173 Likewise.
1174
1175 2012-05-26 Marek Polacek <polacek@redhat.com>
1176
1177 [BZ #14152]
1178 * math/libm-test.inc (fma_test): Don't always expect underflow
1179 exception.
1180
1181 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1182
1183 [BZ #12416]
1184 * elf/tst-execstack.c: Include stackinfo.h.
1185 (do_test): Adjust test case to ensure that pthread_getattr_np
1186 behaviour remains the same after marking stack executable.
1187
1188 2012-05-25 Joseph Myers <joseph@codesourcery.com>
1189
1190 * sysdeps/unix/sysv/linux/kernel-features.h
1191 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1192 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1193 kernel-features.h.
1194 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1195 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1196 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1197 kernel-features.h.
1198 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1199 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1200
1201 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
1202
1203 * configure.in: Define the default includes to being none.
1204 * configure: Regenerated.
1205
1206 2012-05-25 Roland McGrath <roland@hack.frob.com>
1207
1208 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1209 * sysdeps/x86_64/setjmp.S: Likewise.
1210 * sysdeps/i386/bsd-setjmp.S: Likewise.
1211 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1212 * sysdeps/i386/setjmp.S: Likewise.
1213 * sysdeps/i386/__longjmp.S: Likewise.
1214 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1215 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1216
1217 * include/stap-probe.h: New file.
1218 * configure.in: Handle --enable-systemtap.
1219 * configure: Regenerated.
1220 * config.h.in (USE_STAP_PROBE): New #undef.
1221 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1222 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1223 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1224
1225 2012-05-25 Joseph Myers <joseph@codesourcery.com>
1226
1227 [BZ #13717]
1228 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1229 to 2.4.0 where earlier.
1230 * sysdeps/unix/sysv/linux/configure: Regenerated.
1231 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1232 <kernel-features.h>.
1233 [__ASSUME_32BITUIDS]: Make code unconditional.
1234 [!__ASSUME_32BITUIDS]: Remove conditional code.
1235 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1236 <kernel-features.h>.
1237 [__ASSUME_32BITUIDS]: Make code unconditional.
1238 [!__ASSUME_32BITUIDS]: Remove conditional code.
1239 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
1240 [__ASSUME_32BITUIDS]: Make code unconditional.
1241 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1242 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
1243 <kernel-features.h>.
1244 [__ASSUME_32BITUIDS]: Make code unconditional.
1245 [!__ASSUME_32BITUIDS]: Remove conditional code.
1246 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
1247 <kernel-features.h>.
1248 [__ASSUME_32BITUIDS]: Make code unconditional.
1249 [!__ASSUME_32BITUIDS]: Remove conditional code.
1250 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
1251 <kernel-features.h>.
1252 [__ASSUME_32BITUIDS]: Make code unconditional.
1253 [!__ASSUME_32BITUIDS]: Remove conditional code.
1254 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
1255 <kernel-features.h>.
1256 [__ASSUME_32BITUIDS]: Make code unconditional.
1257 [!__ASSUME_32BITUIDS]: Remove conditional code.
1258 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1259 <kernel-features.h>.
1260 [__ASSUME_32BITUIDS]: Make code unconditional.
1261 [!__ASSUME_32BITUIDS]: Remove conditional code.
1262 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1263 <kernel-features.h>.
1264 [__ASSUME_32BITUIDS]: Make code unconditional.
1265 [!__ASSUME_32BITUIDS]: Remove conditional code.
1266 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
1267 <kernel-features.h>.
1268 [__ASSUME_32BITUIDS]: Make code unconditional.
1269 [!__ASSUME_32BITUIDS]: Remove conditional code.
1270 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1271 <kernel-features.h>.
1272 [__ASSUME_32BITUIDS]: Make code unconditional.
1273 [!__ASSUME_32BITUIDS]: Remove conditional code.
1274 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1275 <kernel-features.h>.
1276 [__ASSUME_32BITUIDS]: Make code unconditional.
1277 [!__ASSUME_32BITUIDS]: Remove conditional code.
1278 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
1279 <kernel-features.h>.
1280 [__ASSUME_32BITUIDS]: Make code unconditional.
1281 [!__ASSUME_32BITUIDS]: Remove conditional code.
1282 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
1283 <kernel-features.h>.
1284 [__NR_setresgid] (__setresgid): Do not declare.
1285 [__ASSUME_32BITUIDS]: Make code unconditional.
1286 [!__ASSUME_32BITUIDS]: Remove conditional code.
1287 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1288 <kernel-features.h>.
1289 [__NR_setresuid] (__setresuid): Do not declare.
1290 [__ASSUME_32BITUIDS]: Make code unconditional.
1291 [!__ASSUME_32BITUIDS]: Remove conditional code.
1292 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
1293 <kernel-features.h>.
1294 [__ASSUME_32BITUIDS]: Make code unconditional.
1295 [!__ASSUME_32BITUIDS]: Remove conditional code.
1296 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
1297 <kernel-features.h>.
1298 [__ASSUME_32BITUIDS]: Make code unconditional.
1299 [!__ASSUME_32BITUIDS]: Remove conditional code.
1300 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
1301 <kernel-features.h>.
1302 [__ASSUME_32BITUIDS]: Make code unconditional.
1303 [!__ASSUME_32BITUIDS]: Remove conditional code.
1304 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
1305 <kernel-features.h>.
1306 [__ASSUME_32BITUIDS]: Make code unconditional.
1307 [!__ASSUME_32BITUIDS]: Remove conditional code.
1308 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
1309 <kernel-features.h>.
1310 [__ASSUME_32BITUIDS]: Make code unconditional.
1311 [!__ASSUME_32BITUIDS]: Remove conditional code.
1312 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
1313 <kernel-features.h>.
1314 [__ASSUME_32BITUIDS]: Make code unconditional.
1315 [!__ASSUME_32BITUIDS]: Remove conditional code.
1316 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
1317 <kernel-features.h>.
1318 [__ASSUME_32BITUIDS]: Make code unconditional.
1319 [!__ASSUME_32BITUIDS]: Remove conditional code.
1320 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
1321 <kernel-features.h>.
1322 [__ASSUME_32BITUIDS]: Make code unconditional.
1323 [!__ASSUME_32BITUIDS]: Remove conditional code.
1324 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
1325 <kernel-features.h>.
1326 [__ASSUME_32BITUIDS]: Make code unconditional.
1327 [!__ASSUME_32BITUIDS]: Remove conditional code.
1328 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1329 <kernel-features.h>.
1330 [__ASSUME_32BITUIDS]: Make code unconditional.
1331 [!__ASSUME_32BITUIDS]: Remove conditional code.
1332 * sysdeps/unix/sysv/linux/kernel-features.h
1333 (__ASSUME_SETRESUID_SYSCALL): Remove.
1334 (__ASSUME_SETRESGID_SYSCALL): Likewise.
1335 (__ASSUME_32BITUIDS): Likewise.
1336 (__ASSUME_LDT_WORKS): Likewise.
1337 (__ASSUME_O_DIRECTORY): Likewise.
1338 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1339 architecture but not kernel version.
1340 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1341 (__ASSUME_MMAP2_SYSCALL): Likewise.
1342 (__ASSUME_STAT64_SYSCALL): Likewise.
1343 (__ASSUME_IPC64): Likewise.
1344 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1345 <kernel-features.h>.
1346 [__ASSUME_32BITUIDS]: Make code unconditional.
1347 [!__ASSUME_32BITUIDS]: Remove conditional code.
1348 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1349 <kernel-features.h>.
1350 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1351 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1352 132096]: Remove conditional code.
1353 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1354 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1355 <kernel-features.h>.
1356 [__ASSUME_32BITUIDS]: Make code unconditional.
1357 [!__ASSUME_32BITUIDS]: Remove conditional code.
1358 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1359 <kernel-features.h>.
1360 [__ASSUME_32BITUIDS]: Make code unconditional.
1361 [!__ASSUME_32BITUIDS]: Remove conditional code.
1362 * sysdeps/unix/sysv/linux/setegid.c: Do not include
1363 <kernel-features.h>.
1364 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1365 unconditional.
1366 (__setresgid): Do not declare.
1367 [__ASSUME_32BITUIDS]: Make code unconditional.
1368 [!__ASSUME_32BITUIDS]: Remove conditional code.
1369 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1370 <kernel-features.h>.
1371 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1372 unconditional.
1373 (__setresuid): Do not declare.
1374 [__ASSUME_32BITUIDS]: Make code unconditional.
1375 [!__ASSUME_32BITUIDS]: Remove conditional code.
1376 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1377 <kernel-features.h>.
1378 [__ASSUME_32BITUIDS]: Make code unconditional.
1379 [!__ASSUME_32BITUIDS]: Remove conditional code.
1380 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1381 <kernel-features.h>.
1382 [__ASSUME_32BITUIDS]: Make code unconditional.
1383 [!__ASSUME_32BITUIDS]: Remove conditional code.
1384
1385 2012-05-25 Richard Henderson <rth@twiddle.net>
1386
1387 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1388 dl_hwcap to ifunc resolver.
1389 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1390 elf_ifunc_invoke.
1391 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1392 dl_hwcap to ifunc resolver.
1393 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1394
1395 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1396
1397 [BZ #14153]
1398 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1399 for |x| <= 2**-26, not 2**-57.
1400 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1401 exception.
1402
1403 2012-05-24 Jeff Law <law@redhat.com>
1404
1405 * stdio-common/Makefile (tests): Add bug25.
1406 * stdio-common/bug25.c: New test.
1407
1408 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1409
1410 [BZ #13576]
1411 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1412 multiple of MALLOC_ALIGNMENT in size.
1413 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1414
1415 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1416
1417 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1418 Require >= 256.
1419 (FILENAME_MAX): Use macro-int-constant.
1420 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1421 (_IOFBF): Use macro-int-constant.
1422 (_IOLBF): Likewise.
1423 (_IONBF): Likewise.
1424 (SEEK_CUR): Likewise.
1425 (SEEK_END): Likewise.
1426 (SEEK_SET): Likewise.
1427 (TMP_MAX): Likewise.
1428 (EOF): Use macro-int-constant. Require < 0.
1429 (NULL): Use macro-constant. Require == 0.
1430 (stdin): Require type to be FILE *.
1431 (stdout): Likewise.
1432 (stderr): Likewise.
1433 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1434 macro-int-constant.
1435 (EXIT_SUCCESS): Likewise.
1436 (NULL): Use macro-constant. Require == 0.
1437 (RAND_MAX): Use macro-int-constant.
1438 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1439 [C99-based standards] (strtof): Require function.
1440 [C99-based standards] (strtold): Likewise.
1441 [C99-based standards] (strtoll): Likewise.
1442 [C99-based standards] (strtoull): Likewise.
1443 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1444 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1445 [ISO || ISO99 || ISO11] (math.h): Likewise.
1446 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1447 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1448 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1449
1450 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1451
1452 [BZ #14132]
1453 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1454 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1455 * intl/dgettext.c (DCGETTEXT): Likewise.
1456 * intl/gettext.c (DCGETTEXT): Likewise.
1457 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1458 * posix/regex_internal.h (gettext): Likewise.
1459 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1460 Remove declaration.
1461 * include/argz.h (__argz_count_internal)
1462 (__argz_stringify_internal): Remove declaration.
1463 (__argz_count, __argz_stringify): Declare hidden proto.
1464 * intl/dcgettext.c: Remove use of INTDEF.
1465 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1466 * string/argz-stringify.c: Likewise.
1467 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1468 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1469 Declare hidden proto.
1470 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1471 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1472 Declare hidden proto.
1473 * include/stdio.h (__asprintf_internal): Don't declare.
1474 (__asprintf): Don't define as macro. Declare hidden proto.
1475 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1476 (__fsetlocking): Declare hidden proto.
1477 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1478 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1479 hidden proto.
1480 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1481 (_IO_setlinebuf): Remove use of INTUSE.
1482 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1483 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1484 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1485 Remove declaration.
1486 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1487 (_IO_do_flush): Remove use of INTUSE.
1488 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1489 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1490 (_IO_adjust_column, _IO_least_wmarker)
1491 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1492 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1493 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1494 (_IO_default_doallocate, _IO_wdefault_doallocate)
1495 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1496 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1497 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1498 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1499 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1500 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1501 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1502 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1503 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1504 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1505 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1506 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1507 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1508 proto.
1509 (_IO_flush_all_internal, _IO_adjust_column_internal)
1510 (_IO_default_uflow_internal, _IO_default_finish_internal)
1511 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1512 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1513 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1514 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1515 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1516 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1517 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1518 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1519 (_IO_file_close_internal, _IO_file_close_it_internal)
1520 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1521 (_IO_file_init_internal, _IO_file_attach_internal)
1522 (_IO_file_fopen_internal, _IO_file_read_internal)
1523 (_IO_file_sync_internal, _IO_file_seek_internal)
1524 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1525 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1526 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1527 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1528 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1529 (_IO_list_all_internal, _IO_link_in_internal)
1530 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1531 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1532 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1533 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1534 (_IO_do_write_internal, _IO_padn_internal)
1535 (_IO_getline_info_internal, _IO_getline_internal)
1536 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1537 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1538 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1539 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1540 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1541 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1542 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1543 with libc_hidden_ver, remove use of INTUSE.
1544 * libio/genops.c: Likewise.
1545 * libio/freopen.c: Likewise.
1546 * libio/freopen64.c: Likewise.
1547 * libio/iofclose.c: Likewise.
1548 * libio/iofdopen.c: Likewise.
1549 * libio/iofflush.c: Likewise.
1550 * libio/iofflush_u.c: Likewise.
1551 * libio/iofgets.c: Likewise.
1552 * libio/iofgets_u.c: Likewise.
1553 * libio/iofopen.c: Likewise.
1554 * libio/iofopncook.c: Likewise.
1555 * libio/iofread.c: Likewise.
1556 * libio/iofread_u.c: Likewise.
1557 * libio/ioftell.c: Likewise.
1558 * libio/iofwrite.c: Likewise.
1559 * libio/iogetline.c: Likewise.
1560 * libio/iogets.c: Likewise.
1561 * libio/iogetwline.c: Likewise.
1562 * libio/iopadn.c: Likewise.
1563 * libio/iopopen.c: Likewise.
1564 * libio/ioseekoff.c: Likewise.
1565 * libio/ioseekpos.c: Likewise.
1566 * libio/iosetbuffer.c: Likewise.
1567 * libio/iosetvbuf.c: Likewise.
1568 * libio/ioungetc.c: Likewise.
1569 * libio/ioungetwc.c: Likewise.
1570 * libio/iovdprintf.c: Likewise.
1571 * libio/iovsprintf.c: Likewise.
1572 * libio/iovsscanf.c: Likewise.
1573 * libio/memstream.c: Likewise.
1574 * libio/obprintf.c: Likewise.
1575 * libio/oldfileops.c: Likewise.
1576 * libio/oldiofclose.c: Likewise.
1577 * libio/oldiofdopen.c: Likewise.
1578 * libio/oldiofopen.c: Likewise.
1579 * libio/oldiopopen.c: Likewise.
1580 * libio/oldstdfiles.c: Likewise.
1581 * libio/putc.c: Likewise.
1582 * libio/setbuf.c: Likewise.
1583 * libio/setlinebuf.c: Likewise.
1584 * libio/stdfiles.c: Likewise.
1585 * libio/strops.c: Likewise.
1586 * libio/vasprintf.c: Likewise.
1587 * libio/vscanf.c: Likewise.
1588 * libio/vsnprintf.c: Likewise.
1589 * libio/vswprintf.c: Likewise.
1590 * libio/wfiledoalloc.c: Likewise.
1591 * libio/wfileops.c: Likewise.
1592 * libio/wgenops.c: Likewise.
1593 * libio/wmemstream.c: Likewise.
1594 * libio/wstrops.c: Likewise.
1595 * libio/__fpurge.c: Likewise.
1596 * libio/__fsetlocking.c: Likewise.
1597 * assert/assert.c: Likewise.
1598 * debug/fgets_chk.c: Likewise.
1599 * debug/fgets_u_chk.c: Likewise.
1600 * debug/fread_chk.c: Likewise.
1601 * debug/fread_u_chk.c: Likewise.
1602 * debug/gets_chk.c: Likewise.
1603 * debug/obprintf_chk.c: Likewise.
1604 * debug/vasprintf_chk.c: Likewise.
1605 * debug/vdprintf_chk.c: Likewise.
1606 * debug/vsnprintf_chk.c: Likewise.
1607 * debug/vsprintf_chk.c: Likewise.
1608 * malloc/mtrace.c: Likewise.
1609 * misc/error.c: Likewise.
1610 * misc/syslog.c: Likewise.
1611 * stdio-common/asprintf.c: Likewise.
1612 * stdio-common/fxprintf.c: Likewise.
1613 * stdio-common/getw.c: Likewise.
1614 * stdio-common/isoc99_fscanf.c: Likewise.
1615 * stdio-common/isoc99_scanf.c: Likewise.
1616 * stdio-common/isoc99_vfscanf.c: Likewise.
1617 * stdio-common/isoc99_vscanf.c: Likewise.
1618 * stdio-common/isoc99_vsscanf.c: Likewise.
1619 * stdio-common/printf-prs.c: Likewise.
1620 * stdio-common/printf_fp.c: Likewise.
1621 * stdio-common/printf_fphex.c: Likewise.
1622 * stdio-common/printf_size.c: Likewise.
1623 * stdio-common/putw.c: Likewise.
1624 * stdio-common/scanf.c: Likewise.
1625 * stdio-common/sprintf.c: Likewise.
1626 * stdio-common/tmpfile.c: Likewise.
1627 * stdio-common/vfprintf.c: Likewise.
1628 * stdio-common/vfscanf.c: Likewise.
1629 * stdlib/strfmon_l.c: Likewise.
1630 * sunrpc/openchild.c: Likewise.
1631 * sunrpc/xdr_stdio.c: Likewise.
1632 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1633 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1634
1635 2012-05-24 Roland McGrath <roland@hack.frob.com>
1636
1637 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1638
1639 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1640 in the third column, to generate for the shared library an IFUNC
1641 that uses _dl_vdso_vsym.
1642 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1643 * Makeconfig (object-suffixes-noshared): New variable.
1644
1645 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1646 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1647 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1648 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1649
1650 [BZ #14132]
1651 * include/sys/time.h (__gettimeofday): Remove macro.
1652 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1653 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1654 Remove INTDEF.
1655 (__gettimeofday): Add libc_hidden_def.
1656 (gettimeofday): Add libc_hidden_weak.
1657 * sysdeps/mach/gettimeofday.c: Likewise.
1658 * sysdeps/posix/gettimeofday.c: Likewise.
1659 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1660 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1661 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1662 (__gettimeofday_internal): Remove strong_alias.
1663 (__gettimeofday): Add libc_hidden_def.
1664 (gettimeofday): Add libc_hidden_weak.
1665 * sysdeps/unix/syscalls.list (gettimeofday):
1666 Remove __gettimeofday_internal alias.
1667
1668 2012-05-24 Daniel Jacobowitz <drow@false.org>
1669 H.J. Lu <hongjiu.lu@intel.com>
1670
1671 [BZ #12495]
1672 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1673 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1674 (largebin_index_32_big): New.
1675 (largebin_index): Use it for 16-byte alignment.
1676 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1677 correction with front_misalign.
1678
1679 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1680
1681 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1682 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1683 Likewise.
1684 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1685 Likewise.
1686 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1687 Likewise.
1688 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1689 Likewise.
1690 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1691 Likewise.
1692 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1693 Likewise.
1694 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1695 Likewise.
1696 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1697 Likewise.
1698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1699 Likewise.
1700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1701 Likewise.
1702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1703 Likewise.
1704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1705 Likewise.
1706
1707 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1708 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1709
1710 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1711
1712 [BZ #10846]
1713 [BZ #14036]
1714 * math/libm-test.inc (exp_test): Add test from bug 14036.
1715 (pow_test): Add test from bug 10846.
1716
1717 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1718 and other flags.
1719 (special_function): Do not include flags in test name.
1720 (parse_args): Likewise.
1721 * sysdeps/i386/fpu/libm-test-ulps: Update.
1722 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1723 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1724 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1726
1727 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1728 exceptions.
1729 * math/libm-test.inc ("Philosophy"): Update comment about
1730 exception testing.
1731 (UNDERFLOW_EXCEPTION): New macro.
1732 (UNDERFLOW_EXCEPTION_OK): Likewise.
1733 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1734 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1735 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1736 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1737 (INVALID_EXCEPTION_OK): Update value.
1738 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1739 (OVERFLOW_EXCEPTION_OK): Likewise.
1740 (IGNORE_ZERO_INF_SIGN): Likewise.
1741 (test_exceptions): Handle underflow exceptions.
1742 (acos_test): Update for underflow exception expectations.
1743 (cexp_test): Likewise.
1744 (clog_test): Likewise.
1745 (clog10_test): Likewise.
1746 (csqrt_test): Likewise.
1747 (ctan_test): Likewise.
1748 (ctanh_test): Likewise.
1749 (exp_test): Likewise.
1750 (exp10_test): Likewise.
1751 (exp2_test): Likewise.
1752 (expm1_test): Likewise.
1753 (fma_test): Likewise.
1754 (j0_test): Likewise.
1755 (jn_test): Likewise.
1756 (nexttoward_test): Likewise.
1757 (pow_test): Likewise.
1758 (scalbn_test): Likewise.
1759 (scalbln_test): Likewise.
1760 (tan_test): Likewise.
1761 (y1_test): Likewise.
1762 * sysdeps/i386/fpu/libm-test-ulps: Update.
1763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1764
1765 2012-05-23 David S. Miller <davem@davemloft.net>
1766
1767 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1768 (__libc_sigaction): Remove unused local variables.
1769
1770 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1771
1772 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1773
1774 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1775
1776 mktime: avoid signed integer overflow
1777 * time/mktime.c (__mktime_internal): Do not mishandle the case
1778 where diff == INT_MIN.
1779
1780 mktime: simplify computation of average
1781 * time/mktime.c (ranged_convert): Use new time_t_avg function
1782 instead of rolling our own (probably-slower) code.
1783
1784 mktime: do not assume signed right shift propagates sign bit
1785 * time/mktime.c (isdst_differ): New static function.
1786 (__mktime_internal): No need to normalize tm_isdst now.
1787 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1788 tm_isdst values.
1789
1790 mktime: merge another wrapv change from gnulib
1791 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1792 from some compilers.
1793
1794 mktime: remove incorrect attempt at unusual arithmetics
1795 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1796 The code didn't really work on such machines anyway.
1797 (TYPE_MINIMUM): Assume two's complement.
1798 (twos_complement_arithmetic): Verify that long_int and time_t
1799 are two's complement (or unsigned, in the latter case).
1800
1801 mktime: check signed shifts on long_int and time_t, too
1802 * time/mktime.c (SHR): Check that shifts work as desired
1803 on the types long_int and time_t too, as SHR is used on
1804 such types.
1805
1806 mktime: do not assume 'long' is wide enough
1807 * time/mktime.c (verify): Move decl up.
1808 (long_int): New type.
1809 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1810 to remove assumption in the code that 'long' is wide enough to
1811 store year values. This assumption is not true on x32 and on
1812 some non-glibc platforms.
1813
1814 mktime: merge wrapv change from gnulib
1815 * time/mktime.c (WRAPV): New macro.
1816 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1817 (guess_time_tm, __mktime_internal): Do not assume that signed
1818 integer overflow wraps around; modern compilers generate code
1819 where this assumption is no longer valid.
1820
1821 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1822
1823 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1824 Replace "jmp L(pseudo_end)" with "ret".
1825 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1826 Likewise.
1827
1828 2012-05-23 Andreas Jaeger <aj@suse.de>
1829
1830 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1831 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1832
1833 2012-05-23 Andreas Jaeger <aj@suse.de>
1834 Maximilian Attems <max@stro.at>
1835
1836 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1837 New macros.
1838
1839 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1840
1841 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1842 code so that pseudo_end is just ret and the stack pointer is
1843 correct also for static library in error case.
1844
1845 2012-05-23 Joseph Myers <joseph@codesourcery.com>
1846
1847 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1848 move to syscalls.list.
1849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1853
1854 * manual/install.texi (Running make install): Do not mention Linux
1855 kernel version for which pt_chown is not needed.
1856 (Linux): Do not mention problems with nscd with 2.0 kernels.
1857 * INSTALL: Regenerated.
1858
1859 2012-05-23 Andreas Jaeger <aj@suse.de>
1860
1861 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1862 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1863 macro.
1864 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1865 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1866 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1867 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1868 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1869 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1870 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1871 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1872 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1873 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1874 * sysdeps/unix/sysv/linux/bits/in.h
1875 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1876
1877 2012-05-22 Roland McGrath <roland@hack.frob.com>
1878
1879 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1880 (PREPARE_VERSION): Just use assert instead, it will be elided
1881 under [NDEBUG] anyway.
1882
1883 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1884
1885 * sysdeps/unix/sysv/linux/Makefile: Include
1886 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
1887 (sysdep_routines): Remove sysctl.
1888 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1889 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1890 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1891 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1892 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1893
1894 2012-05-22 Andreas Jaeger <aj@suse.de>
1895
1896 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1897 that pseudo_end is just ret and the stack pointer is correct also
1898 for static library in error case.
1899
1900 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1901
1902 [BZ #14122]
1903 * nss/nsswitch.c (defconfig_entries): New variable.
1904 (__nss_database_lookup): Don't leak defconfig entries.
1905 (nss_parse_service_list): Don't leak on error paths.
1906 (free_database_entries): New function.
1907 (free_defconfig): New function.
1908 (free_mem): Move common code to free_database_entries.
1909
1910 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1911
1912 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1913 Add arch_prctl.
1914 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1915
1916 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1917 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1918 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1919 New macro.
1920 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1921 (INTERNAL_SYSCALL_TYPES): Likewise.
1922 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1923 (LOAD_REGS_TYPES_[1-6]): Likewise.
1924 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1925 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1926
1927 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1928
1929 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1930 copysignl for GLIBC_2_0.
1931 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1932 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1933 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1934 logbl for GLIBC_2_0.
1935 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1936 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1937
1938 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1939
1940 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1941 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1942
1943 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1944 Use "neg %eax".
1945
1946 * time/mktime.c: Update copyright years.
1947
1948 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1949
1950 mktime: merge comment-quoting-style change from gnulib
1951 * time/mktime.c: Quote 'like this' in comments.
1952 The GNU coding standards suggest that we no longer quote `like this',
1953 as "`" and "'" are typically rendered asymmetrically nowadays.
1954 The typical gnulib style is to quote 'like this' when quoting
1955 code, and "like this" when quoting English.
1956
1957 * time/mktime.c (compile-command): Add "-I.".
1958
1959 mktime: merge mktime-internal.h change from gnulib
1960 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1961
1962 mktime: merge time_r change from gnulib
1963 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1964
1965 mktime: merge DEBUG change from gnulib
1966 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1967 case system <time.h> has a #define.
1968
1969 mktime: merge <sys/types.h> change from gnulib
1970 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1971 since <time.t> is now guaranteed to define time_t.
1972
1973 mktime: merge HAVE_CONFIG_H change from gnulib
1974 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1975
1976 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1977
1978 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1979 Use "neg %eax".
1980
1981 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1982 __rlim_t cast.
1983 (struct rusage): Use anonymous union to pad each field to
1984 __syscall_slong_t.
1985
1986 2012-05-21 David S. Miller <davem@davemloft.net>
1987
1988 * Makefules (o-iterator): Remove .s cases.
1989 (compile-command.s): Delete.
1990 (COMPILE.s): Delete.
1991 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1992
1993 2012-05-21 Joseph Myers <joseph@codesourcery.com>
1994
1995 * configure.in (libc_cv_predef_stack_protector): Only consider
1996 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1997 * configure: Regenerated.
1998
1999 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2000
2001 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2002 New macro. Use R*LP on int and pointer.
2003 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
2004 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2005 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
2006 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2007
2008 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2009 [__WORDSIZE_TIME64_COMPAT32] instead of
2010 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2011 (struct utmp): Likewise.
2012 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2013 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2014 Renamed to ...
2015 (__WORDSIZE_TIME64_COMPAT32): This.
2016 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2017 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2018 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2019 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2020 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2021 (__WORDSIZE_TIME64_COMPAT32): New macro.
2022
2023 2012-05-21 Andreas Jaeger <aj@suse.de>
2024
2025 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2026 only if [SHARED]. Add prototype for __wcschr_ia32.
2027
2028 2012-05-21 Roland McGrath <roland@hack.frob.com>
2029
2030 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2031 of %rbp unmolested in the jmp_buf while mangling the low bits.
2032 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2033 unmolested high bits of %rbp while demangling the low bits.
2034 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2035
2036 2012-05-21 Andreas Jaeger <aj@suse.de>
2037
2038 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2039 * sunrpc/svc_simple.c: Use it for registerrpc.
2040 * sunrpc/xcrypt.c: Use it for passwd2des.
2041
2042 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2043
2044 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2045
2046 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2047 Don't define if [__SYSCALL_WORDSIZE != 32].
2048 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2049 New macro.
2050
2051 2012-05-21 Bruno Haible <bruno@clisp.org>
2052 Andreas Jaeger <aj@suse.de>
2053
2054 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2055 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2056 inptr and inend for must_buffer_ch.
2057 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2058 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2059 * stdio-common/Makefile (tests): Remove bug15.
2060 (bug15-ENV): Remove macro.
2061 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2062 anymore.
2063
2064 2012-05-19 Andreas Jaeger <aj@suse.de>
2065 Roland McGrath <roland@hack.frob.com>
2066
2067 * manual/contrib.texi: Completely rewritten. It contains now an
2068 alphabetical list of contributors and their contributions.
2069
2070 2012-05-21 Richard Henderson <rth@twiddle.net>
2071
2072 * misc/getauxval.c (__getauxval): Use unsigned long int.
2073 * misc/sys/auxv.h: Include <sys/cdefs.h>.
2074 (getauxval): Use unsigned long int.
2075
2076 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2077
2078 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2079
2080 2012-05-21 Roland McGrath <roland@hack.frob.com>
2081
2082 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2083 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2084 __alignof__ (long double).
2085
2086 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2087
2088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2089
2090 2012-05-20 Richard Henderson <rth@twiddle.net>
2091
2092 * misc/getauxval.c: New file.
2093 * misc/sys/auxv.h: New file.
2094 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2095 (routines): Add getauxval.
2096 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2097 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2098 * elf/dl-sysdep.c (_dl_auxv): Remove.
2099 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2100 * elf/dl-support.c (_dl_auxv): New variable.
2101 (_dl_aux_init): Initialize it.
2102 * manual/startup.texi (Auxiliary Vector): New node.
2103 * sysdeps/generic/bits/hwcap.h: New file.
2104 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2105 * sysdeps/powerpc/sysdep.h: ... here. Include it.
2106 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2107 * sysdeps/sparc/sysdep.h: ... here. Include it.
2108 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2109 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
2110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2111 Update.
2112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2115 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2120
2121 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2122
2123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2124
2125 2012-05-19 David S. Miller <davem@davemloft.net>
2126
2127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2128
2129 2012-05-19 Joseph Myers <joseph@codesourcery.com>
2130
2131 [BZ #14123]
2132 * math/s_ccosh.c: Include <float.h>
2133 (__ccosh): Avoid internal overflow calculating sinh and cosh
2134 values before multiplying by sin and cos values.
2135 * math/s_ccoshf.c: Likewise.
2136 * math/s_ccoshl.c: Likewise.
2137 * math/s_csin.c: Likewise.
2138 * math/s_csinf.c: Likewise.
2139 * math/s_csinl.c: Likewise.
2140 * math/s_csinh.c: Likewise.
2141 * math/s_csinhf.c: Likewise.
2142 * math/s_csinhl.c: Likewise.
2143 * math/libm-test.inc (ccos_test): Add more tests.
2144 (ccosh_test): Likewise.
2145 (csin_test): Likewise.
2146 (csinh_test): Likewise.
2147 * sysdeps/i386/fpu/libm-test-ulps: Update.
2148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2149
2150 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
2151
2152 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2153 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2154
2155 * sysdeps/x86_64/x32/_itoa.h: Add comment.
2156
2157 2012-05-19 Joseph Myers <joseph@codesourcery.com>
2158
2159 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2160 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2161 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2162 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2163 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2164 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2165 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2166 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2167 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2168 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2169 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2170 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2171 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2172 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2173 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2174 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2175 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2176 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2177 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2178 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2179 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2180 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2181 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2182 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2183 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2184 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2185 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2186 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2187 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2188 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2189 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2190
2191 2012-05-18 Andreas Jaeger <aj@suse.de>
2192
2193 * csu/.gitignore: Delete.
2194
2195 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2196
2197 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2198 (timex): Use __syscall_slong_t.
2199
2200 2012-05-18 Andreas Jaeger <aj@suse.de>
2201 Carlos O'Donell <carlos_odonell@mentor.com>
2202
2203 * manual/install.texi (Configuring and compiling): Update
2204 description about files modified in the source directory.
2205 * INSTALL: Regenerated.
2206
2207 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2208
2209 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2210 value. Use "or" to set return value to -1.
2211 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2212 negate return value.
2213
2214 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2215
2216 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2217 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2218 failure if the compiler has Graphite support disabled.
2219 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2220 Likewise.
2221 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2222 CFLAGS-memmove.c): Likewise.
2223 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2224 Likewise.
2225
2226 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2227
2228 * sysdeps/x86_64/x32/_itoa.h: New file.
2229
2230 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2231 getdents system call only if kernel and user dirents have the
2232 same d_ino and d_off.
2233
2234 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2235 LLONG_MAX != LONG_MAX.
2236 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2237 (_fitoa_word): Likewise.
2238
2239 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2240 years.
2241 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2242 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2243 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2244
2245 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2246 include <bits/wordsize.h>. Check __x86_64__ instead of
2247 __WORDSIZE.
2248 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2249 if __x86_64__ is defined. Use anonymous union on fpstate.
2250
2251 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2252 anonymous union.
2253
2254 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
2255
2256 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2257 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
2258 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
2259 Refer to _rtld_local_ro instead of _rtld_global_ro.
2260 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
2261 Likewise.
2262 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
2263 Likewise.
2264 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
2265 Likewise.
2266 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2267 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2268 of _rtld_global, and rtld_progname instead of _dl_argv[0].
2269
2270 * sysdeps/powerpc/powerpc32/dl-machine.c
2271 (__elf_machine_runtime_setup) [PROF]: Don't reference
2272 _dl_prof_resolve.
2273
2274 2012-05-18 Andreas Jaeger <aj@suse.de>
2275
2276 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2277 function only available for GCCs before 3.4 since GCC 3.4
2278 introduced a builtin.
2279 (lrint): Likewise.
2280 (llrintf): Likewise.
2281 (llrint): Likewise.
2282 (fmaxf): Likewise.
2283 (fmax): Likewise.
2284 (fminf): Likewise.
2285 (fmin): Likewise.
2286 (rint): Likewise.
2287 (rintf): Likewise.
2288 (nearbyint): Likewise.
2289 (nearbyintf): Likewise.
2290 (ceil): Likewise.
2291 (ceilf): Likewise.
2292 (floor): Likewise.
2293 (floorf): Likewise.
2294
2295 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2296
2297 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2298 on both fields and cast pointer to __syscall_ulong_t.
2299
2300 * bits/types.h (__fsword_t): New type.
2301 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2302 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2303 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2304 (__FSWORD_T_TYPE): Likewise.
2305 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2306 (__FSWORD_T_TYPE): Likewise.
2307 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2308 (__FSWORD_T_TYPE): Likewise.
2309 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2310 (__FSWORD_T_TYPE): Likewise.
2311 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2312 __SWORD_TYPE with __fsword_t.
2313 (statfs64): Likewise.
2314
2315 2012-05-17 David S. Miller <davem@davemloft.net>
2316
2317 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2318
2319 2012-05-17 Andreas Jaeger <aj@suse.de>
2320
2321 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2322 warning.
2323
2324 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2325
2326 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2327
2328 2012-05-17 Andreas Jaeger <aj@suse.de>
2329
2330 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2331 when it is used.
2332
2333 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2334
2335 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2336
2337 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2338
2339 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2340 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2341
2342 2012-05-17 Andreas Jaeger <aj@suse.de>
2343 Carlos O'Donell <carlos_odonell@mentor.com>
2344
2345 [BZ #14059]
2346 * sysdeps/x86_64/multiarch/init-arch.h
2347 (bit_YMM_Usable): Rename to...
2348 (bit_AVX_Usable): ... this.
2349 (bit_FMA4_Usable): New macro.
2350 (bit_XMM_state): New macro.
2351 (bit_YMM_state): New macro.
2352 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2353 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2354 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2355 (CPUID_OSXSAVE): New macro.
2356 (CPUID_AVX): New macro.
2357 (CPUID_FMA4): New macro.
2358 (index_YMM_Usable): Rename to...
2359 (index_AVX_Usable): ... this.
2360 (HAS_AVX): Use HAS_ARCH_FEATURE.
2361 (HAS_FMA4): Likewise.
2362 (HAS_YMM_USABLE): Remove.
2363 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2364 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2365 are present.
2366 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2367 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2368 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2369 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2370 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2371
2372 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2373
2374 * math/libm-test.c: Support platforms without multiple rounding modes.
2375 * math/bug-nextafter.c: Support platforms without FP exceptions.
2376 * math/bug-nexttoward.c: Likewise.
2377 * math/test-fenv.c: Likewise.
2378 * math/test-misc.c: Likewise.
2379 * stdlib/bug-getcontext.c: Likewise.
2380
2381 2012-05-17 Andreas Jaeger <aj@suse.de>
2382
2383 * manual/examples/search.c (critter_cmp): Change signature to
2384 avoid warnings.
2385 * manual/string.texi (Collation Functions): Likewise.
2386
2387 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2388
2389 * bits/types.h: Fold copyright years.
2390 * bits/typesizes.h: Likewise.
2391 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2392 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2393 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2394 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2395 * time/time.h: Likewise.
2396
2397 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2398
2399 [BZ #208]
2400 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2401 in instead of returning them. Return void.
2402 (__libc_mallinfo): Accumulate over all arenas.
2403 (__malloc_stats): Adjust for change in int_mallinfo interface.
2404
2405 2012-05-16 Roland McGrath <roland@hack.frob.com>
2406
2407 [BZ #10375]
2408 * configure.in (NM): Add AC_CHECK_TOOL for it.
2409 (libc_extra_cflags): New substituted variable.
2410 Check for -fstack-protector being used implicitly.
2411 * configure: Regenerated.
2412 * config.make.in (config-extra-cflags): New variable,
2413 gets @libc_extra_cflags@.
2414 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2415
2416 [BZ #10375]
2417 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2418 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2419 * configure: Regenerated.
2420 * config.make.in (CPPUNDEFS): New substituted variable.
2421 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2422 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2423 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2424
2425 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2426
2427 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2428 (mq_attr): Use __syscall_slong_t.
2429
2430 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2431
2432 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2433 Check __x86_64__ instead of __WORDSIZE.
2434 (_STAT_VER_LINUX): Likewise.
2435 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2436 __syscall_ulong_t and __syscall_slong_t.
2437 (stat64): Likewise.
2438
2439 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2440
2441 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2442
2443 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2444
2445 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2446
2447 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2448
2449 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2450 __syscall_ulong_t.
2451
2452 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2453 include <bits/wordsize.h>. Check __x86_64__ instead of
2454 __WORDSIZE.
2455 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2456 defined.
2457 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2458
2459 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2460 include <bits/wordsize.h>. Check __x86_64__ instead of
2461 __WORDSIZE.
2462 (user_regs_struct): Use "__extension__ unsigned long long"
2463 instead of "unsigned long" if __x86_64__ is defined.
2464 (user): Likewise. Pad after pointer field if __ILP32__ is
2465 defined.
2466
2467 2012-05-16 Joseph Myers <joseph@codesourcery.com>
2468
2469 * configure.in (makeinfo): Require version 4.5 or later. Allow
2470 versions 5 to 9.
2471 * configure: Regenerated.
2472 * manual/install.texi (texinfo): Increase version requirement to
2473 4.5 or later.
2474 * INSTALL: Regenerated.
2475
2476 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2477
2478 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2479
2480 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2481
2482 * sysdeps/x86_64/x32/ffs.c: New file.
2483
2484 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2485 __syscall_ulong_t.
2486 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2487 defined. Use __syscall_ulong_t.
2488 (shminfo): Use __syscall_ulong_t.
2489 (shm_info): Likewise.
2490
2491 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2492 __syscall_ulong_t.
2493
2494 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2495 <bits/wordsize.h>.
2496 (msgqnum_t): Use __syscall_ulong_t.
2497 (msglen_t): Likewise.
2498 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2499 __syscall_ulong_t.
2500
2501 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2502 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2503
2504 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2505
2506 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2507 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2508
2509 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2510 __syscall_slong_t.
2511
2512 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2513 include <bits/wordsize.h>. Check __x86_64__ instead of
2514 __WORDSIZE.
2515
2516 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2517 "unsigned long long int" if __x86_64__ is defined.
2518 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2519
2520 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2521 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2522 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2523
2524 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2525 <stdint.h>.
2526 (GET_PC): Cast to uintptr_t first.
2527 (GET_FRAME): Likewise.
2528 (GET_STACK): Likewise.
2529
2530 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2531 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2532 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2533 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2534 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2535 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2536 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2537 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2538 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2539 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2540 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2541 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2542 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2543 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2544 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2545 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2546 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2547 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2548 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2549 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2550 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2551 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2552 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2553 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2554 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2555 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2556 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2557 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2558 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2559
2560 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2561
2562 * Makerules (+depfiles): Also collect depfiles from .oS in
2563 $(extra-objs).
2564 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2565 .oS, $(libnldbl-routines)).
2566
2567 * Makerules (native-compile-mkdep-flags): Define.
2568 * sunrpc/Makefile (extra-objs): Add $(addprefix
2569 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2570 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2571 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2572 calling $(make-target-directory).
2573
2574 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2575
2576 * bits/types.h (__snseconds_t): Removed.
2577 * time/time.h (struct timespec): Replace __snseconds_t with
2578 __syscall_slong_t.
2579 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2580 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2581 Likewise.
2582 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2583 (__SNSECONDS_T_TYPE): Likewise.
2584 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2585 (__SNSECONDS_T_TYPE): Likewise.
2586 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2587 (__SNSECONDS_T_TYPE): Likewise.
2588
2589 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2590
2591 * sysdeps/mach/hurd/bits/typesizes.h
2592 (__SYSCALL_SLONG_TYPE): New macro.
2593 (__SYSCALL_ULONG_TYPE): Likewise.
2594
2595 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2596
2597 * bits/types.h (__syscall_slong_t): New type.
2598 (__syscall_ulong_t): Likewise.
2599
2600 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2601 (__SYSCALL_ULONG_TYPE): Likewise.
2602 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2603 (__SYSCALL_SLONG_TYPE): Likewise.
2604 (__SYSCALL_ULONG_TYPE): Likewise.
2605 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2606 (__SYSCALL_SLONG_TYPE): Likewise.
2607 (__SYSCALL_ULONG_TYPE): Likewise.
2608 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2609 (__SYSCALL_SLONG_TYPE): Likewise.
2610 (__SYSCALL_ULONG_TYPE): Likewise.
2611
2612 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2613
2614 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2615 Add sigaltstack-offsets.sym.
2616 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2617 <sigaltstack-offsets.h>.
2618 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2619 longjmp_msg pointer.
2620 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2621 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2622 signal stack.
2623 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2624
2625 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2626
2627 * elf/stackguard-macros.h: Remove file.
2628 * sysdeps/generic/stackguard-macros.h: New file.
2629 * sysdeps/i386/stackguard-macros.h: Likewise.
2630 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2631 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2632 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2633 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2634 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2635 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2636 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2637 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2638 <elf/stackguard-macros.h>.
2639
2640 [BZ #14109]
2641 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2642 __aligned__ in attribute.
2643 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2644 (gregset_t): Likewise.
2645
2646 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2647
2648 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2649 * sysdeps/x86_64/64/Implies-after: Here. New file.
2650 * sysdeps/x86_64/x32/Implies-after: New file.
2651
2652 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2653
2654 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2655 and access return value for _dl_profile_fixup. Use R10_LP to
2656 load frame size.
2657
2658 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2659
2660 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2661
2662 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2663
2664 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2665 * sysdeps/x86_64/x32/sysdep.h: New file.
2666
2667 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2668
2669 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2670 * sysdeps/x86_64/setjmp.S: Likewise.
2671
2672 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2673
2674 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2675 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2676 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2677 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2678 remove unused global constant.
2679
2680 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2681
2682 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2683 include of <not-cancel.h>.
2684
2685 2012-05-15 Roland McGrath <roland@hack.frob.com>
2686
2687 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2688
2689 2012-05-15 Jeff Law <law@redhat.com>
2690 Andreas Jaeger <aj@suse.de>
2691
2692 [BZ #13594]
2693 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2694 out from...
2695 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2696 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2697 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2698 code changing __hst_map_handle.map.
2699
2700 2012-05-15 Roland McGrath <roland@hack.frob.com>
2701
2702 * configure.in (sysnames): Look for Implies-before and Implies-after
2703 files.
2704 * configure: Regenerated.
2705
2706 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2707
2708 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2709 8-byte data alignment with LP_SIZE alignment.
2710
2711 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2712
2713 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2714 into R10_LP.
2715
2716 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2717
2718 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2719
2720 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2721
2722 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2723 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2724 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2725 Likewise.
2726 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2727
2728 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2729
2730 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2731 (stackinfo_sub_sp): Likewise.
2732
2733 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2734
2735 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2736 RAX_LP.
2737
2738 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2739
2740 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2741 into R*_LP.
2742
2743 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2744
2745 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2746 sizes into R*_LP.
2747
2748 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2749
2750 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2751
2752 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2753
2754 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2755 into R11_LP and load __x86_64_shared_cache_size_half into
2756 R8_LP.
2757
2758 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2759
2760 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2761 R8_LP.
2762
2763 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2764
2765 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2766 logb for POWER7.
2767 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2768 logbf for POWER7.
2769 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2770 logbl for POWER7.
2771 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2772 powerpc32/power7/fpu/s_logb.c via #include.
2773 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2774 powerpc32/power7/fpu/s_logbf.c via #include.
2775 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2776 powerpc32/power7/fpu/s_logbl.c via #include.
2777
2778 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2779
2780 * README.libm: Remove file.
2781
2782 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2783
2784 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2785 count for x32. Use R*_LP and omit operand-size suffix.
2786
2787 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2788
2789 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2790 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2791 * sysdeps/x86_64/x32/shlib-versions: New file.
2792
2793 2012-05-14 Roland McGrath <roland@hack.frob.com>
2794
2795 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2796 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2797 Use _dl_fatal_printf instead.
2798
2799 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2800
2801 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2802 set if not set by the user. Do not allow for being unset.
2803 * sysdeps/unix/sysv/linux/configure: Regenerated.
2804
2805 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2806
2807 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2808 the `q' suffix from lea and replace .quad with ASM_ADDR.
2809
2810 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2811
2812 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2813 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2814 instead of $17.
2815 (PTR_DEMANGLE): Likewise.
2816
2817 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2818
2819 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2820 (LP_OP): Likewise.
2821 (ASM_ADDR): Likewise.
2822 (RAX_LP): Likewise.
2823 (RBP_LP): Likewise.
2824 (RBX_LP): Likewise.
2825 (RCX_LP): Likewise.
2826 (RDI_LP): Likewise.
2827 (RSI_LP): Likewise.
2828 (RSP_LP): Likewise.
2829 (R8_LP): Likewise.
2830 (R9_LP): Likewise.
2831 (R10_LP): Likewise.
2832 (R10_LP): Likewise.
2833 (R11_LP): Likewise.
2834 (R12_LP): Likewise.
2835 (R13_LP): Likewise.
2836 (R14_LP): Likewise.
2837 (R15_LP): Likewise.
2838
2839 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2840
2841 * sysdeps/x86_64/x32/dl-machine.h: New file.
2842
2843 2012-05-14 Andreas Jaeger <aj@suse.de>
2844
2845 * manual/Makefile (subdir): Remove export of subdir.
2846 (all): Remove target.
2847 (.PHONY): Remove all from list.
2848 (mkinstalldirs): Remove.
2849 (.PHONY): Remove installdirs from list.
2850 ($(inst_infodir)/libc.info): Use make-target-directory.
2851 (installdirs): Remove.
2852 (subdir_%): Remove.
2853 (glibc-targets): Remove.
2854 (lib): Remove.
2855 (stubs): Remove.
2856 ($(objpfx)stubs ../po/manual.pot): Remove.
2857 ($(objpfx)stamp%): Remove.
2858 (make-target-directory): Remove.
2859 (subdir_install): Remove.
2860 (routines): Remove.
2861 (aux): Remove.
2862 (sources): Remove.
2863 (objects): Remove.
2864 (headers): Remove.
2865
2866 [BZ #13750]
2867 * manual/.gitignore: Remove, it's not needed anymore.
2868 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2869 all files in it.
2870 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2871 directory.
2872 (texis): Renamed to $(objpfx)texis.
2873 (texis-path): New, contains path to generated files.
2874 (chapters.%): Use texis-path for complete path, add extra argument
2875 libc-texinfo.sh.
2876 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2877 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2878 (summary,texi, stamp-summary): Use complete path of
2879 files. Generate files in build dir.
2880 (dir-add.texi): Build in build dir.
2881 (libm-err.texi,stamp-libm-err): Likewise.
2882 (version.texi, stamp-version): Likewise.
2883 (.%c.texi): Likewise.
2884 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2885 (mostlyclean): Remove target.
2886 (realclean): Remove target.
2887 (generated): Add new variable with contents from mostlyclean and
2888 realclean, remove entries duplicated in common-mostlyclean, add
2889 stamp-libm-err and stamp-version.
2890 (generated-dirs): Add libc directory.
2891 ($(inst_infodir)/libc.info): Install files from build dir.
2892
2893 * manual/install.texi (Configuring and compiling): Adjust since
2894 the info files are not part of the tar ball anymore.
2895
2896 2012-05-14 Andreas Jaeger <aj@suse.de>
2897
2898 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2899 variable.
2900
2901 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2902
2903 [BZ #13717]
2904 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2905 to 2.2.0 where earlier.
2906 * sysdeps/unix/sysv/linux/configure: Regenerated.
2907 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2908 Remove conditional code.
2909 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2910 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2911 Remove conditional code.
2912 [!__NR_lchown]: Likewise.
2913 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2914 [__NR_lchown]: Likewise.
2915 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2916 comment referencing __ASSUME_LCHOWN_SYSCALL.
2917 * sysdeps/unix/sysv/linux/i386/sigaction.c
2918 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2919 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2920 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2921 Remove conditional code.
2922 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2923 (__protocol_available): Remove #if 0 code.
2924 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2925 conditional code.
2926 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2927 * sysdeps/unix/sysv/linux/kernel-features.h
2928 (__ASSUME_GETCWD_SYSCALL): Don't define.
2929 (__ASSUME_REALTIME_SIGNALS): Likewise.
2930 (__ASSUME_PREAD_SYSCALL): Likewise.
2931 (__ASSUME_PWRITE_SYSCALL): Likewise.
2932 (__ASSUME_POLL_SYSCALL): Likewise.
2933 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2934 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2935 non-SPARC.
2936 (__ASSUME_SIOCGIFNAME): Don't define.
2937 (__ASSUME_MSG_NOSIGNAL): Likewise.
2938 (__ASSUME_SENDFILE): Define unconditionally.
2939 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2940 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2941 conditional code.
2942 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2943 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2944 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2945 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2946 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2947 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2948 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2950 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2951 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2953 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2954 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2956 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2957 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2959 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2960 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2962 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2963 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2965 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2966 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2968 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2969 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2971 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2972 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2973 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2974 Remove conditional code.
2975 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2976 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2977 Remove conditional code.
2978 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2979 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2980 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2981 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2982 Remove conditional code.
2983 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2984 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2985 Remove conditional code.
2986 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2987 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2988 Remove conditional code.
2989 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2990 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2991 Remove conditional code.
2992 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2993 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2994 Remove conditional code.
2995 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2996 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2997 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2998 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2999 * sysdeps/unix/sysv/linux/sigaction.c
3000 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3001 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3002 * sysdeps/unix/sysv/linux/sigpending.c
3003 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3004 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3005 * sysdeps/unix/sysv/linux/sigprocmask.c
3006 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3007 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3008 * sysdeps/unix/sysv/linux/sigsuspend.c
3009 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3010 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3011 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3012 (__libc_missing_rt_sigs): Remove.
3013 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3014 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3015 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3016 Remove conditional code.
3017 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3018 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3019 return 1.
3020 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3021 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3022 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3023 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3024
3025 2012-05-14 Andreas Jaeger <aj@suse.de>
3026
3027 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3028 it's not used in glibc.
3029 (__coshm1): Likewise.
3030 (__acosh1p): Likewise.
3031 (__sgn): Likewise.
3032
3033 * manual/string.texi (Copying and Concatenation): Add missing
3034 variable in concat example.
3035 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3036
3037 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3038
3039 [BZ #14103]
3040 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3041 __builtin_clzl with __builtin_clzll.
3042
3043 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3044
3045 [BZ #14104]
3046 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3047 libc_freeres_ptr.
3048
3049 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3050
3051 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3052 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3053 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3054 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3055
3056 2012-05-14 Mike Frysinger <vapier@gentoo.org>
3057
3058 * NEWS: Update ia64 info.
3059
3060 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
3061
3062 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3063 used as bcopy.
3064
3065 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
3066
3067 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3068 * sysdeps/unix/syscalls.list (dup3): Likewise.
3069 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3070 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3071
3072 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3073
3074 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3075 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3076
3077 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3078
3079 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3080 thread pointer.
3081 (TLS_IE): Use mov/add instead of movq/addq to load thread
3082 pointer.
3083 (TLS_GD_PREFIX): New.
3084 (TLS_GD): Use it.
3085
3086 2012-05-11 David S. Miller <davem@davemloft.net>
3087
3088 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3089 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3090 (_FPU_SETCW): Likewise.
3091
3092 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3093
3094 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3095 is 32-byte aligned.
3096
3097 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
3098
3099 [BZ #11837]
3100 * iconvdata/gb18030.c: Update tables.
3101 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
3102 characters specially.
3103 (BODY for TO_LOOP): Add encoding of missing ranges.
3104
3105 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
3106
3107 [BZ #13673]
3108 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3109 * sysdeps/mach/hurd/dup3.c: Likewise.
3110 * sysdeps/mach/hurd/readlinkat.c: Likewise.
3111 * sysdeps/powerpc/memmove.c:: Likewise.
3112
3113 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3114
3115 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3116 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3117
3118 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3119
3120 * elf/elf.h (R_X86_64_RELATIVE64): New.
3121 (R_X86_64_NUM): Updated.
3122 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3123 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
3124 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3125 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3126 tst-quad1pie tst-quad2pie
3127 (modules-names): Add tst-quadmod1 tst-quadmod2.
3128 ($(objpfx)tst-quad1): New dependency.
3129 ($(objpfx)tst-quad2): Likewise.
3130 ($(objpfx)tst-quad1pie): Likewise.
3131 ($(objpfx)tst-quad2pie): Likewise.
3132 * sysdeps/x86_64/tst-quad1.c: New file.
3133 * sysdeps/x86_64/tst-quad1pie.c: New file.
3134 * sysdeps/x86_64/tst-quad2.c: Likewise.
3135 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3136 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3137 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3138 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3139 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3140
3141 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3142
3143 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3144 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3145 * streams/stropts.h (t_scalar_t): Define type.
3146
3147 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3148 (_PATH_PRESERVE): Set to "/var/lib".
3149 (_PATH_RWHODIR): Set to "/var/spool/rwho".
3150
3151 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3152 instead of int.
3153
3154 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3155 if __dir_mkfile succeeded.
3156
3157 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3158 checking for _hurd_dtablesize. Unlock it right after having
3159 finished _hurd_dtable allocation.
3160
3161 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3162
3163 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3164 * sysdeps/mach/hurd/configure: Regenerated.
3165 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3166 special-casing to...
3167 * sysdeps/gnu/configure.in: ... this new file.
3168 * sysdeps/unix/sysv/linux/configure: Regenerated.
3169 * sysdeps/gnu/configure: New generated file.
3170
3171 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3172 for Linux: use nsec instead of usec, as well as:
3173 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3174 members of type struct timespec.
3175 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3176 New macros.
3177 (struct stat64): Likewise.
3178 (_STATBUF_ST_NSEC): New macro.
3179 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3180
3181 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3182 __strtoul_internal rather than strtoul.
3183
3184 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3185
3186 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3187 and reject them.
3188
3189 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3190
3191 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3192 which preserves existing values.
3193 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3194
3195 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3196
3197 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3198 TIMEOUT values. Return EINVAL for NFDS values either negative or
3199 greater than FD_SETSIZE.
3200
3201 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3202
3203 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3204 allocated, call __vm_protect to finish enabling the existing space, and
3205 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3206 allocate the remainder.
3207
3208 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3209
3210 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3211 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
3212
3213 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3214
3215 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3216 sysdeps/mach/hurd/readlink.c.
3217
3218 * posix/tst-sysconf.c (posix_options): Only use
3219 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3220 _POSIX_SYNCHRONIZED_IO when they are defined
3221 * sysdeps/mach/hurd/bits/posix_opt.h:
3222 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3223 (_XOPEN_REALTIME): Undefine macro.
3224 (_XOPEN_REALTIME_THREADS): Undefine macro.
3225 (_XOPEN_SHM): Undefine macro.
3226 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3227 macro to -1.
3228 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3229 macro to -1.
3230 (_POSIX_ASYNC_IO): Undefine macro.
3231 (_POSIX_PRIORITIZED_IO): Undefine macro.
3232 (_POSIX_SPIN_LOCKS): Define macro to -1.
3233
3234 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3235 SA_NODEFER, SA_RESETHAND.
3236 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3237 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3238 F_DUPFD_CLOEXEC.
3239
3240 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3241
3242 * elf/Makefile (pldd-modules): Define unconditionally.
3243
3244 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3245
3246 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3247
3248 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3249
3250 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3251 Return ENOENT when name is empty.
3252 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3253
3254 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3255
3256 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
3257
3258 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
3259
3260 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3261
3262 Fix mlock in all cases except non-readable pages.
3263 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
3264 instead of VM_PROT_ALL as parameter to __vm_wire function.
3265
3266 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3267 (__mkdir): When path is `/', just fail with EEXIST.
3268 * sysdeps/mach/hurd/mkdirat.c: Likewise.
3269
3270 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3271
3272 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3273 <sys/uio.h> (for writev).
3274 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3275 and <sys/param.h> (for MIN).
3276
3277 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3278
3279 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
3280 REQUESTED_TIME. Properly set the remaining time and return EINTR
3281 if interrupted.
3282
3283 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3284
3285 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3286 Depend on against $(link-rpcuserlibs).
3287
3288 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3289
3290 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3291 (__libc_stack_end): Do not use attribute_relro.
3292 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3293 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
3294 to libthread-provided value.
3295 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3296 attribute_relro.
3297
3298 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3299
3300 [BZ #3748]
3301 * bits/libc-lock.h (__libc_once_get): New macro.
3302 * sysdeps/mach/bits/libc-lock.h: Likewise.
3303 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3304 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3305 instead of using implementation details.
3306
3307 * libio/fileops.c: Unconditionally include <kernel-features.h>.
3308 * libio/freopen.c: Likewise.
3309 * libio/freopen64.c: Likewise.
3310 * misc/syslog.c: Likewise.
3311 * nscd/connections.c: Likewise.
3312 * nscd/netgroupcache.c: Likewise.
3313 * sysdeps/posix/getcwd.c: Likewise.
3314
3315 2012-05-10 Roland McGrath <roland@hack.frob.com>
3316
3317 * math/w_ilogbf.c: Add #include <limits.h>.
3318
3319 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3320
3321 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
3322 path instead of returning without unlocking.
3323
3324 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3325 immediate-write ioctls.
3326 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3327
3328 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3329
3330 * sysdeps/mach/hurd/i386/init-first.c (init): Use
3331 __builtin_frame_address instead of making assumptions about the
3332 location of the return address relative to DATA. Force early load of
3333 the return address.
3334 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3335 __builtin_frame_address.
3336
3337 dup3 for GNU Hurd.
3338 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3339 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3340 implement dup3 and do some further code clean-ups.
3341 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3342 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3343
3344 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3345
3346 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3347
3348 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3349 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3350 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3351 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3352 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3353 d->port.lock.
3354
3355 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3356 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3357 when handler == SIG_ERR, not when handler != SIG_ERR.
3358
3359 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3360
3361 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3362 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3363 definitions.
3364
3365 accept4 for GNU Hurd.
3366 * include/sys/socket.h (__libc_accept4): New prototype.
3367 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3368 to implement __libc_accept4.
3369 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3370 __libc_accept4.
3371 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3372
3373 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3374 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3375 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3376 signal-defines.sym.
3377
3378 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3379
3380 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
3381
3382 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3383
3384 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3385 assertion on O_CLOEXEC flag.
3386 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3387 * hurd/intern-fd.c: Likewise.
3388 * hurd/port2fd.c: Likewise.
3389
3390 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3391
3392 [BZ #3906]
3393 * bits/in.h (IPV6_PKTINFO): Define new macro.
3394 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3395
3396 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3397
3398 [BZ #13954]
3399 [BZ #13955]
3400 [BZ #13956]
3401 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3402 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3403 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3404 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3405 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3406 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3407 * math/libm-test.inc (logb_test) : Additional logb tests.
3408
3409 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3410 Andreas Jaeger <aj@suse.de>
3411
3412 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3413 * configure: Regenerated.
3414 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3415 * config.make.in (link-obsolete-rpc): New substituted variable.
3416 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3417 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3418 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3419 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3420 so that libc.a contains the symbols.
3421 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3422 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3423 * sunrpc/auth_none.c: Likewise.
3424 * sunrpc/auth_unix.c: Likewise.
3425 * sunrpc/authdes_prot.c: Likewise.
3426 * sunrpc/authuxprot.c: Likewise.
3427 * sunrpc/clnt_gen.c: Likewise.
3428 * sunrpc/clnt_perr.c: Likewise.
3429 * sunrpc/clnt_raw.c: Likewise.
3430 * sunrpc/clnt_simp.c: Likewise.
3431 * sunrpc/clnt_tcp.c: Likewise.
3432 * sunrpc/clnt_udp.c: Likewise.
3433 * sunrpc/clnt_unix.c: Likewise.
3434 * sunrpc/des_crypt.c: Likewise.
3435 * sunrpc/des_soft.c: Likewise.
3436 * sunrpc/get_myaddr.c: Likewise.
3437 * sunrpc/key_call.c: Likewise.
3438 * sunrpc/key_prot.c: Likewise.
3439 * sunrpc/netname.c: Likewise.
3440 * sunrpc/pm_getmaps.c: Likewise.
3441 * sunrpc/pm_getport.c: Likewise.
3442 * sunrpc/pmap_clnt.c: Likewise.
3443 * sunrpc/pmap_prot.c: Likewise.
3444 * sunrpc/pmap_prot2.c: Likewise.
3445 * sunrpc/pmap_rmt.c: Likewise.
3446 * sunrpc/publickey.c: Likewise.
3447 * sunrpc/rpc_cmsg.c: Likewise.
3448 * sunrpc/rpc_common.c: Likewise.
3449 * sunrpc/rpc_dtable.c: Likewise.
3450 * sunrpc/rpc_prot.c: Likewise.
3451 * sunrpc/rpc_thread.c: Likewise.
3452 * sunrpc/rtime.c: Likewise.
3453 * sunrpc/svc.c: Likewise.
3454 * sunrpc/svc_auth.c: Likewise.
3455 * sunrpc/svc_raw.c: Likewise.
3456 * sunrpc/svc_run.c: Likewise.
3457 * sunrpc/svc_tcp.c: Likewise.
3458 * sunrpc/svc_udp.c: Likewise.
3459 * sunrpc/svc_unix.c: Likewise.
3460 * sunrpc/svcauth_des.c: Likewise.
3461 * sunrpc/xcrypt.c: Likewise.
3462 * sunrpc/xdr.c: Likewise.
3463 * sunrpc/xdr_array.c: Likewise.
3464 * sunrpc/xdr_float.c: Likewise.
3465 * sunrpc/xdr_intXX_t.c: Likewise.
3466 * sunrpc/xdr_mem.c: Likewise.
3467 * sunrpc/xdr_rec.c: Likewise.
3468 * sunrpc/xdr_ref.c: Likewise.
3469 * sunrpc/xdr_sizeof.c: Likewise.
3470 * sunrpc/xdr_stdio.c: Likewise.
3471
3472 2012-05-10 Roland McGrath <roland@hack.frob.com>
3473
3474 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3475 change. Update copyright years.
3476
3477 2012-05-10 Joseph Myers <joseph@codesourcery.com>
3478
3479 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3480
3481 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3482 Joseph Myers <joseph@codesourcery.com>
3483 Paul Pluzhnikov <ppluzhnikov@google.com>
3484
3485 [BZ #14012]
3486 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3487 requiring rpcgen.
3488 [cross-compiling] (extra-libs): Likewise.
3489 [cross-compiling] (extra-libs-others): Likewise.
3490 [cross-compiling] (librpcsvc-routines): Likewise.
3491 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3492 [cross-compiling] (omit-deps): Likewise.
3493 (sunrpc-CPPFLAGS): New variable.
3494 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3495 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3496 (cross-rpcgen-objs): New variable.
3497 (extra-objs): Append $(cross-rpcgen-objs).
3498 ($(cross-rpcgen-objs)): New rule.
3499 ($(objpfx)cross-rpcgen): Likewise.
3500 (rpcgen-cmd): Define to use $(built-program-file). Expand
3501 comment.
3502 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3503 ($(objpfx)x%.stmp): Likewise.
3504 * sunrpc/proto.h [IS_IN_build] (_): Define.
3505 [IS_IN_build] (_libc_intl_domainname): Likewise.
3506
3507 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3508
3509 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3510 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3511 and R_X86_64_TPOFF64.
3512
3513 2012-05-10 Joseph Myers <joseph@codesourcery.com>
3514
3515 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3516 sysdeps/unix/sysv/syscalls.list.
3517 (stime): Likewise.
3518 (utime): Likewise.
3519 * sysdeps/unix/sysv/syscalls.list: Remove file.
3520
3521 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3522
3523 [BZ #3440]
3524 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3525 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3526 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3527 (__LC_IDENTIFICATION): Make these macros useful in #if
3528 expressions, as required by C99.
3529
3530 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3531
3532 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3533 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3534 after this.
3535
3536 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3537
3538 * stdlib/longlong.h: Updated from GCC.
3539
3540 2012-05-09 Andreas Jaeger <aj@suse.de>
3541
3542 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3543 default is first entry.
3544 (run_mode): Set type.
3545 (main): Remove informal message about syslog.
3546 (options): Fix typo.
3547
3548 [BZ #14053]
3549 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
3550 to asm.
3551 (lrint): Likewise.
3552 (llrintf): Likewise.
3553 (llrint): Likewise.
3554 (rint): Likewise.
3555 (rintf): Likewise.
3556 (nearbyint): Likewise.
3557 (nearbyintf): Likewise.
3558
3559 2012-05-09 Andreas Jaeger <aj@suse.de>
3560 Pedro Alves <palves@redhat.com>
3561
3562 * nscd/nscd.c (run_mode): Use enum.
3563 (main): Cleanup coding style issue.
3564
3565 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
3566 Andreas Jaeger <aj@suse.de>
3567
3568 * nscd/nscd.c (go_background): Replaced with...
3569 (run_mode): ... this.
3570 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
3571 (options): Add -F --foreground.
3572 (main): Implement it.
3573 (parse_opt): Parse it.
3574
3575 2012-05-09 Andreas Jaeger <aj@suse.de>
3576
3577 [BZ #14083]
3578 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3579 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3580 -Wconversion warning.
3581 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3582 Likewise.
3583
3584 2012-05-09 Joseph Myers <joseph@codesourcery.com>
3585
3586 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3587 == 0.
3588 (LC_ALL): Use macro-int-constant.
3589 (LC_COLLATE): Likewise.
3590 (LC_CTYPE): Likewise.
3591 (LC_MESSAGES): Likewise.
3592 (LC_MONETARY): Likewise.
3593 (LC_NUMERIC): Likewise.
3594 (LC_TIME): Likewise.
3595 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3596 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3597 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3598 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3599 Specify type.
3600 [C99-based standards] (float_t): Expect type.
3601 [C99-based standards] (double_t): Expect type.
3602 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3603 type.
3604 [C99-based standards] (HUGE_VALL): Likewise.
3605 [C99-based standards] (INFINITY): Likewise.
3606 [C99-based standards] (NAN): Likewise.
3607 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3608 [C99-based standards] (FP_NAN): Likewise.
3609 [C99-based standards] (FP_NORMAL): Likewise.
3610 [C99-based standards] (FP_SUBNORMAL): Likewise.
3611 [C99-based standards] (FP_ZERO): Likewise.
3612 [C99-based standards] (FP_FAST_FMA): Use
3613 optional-macro-int-constant. Specify type. Require == 1.
3614 [C99-based standards] (FP_FAST_FMAF): Likewise.
3615 [C99-based standards] (FP_FAST_FMAL): Likewise.
3616 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3617 [C99-based standards] (FP_ILOGBNAN): Likewise.
3618 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3619 Specify type.
3620 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3621 [C99-based standards] (math_errhandling): Specify type.
3622 [ISO99 || ISO11] (signgam): Do not allow.
3623 [non-C99-based standards] (copysignf): Do not allow.
3624 [non-C99-based standards] (exp2f): Likewise.
3625 [non-C99-based standards] (log2f): Likewise.
3626 [non-C99-based standards] (modff): Allow.
3627 [non-C99-based standards] (erff): Do not allow.
3628 [non-C99-based standards] (erfcf): Likewise.
3629 [non-C99-based standards] (gammaf): Likewise.
3630 [non-C99-based standards] (hypotf): Likewise.
3631 [non-C99-based standards] (j0f): Likewise.
3632 [non-C99-based standards] (j1f): Likewise.
3633 [non-C99-based standards] (jnf): Likewise.
3634 [non-C99-based standards] (lgammaf): Likewise.
3635 [non-C99-based standards] (tgammaf): Likewise.
3636 [non-C99-based standards] (y0f): Likewise.
3637 [non-C99-based standards] (y1f): Likewise.
3638 [non-C99-based standards] (ynf): Likewise.
3639 [non-C99-based standards] (isnanf): Likewise.
3640 [non-C99-based standards] (acoshf): Likewise.
3641 [non-C99-based standards] (asinhf): Likewise.
3642 [non-C99-based standards] (atanhf): Likewise.
3643 [non-C99-based standards] (cbrtf): Likewise.
3644 [non-C99-based standards] (expm1f): Likewise.
3645 [non-C99-based standards] (ilogbf): Likewise.
3646 [non-C99-based standards] (log1pf): Likewise.
3647 [non-C99-based standards] (logbf): Likewise.
3648 [non-C99-based standards] (nextafterf): Likewise.
3649 [non-C99-based standards] (remainderf): Likewise.
3650 [non-C99-based standards] (rintf): Likewise.
3651 [non-C99-based standards] (scalbf): Likewise.
3652 [non-C99-based standards] (copysignl): Likewise.
3653 [non-C99-based standards] (exp2l): Likewise.
3654 [non-C99-based standards] (log2l): Likewise.
3655 [non-C99-based standards] (modfl): Allow.
3656 [non-C99-based standards] (erfl): Do not allow.
3657 [non-C99-based standards] (erfcl): Likewise.
3658 [non-C99-based standards] (gammal): Likewise.
3659 [non-C99-based standards] (hypotl): Likewise.
3660 [non-C99-based standards] (j0l): Likewise.
3661 [non-C99-based standards] (j1l): Likewise.
3662 [non-C99-based standards] (jnl): Likewise.
3663 [non-C99-based standards] (lgammal): Likewise.
3664 [non-C99-based standards] (tgammal): Likewise.
3665 [non-C99-based standards] (y0l): Likewise.
3666 [non-C99-based standards] (y1l): Likewise.
3667 [non-C99-based standards] (ynl): Likewise.
3668 [non-C99-based standards] (isnanl): Likewise.
3669 [non-C99-based standards] (acoshl): Likewise.
3670 [non-C99-based standards] (asinhl): Likewise.
3671 [non-C99-based standards] (atanhl): Likewise.
3672 [non-C99-based standards] (cbrtl): Likewise.
3673 [non-C99-based standards] (expm1l): Likewise.
3674 [non-C99-based standards] (ilogbl): Likewise.
3675 [non-C99-based standards] (log1pl): Likewise.
3676 [non-C99-based standards] (logbl): Likewise.
3677 [non-C99-based standards] (nextafterl): Likewise.
3678 [non-C99-based standards] (remainderl): Likewise.
3679 [non-C99-based standards] (rintl): Likewise.
3680 [non-C99-based standards] (scalbl): Likewise.
3681 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3682 [non-C99-based standards] (FP_*): Do not allow.
3683 [C99-based standards] (FP_*): Change to
3684 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3685 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3686 allow.
3687 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3688 (SIG_ERR): Likewise.
3689 [X/Open-based standards] (SIG_HOLD): Likewise.
3690 (SIG_IGN): Likewise.
3691 (SIGABRT): Use macro-int-constant. Specify type. Require
3692 positive value.
3693 (SIGFPE): Likewise.
3694 (SIGILL): Likewise.
3695 (SIGINT): Likewise.
3696 (SIGSEGV): Likewise.
3697 (SIGTER): Likewise.
3698 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3699 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3700 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3701 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3702 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3703 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3704 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3705 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3706 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3707 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3708 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3709 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3710 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3711 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3712 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3713 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3714 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3715 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3716 [X/Open-based standards] (SIGTRAP): Likewise.
3717 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3718 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3719 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3720 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3721 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3722 allow.
3723
3724 2012-05-08 Ian Wienand <ianw@vmware.com>
3725
3726 [BZ #14080]
3727 * time/tzset.c (__tzset_parse_tz): Update default rules for
3728 daylight time changes in the Energy Policy Act of 2005.
3729
3730 2012-05-09 Andreas Jaeger <aj@suse.de>
3731
3732 [BZ #13983]
3733 * elf/ldconfig.c (parse_conf): Change string to make clear that
3734 ldconfig only issued a warning if ld.so.conf does not exist.
3735
3736 2012-05-08 David S. Miller <davem@davemloft.net>
3737
3738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3739 movxtod instead of popping the value on the stack.
3740
3741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3742
3743 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3744
3745 * config.h.in: Add HAVE_ARM_PCS_VFP.
3746
3747 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
3748
3749 [BZ #13979]
3750 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3751 checking but the checks are disabled for any reason.
3752
3753 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3754
3755 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3756 and ELF64_R_TYPE with ELFW(R_TYPE).
3757
3758 2012-05-08 Joseph Myers <joseph@codesourcery.com>
3759
3760 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3761 (ulimit): Likewise.
3762
3763 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3764 (settimeofday): Likewise.
3765
3766 2012-05-08 Mike Frysinger <vapier@gentoo.org>
3767
3768 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3769 a struct th_u2 inside the union, and move tu_block/tu_code into
3770 a new th_u3 union of tu_block/tu_code inside of that. Move
3771 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3772 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3773 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3774 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3775 (th_stuff): Change to th_u1.tu_stuff.
3776 (th_data): Define.
3777 (th_msg): Change to th_u1.th_u2.tu_data.
3778
3779 2012-05-07 David S. Miller <davem@davemloft.net>
3780
3781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3782
3783 [BZ #14074]
3784 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3785 (SETUP_PIC_REG): Use it.
3786 (SETUP_PIC_REG_LEAF): Use it.
3787
3788 2012-05-07 Joseph Myers <joseph@codesourcery.com>
3789
3790 [BZ #13885]
3791 [BZ #13923]
3792 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3793 USE_AS_EXPM1L.
3794 (EXPL_FINITE): Likewise.
3795 (FLDLOG): Likewise.
3796 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3797 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3798 e_expl.S.
3799 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3800 USE_AS_EXPM1L.
3801 (EXPL_FINITE): Likewise.
3802 (FLDLOG): Likewise.
3803 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3804 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3805 e_expl.S.
3806 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3807 test of -max_value argument for long double.
3808 * sysdeps/i386/fpu/libm-test-ulps: Update.
3809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3810
3811 2012-05-06 David S. Miller <davem@davemloft.net>
3812
3813 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3814 quad soft-float symbols whose references which are compiler
3815 generated.
3816 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3817
3818 2012-05-06 Joseph Myers <joseph@codesourcery.com>
3819
3820 [BZ #13884]
3821 [BZ #13914]
3822 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3823 USE_AS_EXP10L.
3824 (EXPL_FINITE): Likewise.
3825 (FLDLOG): Likewise.
3826 (c0): Likewise.
3827 (c1): Likewise.
3828 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3829 Adjust comments for base varying.
3830 (__expl_finite): Change alias to EXPL_FINITE.
3831 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3832 e_expl.S.
3833 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3834 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3835 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3836 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3837 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3838 USE_AS_EXP10L.
3839 (EXPL_FINITE): Likewise.
3840 (FLDLOG): Likewise.
3841 (c0): Likewise.
3842 (c1): Likewise.
3843 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3844 Adjust comments for base varying.
3845 (__expl_finite): Change alias to EXPL_FINITE.
3846 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3847 tests for bugs.
3848 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3849
3850 [BZ #14064]
3851 * math/libm-test.inc (check_float_internal): Correct ulp
3852 calculation for subnormal expected results.
3853
3854 2012-05-06 Andreas Jaeger <aj@suse.de>
3855
3856 * Makeconfig (+math-flags): New, set to -frounding-math.
3857 (+cflags): Add +math-flags so that all of glibc gets compiled with
3858 it.
3859
3860 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3861
3862 2012-05-05 Joseph Myers <joseph@codesourcery.com>
3863
3864 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3865 Disable one test.
3866
3867 [BZ #13787]
3868 [BZ #13922]
3869 [BZ #14036]
3870 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3871 (__ieee754_expl): Allow for and saturate large arguments.
3872 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3873 (u_threshold): Likewise.
3874 (__exp): Call __ieee754_exp before checking for overflow and
3875 underflow.
3876 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3877 (u_threshold): Likewise.
3878 (__expf): Call __ieee754_expf before checking for overflow and
3879 underflow.
3880 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3881 (u_threshold): Likewise.
3882 (__expl): Call __ieee754_expl before checking for overflow and
3883 underflow.
3884 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3885 (__ieee754_expl): Allow for and saturate large arguments.
3886 * math/libm-test.inc (exp_test): Add another test. Do not allow
3887 missing overflow exception on overflow.
3888 (expm1_test): Do not allow missing overflow exception on overflow.
3889
3890 * sysdeps/i386/fpu/e_expl.c: Move to ...
3891 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3892 rather than using inline asm.
3893 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3894 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3895 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3896
3897 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3898 (nice): Likewise.
3899 (poll): Likewise.
3900 (signal): Likewise.
3901 (time): Likewise.
3902 (times): Likewise.
3903
3904 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3905
3906 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3907 sysdeps/unix/common/syscalls.list.
3908 (fchmod): Likewise.
3909 (fchown): Likewise.
3910 (ftruncate): Likewise.
3911 (getrusage): Likewise.
3912 (gettimeofday): Likewise.
3913 (setpgid): Likewise.
3914 (setregid): Likewise.
3915 (setreuid): Likewise.
3916 (sigaction): Likewise.
3917 (truncate): Likewise.
3918 (vhangup): Likewise.
3919 * sysdeps/unix/common/syscalls.list: Remove file.
3920 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3921 * sysdeps/unix/sysv/linux/Implies: Likewise.
3922
3923 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3924
3925 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3926 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3927 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3928 Moved to ...
3929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3930 Here.
3931 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3932 to ...
3933 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3934 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3935 to ...
3936 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3937 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3938 to ...
3939 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3940 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3941 to ...
3942 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3943 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3944 to ...
3945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3946 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3947 to ...
3948 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3949 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3950 to ...
3951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3952 Here.
3953 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3954 to ...
3955 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3956 Here.
3957 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3958 to ...
3959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3960 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3961 Moved to ...
3962 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3963 Here.
3964 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3965 to ...
3966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3967
3968 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3969
3970 * sysdeps/unix/common/bits/dirent.h: Remove file.
3971 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3972
3973 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3974 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3975 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3976 * sysdeps/unix/bsd/isatty.c: Likewise.
3977 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3978 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3979 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3980
3981 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3982
3983 [BZ #13563]
3984 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3985 long double comparison inaccuracies.
3986 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3988
3989 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3990
3991 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3992 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3993
3994 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3995
3996 [BZ #14049]
3997 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3998 nonzero digits before rounding a hex value.
3999 * stdlib/tst-strtod.c (tests): Add another test.
4000
4001 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4002
4003 * sysdeps/s390/fpu/libm-test-ulps: Update.
4004
4005 2012-05-03 Andreas Jaeger <aj@suse.de>
4006
4007 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4008 does not get optimized out.
4009 (malloc_opt_barrier): New.
4010
4011 2012-05-03 Andreas Jaeger <aj@suse.de>
4012 Roland McGrath <roland@hack.frob.com>
4013
4014 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
4015 intermediate file deletion.
4016 (generated): Add .symlist files.
4017
4018 2012-05-03 Joseph Myers <joseph@codesourcery.com>
4019
4020 [BZ #13775]
4021 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4022 Redirect under this condition.
4023 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4024 [__USE_GNU] (__dprintf_chk): Not under this condition.
4025 [__USE_GNU] (__vdprintf_chk): Likewise.
4026 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4027 under this condition.
4028 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4029 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4030 [__USE_XOPEN2K8] (vdprintf): Likewise.
4031 [__USE_GNU] (__dprintf_chk): Not under this condition.
4032 [__USE_GNU] (__vdprintf_chk): Likewise.
4033 [__USE_GNU] (dprintf): Likewise.
4034 [__USE_GNU] (vdprintf): Likewise.
4035
4036 2012-05-03 Roland McGrath <roland@hack.frob.com>
4037
4038 * elf/Makefile (common-generated): Set this instead of generated for
4039 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
4040 $(all-built-dso)-derived lists.
4041
4042 2012-05-03 Andreas Jaeger <aj@suse.de>
4043
4044 * sysdeps/i386/fpu/libm-test-ulps: Update.
4045
4046 * FAQ: Removed.
4047 * FAQ.in: Likewise.
4048 * scripts/gen-FAQ.pl: Likewise.
4049 * manual/install.texi (Installation): Point to online location of
4050 FAQ.
4051 * Makefile (files-for-dist): Remove FAQ.
4052 (FAQ): Remove.
4053
4054 2012-05-02 Allan McRae <allan@archlinux.org>
4055
4056 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4057 (LDFLAGS-reldepmod5.so): Likewise.
4058 (LDFLAGS-reldep6mod1.so): Likewise.
4059 (LDFLAGS-reldep6mod4.so): Likewise.
4060 (LDFLAGS-reldep8mod3.so): Likewise.
4061 (LDFLAGS-unload4mod1.so): Likewise.
4062 (LDFLAGS-unload4mod2.so): Likewise.
4063 (LDFLAGS-tst-initorder): Likewise.
4064 (LDFLAGS-tst-initordera2.so): Likewise.
4065 (LDFLAGS-tst-initordera3.so): Likewise.
4066 (LDFLAGS-tst-initordera4.so): Likewise.
4067 (LDFLAGS-tst-initorderb2.so): Likewise.
4068 (LDFLAGS-noload): Likewise.
4069 (LDFLAGS-next): Likewise.
4070 (LDFLAGS-order2mod1.so): Likewise.
4071 (LDFLAGS-order2mod2.so): Likewise.
4072 (LDFLAGS-tst-initorder2): Likewise.
4073 (LDFLAGS-tst-initorder2a.so): Likewise.
4074 (LDFLAGS-tst-initorder2b.so): Likewise.
4075 (LDFLAGS-tst-initorder2c.so): Likewise.
4076 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4077
4078 2012-05-02 David S. Miller <davem@davemloft.net>
4079
4080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4081
4082 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4083
4084 [BZ #14055]
4085 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4086
4087 2012-05-02 Andreas Jaeger <aj@suse.de>
4088
4089 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4090 since we manipulate rounding mode.
4091 (CPPFLAGS-test-idouble.c): Likewise.
4092 (CPPFLAGS-test-ifloat.c): Likewise.
4093 (CFLAGS-test-ldouble.c): Likewise.
4094 (CFLAGS-test-double.c): Likewise.
4095 (CFLAGS-test-float.c): Likewise.
4096 (CFLAGS-test-misc.c): Likewise.
4097 (CFLAGS-test-test-fenv.c): Likewise.
4098
4099 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4100
4101 [BZ #2550]
4102 [BZ #2570]
4103 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4104 comparisons to determine direction to adjust input.
4105
4106 2012-05-01 Roland McGrath <roland@hack.frob.com>
4107
4108 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4109 output to the target.
4110
4111 * scripts/localplt.awk: New file.
4112 * elf/Makefile ($(objpfx)check-localplt): Target removed.
4113 (check-localplt-CFLAGS): Variable removed.
4114 ($(all-built-dso:=.jmprel)): New static pattern rule.
4115 (generated): Add those targets.
4116 (localplt-built-dso): New variable.
4117 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4118
4119 * elf/check-localplt.c: File removed.
4120
4121 * scripts/check-execstack.awk: New file.
4122 * elf/Makefile ($(objpfx)check-execstack): Target removed.
4123 (check-execstack-CFLAGS): Variable removed.
4124 ($(objpfx)check-execstack.h): Target removed.
4125 ($(objpfx)execstack-default): New target.
4126 (generated): Add that instead of check-execstack.h.
4127 ($(all-built-dso:=.phdr)): New static pattern rule.
4128 (generated): Add those targets.
4129 * elf/check-execstack.c: File removed.
4130
4131 * scripts/check-textrel.awk: New file.
4132 * elf/Makefile ($(objpfx)check-textrel): Target removed.
4133 (check-textrel-CFLAGS): Variable removed.
4134 (all-built-dso): Use := to define.o
4135 ($(all-built-dso:=.dyn)): New static pattern rule.
4136 (generated): Add those targets.
4137 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4138 * config.make.in (READELF): New substituted variable.
4139 * elf/check-textrel.c: File removed.
4140
4141 2012-05-01 Joseph Myers <joseph@codesourcery.com>
4142
4143 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4144 allow.
4145 * conform/data/ctype.h-data [C99-based standards] (isblank):
4146 Expect function.
4147 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4148 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4149 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4150 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4151 Specify type. Require positive value.
4152 (EILSEQ): Likewise.
4153 (ERANGE): Likewise.
4154 [ISO || POSIX] (EILSEQ): Do not expect.
4155 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4156 Specify type. Require positive value.
4157 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4158 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4159 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4160 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4161 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4162 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4163 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4164 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4165 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4166 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4167 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4168 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4169 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4170 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4171 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4172 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4173 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4174 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4175 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4176 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4177 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4178 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4179 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4180 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4181 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4182 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4183 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4184 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4185 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4186 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4187 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4188 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4189 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4190 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4191 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4192 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4193 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4194 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4195 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4196 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4197 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4198 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4199 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4200 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4201 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4202 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4203 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4204 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4205 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4206 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4207 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4208 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4209 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4210 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4211 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4212 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4213 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4214 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4215 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4216 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4217 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4218 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4219 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4220 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4221 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4222 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4223 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4224 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4225 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4226 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4227 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4228 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4229 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4230 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4231 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4232 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4233 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4234 Require >= 2.
4235 (FLT_ROUNDS): Expect as macro, not constant.
4236 (FLT_MANT_DIG): Use macro-int-constant.
4237 (DBL_MANT_DIG): Likewise.
4238 (LDBL_MANT_DIG): Likewise.
4239 (FLT_DIG): Likewise.
4240 (DBL_DIG): Likewise.
4241 (LDBL_DIG): Likewise.
4242 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
4243 (DBL_MIN_EXP): Likewise.
4244 (LDBL_MIN_EXP): Likewise.
4245 (FLT_MAX_EXP): Use macro-int-constant.
4246 (DBL_MAX_EXP): Likewise.
4247 (LDBL_MAX_EXP): Likewise.
4248 (FLT_MAX_10_EXP): Likewise.
4249 (DBL_MAX_10_EXP): Likewise.
4250 (LDBL_MAX_10_EXP): Likewise.
4251 (FLT_MAX): Use macro-constant.
4252 (DBL_MAX): Likewise.
4253 (LDBL_MAX): Likewise.
4254 (FLT_EPSILON): Use macro-constant. Give upper bound.
4255 (DBL_EPSILON): Likewise.
4256 (LDBL_EPSILON): Likewise.
4257 (FLT_MIN): Likewise.
4258 (DBL_MIN): Likewise.
4259 (LDBL_MIN): Likewise.
4260 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
4261 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
4262 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
4263 [ISO11] (FLT_HAS_SUBNORM): Likewise.
4264 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
4265 [ISO11] (DBL_DECIMAL_DIG): Likewise.
4266 [ISO11] (FLT_DECIMAL_DIG): Likewise.
4267 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4268 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4269 [ISO11] (FLT_TRUE_MIN): Likewise.
4270 [ISO11] (LDBL_TRUE_MIN): Likewise.
4271 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4272 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4273 (SCHAR_MIN): Use macro-int-constant. Specify type.
4274 (SCHAR_MAX): Likewise.
4275 (UCHAR_MAX): Likewise.
4276 (CHAR_MIN): Likewise.
4277 (CHAR_MAX): Likewise.
4278 (MB_LEN_MAX): Use macro-int-constant.
4279 (SHRT_MIN): Use macro-int-constant. Specify type.
4280 (SHRT_MAX): Likewise.
4281 (USHRT_MAX): Likewise.
4282 (INT_MAX): Likewise.
4283 (INT_MIN): Use macro-int-constant. Specify type. Make upper
4284 bound negative.
4285 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
4286 bound with "U".
4287 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4288 bound with "L".
4289 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
4290 bound negative. Suffix upper bound with "L".
4291 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4292 bound with "UL".
4293 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4294 Specify type.
4295 [C99-based standards] (LLONG_MAX): Likewise.
4296 [C99-based standards] (ULLONG_MAX): Likewise.
4297 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
4298 == 0.
4299 [ISO11] (max_align_t): Require type.
4300 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4301
4302 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4303 from $CFLAGS, without defining away __attribute__ calls.
4304 (checknamespace): Use $CFLAGS_namespace.
4305
4306 * conform/conformtest.pl (@keywords): Only include C99 keywords
4307 for standards based on C99 or C11.
4308
4309 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4310 Disable tests.
4311 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4312 UNIX98]: Likewise.
4313
4314 * conform/conformtest.pl: Handle "macro-int-constant" and test for
4315 usability of symbols in #if.
4316
4317 * conform/conformtest.pl: If macro or constant types start
4318 "promoted:", expect the symbol to be of the following type
4319 promoted by the integer promotions.
4320
4321 * conform/conformtest.pl: Parse all "constant" and "macro" lines
4322 in one place. Also handle "macro-constant".
4323
4324 * conform/conformtest.pl: Only accept expected macro values with
4325 "==". Parse all "macro" lines in one place.
4326 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4327
4328 * conform/conformtest.pl: Handle braced types on "constant" lines
4329 instead of handling "typed-constant".
4330 * conform/data/signal.h-data: Use "constant" instead of
4331 "typed-constant".
4332
4333 * conform/conformtest.pl: Handle "optional-" at start of lines in
4334 one place rather than duplicating several cases. Handle each
4335 format of "macro" line with initial "optional-".
4336
4337 * conform/conformtest.pl: Only accept expected constant or
4338 optional-constant values with "==". Parse all "constant" lines in
4339 one place. Parse all "optional-constant" lines in one place.
4340 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4341 * conform/data/fmtmsg.h-data: Likewise.
4342 * conform/data/netinet/in.h-data: Likewise.
4343 * conform/data/tar.h-data: Likewise.
4344 * conform/data/limits.h-data: Use "==" form on "constant" and
4345 "optional-constant" lines.
4346
4347 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4348 Use -std=c99 for XOPEN2K.
4349 (@knownproblems): Remove.
4350 (newtoken): Don't check %isknown.
4351
4352 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4353 Do not expect macro.
4354 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4355 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4356 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4357 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4358 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4359 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4360 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4361 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4362 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4363 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4364 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4365 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4366 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4367 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4368 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4369 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4370 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4371 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4372 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4373 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4374 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4375 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4376 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4377 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4378 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4379 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4380 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4381 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4382 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4383 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4384 [XPG3] (acosh): Likewise.
4385 [XPG3] (asinh): Likewise.
4386 [XPG3] (atanh): Likewise.
4387 [XPG3] (cbrt): Likewise.
4388 [XPG3] (expm1): Likewise.
4389 [XPG3] (ilogb): Likewise.
4390 [XPG3] (log1p): Likewise.
4391 [XPG3] (logb): Likewise.
4392 [XPG3] (nextafter): Likewise.
4393 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4394 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4395 [XPG3] (remainder): Likewise.
4396 [XPG3] (rint): Likewise.
4397 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4398 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4399 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4400 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4401 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4402 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4403 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4404 [UNIX98 || XOPEN2K] (scalb): Expect.
4405 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4406 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4407 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4408 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4409 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4410 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4411 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4412 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4413 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4414 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4415 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4416 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4417 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4418 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4419 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4420 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4421 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4422 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4423 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4424 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4425 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4426 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4427 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4428 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4429 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4430 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4431 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4432 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4433 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4434 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4435 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4436 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4437 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4438 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4439 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4440 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4441 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4442 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4443 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4444 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4445 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4446 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4447 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4448 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4449 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4450 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4451 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4452 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4453 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4454 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4455 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4456 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4457 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4458 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4459 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4460 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4461 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4462 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4463 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4464 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4465 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4466 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4467 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4468 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4469 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4470 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4471 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4472 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4473 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4474 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4475 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4476 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4477 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4478 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4479 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4480 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4481 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4482 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4483 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4484 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4485 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4486 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4487 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4488 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4489 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4490 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4491 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4492 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4493 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4494 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4495 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4496 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4497 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4498 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4499 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4500 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4501 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4502 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4503 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4504 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4505 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4506 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4507 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4508 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4509 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4510 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4511 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4512 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4513 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4514 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4515 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4516 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4517 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4518 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4519 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4520 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4521 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4522 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4523 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4524 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4525 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4526 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4527 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4528 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4529 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4530 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4531 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4532 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4533 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4534 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4535 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4536 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4537 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4538 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4539 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4540 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4541 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4542
4543 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4544 _XOPEN_SOURCE_EXTENDED for XPG4.
4545
4546 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4547
4548 * Makeconfig (localtime): Remove variable.
4549 (inst_localtime-file): Likewise.
4550
4551 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4552
4553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4554 Update.
4555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4556 Update.
4557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4558 Update.
4559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4560 Update.
4561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4562 Update.
4563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4564 Update.
4565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4566 Update.
4567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4568 Update.
4569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4570 Update.
4571
4572 2012-05-01 Joseph Myers <joseph@codesourcery.com>
4573
4574 [BZ #2550]
4575 [BZ #2570]
4576 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4577 comparisons to determine direction to adjust input.
4578 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4579 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4580 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4581 Likewise.
4582 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4583 Likewise.
4584 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4585 Likewise.
4586 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4587 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4588 Likewise.
4589 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4590 Likewise.
4591 * math/libm-test.inc (nexttoward_test): Add more tests.
4592
4593 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4594
4595 [BZ #14040]
4596 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4597 in version GLIBC_2.1, not GLIBC_2.0.
4598 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4599 Likewise.
4600
4601 2012-04-30 Joseph Myers <joseph@codesourcery.com>
4602
4603 [BZ #13942]
4604 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4605 (1 - x) * (1 + x).
4606 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4607 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4608 * math/libm-test.inc (acos_test): Add more tests.
4609 (asin_test): Likewise.
4610 * sysdeps/i386/fpu/libm-test-ulps: Update.
4611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4612
4613 [BZ #14034]
4614 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4615 of square root.
4616 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4617 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4618 * math/libm-test.inc (acos_test_tonearest): New function.
4619 (acos_test_towardzero): Likewise.
4620 (acos_test_downward): Likewise.
4621 (acos_test_upward): Likewise.
4622 (asin_test_tonearest): Likewise.
4623 (asin_test_towardzero): Likewise.
4624 (asin_test_downward): Likewise.
4625 (asin_test_upward): Likewise.
4626 (main): Call the new functions.
4627 * sysdeps/i386/fpu/libm-test-ulps: Update.
4628 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4629
4630 [BZ #13884]
4631 [BZ #13924]
4632 * math/e_exp10.c: Include <float.h>.
4633 (__ieee754_exp10): Handle underflow here rather than multiplying
4634 large negative argument by M_LN10.
4635 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4636 of __ieee754_expf.
4637 * math/e_exp10l.c: Include <float.h>.
4638 (__ieee754_exp10l): Handle underflow here rather than multiplying
4639 large negative argument by M_LN10l.
4640 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4641 spurious overflow exception on underflow.
4642
4643 2012-04-29 Marek Polacek <polacek@redhat.com>
4644
4645 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4646 (__fortify_function): New macro.
4647 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4648 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4649 __extern_always_inline.
4650 * libio/bits/stdio2.h: Likewise.
4651 * libio/bits/stdio.h: Likewise.
4652 * string/string.h: Likewise.
4653 * string/bits/string3.h: Likewise.
4654 * include/stdio.h: Likewise.
4655 * stdlib/bits/stdlib.h: Likewise.
4656 * stdlib/stdlib.h: Likewise.
4657 * rt/bits/mqueue2.h: Likewise.
4658 * rt/mqueue.h: Likewise.
4659 * posix/bits/unistd.h: Likewise.
4660 * posix/unistd.h: Likewise.
4661 * io/bits/poll2.h: Likewise.
4662 * io/bits/fcntl2.h: Likewise.
4663 * io/fcntl.h: Likewise.
4664 * io/sys/poll.h: Likewise.
4665 * misc/bits/syslog.h: Likewise.
4666 * misc/bits/syslog-ldbl.h: Likewise.
4667 * misc/sys/syslog.h: Likewise.
4668 * socket/bits/socket2.h: Likewise.
4669 * socket/sys/socket.h: Likewise.
4670 * debug/tst-chk1.c: Likewise.
4671 * wcsmbs/bits/wchar2.h: Likewise.
4672 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4673 * wcsmbs/wchar.h: Likewise.
4674
4675 2012-04-29 Andreas Jaeger <aj@suse.de>
4676
4677 * Makerules (tests): Remove enable-check-abi protection.
4678 (check-abi-warn): Remove.
4679 (check-abi-%): Remove check-abi-warn usage.
4680
4681 * configure.in: Remove check-abi configure option.
4682 * configure: Regenerated.
4683 * config.make.in (enable-check-abi): Remove.
4684
4685 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4686
4687 [BZ #14033]
4688 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4689 double functions to double *_finite functions.
4690
4691 [BZ #13941]
4692 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4693 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4694 LDBL_MIN_EXP.
4695 * stdio-common/Makefile (tests): Add tst-sprintf3.
4696 * stdio-common/tst-sprintf3.c: New file.
4697
4698 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4699 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4700
4701 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4702
4703 * conform/conformtest.pl: Remove duplicate typed-constant
4704 handling.
4705
4706 2012-04-28 David S. Miller <davem@davemloft.net>
4707
4708 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4709 (check-abi-%): Remove AWK script prerequisite and explicit
4710 abilist directory.
4711 (check-abi): Rewrite to just diff the symlist with the abilist.
4712 (config-tls, config-abi-config): Delete, no longer used.
4713 (update-abi-%): Remove AWK script and explicit abilist directory.
4714 (update-abi): Rewrite to simply compare and conditionally copy the
4715 symlist and the sysdep abilist file. Remove update-abi-config
4716 checks.
4717 * abilist/ld.abilist: Remove.
4718 * abilist/libBrokenLocale.abilist: Remove.
4719 * abilist/libanl.abilist: Remove.
4720 * abilist/libcrypt.abilist: Remove.
4721 * abilist/libdl.abilist: Remove.
4722 * abilist/librt.abilist: Remove.
4723 * abilist/libthread_db.abilist: Remove.
4724 * abilist/libutil.abilist: Remove.
4725 * scripts/extract-abilist.awk: Remove.
4726 * scripts/merge-abilist.awk: Remove.
4727 * sysdeps/generic/libcidn.abilist: New file.
4728 * sysdeps/generic/libnss_compat.abilist: New file.
4729 * sysdeps/generic/libnss_db.abilist: New file.
4730 * sysdeps/generic/libnss_dns.abilist: New file.
4731 * sysdeps/generic/libnss_files.abilist: New file.
4732 * sysdeps/generic/libnss_hesiod.abilist: New file.
4733 * sysdeps/generic/libnss_nis.abilist: New file.
4734 * sysdeps/generic/libnss_nisplus.abilist: New file.
4735 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4736 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4737 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4738 file.
4739 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4740 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4741 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4742 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4743 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4744 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4745 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4746 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4747 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4748 file.
4749 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4750 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4751 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4752 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4753 file.
4754 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4755 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4756 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4757 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4758 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4759 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4760 file.
4761 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4762 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4763 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4764 file.
4765 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4766 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4767 New file.
4768 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4769 New file.
4770 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4771 New file.
4772 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4773 New file.
4774 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4775 New file.
4776 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4777 New file.
4778 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4779 New file.
4780 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4781 New file.
4782 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4783 New file.
4784 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4785 New file.
4786 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4787 New file.
4788 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4789 New file.
4790 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4791 New file.
4792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4793 file.
4794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4795 New file.
4796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4797 New file.
4798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4799 file.
4800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4801 New file.
4802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4803 New file.
4804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4805 file.
4806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4807 New file.
4808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4809 New file.
4810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4811 New file.
4812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4813 New file.
4814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4815 New file.
4816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4817 New file.
4818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4820 file.
4821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4822 New file.
4823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4824 file.
4825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4826 file.
4827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4828 file.
4829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4830 file.
4831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4832 file.
4833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4834 New file.
4835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4836 file.
4837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4838 file.
4839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4840 New file.
4841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4842 file.
4843 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4845 file.
4846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4847 New file.
4848 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4849 file.
4850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4851 file.
4852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4853 file.
4854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4855 file.
4856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4857 file.
4858 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4859 New file.
4860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4861 file.
4862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4863 file.
4864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4865 New file.
4866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4867 file.
4868 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4869 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4870 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4871 file.
4872 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4873 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4874 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4875 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4876 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4877 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4878 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4879 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4880 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4881 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4882 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4883 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4884 file.
4885 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4886 New file.
4887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4888 file.
4889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4890 file.
4891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4892 file.
4893 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4894 file.
4895 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4896 file.
4897 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4898 New file.
4899 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4900 New file.
4901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4902 file.
4903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4904 New file.
4905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4906 file.
4907 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4908 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4909 file.
4910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4911 New file.
4912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4913 file.
4914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4915 file.
4916 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4917 file.
4918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4919 file.
4920 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4921 file.
4922 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4923 New file.
4924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4925 New file.
4926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4927 file.
4928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4929 New file.
4930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4931 file.
4932
4933 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4934
4935 * conform/conformtest.pl: Fix typo in handling typed-constant from
4936 allow-header.
4937
4938 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4939
4940 * README: Cut down references to pre-2.6 Linux kernels and
4941 Linuxthreads. Update lists of configurations in libc and ports
4942 and sort alphabetically. Say "or newer" with Linux kernel version
4943 requirements.
4944
4945 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4946
4947 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4948
4949 [BZ #887]
4950 * math/libm-test.inc (logb_test_downward): New test to expose
4951 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4952 rounding mode.
4953
4954 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4955
4956 [BZ #14027]
4957 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4958 to be done.
4959 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4960 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4961
4962 2012-04-26 Joseph Myers <joseph@codesourcery.com>
4963
4964 * sysdeps/unix/i386/brk.S: Remove file.
4965 * sysdeps/unix/i386/dl-brk.S: Likewise.
4966 * sysdeps/unix/i386/pipe.S: Likewise.
4967 * sysdeps/unix/i386/sigreturn.S: Likewise.
4968 * sysdeps/unix/i386/syscall.S: Likewise.
4969 * sysdeps/unix/i386/vfork.S: Likewise.
4970 * sysdeps/unix/i386/wait.S: Likewise.
4971
4972 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4973 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4974
4975 * configure.in (arm*-none*): Do not allow without
4976 --enable-hacker-mode.
4977 (netbsd*): Remove case setting base_os.
4978 (386bsd*): Likewise.
4979 (freebsd*): Likewise.
4980 (bsdi*): Likewise.
4981 (osf*): Likewise.
4982 (sunos*): Likewise.
4983 (ultrix*): Likewise.
4984 (newsos*): Likewise.
4985 (dynix*): Likewise.
4986 (*bsd*): Likewise.
4987 (sysv*): Likewise.
4988 (isc*): Likewise.
4989 (esix*): Likewise.
4990 (sco*): Likewise.
4991 (minix*): Likewise.
4992 (irix4*): Likewise.
4993 (irix6*): Likewise.
4994 (solaris[2-9]*): Likewise.
4995 (none): Likewise.
4996 * configure: Regenerated.
4997
4998 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4999
5000 [BZ #11521]
5001 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5002 overflow or cancellation in calculating denominator.
5003 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5004 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5005 down expression to avoid unexpected rounding in newer GCCs.
5006 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5007
5008 2012-04-26 David S. Miller <davem@davemloft.net>
5009
5010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5011 long-double compat symbols.
5012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5025
5026 2012-04-25 David S. Miller <davem@davemloft.net>
5027
5028 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5029 HWCAP_* values only after the memory barriers have been defined.
5030 (atomic_full_barrier): Define.
5031 (atomic_read_barrier): Define.
5032 (atomic_write_barrier): Define.
5033
5034 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5035
5036 * shlib-versions: Add libgcc_s version information.
5037 * sysdeps/generic/libgcc_s.h: Remove.
5038 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5039 libgcc_s.h.
5040 * sysdeps/gnu/unwind-resume.c: Likewise.
5041 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5042
5043 2012-04-25 David S. Miller <davem@davemloft.net>
5044
5045 * sysdeps/unix/sparc/brk.S: Delete.
5046 * sysdeps/unix/sparc/dl-brk.S: Delete.
5047 * sysdeps/unix/sparc/pipe.S: Delete.
5048 * sysdeps/unix/sparc/sysdep.S: Delete.
5049 * sysdeps/unix/sparc/sysdep.h: Delete.
5050 * sysdeps/unix/sparc/vfork.S: Delete.
5051 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5052 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5053 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5054 ret_ERRVAL, r0, r1, MOVE): Define.
5055 (JUMPTARGET): Remove.
5056 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5057 sysdeps/unix/sparc/sysdep.h
5058 (ENTRY, END): Remove.
5059 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5060
5061 2012-04-25 Joseph Myers <joseph@codesourcery.com>
5062
5063 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5064 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5065 -DIS_IN_build.
5066
5067 * timezone/README: Update upstream location and email address for
5068 tzcode and tzdata.
5069 * timezone/zdump.c: Update from tzcode 2012b.
5070 * timezone/zic.c: Likewise.
5071
5072 * configure.in (libc_cv_as_needed): Remove test.
5073 * configure: Regenerated.
5074 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5075 conditional definition.
5076 [$(have-as-needed) != yes] (no-as-needed): Likewise.
5077 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5078 * config.make.in (have-as-needed): Remove variable.
5079
5080 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5081 Paul Pluzhnikov <ppluzhnikov@google.com>
5082
5083 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5084 strings correctly.
5085
5086 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5087
5088 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5089 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5090 * sysdeps/sh/strlen.S: Likewise.
5091
5092 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5093
5094 * sysdeps/unix/fork.S: Remove file.
5095 * sysdeps/unix/i386/fork.S: Likewise.
5096 * sysdeps/unix/sparc/fork.S: Likewise.
5097
5098 * sysdeps/unix/system.c: Remove file.
5099 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5100
5101 * sysdeps/unix/getegid.S: Remove file.
5102 * sysdeps/unix/geteuid.S: Likewise.
5103
5104 2012-04-24 Roland McGrath <roland@hack.frob.com>
5105
5106 * scripts/check-localplt.awk: New file.
5107 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5108 of diff.
5109 * scripts/data/localplt-generic.data: Add a comment.
5110
5111 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5112 NODE when __dir_mkfile failed.
5113 * sysdeps/mach/hurd/symlinkat.c: Likewise.
5114 Reported by Ludovic Courtès <ludo@gnu.org>.
5115
5116 2012-04-24 Andreas Jaeger <aj@suse.de>
5117
5118 * Makerules (common-clean): Also remove gen-as-const-headers
5119 files.
5120
5121 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5122
5123 * Makerules (native-compile): Do not change working directory for
5124 build. Use $(OUTPUT_OPTION) in command.
5125 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5126
5127 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5128
5129 [BZ #13886]
5130 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5131 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5132 * math/libm-test.inc (floor_test): Add more tests.
5133 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5134
5135 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5136
5137 * sysdeps/unix/getdents.c: Remove file.
5138 * sysdeps/unix/sysv/getdents.c: Likewise.
5139 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5140
5141 * sysdeps/unix/syscalls.list (madvise): Add syscall from
5142 sysdeps/unix/mman/syscalls.list.
5143 (mmap): Likewise.
5144 (mprotect): Likewise.
5145 (msync): Likewise.
5146 (munmap): Likewise.
5147 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5148 * sysdeps/unix/mman/syscalls.list: Remove.
5149 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5150
5151 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5152 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5153 * configure: Regenerated.
5154 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5155 $(libgcc_s_suffix).
5156 * config.make.in (libgcc_s_suffix): Remove variable.
5157
5158 2012-04-23 Joseph Myers <joseph@codesourcery.com>
5159
5160 * sysdeps/unix/sysv/gethostname.c: Move to ...
5161 * sysdeps/posix/gethostname.c: ... here.
5162
5163 * sysdeps/unix/execve.S: Remove file.
5164
5165 * sysdeps/unix/_exit.S: Remove file.
5166
5167 2012-04-23 Andreas Jaeger <aj@suse.de>
5168
5169 [BZ #13739]
5170 * manual/Makefile: Remove make dist support, there's no
5171 need for a stand-alone documentation tar ball.
5172 (TEXI2DVI): Define always, it's not in Makeconfig.
5173 (dist): Removed.
5174 (tar-it): Removed.
5175 (edition): Removed.
5176 (glibc-doc-$(edition).tar): Removed
5177 (%.Z): Removed.
5178 (%.gz): Removed.
5179 (%.uu): Removed.
5180 (ETAGS): Remove, it's in Makeconfig.
5181 (move-if-change): Remove, it's in Makeconfig.
5182
5183 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
5184
5185 [BZ #13970]
5186 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5187 (strtod, strtof, strtold, strtol, strtoul, strtoq)
5188 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5189 (strtod_l, strtof_l, strtold_l): Remove __wur.
5190 It is not necessarily an error to ignore strtol's return value.
5191 One can reliably look at the stored endptr to decide whether
5192 the number had valid syntax.
5193
5194 2012-04-21 Andreas Jaeger <aj@suse.de>
5195
5196 [BZ #13739]
5197 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5198
5199 2012-04-21 Joseph Myers <joseph@codesourcery.com>
5200
5201 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5202 * sysdeps/unix/sysv/Versions: Remove file.
5203
5204 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
5205
5206 [BZ #13927]
5207 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5208
5209 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
5210
5211 [BZ #7064]
5212 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5213 version from __vm86.
5214
5215 2012-04-20 Joseph Myers <joseph@codesourcery.com>
5216
5217 * sysdeps/unix/common/lxstat.c: Remove file.
5218 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5219
5220 * sysdeps/unix/sysv/Makefile: Remove file.
5221
5222 * sysdeps/unix/sysv/direct.h: Remove file.
5223
5224 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5225 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5226 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5227 * sysdeps/unix/sysv/bits/signum.h: Likewise.
5228 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5229 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5230 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5231
5232 * sysdeps/unix/sysv/setrlimit.c: Remove file.
5233
5234 * sysdeps/unix/xmknod.c: Remove file.
5235 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5236
5237 * sysdeps/unix/sysv/settimeofday.c: Remove file.
5238
5239 * sysdeps/unix/sysv/i386/time.S: Remove file.
5240
5241 * sysdeps/unix/fxstat.c: Remove file.
5242 * sysdeps/unix/xstat.c: Likewise.
5243 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5244
5245 * sysdeps/unix/sysv/sigaction.c: Remove file.
5246
5247 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5248 (sysdep_headers): Remove variable.
5249 [termio.h not in sysdep_headers] (generated): Likewise.
5250 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5251 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5252 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5253 * sysdeps/unix/sysv/tcflow.c: Likewise.
5254 * sysdeps/unix/sysv/tcflush.c: Likewise.
5255 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5256 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
5257 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5258 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5259 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
5260
5261 * sysdeps/unix/siglist.c: Remove file.
5262
5263 * sysdeps/unix/getppid.S: Remove file.
5264
5265 * sysdeps/unix/mkdir.c: Remove file.
5266 * sysdeps/unix/rmdir.c: Likewise.
5267
5268 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
5269
5270 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5271 ERR_MAX value.
5272 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5273 errlist-compat value.
5274
5275 2012-04-18 David S. Miller <davem@davemloft.net>
5276
5277 * sysdeps/generic/memcopy.h (reg_char): Delete.
5278 * debug/strcat_chk.c: Use char, not reg_char.
5279 * debug/strcpy_chk.c: Likewise.
5280 * debug/strncat_chk.c: Likewise.
5281 * debug/strncpy_chk.c: Likewise.
5282 * string/memchr.c: Likewise.
5283 * string/memrchr.c: Likewise.
5284 * string/rawmemchr.c: Likewise.
5285 * string/strcat.c: Likewise.
5286 * string/strchr.c: Likewise.
5287 * string/strchrnul.c: Likewise.
5288 * string/strcmp.c: Likewise.
5289 * string/strcpy.c: Likewise.
5290 * string/strncat.c: Likewise.
5291 * string/strncmp.c: Likewise.
5292 * string/strncpy.c: Likewise.
5293
5294 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5295
5296 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5297 __builtin_memcopy is called when src and dest ranges are known to not
5298 overlap.
5299
5300 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5301
5302 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5303 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5304 fwd_align_merge macro call.
5305 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5306 bwd_align_merge macro call.
5307 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5308
5309 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5310
5311 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5312 bwd_align_merge macros.
5313 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5314 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5315 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5316
5317 2012-04-18 David S. Miller <davem@davemloft.net>
5318
5319 * sysdeps/sparc/sparc64/memcopy.h: Delete.
5320
5321 2012-04-18 Andreas Jaeger <aj@suse.de>
5322
5323 [BZ# 6794]
5324 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5325 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5326 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5327
5328 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5329 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5330 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5331
5332 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5333 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5334 Adjust for changed ldbl-128 files.
5335
5336 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5337 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5338 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5339
5340 2012-04-17 David S. Miller <davem@davemloft.net>
5341
5342 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5343
5344 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5345
5346 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5347 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5348 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5349 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5350 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5351 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5352
5353 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5354
5355 [BZ #6794]
5356 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5357 * math/libm-test.inc: Add ilogb errno and exception tests.
5358 * math/w_ilogb.c: New file: ilogb wrapper.
5359 * math/w_ilogbf.c: New file: ilogbf wrapper.
5360 * math/w_ilogbl.c: New file: ilogbl wrapper.
5361 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5362 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5363 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5364 exception being thrown with 0.0 as argument.
5365 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5366 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5367 exception being thrown with 0.0 as argument.
5368 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5369 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5370 exception being thrown with 0.0 as argument.
5371 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5372 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5373 exception being thrown with 0.0 as argument.
5374 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5375 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
5376 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
5377 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5378 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5379 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5380 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5381 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5382 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5383
5384 2012-04-17 Petr Baudis <pasky@ucw.cz>
5385
5386 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5387 with altivec.
5388
5389 2012-04-16 Marek Polacek <polacek@redhat.com>
5390
5391 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5392
5393 2012-04-16 Marek Polacek <polacek@redhat.com>
5394
5395 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5396 operands of fdivp instruction.
5397
5398 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5399
5400 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5401 * elf/tst-auditmod3b.c: Likewise.
5402 * elf/tst-auditmod4b.c: Likewise.
5403 * elf/tst-auditmod5b.c: Likewise.
5404 * elf/tst-auditmod6b.c: Likewise.
5405 * elf/tst-auditmod6c.c: Likewise.
5406 * elf/tst-auditmod7b.c: Likewise.
5407 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5408 * sysdeps/x86_64/preconfigure.in: Likewise.
5409 * sysdeps/x86_64/preconfigure: Regenerated.
5410
5411 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5412
5413 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5414 __ILP32__.
5415
5416 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
5417
5418 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5419 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5420
5421 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5422
5423 [BZ #13973]
5424 * locale/iso-639.def: Fix gl language name. Spotted by
5425 Yaron Shahrabani.
5426
5427 2012-04-12 Roland McGrath <roland@hack.frob.com>
5428
5429 [BZ #2074]
5430 * libio/libio.h (__io_write_fn): Update comment.
5431
5432 2012-04-12 Petr Baudis <pasky@ucw.cz>
5433
5434 [BZ #2074]
5435 * stdio.texi (Hook Functions): The user provided writer function
5436 is not allowed to return -1.
5437
5438 2012-04-11 David S. Miller <davem@davemloft.net>
5439
5440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5441
5442 2012-04-11 Mike Frysinger <vapier@gentoo.org>
5443
5444 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5445 Add a leading slash to rtkaio.
5446
5447 2012-04-11 Jim Meyering <meyering@redhat.com>
5448
5449 [BZ #11959]
5450 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5451 It is not necessarily an error to ignore fwrite's return
5452 value. One can reliably use ferror to test for errors after
5453 the fact.
5454
5455 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5456
5457 * bits/types.h (__snseconds_t): New type.
5458 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5459
5460 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5461 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5462 (__SNSECONDS_T_TYPE): Likewise.
5463 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5464 (__SNSECONDS_T_TYPE): Likewise.
5465 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5466 (__SNSECONDS_T_TYPE): Likewise.
5467
5468 2012-04-10 Andreas Jaeger <aj@suse.de>
5469
5470 [BZ #2636]
5471 * manual/time.texi (Processor Time): Return type of times is
5472 elapsed real time since an arbitrary point in the past.
5473 (CPU Time): Move CLK_TCK from here...
5474 (Processor Time): ...to here. Correct description.
5475 * manual/conf.texi (Constants for Sysconf): Correct description of
5476 _SC_CLK_TCK.
5477
5478 2012-04-10 David S. Miller <davem@davemloft.net>
5479
5480 [BZ #13967]
5481 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5482 where the is a gap between DT_REL(A) and DT_JMPREL.
5483
5484 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5485
5486 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5487 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5488 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5489
5490 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5491
5492 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5493 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5494 (dl_main): Handle --inhibit-cache.
5495 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5496 _dl_inhibit_cache.
5497 * elf/dl-load.c (_dl_map_object): Use it.
5498 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5499
5500 2012-04-09 Joseph Myers <joseph@codesourcery.com>
5501
5502 [BZ #13872]
5503 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5504 (__ieee754_powl): Saturate large exponents rather than testing for
5505 overflow of y*log2(x).
5506 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5507 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5508 exceptions.
5509
5510 [BZ #11521]
5511 * math/s_ctan.c: Include <float.h>.
5512 (__ctan): Avoid internal overflow or cancellation in calculating
5513 denominator.
5514 * math/s_ctanf.c: Likewise.
5515 * math/s_ctanl.c: Likewise.
5516 * math/s_ctanh.c: Likewise.
5517 * math/s_ctanhf.c: Likewise.
5518 * math/s_ctanhl.c: Likewise.
5519 * math/libm-test.inc (ctan_test): Add more tests.
5520 (ctanh_test): Likewise.
5521 * sysdeps/i386/fpu/libm-test-ulps: Update.
5522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5523
5524 2012-04-09 Andreas Jaeger <aj@suse.de>
5525
5526 [BZ #6894]
5527 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5528 is an optional BSD extension.
5529
5530 [BZ #10254]
5531 * manual/stdio.texi (Opening Streams): Document additional fopen
5532 parameters.
5533
5534 2012-04-09 Roland McGrath <roland@hack.frob.com>
5535
5536 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5537 %eax without telling the compiler.
5538
5539 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5540
5541 [BZ # 13963]
5542 * manual/install.texi: Use sourceware.org.
5543
5544 2012-04-09 Joseph Myers <joseph@codesourcery.com>
5545
5546 [BZ #13873]
5547 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5548 (__ieee754_pow): Generate overflow and underflow using huge*huge
5549 and tiny*tiny rather than just returning constant infinity or zero
5550 for large exponents.
5551 * math/libm-test.inc (pow_test): Require overflow exceptions for
5552 applicable cases of large exponents.
5553
5554 [BZ #706]
5555 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5556 (__ieee754_pow): Use iterative multiplication algorithm only for
5557 integer exponents with absolute value below 1024. Check for odd
5558 integer exponents when using algorithm for real exponents.
5559 * math/libm-test.inc (pow_test): Add more tests.
5560 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5561
5562 2012-04-08 Joseph Myers <joseph@codesourcery.com>
5563
5564 [BZ #13705]
5565 * math/libm-test.inc (exp_test): Do not allow overflow exception
5566 on underflow test.
5567
5568 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5569
5570 [BZ #13705]
5571 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5572 instead of __kernel_standard_f.
5573
5574 2012-04-08 Mike Frysinger <vapier@gentoo.org>
5575
5576 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5577 * sysdeps/x86_64/memset_chk.S: Likewise.
5578
5579 2012-04-08 Andreas Jaeger <aj@suse.de>
5580
5581 [BZ #10153]
5582 * manual/startup.texi (Environment Access): Describe return value
5583 for putenv and setenv.
5584
5585 [BZ #6895]
5586 * manual/filesys.texi (Directory Entries): Add description for
5587 DT_LNK.
5588
5589 [BZ #6890]
5590 * manual/filesys.texi (Directory Entries): Clarify that it's file
5591 system not operating system in the description of DT_UNKNOWN.
5592
5593 [BZ #6578]
5594 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5595
5596 2012-04-08 Stephen Compall <s11@member.fsf.org>
5597
5598 [BZ #6649]
5599 * manual/llio.texi (Opening and Closing Files): Add cross
5600 reference to explain mode argument.
5601
5602 2012-04-07 Mike Frysinger <vapier@gentoo.org>
5603
5604 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5605 * sysdeps/x86_64/memset_chk.S: Likewise.
5606
5607 2012-04-07 David S. Miller <davem@davemloft.net>
5608
5609 * elf/elf.h (R_SPARC_WDISP10): Define.
5610 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5611 R_SPARC_SIZE32.
5612 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5613 R_SPARC_SIZE64 and R_SPARC_H34.
5614
5615 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5616
5617 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5618 conditions and remove no longer applicable assertion.
5619
5620 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5621
5622 * bits/byteswap.h: Include <features.h>.
5623 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5624 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5625
5626 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5627
5628 * bits/byteswap.h (__bswap_16): Removed.
5629 Include <bits/byteswap-16.h> to get __bswap_16.
5630 * sysdeps/i386/bits/byteswap.h: Likewise.
5631 * sysdeps/s390/bits/byteswap.h: Likewise.
5632 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5633 * bits/byteswap-16.h: New file.
5634 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5635 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5636 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5637 * string/Makefile (headers): Add bits/byteswap-16.h.
5638
5639 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5640
5641 [BZ #13895]
5642 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5643 extra indirection.
5644 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5645 * nss/tst-nss-static.c: New.
5646
5647 2012-04-06 Robert Millan <rmh@gnu.org>
5648
5649 [BZ #6486]
5650 * manual/llio.texi (File Position Primitive): lseek
5651 refers to WHENCE when it really means OFFSET.
5652
5653 2012-04-06 Andreas Jaeger <aj@suse.de>
5654
5655 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5656 strncmp declarations.
5657
5658 * abilist/libc.abilist: Add __poll and __ppoll.
5659
5660 2012-04-05 David S. Miller <davem@davemloft.net>
5661
5662 * scripts/check-local-headers.sh: Accept a host triplet in the
5663 path matched by the exclude regexp.
5664
5665 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5666 definition.
5667 * sysdeps/powerpc/powerpc32/dl-machine.h
5668 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5669 * sysdeps/s390/s390-32/dl-machine.h
5670 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5671 * sysdeps/sparc/sparc32/dl-machine.h
5672 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5673 * sysdeps/sparc/sparc64/dl-machine.h
5674 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5675
5676 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5677 lazy binding.
5678 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
5679 undefined symbol errors.
5680
5681 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
5682 DT_NEEDED entries.
5683
5684 2012-04-05 Michael Matz <matz@suse.de>
5685
5686 [BZ #13592]
5687 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5688
5689 2012-04-05 Andreas Jaeger <aj@suse.de>
5690
5691 [BZ #13908]
5692 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5693 comment.
5694
5695 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5696
5697 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5698 which ROUND is no valid rounding mode.
5699
5700 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5701
5702 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5703 read again.
5704 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5705
5706 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5707
5708 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5709 an exception using FPU order intentionally.
5710
5711 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5712
5713 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5714 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5715 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5716 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5717
5718 2012-04-05 Simon Josefsson <simon@josefsson.org>
5719
5720 [BZ #12340]
5721 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5722 EINVAL when BUFLEN is too smal.
5723
5724 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5725
5726 [BZ #13553]
5727 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5728 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5729
5730 2012-04-03 Andreas Jaeger <aj@suse.de>
5731
5732 [BZ #13938]
5733 * manual/setjmp.texi (System V contexts): Fix sentence.
5734
5735 [BZ #13926]
5736 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5737 New macro for this case.
5738 [!__GNUC__] (__bswap_64): New inline function for this case.
5739 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5740 * bits/byteswap.h: Likewise.
5741 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5742 ull, guard with __GLIBC_HAVE_LONG_LONG.
5743
5744 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5745 __GLIBC_HAVE_LONG_LONG.
5746
5747 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5748 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5749
5750 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5751
5752 [BZ #13691]
5753 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5754 inptr and inend, rather than using last_ch.
5755
5756 2012-04-02 David S. Miller <davem@davemloft.net>
5757
5758 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5759 * stdio-common/printf-parse.h (read_int): Change return type to
5760 'int', return -1 on INT_MAX overflow.
5761 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5762 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5763 overflows INT_MAX. Check for overflow of in-format-string precision
5764 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5765 SIZE_MAX not INT_MAX for integer overflow test.
5766 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5767 skip the construct in the format string but do not record anything.
5768 * stdio-common/bug22.c: Adjust to test both width/prevision
5769 INT_MAX overflow as well as total length INT_MAX overflow. Check
5770 explicitly for proper errno values.
5771
5772 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5773
5774 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5775 CHAR_MAX.
5776 * string/test-strcmp.c [! WIDE]: Likewise.
5777 * time/tst-mktime2.c: Likewise for INT_MAX.
5778 * string/test-string.h: #include <sys/param.h> for MIN.
5779
5780 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5781 * sysdeps/i386/init-first.c (init): Likewise.
5782 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5783 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5784 * sysdeps/sh/init-first.c (init): Likewise.
5785
5786 2012-04-01 Ulrich Drepper <drepper@gmail.com>
5787
5788 * po/ru.po: Update from translation team.
5789 * po/vi.po: Likewise.
5790
5791 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5792
5793 * resolv/nss_dns/dns-host.c: Merge copyright years.
5794
5795 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5796
5797 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5798 Optimize memcpy with prefetch if
5799 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5800 src, dst pointers have unequal 16 byte alignments.
5801
5802 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5803
5804 [BZ #13928]
5805 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5806 from a CNAME entry and return the minimum ttl for the query.
5807 (gaih_getanswer_slice): Likewise.
5808
5809 2012-03-30 Jeff Law <law@redhat.com>
5810
5811 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5812 due to long keys.
5813 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5814 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5815
5816 * resolv/nss_dns/dns-host.c: Update copyright year.
5817
5818 2012-03-30 Ulrich Drepper <drepper@gmail.com>
5819
5820 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
5821 requests to save a system call. Fix check that all bytes are sent.
5822
5823 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5824 comments for sendmmsg.
5825
5826 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5827
5828 [BZ #13691]
5829 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5830 with only 1 character between 0x0041 and 0x01b0.
5831 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5832 * wcsmbs/tst-mbsnrtowcs.c: New file.
5833
5834 2012-03-29 David S. Miller <davem@davemloft.net>
5835
5836 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5837 small copies by hand.
5838
5839 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5840
5841 [BZ #13761]
5842 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5843 _nss_compat_initgroups_dyn): Fall back to malloc/free
5844 for large group memberships.
5845
5846 2012-03-28 David S. Miller <davem@davemloft.net>
5847
5848 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5849 that branches into memcpy.
5850 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5851 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5852 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5853 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5854 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5855 bits.
5856 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5857 implementation too.
5858 * sysdeps/sparc/mempcpy.S: New file.
5859
5860 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5861 the IFUNC routine in the libc case.
5862 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5863
5864 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5865 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5866 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5867 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5868 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5869 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5870 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5871 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5872
5873 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5874 loop to 256 bytes instead of 64 bytes and fix test signedness.
5875
5876 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5877 * sysdeps/sparc/sparc32/Makefile: rather than here...
5878 * sysdeps/sparc/sparc64/Makefile: and here.
5879
5880 2012-03-28 Ulrich Drepper <drepper@gmail.com>
5881
5882 * malloc/mallocbug.c: Avoid warnings about unused variables.
5883
5884 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5885
5886 [BZ #13760]
5887 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5888 in the right place. Discard and retry query if response is
5889 larger than input buffer size.
5890
5891 2012-03-28 Joseph Myers <joseph@codesourcery.com>
5892
5893 [BZ #369]
5894 [BZ #2678]
5895 [BZ #3866]
5896 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5897 x for large integer exponent.
5898 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5899 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5900 sign of result as needed afterwards.
5901 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5902 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5903 result for underflowing pow the same as for overflow.
5904 (__kernel_standard_l): Handle powl overflow and underflow here
5905 rather than calling __kernel_standard.
5906 * math/libm-test.inc (pow_test): Add more tests.
5907
5908 [BZ #3868]
5909 [BZ #13879]
5910 [BZ #13910]
5911 [BZ #13911]
5912 [BZ #13912]
5913 [BZ #13913]
5914 [BZ #13915]
5915 [BZ #13916]
5916 [BZ #13917]
5917 [BZ #13918]
5918 [BZ #13919]
5919 [BZ #13920]
5920 [BZ #13921]
5921 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5922 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5923 (__kernel_standard_l): New function.
5924 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5925 __kernel_standard.
5926 * math/w_acosl.c (__acosl): Likewise.
5927 * math/w_asinl.c (__asinl): Likewise.
5928 * math/w_atan2l.c (__atan2l): Likewise.
5929 * math/w_atanhl.c (__atanhl): Likewise.
5930 * math/w_coshl.c (__coshl): Likewise.
5931 * math/w_exp10l.c (__exp10l): Likewise.
5932 * math/w_exp2l.c (__exp2l): Likewise.
5933 * math/w_fmodl.c (__fmodl): Likewise.
5934 * math/w_hypotl.c (__hypotl): Likewise.
5935 * math/w_j0l.c (__j0l, __y0l): Likewise.
5936 * math/w_j1l.c (__j1l, __y1l): Likewise.
5937 * math/w_jnl.c (__jnl, __ynl): Likewise.
5938 * math/w_lgammal.c (__lgammal): Likewise.
5939 * math/w_log10l.c (__log10l): Likewise.
5940 * math/w_log2l.c (__log2l): Likewise.
5941 * math/w_logl.c (__logl): Likewise.
5942 * math/w_powl.c (__powl): Likewise.
5943 * math/w_remainderl.c (__remainderl): Likewise.
5944 * math/w_scalbl.c (sysv_scalbl): Likewise.
5945 * math/w_sinhl.c (__sinhl): Likewise.
5946 * math/w_sqrtl.c (__sqrtl): Likewise.
5947 * math/w_tgammal.c (__tgammal): Likewise.
5948 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5949 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5950 * math/libm-test.inc (acos_test): Add more tests.
5951 (acosh_test): Likewise.
5952 (asin_test): Likewise.
5953 (atanh_test): Likewise.
5954 (exp_test): Likewise.
5955 (exp10_test): Likewise.
5956 (exp2_test): Likewise.
5957 (expm1_test): Likewise.
5958 (lgamma_test): Likewise.
5959 (log_test): Likewise.
5960 (log10_test): Likewise.
5961 (log1p_test): Likewise.
5962 (log2_test): Likewise.
5963 (pow_test): Do not allow some spurious overflow exceptions.
5964 (sqrt_test): Add more tests.
5965 (tgamma_test): Likewise.
5966 (y0_test): Likewise.
5967 (y1_test): Likewise.
5968 (yn_test): Likewise.
5969
5970 2012-03-27 Anton Blanchard <anton@samba.org>
5971
5972 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5973 MAP_HUGETLB.
5974 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5975 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5976 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5977
5978 2012-03-27 David S. Miller <davem@davemloft.net>
5979
5980 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5981
5982 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5983 have-as-vis3 check.
5984
5985 2012-03-27 Andreas Jaeger <aj@suse.de>
5986
5987 * sysdeps/x86_64/elf/configure.in: Moved to ...
5988 * sysdeps/x86_64/configure.in: ... here.
5989 * sysdeps/x86_64/elf/start.S: Moved to ...
5990 * sysdeps/x86_64/start.S: ... here.
5991 * sysdeps/x86_64/elf/configure: Delete.
5992
5993 * sysdeps/x86_64/configure.in: Merge contents from
5994 sysdeps/i386/configure.in (without i686 check).
5995
5996 * sysdeps/i386/elf/Versions: Merge into ...
5997 * sysdeps/i386/Versions: ... this.
5998 * sysdeps/i386/elf/Versions: Delete file.
5999 * sysdeps/i386/elf/start.S: Moved to ...
6000 * sysdeps/i386/start.S: ...here.
6001 * sysdeps/i386/elf/configure.in: Merge into...
6002 * sysdeps/i386/configure.in: ...here.
6003 * sysdeps/i386/elf/configure.in: Delete file.
6004 * sysdeps/i386/elf/configure: Delete file.
6005
6006 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6007 * debug/backtracesyms.c: ... here.
6008 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6009 * debug/backtracesymsfd.c: ... here.
6010 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6011 * sysdeps/generic/ifunc-sel.h: ... here.
6012
6013 * sysdeps/unix/i386/start.c: Delete file.
6014 * sysdeps/unix/sparc/start.c: Delete file.
6015 * sysdeps/unix/start.c: Delete file.
6016
6017 * sysdeps/sh/elf/configure.in: Moved to ...
6018 * sysdeps/sh/configure.in: ... here.
6019 * sysdeps/sh/elf/start.S: Moved to ...
6020 * sysdeps/sh/start.S: ... here.
6021 * sysdeps/sh/elf/configure: Delete file.
6022
6023 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6024 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6025 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6026 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6027 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6028 * sysdeps/powerpc/powerpc64/start.S: here.
6029 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6030 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6031 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6032 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6033 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6034
6035 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6036 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6037 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6038 * sysdeps/powerpc/powerpc32/start.S: ... here.
6039 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6040 * sysdeps/powerpc/powerpc32/configure.in: ... this.
6041 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6042
6043 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6044 * sysdeps/powerpc/ifunc-sel.h: ... here.
6045 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6046 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6047
6048 * sysdeps/sparc/elf/configure.in: Moved to ...
6049 * sysdeps/sparc/configure.in: ... here.
6050 * sysdeps/sparc/elf/configure: Delete file.
6051 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6052 * sysdeps/sparc/sparc32/start.S: ... here.
6053 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6054 * sysdeps/sparc/sparc64/start.S: ... here.
6055 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6056 * sysdeps/sparc/sparc32/Makefile: ... this.
6057 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6058 * sysdeps/sparc/sparc64/Makefile: ... this.
6059
6060 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6061 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6062 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6063 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6064 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6065 * sysdeps/s390/s390-32/setjmp.S: ... here.
6066 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6067 * sysdeps/s390/s390-32/configure.in: ... here.
6068 * sysdeps/s390/s390-32/elf/configure: Delete file.
6069 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6070 * sysdeps/s390/s390-32/start.S: ... here.
6071
6072 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6073 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6074 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6075 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6076 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6077 * sysdeps/s390/s390-64/setjmp.S: ... here.
6078 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6079 * sysdeps/s390/s390-64/configure.in: ... here
6080 * sysdeps/s390/s390-64/elf/configure: Delete file.
6081 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6082 * sysdeps/s390/s390-64/start.S: ... here.
6083 * sysdeps/s390/s390-64/elf/configure: Delete.
6084
6085 * configure.in: Remove support for elf directories in sysdeps.
6086
6087 * configure: Regenerated.
6088 * sysdeps/i386/configure: Regenerated.
6089 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6090 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6091 * sysdeps/s390/s390-32/configure: Regenerated.
6092 * sysdeps/s390/s390-64/configure: Regenerated.
6093 * sysdeps/sh/configure: Regenerated.
6094 * sysdeps/sparc/configure: Regenerated.
6095 * sysdeps/x86_64/configure: Regenerated.
6096
6097 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
6098
6099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6100
6101 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6102 denormal result into account.
6103
6104 2012-03-25 Roland McGrath <roland@hack.frob.com>
6105
6106 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6107 Reported by Allan McRae <allan@archlinux.org>.
6108
6109 2012-03-23 Jeff Law <law@redhat.com>
6110
6111 * nss/getnssent.c (__nss_getent): Fix typo.
6112
6113 2012-03-23 David S. Miller <davem@davemloft.net>
6114
6115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6116
6117 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
6118
6119 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6120 to pad to uint64_t for each field.
6121 (dl_tls_index): Replace unsigned long with uint64_t.
6122
6123 2012-03-23 Daniel Jacobowitz <dmj@google.com>
6124 Paul Pluzhnikov <ppluzhnikov@google.com>
6125
6126 [BZ #6528]
6127 * grp/Makefile (otherlibs): Don't set it.
6128 * inet/Makefile (otherlibs): Likewise.
6129 * login/Makefile (otherlibs): Likewise.
6130 * nscd/Makefile (otherlibs): Likewise.
6131 * posix/Makefile (otherlibs): Likewise.
6132 * pwd/Makefile (otherlibs): Likewise.
6133 * rt/Makefile (otherlibs): Likewise.
6134 * sunrpc/Makefile (otherlibs): Likewise.
6135 * nss/Makefile (otherlibs): Likewise.
6136 Add libnss_files to routines and static-only-routines.
6137 ($(objpfx)getent): Remove rule.
6138 * resolv/Makefile: Add libnss_dns and libresolv to routines and
6139 static-only-routines.
6140
6141 2012-03-22 Joseph Myers <joseph@codesourcery.com>
6142
6143 [BZ #13892]
6144 * math/s_cexp.c: Include <float.h>.
6145 (__cexp): Handle exp result overflowing not necessarily
6146 overflowing both real and imaginary parts of result.
6147 * math/s_cexpf.c: Likewise.
6148 * math/s_cexpl.c: Likewise.
6149 * math/libm-test.inc (cexp_test): Add more tests.
6150 * sysdeps/i386/fpu/libm-test-ulps: Update.
6151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6152
6153 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6154
6155 * include/link.h (ELFW): New macro.
6156 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6157 Replace ELF64_R_TYPE with ELFW(R_TYPE).
6158
6159 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6160
6161 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6162 with uint64_t.
6163
6164 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6165
6166 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6167 declaration.
6168 (struct La_x32_retval): Likewise.
6169
6170 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6171
6172 * sysdeps/x86_64/preconfigure.in: New file.
6173 * sysdeps/x86_64/preconfigure: New generated file.
6174
6175 2012-03-22 Joseph Myers <joseph@codesourcery.com>
6176
6177 [BZ #13824]
6178 * math/e_exp2l.c: Include <float.h>.
6179 (__ieee754_exp2l): Handle overflow and underflow cases
6180 separately. Only pass fractional part of argument to
6181 __ieee754_expl.
6182 * math/libm-test.inc (exp2_test): Add more tests.
6183
6184 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6185 negating x to take absolute value.
6186 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6187 Likewise.
6188 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6189 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6190 Likewise.
6191 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6192 computing low part if x was negated.
6193 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6194
6195 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6196
6197 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6198 la_x32_gnu_pltexit.
6199 (pltexit): Cast int_retval to ptrdiff_t.
6200 * elf/tst-auditmod3b.c: Likewise.
6201 * elf/tst-auditmod4b.c: Likewise.
6202 * elf/tst-auditmod5b.c: Likewise.
6203 * elf/tst-auditmod6b.c: Likewise.
6204 * elf/tst-auditmod6c.c: Likewise.
6205 * elf/tst-auditmod7b.c: Likewise.
6206
6207 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6208 and x32_gnu_pltexit.
6209
6210 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6211 __ELF_NATIVE_CLASS.
6212 (La_x32_regs): New macro.
6213 (La_x32_retval): Likewise.
6214 (la_x32_gnu_pltenter): New function prototype.
6215 (la_x32_gnu_pltexit): Likewise.
6216
6217 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
6218
6219 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6220 exponent.
6221
6222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6223
6224 * configure.in (libc_cv_cc_nofma): Check for option to disable
6225 generation of FMA instructions.
6226 * configure: Regenerate.
6227 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6228 * sysdeps/ieee754/dbl-64/Makefile: New file.
6229 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6230 Remove brandred-fma4.
6231 (CFLAGS-brandred-fma4.c): Remove.
6232 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6233 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6234 define.
6235 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6236 define.
6237
6238 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6239
6240 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6241 LLONG_MAX != LONG_MAX.
6242 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6243 (_fitoa_word): Likewise.
6244 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6245 LLONG_MAX != LONG_MAX.
6246 * stdio-common/_itowa.h: Include <_itoa.h>.
6247 (_itowa_word): Use _ITOA_WORD_TYPE on value.
6248 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
6249 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
6250 only if not defined.
6251 (_ITOA_WORD_TYPE): Likewise.
6252 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6253 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6254
6255 2012-03-21 David S. Miller <davem@davemloft.net>
6256
6257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6258
6259 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6260
6261 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
6262 of x86_64 when setting libc_cv_slibdir, libdir and
6263 libc_cv_localedir.
6264 * sysdeps/unix/sysv/linux/configure: Regenerated.
6265
6266 2012-03-21 Joseph Myers <joseph@codesourcery.com>
6267
6268 * manual/lang.texi (Old Varargs): Remove section.
6269 (How Variadic): Update menu.
6270 (va_start): Do not mention varargs.h.
6271
6272 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6273 Joseph Myers <joseph@codesourcery.com>
6274
6275 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6276 link test.
6277 * configure: Regenerated.
6278
6279 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6280
6281 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
6282 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
6283 conformtest.pl
6284
6285 2012-03-21 Joseph Myers <joseph@codesourcery.com>
6286
6287 * NOTES: Remove.
6288 * Makefile (files-for-dist): Remove NOTES.
6289 (NOTES): Remove rule.
6290 * README: Don't refer to NOTES.
6291 * manual/creature.texi: Don't include macros.texi.
6292 * manual/intro.texi (creature.texi): Remove comment referring to
6293 NOTES.
6294
6295 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6296 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6297 * configure: Regenerated.
6298 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6299 LIBC_TRY_CC_OPTION.
6300 (libc_cv_as_i686): Likewise.
6301 (libc_cv_cc_avx): Likewise.
6302 (libc_cv_cc_sse2avx): Likewise.
6303 (libc_cv_cc_fma4): Likewise.
6304 (libc_cv_cc_novzeroupper): Likewise.
6305 * sysdeps/i386/configure: Regenerated.
6306
6307 [BZ #13883]
6308 * sysdeps/i386/fpu/s_cexp.S: Remove.
6309 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6310 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6311 * math/libm-test.inc (cexp_test): Add more tests.
6312 * sysdeps/i386/fpu/libm-test-ulps: Update.
6313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6314
6315 2012-03-21 Allan McRae <allan@archlinux.org>
6316
6317 * timezone/Makefile: Do not install iso3166.tab and zone.tab
6318
6319 2012-03-21 Joseph Myers <joseph@codesourcery.com>
6320
6321 [BZ #13871]
6322 * math/w_exp2.c: Do not include <float.h>.
6323 (o_threshold, u_threshold): Remove.
6324 (__exp2): Calculate result before checking finiteness and calling
6325 __kernel_standard.
6326 * math/w_exp2f.c: Likewise.
6327 * math/w_exp2l.c: Likewise.
6328 * math/libm-test.inc (exp2_test): Require overflow exception for
6329 1e6 input.
6330
6331 [BZ #3866]
6332 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6333 range of signed 64-bit integers before using fistpll. Remove
6334 checks for whether integers fit in mantissa bits.
6335 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6336 the range of signed 32-bit integers before using fistpl. Remove
6337 checks for whether integers fit in mantissa bits.
6338 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6339 (__ieee754_powl): Test for y outside the range of signed 64-bit
6340 integers before using fistpll. Reduce 64-bit values to 63-bit
6341 ones as needed.
6342 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6343 divide-by-zero is raised for zero to large negative powers.
6344 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6345 (__ieee754_powl): Test for y outside the range of signed 64-bit
6346 integers before using fistpll. Reduce 64-bit values to 63-bit
6347 ones as needed.
6348 * math/libm-test.inc (pow_test): Add more tests.
6349
6350 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6351
6352 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6353 <stdio-common/_itoa.h>.
6354 * debug/segfault.c: Likewise.
6355 * elf/dl-cache.c: Likewise.
6356 * elf/dl-minimal.c: Likewise.
6357 * elf/dl-misc.c: Likewise.
6358 * elf/dl-sysdep.c: Likewise.
6359 * elf/dl-version.c: Likewise.
6360 * elf/rtld.c: Likewise.
6361 * hurd/hurdsock.c: Likewise.
6362 * hurd/lookup-retry.c: Likewise.
6363 * malloc/malloc.c: Likewise.
6364 * malloc/mtrace.c: Likewise.
6365 * nscd/nscd_getgr_r.c: Likewise.
6366 * nscd/nscd_getpw_r.c: Likewise.
6367 * nscd/nscd_getserv_r.c: Likewise.
6368 * posix/getopt_init.c: Likewise.
6369 * posix/wordexp.c: Likewise.
6370 * stdio-common/_itoa.c: Likewise.
6371 * stdio-common/printf_fphex.c: Likewise.
6372 * stdio-common/vfprintf.c: Likewise.
6373 * string/_strerror.c: Likewise.
6374 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6375 * sysdeps/i386/i686/hp-timing.h: Likewise.
6376 * sysdeps/mach/_strerror.c: Likewise.
6377 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6378 * sysdeps/mach/hurd/sethostid.c: Likewise.
6379 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6380 * sysdeps/mach/xpg-strerror.c: Likewise.
6381 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6382 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6383 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6384 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6385 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6386 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6387 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6388 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6389 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6390 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6391 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6392 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6393 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6394 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6395 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6396 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6397 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6398 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6399 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6400 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6401 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6402
6403 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6404
6405 * stdio-common/_itoa.h: Moved to ...
6406 * sysdeps/generic/_itoa.h: Here.
6407
6408 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6409
6410 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6411 instead of "_itoa.h" and "_itowa.h".
6412 * stdio-common/vfprintf.: Likewise.
6413
6414 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6415
6416 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6417 <bits/wordsize.h>.
6418 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6419 (__signbit): Likwise.
6420 (llrintf): Likwise.
6421 (llrint): Likwise.
6422
6423 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6424
6425 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6426 __WORDSIZE != 64.
6427
6428 2012-03-20 Joseph Myers <joseph@codesourcery.com>
6429
6430 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6431 OVERFLOW_EXCEPTION_OK.
6432 * math/libm-test.inc ("Philosophy"): Update comment about
6433 exception testing.
6434 (OVERFLOW_EXCEPTION): Define.
6435 (OVERFLOW_EXCEPTION_OK): Likewise.
6436 (INVALID_EXCEPTION_OK): Renumber.
6437 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6438 (IGNORE_ZERO_INF_SIGN): Likewise.
6439 (test_exceptions): Handle FE_OVERFLOW.
6440 (exp10_test): Expect overflow exceptions.
6441 (exp2_test): Likewise.
6442 (expm1_test): Likewise.
6443 (nextafter_test): Likewise.
6444 (pow_test): Likewise.
6445 (scalbn_test): Likewise.
6446 (scalbln_test): Likewise.
6447
6448 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6449
6450 * sysdeps/x86_64/bits/atomic.h
6451 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6452 64bit integer.
6453 (atomic_exchange_acq): Likewise.
6454 (__arch_exchange_and_add_body): Likewise.
6455 (__arch_add_body): Likewise.
6456 (atomic_add_negative): Likewise.
6457 (atomic_add_zero): Likewise.
6458
6459 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6460
6461 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
6462 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6463
6464 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6465
6466 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6467 Check __x86_64__ instead of __WORDSIZE.
6468
6469 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6470
6471 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6472
6473 2012-03-19 David S. Miller <davem@davemloft.net>
6474
6475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6476
6477 * sysdeps/sparc/fpu/fenv_private.h: New file.
6478 * sysdeps/sparc/fpu/math_private.h: Use it.
6479 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6480 Remove.
6481 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6482 (libc_feholdexcept_setroundl): Remove.
6483 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6484 Remove.
6485 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6486 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6487
6488 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6489
6490 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6491 int64_t instead of long int.
6492 (INSERT_WORDS64): Likwise.
6493
6494 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6495
6496 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6497 _Unwind_GetCFA return to _Unwind_Ptr first.
6498
6499 2012-03-19 Joseph Myers <joseph@codesourcery.com>
6500
6501 [BZ #13629]
6502 * math/s_clog.c: Include <float.h>.
6503 (__clog): Scale large or subnormal inputs.
6504 * math/s_clogf.c: Likewise.
6505 * math/s_clogl.c: Likewise.
6506 * math/s_clog10.c: Include <float.h>.
6507 (M_LOG10_2): Define.
6508 (__clog10): Scale large or subnormal inputs.
6509 * math/s_clog10f.c: Likewise.
6510 * math/s_clog10l.c: Likewise.
6511 * math/libm-test.inc (clog_test): Add more tests.
6512 (clog10_test): Likewise.
6513 * sysdeps/i386/fpu/libm-test-ulps: Update.
6514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6515
6516 [BZ #11451]
6517 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6518 x and y.
6519 * math/libm-test.inc (atan2_test): Add another test.
6520
6521 * Makerules (common-objdir-compile): Remove.
6522 * sysdeps/unix/Makefile (config-generated): Do not add
6523 $(unix-generated) to variable.
6524 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6525 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6526 Remove rule.
6527 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6528 Likewise.
6529 [generic bits/local_lim.h] (before-compile): Do not append to
6530 variable.
6531 [generic bits/local_lim.h] (common-generated): Likewise.
6532 [generic sys/param.h] (before-compile): Do not append to variable.
6533 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6534 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6535 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6536 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6537 include.
6538 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6539 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6540 [generic sys/param.h] ($(addprefix
6541 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6542 [generic sys/param.h] (common-generated): Do not append to
6543 variable.
6544 [generic sys/param.h] (sysdep_headers): Likewise.
6545 [generic bits/errno.h] (before-compile): Do not append to
6546 variable.
6547 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6548 rule.
6549 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6550 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6551 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6552 [generic bits/errno.h] (common-generated): Do not append to
6553 variable.
6554 [generic bits/ioctls.h] (before-compile): Do not append to
6555 variable.
6556 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6557 rule.
6558 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6559 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6560 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6561 rule.
6562 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6563 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6564 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6565 [generic bits/ioctls.h] (common-generated): Do not append to
6566 variable.
6567 [generic sys/syscall.h] (syscall.h): Remove variable.
6568 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6569 rule.
6570 [generic sys/syscall.h] (before-compile): Do not append to
6571 variable.
6572 [generic sys/syscall.h] (common-generated): Likewise.
6573 * sysdeps/unix/errnos-tmpl.c: Remove file.
6574 * sysdeps/unix/errnos.awk: Likewise.
6575 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6576 * sysdeps/unix/ioctls.awk: Likewise.
6577 * sysdeps/unix/mk-local_lim.c: Likewise.
6578 * sysdeps/unix/snarf-ioctls: Likewise.
6579
6580 2012-03-19 Richard Henderson <rth@twiddle.net>
6581
6582 * sysdeps/i386/fpu/fenv_private.h: New file.
6583 * sysdeps/i386/fpu/math_private.h: Use it.
6584 (math_opt_barrier, math_force_eval): Remove.
6585 (libc_feholdexcept_setround_53bit): Remove.
6586 (libc_feupdateenv_53bit): Remove.
6587 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6588 (math_opt_barrier, math_force_eval): Remove.
6589 (libc_feholdexcept): Remove.
6590 (libc_feholdexcept_setround): Remove.
6591 (libc_fetestexcept, libc_fesetenv): Remove.
6592 (libc_feupdateenv_test): Remove.
6593 (libc_feupdateenv, libc_feholdsetround): Remove.
6594 (libc_feresetround): Remove.
6595
6596 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6597 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6598
6599 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6600 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6601 (libc_feupdateenv_testl): New.
6602 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6603 (libc_feupdateenv_testf): New.
6604 (libc_feupdateenv): Use libc_feupdateenv_test.
6605 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6606 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6607
6608 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6609 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6610 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6611 (libc_feresetround_noex): New.
6612 (libc_feresetround_noexf): New.
6613 (libc_feresetround_noexl): New.
6614 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6615 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6616 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6617 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6618 SET_RESTORE_ROUND.
6619 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6620 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6621 (__cos): Likewise.
6622 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6623 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6624 SET_RESTORE_ROUND_NOEX.
6625 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6626 SET_RESTORE_ROUND_NOEXF.
6627 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6628 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6629 (libc_feholdsetroundf): New.
6630 (libc_feresetround, libc_feresetroundf): New.
6631
6632 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6633 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6634 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6635
6636 * sysdeps/generic/math_private.h: Include <fenv.h>.
6637 (default_libc_feholdexcept): New.
6638 (default_libc_feholdexcept_setround): New.
6639 (default_libc_fesetenv, default_libc_feupdateenv): New.
6640 (libc_feholdexcept): Only define if undefined.
6641 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6642 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6643 (libc_feholdexcept_setroundl): Likewise.
6644 (libc_feholdexcept_setround_53bit): Likewise.
6645 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6646 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6647 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6648 (libc_feupdateenv_53bit): Likewise.
6649 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6650 (libc_feholdexcept): Convert from macro to inline function.
6651 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6652 (libc_fesetenv, libc_feupdateenv): Likewise.
6653
6654 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6655 not previously defined.
6656 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6657 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6658 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6659 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6660 * sysdeps/ieee754/flt-32/math_private.h: New file.
6661 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6662 math_private.h below SET_FLOAT_WORD.
6663 (__isnan, __isinf_ns, __finite): Remove.
6664 (__isnanf, __isinf_nsf, __finitef): Remove.
6665
6666 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6667
6668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6669
6670 2012-03-17 David S. Miller <davem@davemloft.net>
6671
6672 [BZ #6471]
6673 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6674 for 2.16.
6675
6676 2012-03-16 David S. Miller <davem@davemloft.net>
6677
6678 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6679 warnings.
6680
6681 [BZ #6471]
6682 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6683 properly.
6684 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6685 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6686 sysdep_routines when subdir is sysvipc.
6687 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6688 __getshmlba helper.
6689
6690 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6691
6692 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6693
6694 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6695 [__LP64__].
6696
6697 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6698
6699 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6700 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6701 (__lround): Renamed to ...
6702 (__llround): This. Replace long int with long long int.
6703 Define lround functions as aliases of llround functions.
6704 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6705
6706 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6707
6708 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6709 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6710 adresses to uintptr_t. Replace "long int" and "unsigned long
6711 int" with "greg_t" on va_arg.
6712
6713 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6714
6715 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6716 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6717
6718 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6719 Move e_machine check before EI_CLASS check. Handle x32
6720 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6721 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6722 SKIP_EM_IA_64 and include
6723 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6724
6725 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6726 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6727 (add_system_dir): New macro.
6728
6729 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6730 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6731
6732 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6733
6734 [BZ #2551]
6735 [BZ #2552]
6736 [BZ #2553]
6737 [BZ #2554]
6738 [BZ #2562]
6739 [BZ #2563]
6740 [BZ #2565]
6741 [BZ #2566]
6742 [BZ #2576]
6743 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6744 (y0): Likewise.
6745 * math/w_j0f.c (j0f): Likewise.
6746 (y0f): Likewise.
6747 * math/w_j0l.c (__j0l): Likewise.
6748 (__y0l): Likewise.
6749 * math/w_j1.c (j1): Likewise.
6750 (y1): Likewise.
6751 * math/w_j1f.c (j1f): Likewise.
6752 (y1f): Likewise.
6753 * math/w_j1l.c (__j1l): Likewise.
6754 (__y1l): Likewise.
6755 * math/w_jn.c (jn): Likewise.
6756 (yn): Likewise.
6757 * math/w_jnf.c (jnf): Likewise.
6758 (ynf): Likewise.
6759 * math/w_jnl.c (__jnl): Likewise.
6760 (__ynl): Likewise.
6761 * math/libm-test.inc (j0_test): Add more tests.
6762 (j1_test): Likewise.
6763 (jn_test): Likewise. Add trailing semicolon to existing test.
6764 (y0_test): Likewise.
6765 (y1_test): Likewise.
6766 * sysdeps/i386/fpu/libm-test-ulps: Update.
6767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6768
6769 [BZ #13851]
6770 [BZ #13854]
6771 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6772 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6773 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6774 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6775 (__tanl): Set errno for infinite argument.
6776 * sysdeps/i386/fpu/mptan.c: Remove.
6777 * sysdeps/i386/fpu/s_tan.S: Likewise.
6778 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6779 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6780 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6781 * math/libm-test.inc (tan_test): Add more tests and enable more
6782 tests for double and long double.
6783 * sysdeps/i386/fpu/libm-test-ulps: Update.
6784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6785
6786 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6787
6788 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6789 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6790
6791 2012-03-16 Roland McGrath <roland@hack.frob.com>
6792
6793 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6794 * configure.in: Use it for both main tree and add-ons.
6795 * configure: Regenerated.
6796
6797 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6798
6799 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6800
6801 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6802
6803 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6804 in comment.
6805
6806 [BZ #13851]
6807 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6808 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6809 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6810 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6811 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6812 infinite argument.
6813 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6814 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6815 != 0 for prec == 2.
6816 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6817 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6818 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6819 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6820 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6821 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6822 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6823 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6824 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6825 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6826 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6827 * math/libm-test.inc (cos_test): Add more tests and enable more
6828 tests for long double.
6829 (sin_test): Likewise.
6830 (sincos_test): Likewise.
6831 * sysdeps/i386/fpu/libm-test-ulps: Update.
6832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6833
6834 2012-03-16 David S. Miller <davem@davemloft.net>
6835
6836 * sysdeps/sparc/fpu/math_private.h: New file.
6837
6838 2012-03-15 David S. Miller <davem@davemloft.net>
6839
6840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6841 file.
6842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
6843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6844 file.
6845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6846 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6847 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6848 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6849 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6850 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6851 sysdep routines.
6852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6853
6854 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6855 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6856
6857 * sysdeps/sparc/sparc-ifunc.h: New file.
6858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6859 sparc-ifunc.h
6860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6862 Likewise.
6863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6864 Likewise.
6865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6869 Likewise.
6870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6875 Likewise.
6876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6877 Likewise.
6878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6882 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6883 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6884 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6885 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6886 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6887 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6888 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6889 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6891 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6892 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6893 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6894 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6895 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6896 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6897 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6898 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6899 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6900 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6901 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6902
6903 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6904
6905 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6906 scaling.
6907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6908
6909 2012-03-15 Andreas Jaeger <aj@suse.de>
6910
6911 [BZ #13852]
6912 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6913 ieee754/flt-32 implementation for sin, cos and sincos.
6914 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6915 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6916 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6917 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6918 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6919 ieee754/flt-32 implementation for tan.
6920
6921 * math/libm-test.inc (cos_test): Enable some large input tests for
6922 float as well
6923 (sin_test): Likewise.
6924 (sincos_test): Likewise.
6925 (tan_test): Add tests for large input.
6926
6927 * sysdeps/i386/fpu/libm-test-ulps: Update.
6928
6929 2012-03-15 Andreas Jaeger <aj@suse.de>
6930
6931 [BZ #13658]
6932 * math/libm-test.inc (cos_test): Add more test cases.
6933 (sin_test): Likewise.
6934 (sincos_test): Likewise.
6935
6936 2012-03-15 Andreas Jaeger <aj@suse.de>
6937
6938 [BZ #13837]
6939 * math/libm-test.inc (cos_test): Add a test case for large input
6940 value.
6941 (sin_test): Likewise.
6942 (sincos_test): Likewise.
6943
6944 2012-03-15 Andreas Jaeger <aj@suse.de>,
6945 Joseph Myers <joseph@codesourcery.com>
6946
6947 [BZ #13658]
6948 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
6949 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6950 * sysdeps/i386/fpu/branred.c: Likewise.
6951 * sysdeps/i386/fpu/dosincos.c: Likewise.
6952 * sysdeps/i386/fpu/mpa.c: Likewise.
6953 * sysdeps/i386/fpu/s_cos.S: Likewise.
6954 * sysdeps/i386/fpu/s_sin.S: Likewise.
6955 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6956 * sysdeps/i386/fpu/sincos32.c: Likewise.
6957
6958 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6959 Define.
6960 (libc_feupdateenv_53bit): Define.
6961 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6962 Define.
6963 (libc_feupdateenv_53bit): Define.
6964
6965 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6966 53 bit (without extend i386 double precision).
6967
6968 * math/libm-test.inc (sincos_test): Add tests for large input.
6969 (sin): Likewise.
6970 (cos): Likewise.
6971
6972 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6973
6974 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6975
6976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6977
6978 2012-03-15 David S. Miller <davem@davemloft.net>
6979
6980 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6981 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6982 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6983 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6988 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6989 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6990 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6991 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6992 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6993 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6994 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
6995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6996 file.
6997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
6998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6999 file.
7000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
7001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7002 file.
7003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
7004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7005 file.
7006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7007 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7008 fmin/fmax sysdep routines.
7009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7010
7011 2012-03-14 David S. Miller <davem@davemloft.net>
7012
7013 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7014 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7015 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7016 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7017 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7018 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7019 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7020 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7021 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7022 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7023 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7024 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7025 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7026 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7027 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7028 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7029 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7030 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7031 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7032 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7033 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7034 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7035 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7036 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7037 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7038 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7039 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7040 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
7041 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7042 routines.
7043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7044 file.
7045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
7046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7047 file.
7048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
7049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7050 file.
7051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
7052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7053 file.
7054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
7055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7056 file.
7057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
7058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7059 file.
7060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7061 file.
7062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7063 file.
7064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7065 file.
7066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7067 New file.
7068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7069 file.
7070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7071 file.
7072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
7073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7074 file.
7075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
7076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7077 file.
7078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
7079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7080 file.
7081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
7082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7083 VIS3 routines.
7084
7085 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7086 New file.
7087
7088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7089
7090 * sysdeps/sparc/configure.in: New file.
7091 * sysdeps/sparc/configure: Generate.
7092 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7093 * configure: Regenerate.
7094 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7095 * config.make.in (have-as-vis3): New.
7096 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7097 available use -Av9d instead of -Av9a.
7098 * sysdeps/sparc/sparc64/Makefile: Likewise.
7099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
7100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7101 New file.
7102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7103 file.
7104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7105 New file.
7106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7107 file.
7108 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7109 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7110 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7111 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7112 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7113
7114 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7115 fzeros/fnegs to load 0x80000000 into a float register instead of
7116 using the stack.
7117 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7118
7119 2012-03-14 Joseph Myers <joseph@codesourcery.com>
7120
7121 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7122 bits/syscall.h.
7123 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7124 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7125 ($(inst_includedir)/bits/syscall.h): Remove rule.
7126 ($(objpfx)bits/syscall.d): Include instead of
7127 $(objpfx)syscall-list.d.
7128 (generated): Change syscall-list.h and syscall-list.d to
7129 bits/syscall.h and bits/syscall.d.
7130
7131 2012-03-14 Roland McGrath <roland@hack.frob.com>
7132
7133 [BZ #13846]
7134 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7135
7136 2012-03-14 Joseph Myers <joseph@codesourcery.com>
7137
7138 [BZ #13841]
7139 * math/s_csqrt.c: Include <float.h>.
7140 (__csqrt): Scale large or subnormal inputs.
7141 * math/s_csqrtf.c: Likewise.
7142 * math/s_csqrtl.c: Likewise.
7143 * math/libm-test.inc (csqrt_test): Add more tests.
7144 * sysdeps/i386/fpu/libm-test-ulps: Update.
7145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7146
7147 [BZ #13840]
7148 * math/libm-test.inc (hypot_test): Add more tests.
7149
7150 2012-03-13 David S. Miller <davem@davemloft.net>
7151
7152 [BZ #13840]
7153 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7154 double-precision for the calculation instead of scaling.
7155
7156 2012-03-13 Joseph Myers <joseph@codesourcery.com>
7157
7158 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7159 manipulate bits before adding and subtracting TWO52[sx].
7160 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7161 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7162 Likewise.
7163 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7164
7165 2012-03-13 David S. Miller <davem@davemloft.net>
7166
7167 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7168 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7169 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7170 rtld-global-offsets.h
7171 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7172
7173 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7174 large parameters.
7175
7176 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7177
7178 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7179 'err' in the ifdef scope in which it is actually used.
7180
7181 * nss/nss_db/db-init.c: Include string.h
7182
7183 2012-03-12 David S. Miller <davem@davemloft.net>
7184
7185 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7186 masking out of the most significant byte of random value used.
7187 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7188 Fix coding style in previous change.
7189
7190 * sysdeps/unix/sysv/linux/kernel-features.h
7191 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7192 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7193 expression.
7194 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7195 later.
7196
7197 2012-03-11 David S. Miller <davem@davemloft.net>
7198
7199 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7200 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7201 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7202 for 'resultvar' otherwise things get truncated on 64-bit.
7203
7204 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7205 Fix masking out of the most significant byte of random value used.
7206
7207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7208
7209 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
7210
7211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7212
7213 2012-03-09 David S. Miller <davem@davemloft.net>
7214
7215 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7216 variables with appropriate CPP guards.
7217 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7218 frame pointer, not the stack pointer. Correct layout comments. Fix test
7219 on resulting framesize and the management of the outregs buffer for pltexit.
7220 Preserve floating point return values across _dl_call_pltexit call.
7221 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7222 framesize and the management of the outregs buffer for pltexit.
7223 Preserve floating point return values across _dl_call_pltexit
7224 call.
7225 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7226 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7227 (print_exit): Fix format string for return register value.
7228
7229 2012-03-10 Joseph Myers <joseph@codesourcery.com>
7230
7231 * sunrpc/Makefile (others): Add rpcgen.
7232 ($(objpfx)rpcgen): Remove special build rule and dependency on
7233 libc.
7234 * sunrpc/rpcgen.c: New file.
7235
7236 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
7237
7238 [BZ #13673]
7239 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7240 * stdio-common/bug-vfprintf-nargs.c: Likewise.
7241 * sysdeps/i386/crti.S: Likewise.
7242 * sysdeps/i386/crtn.S: Likewise.
7243 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7244 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7245 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7246 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7247 * sysdeps/sh/crti.S: Likewise.
7248 * sysdeps/sh/crtn.S: Likewise.
7249 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7250
7251 [BZ #13673]
7252 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7253 with URL.
7254 * locale/programs/locfile-kw.gperf: Likewise.
7255 * locale/programs/charmap-kw.h: Regenerated.
7256 * locale/programs/locfile-kw.h: Likewise.
7257
7258 [BZ #13673]
7259 * intl/plural.y: Replace FSF snail mail address with URL.
7260 * intl/plural.c: Regenerated.
7261
7262 2012-03-09 Richard Henderson <rth@twiddle.net>
7263
7264 * include/math_private.h: Remove file.
7265 * math/math_private.h: Move file ...
7266 * sysdeps/generic/math_private.h: ... here.
7267
7268 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7269 * sysdeps/powerpc/fpu/math_private.h: Likewise.
7270 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7271
7272 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
7273 and <math_private.h>.
7274 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7275 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7276 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7277 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7278 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7279 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
7280 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7281 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7282 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7283 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7284 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7285 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7286 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7287 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7288 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7289 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7290 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7291 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7292 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7293 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7294 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7295 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7296 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7297 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7298 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7299 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7300 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7301 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7302 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7303 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7304 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7305 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7306 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7307 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7308 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7309 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7310 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7311 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7312 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7313 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7314 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7315 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7316 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7317 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7318 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7319 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7320 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7321 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7322 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7323 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7324 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7325 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7326 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7327 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7328 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7329 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7330 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7331 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7332 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7333 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7334 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7335 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7336 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7337 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7338 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7339 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7340 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7341 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7342 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7343 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7344 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7345 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7346 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7347 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7348 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7349 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7350 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7351 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7352 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7353 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7354 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7355 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7356 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7357 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7358 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7359 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7360 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7361 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7362 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7363 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7364 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7365 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7366 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7367 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7368 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7369 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7370 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7371 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7372 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7373 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7374 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7375 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7376 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7377 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7378 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7379 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7380 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7381 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7382 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7383 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7384 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7385 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7386 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7387 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7388 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7389 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7390 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7391 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7392 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7393 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7394 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7395 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7396 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7397 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7398 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7399 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7400 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7401 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7402 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7403 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7404 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7405 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7406 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7407 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7408 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7409 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7410 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7411 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7412 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7413 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7414 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7415 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7416 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7417 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7418 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7419 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7420 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7421 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7422 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7423 * sysdeps/ieee754/k_standard.c: Likewise.
7424 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7425 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7426 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7427 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7428 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7429 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7430 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7431 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7432 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7433 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7434 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7435 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7436 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7437 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7438 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7439 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7440 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7441 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7442 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7443 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7444 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7445 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7446 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7447 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7448 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7449 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7450 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7451 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7452 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7453 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7454 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7455 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7456 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7457 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7458 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7459 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7460 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7461 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7462 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7463 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7464 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7465 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7466 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7467 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7468 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7469 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7470 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7471 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7472 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7473 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7474 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7475 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7476 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7477 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7478 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7479 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7480 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7481 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7482 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7483 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7484 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7485 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7486 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7487 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7488 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7489 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7490 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7491 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7492 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7493 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7494 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7495 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7496 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7497 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7498 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7499 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7500 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7501 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7502 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7503 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7504 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7505 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7506 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7507 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7508 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7509 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7510 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7511 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7512 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7513 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7514 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7515 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7516 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7517 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7518 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7519 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7520 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7521 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7522 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7523 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7524 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7525 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7526 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7527 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7528 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7529 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7530 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7531 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7532 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7533 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7534 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7535 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7536 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7537 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7538 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7539 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7540 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7541 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7542 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7543 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7544 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7545 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7546 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7547 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7548 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7549 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7550 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7551 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7552 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7553 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7554 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7555 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7556 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7557 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7558 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7559 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7560 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7561 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7562 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7563 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7564 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7565 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7566 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7567 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7568 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7569 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7570 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7571 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7572 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7573 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7574 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7575 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7576 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7577 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7578 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7579 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7580 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7581 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7582 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7583 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7584 * sysdeps/ieee754/s_lib_version.c: Likewise.
7585 * sysdeps/ieee754/s_matherr.c: Likewise.
7586 * sysdeps/ieee754/s_signgam.c: Likewise.
7587 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7588 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7589 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7590 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7591 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7592 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7593 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7594 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7595 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7596 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7597 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7598 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7599 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7600 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7601 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7602 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7603 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7604 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7605 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7606 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7607 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7608
7609 2012-03-09 Joseph Myers <joseph@codesourcery.com>
7610
7611 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7612 * sunrpc/rpc_main.c: Likewise.
7613 * sunrpc/rpc_svcout.c: Likewise.
7614
7615 2012-03-09 David S. Miller <davem@davemloft.net>
7616
7617 * include/math_private.h: New file.
7618
7619 2012-03-09 Joseph Myers <joseph@codesourcery.com>
7620
7621 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7622 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7623 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7624 from <bits/socket_type.h>.
7625 (enum __socket_type): Don't define here.
7626 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7627 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7628 bits/socket_type.h.
7629
7630 [BZ #13566]
7631 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7632 checking __USE_GNU.
7633
7634 * Makerules ($(inst_includedir)/%.h): New rule.
7635 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7636 (install-others): Remove variable setting.
7637 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7638
7639 2012-03-08 Richard Henderson <rth@twiddle.net>
7640
7641 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7642 from macro to inline function; merge with the
7643 !__LIBC_INTERNAL_MATH_INLINES version.
7644 (__ieee754_sqrtf): Likewise.
7645
7646 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7647 to inline function.
7648 (__rintf, __floor, __floorf): Likewise.
7649
7650 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7651 macro to inline function.
7652 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7653
7654 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7655 not <math/math_private.h>.
7656
7657 2012-03-08 David S. Miller <davem@davemloft.net>
7658
7659 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7660 copyright year.
7661 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7662
7663 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7664
7665 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7666 normalization.
7667 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7668 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7669
7670 2012-03-08 Ulrich Drepper <drepper@gmail.com>
7671
7672 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7673 be defined individually, they must be defined as a block. Define
7674 S for printing a string instead of hidint the different by using a
7675 macro for adding the 'l'.
7676 * stdio-common/tst-fphex-wide.c: Adjust.
7677
7678 2012-03-07 Marek Polacek <polacek@redhat.com>
7679
7680 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7681
7682 2012-03-08 Marek Polacek <polacek@redhat.com>
7683
7684 [BZ #13806]
7685 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7686 * stdio-common/tst-fphex.c: Define a few macros to make the
7687 test reusable. Use them.
7688 * stdio-common/tst-fphex-wide.c: New file.
7689
7690 2012-03-08 Joseph Myers <joseph@codesourcery.com>
7691
7692 [BZ #6911]
7693 * manual/macros.texi (gnusystems): New macro.
7694 (nongnusystems): Likewise.
7695 (gnulinuxhurdsystems): Likewise.
7696 (gnuhurdsystems): Likewise..
7697 (gnulinuxsystems): Likewise.
7698 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7699 variants of the GNU system, not "GNU system".
7700 * manual/conf.texi: Likewise.
7701 * manual/errno.texi: Likewise. Update example of errno macro
7702 expansion.
7703 * manual/filesys.texi: Likewise.
7704 (getumask): Document as specific to GNU/Hurd.
7705 * manual/install.texi: Likewise. Reword some references to
7706 GNU/Linux.
7707 * manual/intro.texi: Likewise.
7708 * manual/io.texi: Likewise.
7709 (File Name Portability): Detail which constraints are inapplicable
7710 to all GNU systems and which are only inapplicable to GNU/Hurd.
7711 * manual/job.texi: Likewise.
7712 * manual/llio.texi: Likewise.
7713 (O_NOCTTY): Document as present on GNU/Linux.
7714 * manual/maint.texi: Likewise.
7715 * manual/memory.texi: Likewise.
7716 * manual/pattern.texi: Likewise.
7717 * manual/pipe.texi: Likewise.
7718 * manual/process.texi: Likewise.
7719 * manual/resource.texi: Likewise.
7720 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7721 child on GNU/Hurd.
7722 * manual/setjmp.texi: Likewise.
7723 * manual/signal.texi: Likewise.
7724 * manual/startup.texi: Likewise.
7725 * manual/stdio.texi: Likewise.
7726 * manual/terminal.texi: Likewise.
7727 (ONLCR): Document as POSIX.
7728 (OXTABS): Document availability on GNU/Linux as XTABS.
7729 (ONOEOT): Document availability separately from other bits.
7730 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7731 * manual/time.texi: Likewise.
7732 * manual/users.texi: Likewise.
7733 * INSTALL: Regenerated.
7734 * sysdeps/gnu/errlist.c: Regenerated.
7735
7736 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7737 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7738 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7739 puts.
7740 * configure: Regenerated.
7741
7742 2012-03-07 Joseph Myers <joseph@codesourcery.com>
7743
7744 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7745 default includes instead of AC_HEADER_CHECK.
7746 * sysdeps/i386/configure: Regenerated.
7747
7748 [BZ #10716]
7749 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7750 * math/s_cacoshf.c (__cacoshf): Likewise.
7751 * math/s_cacoshl.c (__cacoshl): Likewise.
7752 * math/s_casinh.c (__casinh): Set signs of result from argument.
7753 * math/s_casinhf.c (__casinhf): Likewise.
7754 * math/s_casinhl.c (__casinhl): Likewise.
7755 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7756 (casinh_test): Add more tests.
7757 * sysdeps/i386/fpu/libm-test-ulps: Update.
7758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7759
7760 2012-03-07 Ulrich Drepper <drepper@gmail.com>
7761
7762 * po/zh_TW.po: Update from translation team.
7763
7764 * login/Makefile (distribute): Remove variable.
7765 * catgets/Makefile: Likewise.
7766 * mach/Makefile: Likewise.
7767 * malloc/Makefile: Likewise.
7768 * misc/Makefile: Likewise.
7769 * iconv/Makefile: Likewise.
7770 * nscd/Makefile: Likewise.
7771 * hurd/Makefile: Likewise.
7772 * manual/Makefile: Likewise.
7773 * locale/Makefile: Likewise.
7774 * intl/Makefile: Likewise.
7775 * conform/Makefile: Likewise.
7776 * nss/Makefile: Likewise.
7777 * time/Makefile: Likewise.
7778 * soft-fp/Makefile: Likewise.
7779 * dirent/Makefile: Likewise.
7780 * gmon/Makefile: Likewise.
7781 * po/Makefile: Likewise.
7782 * rt/Makefile: Likewise.
7783 * socket/Makefile: Likewise.
7784 * math/Makefile: Likewise.
7785 * signal/Makefile: Likewise.
7786 * debug/Makefile: Likewise.
7787 * elf/Makefile: Likewise.
7788 * timezone/Makefile: Likewise.
7789 * stdlib/Makefile: Likewise.
7790 * iconvdata/Makefile: Likewise.
7791 * sunrpc/Makefile: Likewise.
7792 * io/Makefile: Likewise.
7793 * argp/Makefile: Likewise.
7794 * inet/Makefile: Likewise.
7795 * hesiod/Makefile: Likewise.
7796 * grp/Makefile: Likewise.
7797 * csu/Makefile: Likewise.
7798 * wctype/Makefile: Likewise.
7799 * crypt/Makefile: Likewise.
7800 * libio/Makefile: Likewise.
7801 * string/Makefile: Likewise.
7802 * nis/Makefile: Likewise.
7803 * resolv/Makefile: Likewise.
7804 * stdio-common/Makefile: Likewise.
7805 * wcsmbs/Makefile: Likewise.
7806 * dlfcn/Makefile: Likewise.
7807 * posix/Makefile: Likewise.
7808
7809 [BZ #6959]
7810 * timezone/Makefile: Don't install timezone files, just the programs
7811 and scripts.
7812
7813 2012-03-06 Ulrich Drepper <drepper@gmail.com>
7814
7815 * nss/databases.def: Add missing gshadow entry.
7816
7817 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7818
7819 2012-03-06 Marek Polacek <polacek@redhat.com>
7820
7821 [BZ #13726]
7822 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7823 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7824 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7825 * stdio-common/tst-long-dbl-fphex.c: New file.
7826
7827 2012-03-06 David S. Miller <davem@davemloft.net>
7828
7829 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7830 (set_obp_int): New function.
7831 (get_obp_int): New function.
7832 (__get_clockfreq_via_dev_openprom): Likewise.
7833 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7834 Avoid unused variable warnings on 'val' and use builtin_expect.
7835 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7836 __builtin_expect.
7837 (INLINE_CLONE_SYSCALL): Likewise.
7838
7839 2012-03-05 David S. Miller <davem@davemloft.net>
7840
7841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7842
7843 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7844
7845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7846
7847 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7848 only for |x| >= 40.
7849 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7850
7851 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
7852
7853 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7854 Replace gettimeofday with __vdso_gettimeofday.
7855
7856 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7857 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7858 __vdso_clock_gettime and __vdso_getcpu.
7859
7860 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7861 time with __vdso_time.
7862
7863 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7864
7865 * manual/lang.texi (size_t): Note types to which size_t may be
7866 equivalent with the GNU C Library, but do not describe when
7867 differences between them are significant.
7868
7869 2012-03-05 Andreas Jaeger <aj@suse.de>
7870
7871 * sysdeps/i386/fpu/libm-test-ulps: Update.
7872
7873 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7874
7875 [BZ #3976]
7876 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7877 (__ieee754_pow): Save and restore rounding mode and use
7878 round-to-nearest for main computations.
7879 * math/libm-test.inc (pow_test_tonearest): New function.
7880 (pow_test_towardzero): Likewise.
7881 (pow_test_downward): Likewise.
7882 (pow_test_upward): Likewise.
7883 (main): Call the new functions.
7884 * sysdeps/i386/fpu/libm-test-ulps: Update.
7885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7886
7887 [BZ #3976]
7888 * math/libm-test.inc (cosh_test_tonearest): New function.
7889 (cosh_test_towardzero): Likewise.
7890 (cosh_test_downward): Likewise.
7891 (cosh_test_upward): Likewise.
7892 (sinh_test_tonearest): Likewise.
7893 (sinh_test_towardzero): Likewise.
7894 (sinh_test_downward): Likewise.
7895 (sinh_test_upward): Likewise.
7896 (main): Call the new functions.
7897 * sysdeps/i386/fpu/libm-test-ulps: Update.
7898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7899
7900 2012-03-05 Tom de Vries <tom@codesourcery.com>
7901
7902 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7903 default stack guard is set in last bytes.
7904 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7905
7906 2012-03-05 Kees Cook <keescook@chromium.org>
7907
7908 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
7909
7910 [BZ #13656]
7911 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7912 possibly allocate from heap instead of stack.
7913 * stdio-common/bug-vfprintf-nargs.c: New file.
7914 * stdio-common/Makefile (tests): Add nargs overflow test.
7915
7916 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7917
7918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7919
7920 2012-03-03 Marek Polacek <polacek@redhat.com>
7921
7922 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7923 * math/math_private.h: Likewise.
7924 * stdlib/tst-strtod.c: Likewise.
7925 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7926 * sysdeps/x86_64/bits/atomic.h: Likewise.
7927
7928 2012-03-02 David S. Miller <davem@davemloft.net>
7929
7930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7934 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7935 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7936 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7937 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7938
7939 2012-03-02 Roland McGrath <roland@hack.frob.com>
7940
7941 [BZ #13792]
7942 * manual/examples/README: New file, says the example source files
7943 can be used under GPL>=2.
7944 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7945 line containing just "*/".
7946 * manual/examples/add.c: Add copyright header (GPL>=2).
7947 * manual/examples/argp-ex1.c: Likewise.
7948 * manual/examples/argp-ex2.c: Likewise.
7949 * manual/examples/argp-ex3.c: Likewise.
7950 * manual/examples/argp-ex4.c: Likewise.
7951 * manual/examples/atexit.c: Likewise.
7952 * manual/examples/db.c: Likewise.
7953 * manual/examples/dir.c: Likewise.
7954 * manual/examples/dir2.c: Likewise.
7955 * manual/examples/execinfo.c: Likewise.
7956 * manual/examples/filecli.c: Likewise.
7957 * manual/examples/filesrv.c: Likewise.
7958 * manual/examples/fmtmsgexpl.c: Likewise.
7959 * manual/examples/genpass.c: Likewise.
7960 * manual/examples/inetcli.c: Likewise.
7961 * manual/examples/inetsrv.c: Likewise.
7962 * manual/examples/isockad.c: Likewise.
7963 * manual/examples/longopt.c: Likewise.
7964 * manual/examples/memopen.c: Likewise.
7965 * manual/examples/memstrm.c: Likewise.
7966 * manual/examples/mkfsock.c: Likewise.
7967 * manual/examples/mkisock.c: Likewise.
7968 * manual/examples/mygetpass.c: Likewise.
7969 * manual/examples/pipe.c: Likewise.
7970 * manual/examples/popen.c: Likewise.
7971 * manual/examples/rprintf.c: Likewise.
7972 * manual/examples/search.c: Likewise.
7973 * manual/examples/select.c: Likewise.
7974 * manual/examples/setjmp.c: Likewise.
7975 * manual/examples/sigh1.c: Likewise.
7976 * manual/examples/sigusr.c: Likewise.
7977 * manual/examples/stpcpy.c: Likewise.
7978 * manual/examples/strdupa.c: Likewise.
7979 * manual/examples/strftim.c: Likewise.
7980 * manual/examples/strncat.c: Likewise.
7981 * manual/examples/subopt.c: Likewise.
7982 * manual/examples/swapcontext.c: Likewise.
7983 * manual/examples/termios.c: Likewise.
7984 * manual/examples/testopt.c: Likewise.
7985 * manual/examples/testpass.c: Likewise.
7986 * manual/examples/timeval_subtract.c: Likewise.
7987
7988 [BZ #13792]
7989 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7990 function to ...
7991 * manual/timeval_subtract.c.texi: ... here, new file.
7992
7993 2012-03-02 David S. Miller <davem@davemloft.net>
7994
7995 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7996
7997 2012-03-02 Joseph Myers <joseph@codesourcery.com>
7998
7999 [BZ #3976]
8000 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8001 (__sin): Save and restore rounding mode and use round-to-nearest
8002 for all computations.
8003 (__cos): Save and restore rounding mode and use round-to-nearest
8004 for all computations.
8005 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8006 <fenv.h>.
8007 (tan): Save and restore rounding mode and use round-to-nearest for
8008 all computations.
8009 * math/libm-test.inc (cos_test_tonearest): New function.
8010 (cos_test_towardzero): Likewise.
8011 (cos_test_downward): Likewise.
8012 (cos_test_upward): Likewise.
8013 (sin_test_tonearest): Likewise.
8014 (sin_test_towardzero): Likewise.
8015 (sin_test_downward): Likewise.
8016 (sin_test_upward): Likewise.
8017 (tan_test_tonearest): Likewise.
8018 (tan_test_towardzero): Likewise.
8019 (tan_test_downward): Likewise.
8020 (tan_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 #10135]
8026 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8027 small n, then large n, before computing and testing k+n.
8028 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8029 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8030 Likewise.
8031 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8032 Likewise.
8033 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8034 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8035 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8036 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8037 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8038 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8039 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8040 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8041 * math/libm-test.inc (scalbn_test): Add more tests.
8042 (scalbln_test): Likewise.
8043
8044 * manual/filesys.texi (mode_t): Describe constraints on size and
8045 signedness, not exact equivalence to a particular type.
8046 (ino_t): Likewise.
8047 (ino64_t): Likewise.
8048 (dev_t): Likewise.
8049 (nlink_t): Likewise.
8050 (blkcnt_t): Likewise.
8051 (blkcnt64_t): Likewise.
8052 * manual/llio.texi (off_t): Likewise.
8053
8054 [BZ #3976]
8055 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8056 (__ieee754_exp): Save and restore rounding mode and use
8057 round-to-nearest for all computations.
8058 * math/libm-test.inc (exp_test_tonearest): New function.
8059 (exp_test_towardzero): Likewise.
8060 (exp_test_downward): Likewise.
8061 (exp_test_upward): Likewise.
8062 (main): Call the new functions.
8063 * sysdeps/i386/fpu/libm-test-ulps: Update.
8064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8065
8066 2012-03-01 Chris Demetriou <cgd@google.com>
8067
8068 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8069 have predictable order.
8070
8071 2012-03-01 David S. Miller <davem@davemloft.net>
8072
8073 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8074
8075 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8076 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8077 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8078 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8079
8080 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8081 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8082 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8084 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8085 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8086 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8087 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8088 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8089
8090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8091
8092 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8093 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8094 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8095
8096 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8097 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8098 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8099 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8100 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8101 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8102 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8103 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8104 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8105 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8106 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8107 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8108 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8109 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8110 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8111 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8112 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8113 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8114 * sysdeps/sparc/elf/configure: Regenerated.
8115
8116 2012-03-01 Joseph Myers <joseph@codesourcery.com>
8117
8118 * configure.in (AS, LD): Require binutils 2.20 or later.
8119 * configure: Regenerated.
8120 * manual/install.texi (Tools for Compilation): Give binutils 2.20
8121 as required minimum version.
8122 * INSTALL: Regenerated.
8123
8124 [BZ #2541]
8125 [BZ #4108]
8126 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8127 before squaring exponent.
8128 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8129 bottom long double and 27 bits of top long double before squaring
8130 exponent.
8131 * math/libm-test.inc (erfc_test): Add more tests.
8132 * sysdeps/i386/fpu/libm-test-ulps: Update.
8133 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8135
8136 2012-03-01 Kai Tietz <ktietz@redhat.com>
8137
8138 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8139 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8140 containing bit-fields.
8141 * soft-fp/extended.h (_FP_UNION_E): Likewise.
8142 * soft-fp/single.h (_FP_UNION_S): Likewise.
8143 * soft-fp/double.h (_FP_UNION_D): Likewise.
8144
8145 2012-02-29 Joseph Myers <joseph@codesourcery.com>
8146
8147 [BZ #13786]
8148 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8149 not include ../strcmp.S.
8150 [USE_AS_STRNCASECMP_L]: Likewise.
8151 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8152 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8153 * sysdeps/i386/i686/multiarch/strncase_l-c.c
8154 (__strncasecmp_l_ia32): Define as alias to
8155 __strncasecmp_l_nonascii.
8156
8157 [BZ #5794]
8158 * math/libm-test.inc (expm1_test): Add test for bug 5794.
8159 * sysdeps/i386/fpu/libm-test-ulps: Update.
8160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8161
8162 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8164
8165 2012-02-29 Jeff Law <law@redhat.com>
8166
8167 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8168 out of bounds read.
8169
8170 2012-02-29 Marek Polacek <polacek@redhat.com>
8171
8172 [BZ #13706]
8173 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8174 * elf/Makefile: Add rules to run tst-unused-dep.out.
8175
8176 2012-02-28 David S. Miller <davem@davemloft.net>
8177
8178 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8179 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8180 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8181 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8182 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8183 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8184
8185 2012-02-29 Joseph Myers <joseph@codesourcery.com>
8186
8187 * math/libm-test.inc (llround_test): Move one test from
8188 lround_test. Use TEST_f_L in moved test.
8189 (lround_test): Move misplaced test to llround_test. Add testcase
8190 from bug 2561.
8191
8192 2012-02-28 Ulrich Drepper <drepper@gmail.com>
8193
8194 * sysdeps/x86_64/fpu/e_expf.S: New file.
8195 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8196
8197 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
8198
8199 [BZ #13637]
8200 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8201 of remain_len that may cause incomplete multi-byte character and
8202 false match.
8203 * posix/bug-regex33.c: New file.
8204 * posix/Makefile (tests): Add bug-regex33.
8205
8206 2012-02-28 Joseph Myers <joseph@codesourcery.com>
8207
8208 * manual/macros.texi: New file.
8209 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8210 * manual/libc.texinfo: Include macros.texi.
8211 * manual/creatute.texi: Likewise.
8212 * manual/install.texi: Likewise.
8213 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8214 @glibcadj{} in references to the GNU C Library.
8215 * manual/charset.texi: Likewise.
8216 * manual/conf.texi: Likewise.
8217 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
8218 when not using those macros.
8219 * manual/creature.texi: Likewise.
8220 * manual/crypt.texi: Likewise.
8221 * manual/errno.texi: Likewise.
8222 * manual/filesys.texi: Likewise.
8223 * manual/header.texi: Likewise.
8224 * manual/install.texi: Likewise.
8225 * manual/intro.texi: Likewise.
8226 * manual/io.texi: Likewise.
8227 * manual/job.texi: Likewise.
8228 * manual/lang.texi: Likewise.
8229 * manual/libc.texiinfo: Likewise.
8230 * manual/llio.texi: Likewise.
8231 * manual/locale.texi: Likewise.
8232 * manual/maint.texi: Likewise.
8233 * manual/math.texi: Likewise.
8234 * manual/memory.texi: Likewise.
8235 * manual/message.texi: Likewise.
8236 * manual/nss.texi: Likewise.
8237 * manual/pattern.texi: Likewise.
8238 * manual/process.texi: Likewise.
8239 * manual/resource.texi: Likewise.
8240 * manual/search.texi: Likewise.
8241 * manual/setjmp.texi: Likewise.
8242 * manual/signal.texi: Likewise.
8243 * manual/socket.texi: Likewise.
8244 * manual/startup.texi: Likewise.
8245 * manual/stdio.texi: Likewise.
8246 * manual/string.texi: Likewise.
8247 * manual/sysinfo.texi: Likewise.
8248 * manual/syslog.texi: Likewise.
8249 * manual/terminal.texi: Likewise.
8250 * manual/time.texi: Likewise.
8251 * manual/users.texi: Likewise.
8252 * INSTALL: Regenerated.
8253 * NOTES: Regenerated.
8254 * sysdeps/gnu/errlist.c: Regenerated.
8255
8256 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
8257
8258 * include/dirent.h: Include <dirstream.h> before
8259 <dirent/dirent.h>.
8260
8261 2012-02-28 David S. Miller <davem@davemloft.net>
8262
8263 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
8264 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
8265 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8266 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8267
8268 2012-02-27 David S. Miller <davem@davemloft.net>
8269
8270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8272 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8273 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8274
8275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8276 frame pointer instead of stack pointer relative arg slot.
8277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8278 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8279 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8280
8281 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
8282
8283 [BZ #3992]
8284 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8285
8286 2012-02-27 David S. Miller <davem@davemloft.net>
8287
8288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8292 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8293 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8294 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8295 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8296
8297 2012-02-27 Joseph Myers <joseph@codesourcery.com>
8298
8299 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8300 later. Allow versions 5-9.
8301 * configure: Regenerated.
8302 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8303 required minimum version and 4.6 as recommended version. Do not
8304 mention bugs in GCC 2.7 and 2.8.
8305 * INSTALL: Regenerated.
8306
8307 2012-02-27 David S. Miller <davem@davemloft.net>
8308
8309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8313 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8314 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8315 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8316 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8317
8318 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8319 manipulate bits before adding and subtracting TWO112[sx].
8320 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8321
8322 2012-02-27 Roland McGrath <roland@hack.frob.com>
8323
8324 [BZ #13775]
8325 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8326 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8327 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8328 being in POSIX, because they are in 1003.1-2008.
8329
8330 * rt/tst-aio.c: Include <fcntl.h>.
8331 * rt/tst-aio7.c: Likewise.
8332 * rt/tst-aio64.c: Likewise.
8333
8334 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8335
8336 2012-02-27 Joseph Myers <joseph@codesourcery.com>
8337
8338 * manual/install.texi (--with-headers): Describe headers as
8339 interface headers, not private headers.
8340 (Specific advice for GNU/Linux systems): Describe use of headers
8341 from "make headers_install", not private headers from older
8342 kernels.
8343 * INSTALL: Regenerated.
8344 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8345 Change to 2.6.19.
8346 * sysdeps/unix/sysv/linux/configure: Regenerated.
8347
8348 * manual/llio.texi (fclean): Remove documentation.
8349
8350 * manual/Makefile (libc-texi-generated): New variable. Include
8351 version.texi.
8352 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8353 $(libc-texi-generated), not duplicated list of files.
8354 (version.texi, stamp-version): New rules.
8355 (realclean): Remove $(libc-texi-generated), not individual files
8356 from that list. Do not remove dir-add.texinfo.
8357 * manual/libc.texinfo: Comment out uses of edition numbers and
8358 references to printed manual. Remove last-updated dates.
8359 (EDITION): Comment out.
8360 (ISBN): Likewise.
8361 (VERSION, UPDATED): Remove.
8362 (version.texi): Include.
8363
8364 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8365
8366 * sysdeps/posix/spawni.c: Include <signal.h>.
8367 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8368 * sysdeps/pthread/aio_fsync.c: Likewise.
8369
8370 2012-02-26 Ulrich Drepper <drepper@gmail.com>
8371
8372 * conform/Makefile (tests): Run only when not cross-compiling and
8373 when fast-check is not defined.
8374
8375 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8376 * conform/data/limits.h-data: Fixes for POSIX2008.
8377 * conform/run-conformtest.sh: Run all tests.
8378 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8379 headers.
8380 * include/bits/dlfcn.h: Likewise.
8381 * include/langinfo.h: Likewise.
8382 * include/monetary.h: Likewise.
8383 * include/sys/poll.h: Likewise.
8384
8385 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8386 for __USE_GNU.
8387 * posix/spawn.h: Define __need_sigset_t.
8388 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8389 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8390 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8391 to get sigevent_t only.
8392 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8393 only for __USE_GNU.
8394 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8395 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8396 process_vm_writev only for __USE_GNU.
8397 * termios/termios.h: Declare tcgetsid also for POSIX2008.
8398
8399 * conform/Makefile: For now ignore errors from run-conformtest.
8400 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8401 POSIX to avoid namespace pollution. Don't prepend headers.
8402 * conform/data/aio.h-data: Fixes for POSIX testing.
8403 * conform/data/fcntl.h-data: Likewise.
8404 * conform/data/glob.h-data: Likewise.
8405 * conform/data/grp.h-data: Likewise.
8406 * conform/data/pthread.h-data: Likewise.
8407 * conform/data/pwd.h-data: Likewise.
8408 * conform/data/signal.h-data: Likewise.
8409 * conform/data/spawn.h-data: Likewise.
8410 * conform/data/stdio.h-data: Likewise.
8411 * conform/data/stdlib.h-data: Likewise.
8412 * conform/data/stropts.h-data: Likewise.
8413 * conform/data/sys/mman.h-data: Likewise.
8414 * conform/data/sys/stat.h-data: Likewise.
8415 * conform/data/sys/types.h-data: Likewise.
8416 * conform/data/sys/wait.h-data: Likewise.
8417 * conform/data/time.h-data: Likewise.
8418 * conform/data/unistd.h-data: Likewise.
8419 * conform/data/utime.h-data: Likewise.
8420
8421 * io/sys/stat.h: fchmod was always in POSIX.
8422 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8423 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8424 * rt/aio.h: Define __need_timespec before including <time.h>.
8425 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8426 struct. Add forward declaration of pthread_attr_t and use it in
8427 sigevent.
8428 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8429 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8430 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8431 always remove CLK_TCK definition.
8432
8433 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8434
8435 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8436
8437 2012-02-25 Ulrich Drepper <drepper@gmail.com>
8438
8439 * conform/run-conformtest.sh: New file.
8440 * conform/Makefile: Run run-conformtest for tests.
8441 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8442 support.
8443
8444 * conform/data/uchar.h-data: New file.
8445 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8446 * conform/data/arpa/inet.h-data: Likewise.
8447 * conform/data/assert.h-data: Likewise.
8448 * conform/data/complex.h-data: Likewise.
8449 * conform/data/cpio.h-data: Likewise.
8450 * conform/data/ctype.h-data: Likewise.
8451 * conform/data/dirent.h-data: Likewise.
8452 * conform/data/dlfcn.h-data: Likewise.
8453 * conform/data/errno.h-data: Likewise.
8454 * conform/data/fcntl.h-data: Likewise.
8455 * conform/data/float.h-data: Likewise.
8456 * conform/data/fmtmsg.h-data: Likewise.
8457 * conform/data/fnmatch.h-data: Likewise.
8458 * conform/data/ftw.h-data: Likewise.
8459 * conform/data/glob.h-data: Likewise.
8460 * conform/data/grp.h-data: Likewise.
8461 * conform/data/iconv.h-data: Likewise.
8462 * conform/data/inttypes.h-data: Likewise.
8463 * conform/data/langinfo.h-data: Likewise.
8464 * conform/data/libgen.h-data: Likewise.
8465 * conform/data/limits.h-data: Likewise.
8466 * conform/data/locale.h-data: Likewise.
8467 * conform/data/math.h-data: Likewise.
8468 * conform/data/monetary.h-data: Likewise.
8469 * conform/data/mqueue.h-data: Likewise.
8470 * conform/data/ndbm.h-data: Likewise.
8471 * conform/data/net/if.h-data: Likewise.
8472 * conform/data/netdb.h-data: Likewise.
8473 * conform/data/netinet/in.h-data: Likewise.
8474 * conform/data/nl_types.h-data: Likewise.
8475 * conform/data/poll.h-data: Likewise.
8476 * conform/data/pthread.h-data: Likewise.
8477 * conform/data/pwd.h-data: Likewise.
8478 * conform/data/regex.h-data: Likewise.
8479 * conform/data/sched.h-data: Likewise.
8480 * conform/data/search.h-data: Likewise.
8481 * conform/data/semaphore.h-data: Likewise.
8482 * conform/data/setjmp.h-data: Likewise.
8483 * conform/data/signal.h-data: Likewise.
8484 * conform/data/spawn.h-data: Likewise.
8485 * conform/data/stdarg.h-data: Likewise.
8486 * conform/data/stdio.h-data: Likewise.
8487 * conform/data/stdlib.h-data: Likewise.
8488 * conform/data/string.h-data: Likewise.
8489 * conform/data/strings.h-data: Likewise.
8490 * conform/data/stropts.h-data: Likewise.
8491 * conform/data/sys/ipc.h-data: Likewise.
8492 * conform/data/sys/mman.h-data: Likewise.
8493 * conform/data/sys/msg.h-data: Likewise.
8494 * conform/data/sys/resource.h-data: Likewise.
8495 * conform/data/sys/select.h-data: Likewise.
8496 * conform/data/sys/sem.h-data: Likewise.
8497 * conform/data/sys/shm.h-data: Likewise.
8498 * conform/data/sys/socket.h-data: Likewise.
8499 * conform/data/sys/stat.h-data: Likewise.
8500 * conform/data/sys/statvfs.h-data: Likewise.
8501 * conform/data/sys/time.h-data: Likewise.
8502 * conform/data/sys/timeb.h-data: Likewise.
8503 * conform/data/sys/times.h-data: Likewise.
8504 * conform/data/sys/types.h-data: Likewise.
8505 * conform/data/sys/uio.h-data: Likewise.
8506 * conform/data/sys/un.h-data: Likewise.
8507 * conform/data/sys/utsname.h-data: Likewise.
8508 * conform/data/sys/wait.h-data: Likewise.
8509 * conform/data/syslog.h-data: Likewise.
8510 * conform/data/tar.h-data: Likewise.
8511 * conform/data/termios.h-data: Likewise.
8512 * conform/data/utime.h-data: Likewise.
8513 * conform/data/utmpx.h-data: Likewise.
8514 * conform/data/varargs.h-data: Likewise.
8515 * conform/data/wchar.h-data: Likewise.
8516 * conform/data/wctype.h-data: Likewise.
8517 * conform/data/wordexp.h-data: Likewise.
8518
8519 * include/stropts.h: New file.
8520 * include/uchar.h: New file.
8521 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8522 * include/assert.h: Likewise.
8523 * include/ctype.h: Likewise.
8524 * include/dirent.h: Likewise.
8525 * include/dlfcn.h: Likewise.
8526 * include/fcntl.h: Likewise.
8527 * include/fnmatch.h: Likewise.
8528 * include/glob.h: Likewise.
8529 * include/grp.h: Likewise.
8530 * include/libio.h: Likewise.
8531 * include/locale.h: Likewise.
8532 * include/math.h: Likewise.
8533 * include/net/if.h: Likewise.
8534 * include/netdb.h: Likewise.
8535 * include/netinet/in.h: Likewise.
8536 * include/pthread.h: Likewise.
8537 * include/pwd.h: Likewise.
8538 * include/regex.h: Likewise.
8539 * include/sched.h: Likewise.
8540 * include/search.h: Likewise.
8541 * include/setjmp.h: Likewise.
8542 * include/signal.h: Likewise.
8543 * include/stdio.h: Likewise.
8544 * include/stdlib.h: Likewise.
8545 * include/string.h: Likewise.
8546 * include/sys/cdefs.h: Likewise.
8547 * include/sys/mman.h: Likewise.
8548 * include/sys/msg.h: Likewise.
8549 * include/sys/resource.h: Likewise.
8550 * include/sys/select.h: Likewise.
8551 * include/sys/socket.h: Likewise.
8552 * include/sys/stat.h: Likewise.
8553 * include/sys/statvfs.h: Likewise.
8554 * include/sys/time.h: Likewise.
8555 * include/sys/times.h: Likewise.
8556 * include/sys/uio.h: Likewise.
8557 * include/sys/utsname.h: Likewise.
8558 * include/sys/wait.h: Likewise.
8559 * include/termios.h: Likewise.
8560 * include/time.h: Likewise.
8561 * include/ulimit.h: Likewise.
8562 * include/unistd.h: Likewise.
8563 * include/utime.h: Likewise.
8564 * include/wchar.h: Likewise.
8565 * include/wctype.h: Likewise.
8566 * include/wordexp.h: Likewise.
8567
8568 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8569
8570 * time/time.h: TIME_UTC must be a macro.
8571 Make timespec_get available for ISO C11 only as well.
8572
8573 2012-02-24 Ulrich Drepper <drepper@gmail.com>
8574
8575 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8576 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8577
8578 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8579
8580 * configure.in: Use -o not -a in test for unsupported multi-arch.
8581
8582 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8583
8584 * manual/texinfo.tex: Update to version 2012-01-19.16.
8585
8586 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8587
8588 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8589
8590 2012-02-24 Roland McGrath <roland@hack.frob.com>
8591
8592 [BZ #13738]
8593 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8594 * manual/fdl-1.3.texi: New file.
8595 * manual/fdl-1.1.texi: File removed.
8596
8597 [BZ #13738]
8598 * manual/libc.texinfo (FDL_VERSION): New @set.
8599 Use it for mention of FDL in cover text.
8600 (Documentation License): Use it in @include file name.
8601
8602 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8603 Roland McGrath <roland@hack.frob.com>
8604
8605 [BZ #5461]
8606 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8607 not LONG_LONG_MAX and LONG_LONG_MIN.
8608 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8609 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8610 name.
8611 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8612
8613 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8614
8615 [BZ #2547]
8616 [BZ #11365]
8617 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8618 manipulate bits before adding and subtracting TWO23[sx].
8619 * math/libm-test.inc (nearbyint_test): Add more tests.
8620
8621 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8622
8623 [BZ #2548]
8624 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8625 bits before adding and subtracting TWO23[sx].
8626 * math/libm-test.inc (rint_test): Add more tests.
8627 (rint_test_tonearest): Likewise.
8628 (rint_test_towardzero): Likewise.
8629 (rint_test_downward): Likewise.
8630 (rint_test_upward: Likewise.
8631
8632 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8633
8634 [BZ #10110]
8635 * include/stdc-predef.h: New file. Extracted from features.h.
8636 * include/features.h: Include stdc-predef.h.
8637 * Makefile (headers): Add stdc-predef.h.
8638 * CONFORMANCE (Compiler limitations): Update.
8639
8640 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8641
8642 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8643
8644 2012-02-21 David S. Miller <davem@davemloft.net>
8645
8646 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8647 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8648
8649 2012-02-20 David S. Miller <davem@davemloft.net>
8650
8651 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8652 using a normal save/restore sequence, rather than allocating a
8653 dummy stack frame just to store a frame pointer and restore.
8654 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8655
8656 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8657
8658 * manual/install.texi: Fix stray word in line-wrapped comment.
8659
8660 2012-02-20 David S. Miller <davem@davemloft.net>
8661
8662 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8663 both binutils and gcc support GOTDATA.
8664
8665 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8666 "rd %pc" in the PIC register setup sequences.
8667
8668 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8669 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8670 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8671 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8672 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8673 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8674 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8675 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8676 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8677 (SYSCALL_ERROR_HANDLER): Likewise.
8678 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8679 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8680 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8681 (SYSCALL_ERROR_HANDLER): Likewise.
8682
8683 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8684 (HAVE_GCC_GOTDATA): New.
8685 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8686 relocation support in both binutils and gcc.
8687 * sysdeps/sparc/elf/configure: Regenerate.
8688
8689 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8690 * sysdeps/sparc/sparc32/elf/configure: Delete.
8691 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8692 * sysdeps/sparc/sparc64/elf/configure: Delete.
8693 * sysdeps/sparc/elf/configure.in: New file.
8694 * sysdeps/sparc/elf/configure: Generate.
8695
8696 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8697 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8698 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8699 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8700 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8701
8702 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8703
8704 * manual/install.texi: Do not mention specific glibc version
8705 numbers.
8706 * manual/libc.texinfo (VERSION, UPDATED): Update.
8707 (@copying): Use @copyright{} and range of years.
8708
8709 2012-02-21 Joseph Myers <joseph@codesourcery.com>
8710
8711 [BZ #13695]
8712 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8713 [crti.S not in sysdirs] (generated): Do not append.
8714 [crti.S not in sysdirs] (omit-deps): Likewise.
8715 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8716 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8717 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8718 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8719 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8720 Likewise.
8721 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8722 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8723 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8724 * csu/defs.awk: Remove file.
8725 * sysdeps/generic/initfini.c: Likewise.
8726 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8727 variable.
8728 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8729 Likewise.
8730
8731 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8732
8733 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8734 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8735 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8736 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8737 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8738 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8739 <bits/epoll.h>.
8740 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8741 (__EPOLL_PACKED): Define to empty if not defined by
8742 <bits/epoll.h>.
8743 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8744 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8745 bits/epoll.h.
8746
8747 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8748
8749 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8750 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8751 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8752 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8753 <bits/timerfd.h>.
8754 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8755 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8756 bits/timerfd.h.
8757
8758 2012-02-20 Joseph Myers <joseph@codesourcery.com>
8759
8760 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8761 in C locale.
8762 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8763 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8764 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8766
8767 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8768
8769 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8770 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8771
8772 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8773
8774 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8775 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8776 defined.
8777 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8778 Likewise.
8779 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8780 entry for 2.16.
8781
8782 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8783
8784 * math/w_acos.c: Use non-signaling floating-point comparisons.
8785 * math/w_acosf.c: Likewise.
8786 * math/w_acosh.c: Likewise.
8787 * math/w_acoshf.c: Likewise.
8788 * math/w_acoshl.c: Likewise.
8789 * math/w_acosl.c: Likewise.
8790 * math/w_asin.c: Likewise.
8791 * math/w_asinf.c: Likewise.
8792 * math/w_asinl.c: Likewise.
8793 * math/w_atanh.c: Likewise.
8794 * math/w_atanhf.c: Likewise.
8795 * math/w_atanhl.c: Likewise.
8796 * math/w_exp2.c: Likewise.
8797 * math/w_exp2f.c: Likewise.
8798 * math/w_exp2l.c: Likewise.
8799 * math/w_j0.c: Likewise.
8800 * math/w_j0f.c: Likewise.
8801 * math/w_j0l.c: Likewise.
8802 * math/w_j1.c: Likewise.
8803 * math/w_j1f.c: Likewise.
8804 * math/w_j1l.c: Likewise.
8805 * math/w_jn.c: Likewise.
8806 * math/w_jnf.c: Likewise.
8807 * math/w_log.c: Likewise.
8808 * math/w_log10.c: Likewise.
8809 * math/w_log10f.c: Likewise.
8810 * math/w_log10l.c: Likewise.
8811 * math/w_log2.c: Likewise.
8812 * math/w_log2f.c: Likewise.
8813 * math/w_log2l.c: Likewise.
8814 * math/w_logf.c: Likewise.
8815 * math/w_logl.c: Likewise.
8816 * math/w_sqrt.c: Likewise.
8817 * math/w_sqrtf.c: Likewise.
8818 * math/w_sqrtl.c: Likewise.
8819 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8820 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8821 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8822 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8823 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8824
8825 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8826
8827 [BZ #9739]
8828 * manual/string.texi (strnlen): Use correct parameter name in
8829 equivalent expression.
8830
8831 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8832
8833 [BZ #11174]
8834 * manual/users.texi (seteuid): Consistently use neweuid for
8835 argument name.
8836
8837 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8838
8839 [BZ #13704]
8840 * manual/nss.texi (Services in the NSS configuration): Correct
8841 list of services in example configuration file.
8842
8843 2012-02-19 Nick Bowler <nbowler@draconx.ca>
8844
8845 [BZ #11322]
8846 * manual/arith.texi: Remove statements about negative zero
8847 behaving identically to zero.
8848
8849 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8850
8851 [BZ #5993]
8852 * manual/install.texi: Do not document upgrading from libc5.
8853
8854 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8855
8856 [BZ #4596]
8857 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8858
8859 2012-02-18 David S. Miller <davem@davemloft.net>
8860
8861 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8862 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8863 %o7 across the call.
8864 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8865 instead.
8866 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8867 SETUP_PIC_REG_LEAF.
8868 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8869 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8870 * sysdeps/sparc/crtn.S: Likewise.
8871
8872 2012-02-17 Ulrich Drepper <drepper@gmail.com>
8873
8874 * aout/Makefile: Remove.
8875
8876 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8877
8878 [BZ #13058]
8879 * manual/examples/argp-ex1.c (main): Format definition in GNU
8880 style.
8881 * manual/examples/argp-ex2.c (main): Likewise.
8882 * manual/examples/argp-ex3.c (main): Likewise.
8883 * manual/examples/argp-ex4.c (main): Likewise.
8884 * manual/examples/longopt.c (main): Use new-style prototype
8885 definition.
8886 * manual/examples/strncat.c (main): Specify return type and use
8887 (void) for arguments.
8888 * manual/examples/subopt.c (main): Use char **argv argument.
8889
8890 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8891
8892 [BZ #5077]
8893 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8894 rounding modes.
8895
8896 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8897
8898 [BZ #6907]
8899 * manual/string.texi (strchr): Change when strchrnul is
8900 recommended.
8901
8902 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8903
8904 [BZ #174]
8905 * manual/locale.texi (setlocale): Document LOCPATH.
8906
8907 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8908
8909 [BZ #10210]
8910 * manual/process.texi (execle): Move @dots{} before last argument.
8911
8912 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
8913
8914 [BZ #12047]
8915 * manual/charset.texi (Generic Charset Conversion): Fix typo
8916 (LC_TYPE -> LC_CTYPE).
8917
8918 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8919
8920 [BZ #5805]
8921 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8922 (scalbnf): Likewise.
8923 (scalbnl): Likewise.
8924 (scalbln): Likewise.
8925 (scalblnf): Likewise.
8926 (scalblnl): Likewise.
8927 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8928 (vwarnx): Likewise.
8929 (verr): Likewise.
8930 (verrx): Likewise.
8931 * manual/filesys.texi (telldir): Use braces around return type.
8932 * manual/llio.texi (mmap): Add space after comma.
8933 (mmap64): Likewise.
8934 * manual/math.texi (jn): Use @var{} on parameter names.
8935 (jnf): Likewise.
8936 (jnl): Likewise.
8937 (yn): Likewise.
8938 (ynf): Likewise.
8939 (ynl): Likewise.
8940 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8941 line.
8942 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8943 "...".
8944 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8945 (sched_get_priority_max): Likewise.
8946 * manual/signal.texi (sigvec): Add space after comma.
8947 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8948 names.
8949 (if_indextoname): Likewise.
8950 (if_freenameindex): Likewise.
8951 (sendto): Use ',' instead of '.' in prototype.
8952 * manual/startup.texi (syscall): Use @dots{} instead of literal
8953 "...".
8954 * manual/stdio.texi (__fpending): Separate initial words of
8955 paragraph from @deftypefun line.
8956 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8957 "...".
8958 (vsyslog): Use @var{} on parameter names.
8959 * manual/terminal.texi (stty): Use @var{} on parameter names.
8960 * manual/users.texi (getutmp): Use @var{} on parameter names.
8961 (getutmpx): Likewise.
8962
8963 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8964
8965 [BZ #6884]
8966 * manual/stdio.texi (fopen): Fix typos in description of
8967 ",ccs=STRING".
8968
8969 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8970
8971 [BZ #4026]
8972 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8973 get clock_id definition.
8974
8975 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
8976
8977 [BZ #4822]
8978 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8979 (madvise): Cast every argument to void on its own.
8980
8981 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8982
8983 [BZ #9902]
8984 * manual/startup.texi (Exit Status): Fix typo.
8985
8986 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8987
8988 [BZ #10140]
8989 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8990 * manual/examples/argp-ex2.c: Likewise.
8991 * manual/examples/argp-ex3.c: Likewise.
8992
8993 2012-02-16 Richard Henderson <rth@redhat.com>
8994
8995 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8996 * sysdeps/s390/s390-32/initfini.c: Remove.
8997 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8998 * sysdeps/s390/s390-64/initfini.c: Remove.
8999
9000 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9001
9002 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9003 compiler output for sysdeps/generic/initfini.c.
9004 * sysdeps/sh/elf/initfini.c: Remove file.
9005
9006 2012-02-16 David S. Miller <davem@davemloft.net>
9007
9008 [BZ #11494]
9009 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9010
9011 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9012 * sysdeps/sparc/crti.S: New file.
9013 * sysdeps/sparc/crtn.S: New file.
9014 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9015 * sysdeps/sparc/sparc64/Makefile: Likewise.
9016
9017 2012-02-15 Mike Frysinger <vapier@gentoo.org>
9018
9019 [BZ #3335]
9020 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9021
9022 2012-02-15 Roland McGrath <roland@hack.frob.com>
9023
9024 [BZ #4822]
9025 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9026
9027 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9028 (write, read, close): Likewise.
9029 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9030
9031 2012-02-15 Joseph Myers <joseph@codesourcery.com>
9032
9033 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9034 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9035 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9036 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9037 <bits/signalfd.h>.
9038 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9039 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9040 bits/signalfd.h.
9041
9042 2012-02-14 Marek Polacek <polacek@redhat.com>
9043
9044 * sysdeps/x86_64/crti.S: New file.
9045 * sysdeps/x86_64/crtn.S: New file.
9046 * sysdeps/x86_64/elf/initfini.c: Remove file.
9047
9048 2012-02-13 Joseph Myers <joseph@codesourcery.com>
9049
9050 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9051 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9052 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9053 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9054 <bits/inotify.h>.
9055 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9056 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9057 bits/inotify.h.
9058
9059 2012-02-13 Joseph Myers <joseph@codesourcery.com>
9060
9061 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9062 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9063 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9064 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9065 <bits/eventfd.h>.
9066 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9067 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9068 bits/eventfd.h.
9069
9070 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
9071
9072 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9073 __feraiseexcept instead of feraiseexcept.
9074
9075 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9076 nanosleep invocations.
9077 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9078 strings, and add error checking for a nanosleep invocations.
9079
9080 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9081
9082 Replace FSF snail mail address with URLs, as per GNU coding standards.
9083 Most of the snail mail addresses were wrong anyway, and omitting
9084 them makes the source code easier to maintain. Almost all of the
9085 changes are to license notices and to locale LC_IDENTIFICATION
9086 addresses, except for this one:
9087 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9088 not its snail mail address.
9089
9090 2012-02-09 Richard Henderson <rth@twiddle.net>
9091
9092 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9093 of kernel-features.h.
9094
9095 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9096
9097 2012-02-08 Marek Polacek <polacek@redhat.com>
9098
9099 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9100 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9101 * sysdeps/gnu/_G_config.h: Likewise.
9102 * sysdeps/generic/_G_config.h: Likewise.
9103
9104 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
9105
9106 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9107 tests.
9108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9109
9110 * sysdeps/powerpc/powerpc32/crti.S: New file.
9111 * sysdeps/powerpc/powerpc32/crtn.S: New file.
9112 * sysdeps/powerpc/powerpc64/crti.S: New file.
9113 * sysdeps/powerpc/powerpc64/crtn.S: New file.
9114
9115 * Makeconfig (have-initfini): Don't set.
9116 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9117 * configure.in (nopic_initfini): Don't substitute.
9118 * config.h.in (HAVE_INITFINI): Don't #undef.
9119 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9120 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9121
9122 2012-02-08 Joseph Myers <joseph@codesourcery.com>
9123
9124 Support crti.S and crtn.S provided directly by architectures.
9125 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9126 [crti.S in sysdirs] (omit-deps): Likewise.
9127 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9128 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9129 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9130 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9131 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9132 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9133 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9134 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9135 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9136 compiler output for sysdeps/generic/initfini.c.
9137 * sysdeps/i386/elf/Makefile: Remove file.
9138 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9139
9140 2012-02-07 Marek Polacek <polacek@redhat.com>
9141
9142 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9143 * sysdeps/gnu/_G_config.h: Likewise.
9144 * sysdeps/mach/hurd/_G_config.h: Likewise.
9145
9146 2012-02-07 Marek Polacek <polacek@redhat.com>
9147
9148 * math/Makefile (tests): Add tst-CMPLX2.
9149 * math/tst-CMPLX2.c: New file.
9150
9151 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
9152
9153 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9154
9155 * math/libm-test.inc (jn_test): Add missing L suffix.
9156
9157 2012-02-06 Marek Polacek <polacek@redhat.com>
9158
9159 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9160 * sysdeps/i386/fpu/e_powf.S: Likewise.
9161 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9162 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9163 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9164 * sysdeps/i386/fpu/e_pow.S: Likewise.
9165 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9166 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9167 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9168 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9169 * sysdeps/i386/fpu/e_log2.S: Likewise.
9170 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9171 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9172 * sysdeps/i386/fpu/e_powl.S: Likewise.
9173 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9174 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9175 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9176 * sysdeps/i386/fpu/e_logl.S: Likewise.
9177 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9178 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9179 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9180 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9181 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9182 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9183 * sysdeps/i386/fpu/e_log.S: Likewise.
9184 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9185 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9186 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9187 * sysdeps/i386/fpu/e_logf.S: Likewise.
9188 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9189 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9190 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9191 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9192 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9193 * sysdeps/i386/fpu/e_log10.S: Likewise.
9194 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9195 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9196 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9197 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9198 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9199 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9200 * sysdeps/i386/asm-syntax.h: Likewise.
9201 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9202 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9203 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9204 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9205 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9206 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9207 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9208 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9209 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9210 * sysdeps/powerpc/sysdep.h: Likewise.
9211 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9212 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9213
9214 2012-02-06 Joseph Myers <joseph@codesourcery.com>
9215
9216 [BZ #411]
9217 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9218
9219 2012-02-06 Joseph Myers <joseph@codesourcery.com>
9220
9221 * sysdeps/i386/sysdep.h: Include <features.h>.
9222 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9223 version.
9224
9225 2012-02-05 Joseph Myers <joseph@codesourcery.com>
9226
9227 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9228 Define.
9229 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9230 LOAD_PIC_REG_STR.
9231
9232 2012-02-03 Joseph Myers <joseph@codesourcery.com>
9233
9234 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9235 (SETUP_PIC_REG): Use GET_PC_THUNK.
9236 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9237 macro.
9238
9239 2012-02-03 Joseph Myers <joseph@codesourcery.com>
9240
9241 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9242 for non-PIC compilation.
9243 (SETUP_PIC_REG): Add .p2align directive.
9244 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9245 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9246 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9247 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9248 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9249 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9250 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9251 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9252 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9253 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9254 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9255 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9256 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9257 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9258 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9259 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9260 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9261 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9262 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9263 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9264 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9265 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9266 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9267 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9268 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9269 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9270 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9271 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9272 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9273 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9274 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9275 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9276 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9277 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9278 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9279 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9280 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9281 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9282 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9283 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9284 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9285
9286 2012-02-03 Joseph Myers <joseph@codesourcery.com>
9287
9288 * math/tst-CMPLX.c: Include <stdio.h>.
9289
9290 2012-01-31 Joseph Myers <joseph@codesourcery.com>
9291
9292 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9293 float.
9294 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9295 * sysdeps/sparc/bits/mathdef.h: Likewise.
9296
9297 2012-01-31 Marek Polacek <polacek@redhat.com>
9298
9299 * libio/libio.h: Don't define _PARAMS.
9300 * locale/programs/config.h: Don't define PARAMS.
9301 * stdlib/strtol_l.c: Likewise.
9302 (__strtol_l): Remove PARAMS from the prototype.
9303
9304 2012-01-31 Ulrich Drepper <drepper@gmail.com>
9305
9306 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
9307 names. Just use the correct names. Remove unnecessary wrapper
9308 functions.
9309 * malloc/arena.c: Likewise.
9310 * malloc/hooks.c: Likewise.
9311
9312 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9313 ARENA_TEST says not to. Simplify test for creation of a new arena.
9314 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9315
9316 2012-01-30 Ulrich Drepper <drepper@gmail.com>
9317
9318 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9319 into tail calls.
9320 (update_get_addr): New function.
9321 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9322 GET_ADDR_MODULE parameter.
9323
9324 2012-01-30 Joseph Myers <joseph@codesourcery.com>
9325
9326 * crypt/cert.c: Remove __STDC__ conditionals.
9327 * crypt/crypt-entry.c: Likewise.
9328 * crypt/crypt_util.c: Likewise.
9329 * libio/filedoalloc.c: Likewise.
9330 * libio/fileops.c: Likewise.
9331 * libio/genops.c: Likewise.
9332 * libio/iofclose.c: Likewise.
9333 * libio/iofdopen.c: Likewise.
9334 * libio/iofopen.c: Likewise.
9335 * libio/iofopen64.c: Likewise.
9336 * libio/iogetdelim.c: Likewise.
9337 * libio/iopopen.c: Likewise.
9338 * libio/obprintf.c: Likewise.
9339 * libio/oldfileops.c: Likewise.
9340 * libio/oldiofclose.c: Likewise.
9341 * libio/oldiofdopen.c: Likewise.
9342 * libio/oldiofopen.c: Likewise.
9343 * libio/oldiopopen.c: Likewise.
9344 * libio/wfiledoalloc.c: Likewise.
9345 * libio/wgenops.c: Likewise.
9346 * locale/programs/xmalloc.c: Likewise.
9347 * misc/syslog.c: Likewise.
9348 * stdio-common/xbug.c: Likewise.
9349 * string/memchr.c: Likewise.
9350 * string/memcmp.c: Likewise.
9351 * string/memrchr.c: Likewise.
9352 * string/rawmemchr.c: Likewise.
9353 * sysdeps/posix/getcwd.c: Likewise.
9354 * time/strftime_l.c: Likewise.
9355
9356 2012-01-30 Joseph Myers <joseph@codesourcery.com>
9357
9358 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
9359 * config.make.in (config-cflags-sse2avx): Define.
9360 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9361 Fix typo.
9362
9363 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9364
9365 * scripts/config.guess: Update from upstream config git repository.
9366 * scripts/config.sub: Likewise.
9367
9368 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9369
9370 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9371 (EM_NUM): Update.
9372 (R_TILEPRO_*, R_TILEGX_*): New macros.
9373
9374 * scripts/firstversions.awk: Fix bug in version range handling.
9375
9376 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9377
9378 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9379
9380 * include/sys/epoll.h: New file.
9381 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9382 libc_hidden_def.
9383
9384 2012-01-28 Ulrich Drepper <drepper@gmail.com>
9385
9386 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9387 Avoid unnecessary __WORDSIZE == 64 test.
9388 (fmaxf): Use VEX format if possible.
9389 (fmax): Likewise.
9390 (fminf): Likewise.
9391 (fmin): Likewise.
9392
9393 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9394 * math/math_private.h: Remove libc_fegetround* and
9395 libc_fesetround*.
9396 * sysdeps/i386/configure.in: Check for -msse2avx.
9397 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9398 also if SSE2AVX is defined.
9399 Remove libc_fegetround* and libc_fesetround*.
9400 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9401 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9402 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9403 of HAS_YMM_USABLE.
9404 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9405 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9406 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9407 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9408 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9409
9410 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9411
9412 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9413
9414 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9415 size is not set.
9416 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9417
9418 2012-01-27 Ulrich Drepper <drepper@gmail.com>
9419
9420 [BZ #13618]
9421 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9422 relocation.
9423 * Makeconfig (libm): Define.
9424 * elf/Makefile: Add rules to build and run tst-relsort1.
9425 * elf/tst-relsort1.c: New file.
9426 * elf/tst-relsort1mod1.c: New file.
9427 * elf/tst-relsort1mod2.c: New file.
9428
9429 2012-01-27 Joseph Myers <joseph@codesourcery.com>
9430
9431 * math/s_ldexp.c: Remove __STDC__ conditionals.
9432 * math/s_ldexpf.c: Likewise.
9433 * math/s_ldexpl.c: Likewise.
9434 * math/s_nextafter.c: Likewise.
9435 * math/s_nexttowardf.c: Likewise.
9436 * math/s_significand.c: Likewise.
9437 * math/s_significandf.c: Likewise.
9438 * math/s_significandl.c: Likewise.
9439 * math/w_jnl.c: Likewise.
9440 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9441 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9442 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9443 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9444 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9445 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9446 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9447 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9448 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9449 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9450 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9451 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9452 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9453 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9454 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9455 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9456 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9457 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9458 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9459 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9460 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9461 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9462 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9463 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9464 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9465 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9466 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9467 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9468 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9469 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9470 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9471 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9472 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9473 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9474 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9475 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9476 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9477 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9478 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9479 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9480 * sysdeps/ieee754/k_standard.c: Likewise.
9481 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9482 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9483 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9484 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9485 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9486 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9487 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9488 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9489 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9490 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9491 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9492 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9493 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9494 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9495 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9496 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9497 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9498 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9499 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9500 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9501 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9502 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9503 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9504 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9505 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9506 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9507 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9508 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9509 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9510 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9511 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9512 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9513 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9514 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9515 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9516 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9517 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9518 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9519 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9520 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9521 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9522 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9523 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9524 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9525 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9526 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9527 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9528 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9529 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9530 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9531 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9532 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9533 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9534 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9535 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9536 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9537 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9538 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9539 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9540 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9541 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9542 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9543 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9544 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9545 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9546 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9547 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9548 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9549 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9550 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9551 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9552 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9553 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9554 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9555 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9556 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9557 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9558 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9559 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9560 * sysdeps/ieee754/s_matherr.c: Likewise.
9561 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9562 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9563 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9564 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9565
9566 2012-01-26 Joseph Myers <joseph@codesourcery.com>
9567
9568 * crypt/md5.h: Remove __STDC__ conditionals.
9569 * libio/libioP.h: Likewise.
9570 * locale/programs/config.h: Likewise.
9571 * sysdeps/generic/sysdep.h: Likewise.
9572 * sysdeps/i386/asm-syntax.h: Likewise.
9573 * sysdeps/s390/asm-syntax.h: Likewise.
9574 * sysdeps/unix/sysdep.h: Likewise.
9575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9577
9578 2012-01-26 Joseph Myers <joseph@codesourcery.com>
9579
9580 * libio/libio.h: Remove __STDC__ conditionals.
9581 * malloc/obstack.h: Likewise.
9582 * math/complex.h: Likewise.
9583 * math/math.h: Likewise.
9584 * sysdeps/generic/_G_config.h: Likewise.
9585 * sysdeps/gnu/_G_config.h: Likewise.
9586 * sysdeps/mach/hurd/_G_config.h: Likewise.
9587 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9588 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9589 * sysdeps/sparc/bits/mathdef.h: Likewise.
9590
9591 2012-01-26 Ulrich Drepper <drepper@gmail.com>
9592
9593 [BZ #13583]
9594 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
9595 Clean up HAS_* macros.
9596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
9597 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9598 possible.
9599 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9600 HAS_AVX.
9601 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9602 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9603 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9604 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9605 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9606
9607 2012-01-25 Joseph Myers <joseph@codesourcery.com>
9608
9609 * elf/tst-unique3.cc (gets): Remove declaration.
9610 * elf/tst-unique3lib.cc (gets): Likewise.
9611 * elf/tst-unique3lib2.cc (gets): Likewise.
9612 * elf/tst-unique4.cc (gets): Likewise.
9613
9614 2012-01-24 Ulrich Drepper <drepper@gmail.com>
9615
9616 * include/stdio.h: Add C++ protection. Add gets declarations and
9617 definitions.
9618 * debug/tst-chk1.c: Don't declare gets here.
9619 * stdio-common/tst-gets.c: Likewise.
9620
9621 2012-01-24 Joseph Myers <joseph@codesourcery.com>
9622
9623 * posix/glob: Remove directory.
9624
9625 2012-01-24 Joseph Myers <joseph@codesourcery.com>
9626
9627 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9628
9629 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9630
9631 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9632 of the non-standard EPFNOSUPPORT.
9633
9634 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9635
9636 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9637 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9638 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9639
9640 2012-01-21 Ulrich Drepper <drepper@gmail.com>
9641
9642 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9643
9644 2012-01-20 Ulrich Drepper <drepper@gmail.com>
9645
9646 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9647 transient errors.
9648 * nscd/grpcache.c (cache_addgr): Likewise.
9649 * nscd/hstcache.c (cache_addhst): Likewise.
9650 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9651 * nscd/pwdcache.c (cache_addpw): Likewise.
9652 * nscd/servicescache.c (cache_addserv): Likewise.
9653
9654 2012-01-16 Ulrich Drepper <drepper@gmail.com>
9655
9656 * malloc/malloc.c: Various cleanups.
9657 * malloc/hooks.c: Likewise.
9658
9659 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9660 * stdlib/bug-fmtmsg1.c: New file.
9661
9662 * stdlib/fmtmsg.c (init): Add missing unlock.
9663 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9664
9665 2012-01-12 Marek Polacek <polacek@redhat.com>
9666
9667 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9668 and _GNU_SOURCE.
9669
9670 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9671
9672 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9673 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9674 macro to ensure uniqueness of label name.
9675 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9676 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9677
9678 2012-01-11 Ulrich Drepper <drepper@gmail.com>
9679
9680 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9681
9682 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9683 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9684 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9685 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9686
9687 2012-01-10 Ulrich Drepper <drepper@gmail.com>
9688
9689 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9690
9691 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9692 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9693 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9694
9695 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9696
9697 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
9698 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9699 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9700 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
9701
9702 * math/bits/math-finite.h: Add ldexp support.
9703
9704 2012-01-10 Marek Polacek <polacek@redhat.com>
9705
9706 * locale/programs/localedef.h (show_archive_content): Add noreturn
9707 attribute.
9708
9709 2012-01-09 Ulrich Drepper <drepper@gmail.com>
9710
9711 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9712
9713 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9714
9715 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9716
9717 * io/Makefile (headers): Add bits/poll2.h.
9718
9719 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9720
9721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9722 typo #include statement.
9723
9724 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9725
9726 * include/sys/cdefs.h: Define __attribute_alloc_size.
9727 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9728 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9729 * elf/pldd.c: Likewise.
9730 * iconv/iconv_charmap.c: Likewise.
9731 * iconv/iconvconfig.c: Likewise.
9732 * iconv/strtab.c: Likewise.
9733 * locale/programs/locale.c: Likewise.
9734 * locale/programs/localedef.h: Likewise.
9735 * locale/programs/simple-hash.c: Likewise.
9736 * nscd/nscd.h: Likewise.
9737 * nss/makedb.c: Likewise.
9738 * sysdeps/generic/ldconfig.h: Likewise.
9739 * locale/programs/localedef.c: Remove xmalloc prototype.
9740 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9741
9742 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9743
9744 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9745 appropriate.
9746
9747 2012-01-08 Ulrich Drepper <drepper@gmail.com>
9748
9749 * math/Makefile (tests): Add tst-CMPLX.
9750 * math/tst-CMPLX.c: New file.
9751
9752 * math/complex.h (CMPLXL): Fix typo.
9753
9754 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9755 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9756 GLIBC_2.16.
9757 * debug/tst-chk1.c: Add poll and ppoll tests.
9758 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9759 * include/sys/poll.h: Add hidden proto for ppoll.
9760 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9761 * sysdeps/mach/hurd/ppoll.c: Likewise.
9762 * io/ppoll.c: Likewise.
9763 * debug/poll_chk.c: New file.
9764 * debug/ppoll_chk.c: New file.
9765 * include/bits/poll2.h: New file.
9766 * io/bits/poll2.h: New file.
9767
9768 [BZ #1350]
9769 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9770
9771 * configure.in: static is always set to yes. Remove.
9772 * config.make.in: Don't set build-static.
9773 * Makeconfig: Remove use of build-static.
9774 * dlfcn/Makefile: Likewise.
9775 * elf/Makefile: Likewise.
9776 * math/Makefile: Likewise.
9777 * misc/Makefile: Likewise.
9778 * nptl/Makefile: Likewise.
9779 * sysdeps/mach/hurd/Makefile: Likewise.
9780
9781 * configure.in: PWD_P is not used anymore.
9782 * config.make.in: Remove PWD_P entry.
9783
9784 * configure.in: Remove last remnants of RANLIB.
9785 No need to check for signed size_t anymore.
9786 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9787 and IA-64.
9788 Remove __builtin_expect test because we require at least gcc 3.4.
9789 * aclocal.m4: Likewise.
9790
9791 * wcsmbs/mbrtoc16.c: Implement using towc function.
9792 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9793 * wcsmbs/wcsmbsload.c: Likewise.
9794 * iconv/gconv_simple.c: Likewise.
9795 * iconv/gconv_int.h: Likewise.
9796 * iconv/gconv_builtin.h: Likewise.
9797 * iconv/iconv_prog.c: Remove CHAR16 handling.
9798
9799 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9800
9801 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9802
9803 * configure.in: Remove --with-elf and --enable-bounded options.
9804 Dont set base_machine for ia64. More non-ELF conditions removed.
9805 Remove testing and setting of leading underscore information.
9806 * config.make.in (build-bounded): Set to no.
9807 * config.h.in: Remove NO_UNDERSCORES entry.
9808 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9809 them.
9810 * csu/start.c: Remove !NO_UNDERSCORE code.
9811 * locale/localeinfo.h: Likewise.
9812 * sysdeps/generic/machine-gmon.h: Likewise.
9813 * sysdeps/generic/sysdep.h: Likewise.
9814 * sysdeps/i386/sysdep.h: Likewise.
9815 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9816 * sysdeps/mach/sysdep.h: Likewise.
9817 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9818 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9819 * sysdeps/sh/sysdep.h: Likewise.
9820 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9821 * sysdeps/unix/i386/sysdep.S: Likewise.
9822 * sysdeps/unix/sparc/start.c: Likewise.
9823 * sysdeps/unix/sparc/sysdep.S: Likewise.
9824 * sysdeps/unix/sparc/sysdep.h: Likewise.
9825 * sysdeps/unix/start.c: Likewise.
9826 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9827 * sysdeps/x86_64/sysdep.h: Likewise.
9828
9829 2012-01-07 Ulrich Drepper <drepper@gmail.com>
9830
9831 [BZ #13553]
9832 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9833 for non-gcc.
9834 * argp/argp-fmtstream.h: Use const instead __const.
9835 * argp/argp.h: Likewise.
9836 * assert/assert.h: Likewise.
9837 * bits/fenv.h: Likewise.
9838 * bits/sched.h: Likewise.
9839 * bits/sigset.h: Likewise.
9840 * bits/sigthread.h: Likewise.
9841 * catgets/nl_types.h: Likewise.
9842 * conform/data/pthread.h-data: Likewise.
9843 * crypt/crypt-private.h: Likewise.
9844 * crypt/crypt.h: Likewise.
9845 * crypt/crypt_util.c: Likewise.
9846 * ctype/ctype.h: Likewise.
9847 * debug/execinfo.h: Likewise.
9848 * debug/mbsnrtowcs_chk.c: Likewise.
9849 * debug/mbsrtowcs_chk.c: Likewise.
9850 * debug/wcsnrtombs_chk.c: Likewise.
9851 * debug/wcsrtombs_chk.c: Likewise.
9852 * debug/wcstombs_chk.c: Likewise.
9853 * dirent/dirent.h: Likewise.
9854 * dlfcn/dlfcn.h: Likewise.
9855 * elf/neededtest4.c: Likewise.
9856 * grp/grp.h: Likewise.
9857 * gshadow/gshadow.h: Likewise.
9858 * iconv/gconv.h: Likewise.
9859 * iconv/gconv_int.h: Likewise.
9860 * iconv/gconv_simple.c: Likewise.
9861 * iconv/iconv.h: Likewise.
9862 * iconv/loop.c: Likewise.
9863 * iconv/skeleton.c: Likewise.
9864 * include/aio.h: Likewise.
9865 * include/aliases.h: Likewise.
9866 * include/argz.h: Likewise.
9867 * include/arpa/inet.h: Likewise.
9868 * include/assert.h: Likewise.
9869 * include/dirent.h: Likewise.
9870 * include/dlfcn.h: Likewise.
9871 * include/execinfo.h: Likewise.
9872 * include/fcntl.h: Likewise.
9873 * include/fenv.h: Likewise.
9874 * include/glob.h: Likewise.
9875 * include/grp.h: Likewise.
9876 * include/libintl.h: Likewise.
9877 * include/mntent.h: Likewise.
9878 * include/netdb.h: Likewise.
9879 * include/pwd.h: Likewise.
9880 * include/rpc/netdb.h: Likewise.
9881 * include/sched.h: Likewise.
9882 * include/search.h: Likewise.
9883 * include/shadow.h: Likewise.
9884 * include/signal.h: Likewise.
9885 * include/stdio.h: Likewise.
9886 * include/stdlib.h: Likewise.
9887 * include/string.h: Likewise.
9888 * include/sys/socket.h: Likewise.
9889 * include/sys/stat.h: Likewise.
9890 * include/sys/statfs.h: Likewise.
9891 * include/sys/statvfs.h: Likewise.
9892 * include/sys/syslog.h: Likewise.
9893 * include/sys/time.h: Likewise.
9894 * include/sys/uio.h: Likewise.
9895 * include/time.h: Likewise.
9896 * include/unistd.h: Likewise.
9897 * include/utmp.h: Likewise.
9898 * include/wchar.h: Likewise.
9899 * include/wctype.h: Likewise.
9900 * inet/aliases.h: Likewise.
9901 * inet/arpa/inet.h: Likewise.
9902 * inet/netinet/ether.h: Likewise.
9903 * inet/netinet/in.h: Likewise.
9904 * intl/libintl.h: Likewise.
9905 * io/bits/fcntl2.h: Likewise.
9906 * io/fcntl.h: Likewise.
9907 * io/ftw.h: Likewise.
9908 * io/sys/poll.h: Likewise.
9909 * io/sys/stat.h: Likewise.
9910 * io/sys/statfs.h: Likewise.
9911 * io/sys/statvfs.h: Likewise.
9912 * io/utime.h: Likewise.
9913 * libio/bits/stdio.h: Likewise.
9914 * libio/bits/stdio2.h: Likewise.
9915 * libio/libio.h: Likewise.
9916 * libio/libioP.h: Likewise.
9917 * libio/stdio.h: Likewise.
9918 * locale/lc-ctype.c: Likewise.
9919 * locale/locale.h: Likewise.
9920 * login/utmp.h: Likewise.
9921 * malloc/arena.c: Likewise.
9922 * malloc/malloc.c: Likewise.
9923 * malloc/malloc.h: Likewise.
9924 * malloc/mcheck.c: Likewise.
9925 * malloc/mtrace.c: Likewise.
9926 * math/bits/mathcalls.h: Likewise.
9927 * math/fenv.h: Likewise.
9928 * math/math_private.h: Likewise.
9929 * misc/bits/error.h: Likewise.
9930 * misc/bits/syslog.h: Likewise.
9931 * misc/err.h: Likewise.
9932 * misc/error.h: Likewise.
9933 * misc/fstab.h: Likewise.
9934 * misc/mntent.h: Likewise.
9935 * misc/regexp.h: Likewise.
9936 * misc/search.h: Likewise.
9937 * misc/sgtty.h: Likewise.
9938 * misc/sys/mman.h: Likewise.
9939 * misc/sys/syslog.h: Likewise.
9940 * misc/sys/uio.h: Likewise.
9941 * misc/sys/xattr.h: Likewise.
9942 * misc/ttyent.h: Likewise.
9943 * nis/rpcsvc/ypclnt.h: Likewise.
9944 * nss/nss.h: Likewise.
9945 * posix/bits/unistd.h: Likewise.
9946 * posix/fnmatch.h: Likewise.
9947 * posix/glob.h: Likewise.
9948 * posix/sched.h: Likewise.
9949 * posix/spawn.h: Likewise.
9950 * posix/sys/wait.h: Likewise.
9951 * posix/unistd.h: Likewise.
9952 * posix/wordexp.h: Likewise.
9953 * pwd/pwd.h: Likewise.
9954 * resolv/netdb.h: Likewise.
9955 * resource/sys/resource.h: Likewise.
9956 * rt/aio.h: Likewise.
9957 * rt/bits/mqueue2.h: Likewise.
9958 * rt/mqueue.h: Likewise.
9959 * shadow/shadow.h: Likewise.
9960 * signal/signal.h: Likewise.
9961 * socket/send.c: Likewise.
9962 * socket/sendto.c: Likewise.
9963 * socket/sys/socket.h: Likewise.
9964 * stdio-common/printf.h: Likewise.
9965 * stdlib/bits/stdlib.h: Likewise.
9966 * stdlib/fmtmsg.h: Likewise.
9967 * stdlib/monetary.h: Likewise.
9968 * stdlib/stdlib.h: Likewise.
9969 * stdlib/ucontext.h: Likewise.
9970 * streams/stropts.h: Likewise.
9971 * string/argz.h: Likewise.
9972 * string/bits/string2.h: Likewise.
9973 * string/string.h: Likewise.
9974 * string/strings.h: Likewise.
9975 * sunrpc/rpc/auth.h: Likewise.
9976 * sunrpc/rpc/auth_des.h: Likewise.
9977 * sunrpc/rpc/clnt.h: Likewise.
9978 * sunrpc/rpc/netdb.h: Likewise.
9979 * sunrpc/rpc/pmap_clnt.h: Likewise.
9980 * sunrpc/rpc/xdr.h: Likewise.
9981 * sysdeps/generic/inttypes.h: Likewise.
9982 * sysdeps/generic/net/if.h: Likewise.
9983 * sysdeps/generic/sys/swap.h: Likewise.
9984 * sysdeps/gnu/net/if.h: Likewise.
9985 * sysdeps/gnu/utmpx.h: Likewise.
9986 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9987 * sysdeps/i386/i486/bits/string.h: Likewise.
9988 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9989 * sysdeps/s390/bits/string.h: Likewise.
9990 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9991 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9992 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9993 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9994 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9995 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9996 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9997 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9998 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9999 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10000 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10001 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10002 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10003 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10004 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10005 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10006 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10007 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10008 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10009 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10010 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10011 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10012 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10013 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10014 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10015 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10016 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10017 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10018 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10019 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10020 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10021 * sysvipc/sys/ipc.h: Likewise.
10022 * sysvipc/sys/msg.h: Likewise.
10023 * sysvipc/sys/sem.h: Likewise.
10024 * sysvipc/sys/shm.h: Likewise.
10025 * termios/termios.h: Likewise.
10026 * time/sys/time.h: Likewise.
10027 * time/time.h: Likewise.
10028 * wcsmbs/bits/wchar2.h: Likewise.
10029 * wcsmbs/uchar.h: Likewise.
10030 * wcsmbs/wchar.h: Likewise.
10031 * wctype/wctype.h: Likewise.
10032
10033 [BZ #13551]
10034 * Makeconfig: Remove all but ELF support including AIX support.
10035 * Makerules: Likewise.
10036 * config.h.in: Likewise.
10037 * config.make.in: Likewise.
10038 * configure: Likewise.
10039 * configure.in: Likewise.
10040 * csu/Makefile: Likewise.
10041 * csu/version.c: Likewise.
10042 * debug/Makefile: Likewise.
10043 * dlfcn/Makefile: Likewise.
10044 * elf/Makefile: Likewise.
10045 * extra-lib.mk: Likewise.
10046 * iconv/Makefile: Likewise.
10047 * include/libc-symbols.h: Likewise.
10048 * include/shlib-compat.h: Likewise.
10049 * resolv/Makefile: Likewise.
10050 * resolv/res_libc.c: Likewise.
10051 * rt/Makefile: Likewise.
10052 * sysdeps/i386/asm-syntax.h: Likewise.
10053 * sysdeps/i386/sysdep.h: Likewise.
10054 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10055 * sysdeps/mach/sysdep.h: Likewise.
10056 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10057 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10058 * sysdeps/s390/asm-syntax.h: Likewise.
10059 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10060 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10061 * sysdeps/sh/sysdep.h: Likewise.
10062 * sysdeps/unix/sparc/sysdep.h: Likewise.
10063 * sysdeps/wordsize-32/divdi3.c: Likewise.
10064 * sysdeps/x86_64/sysdep.h: Likewise.
10065
10066 * argp/Versions: Remove _argp_unlock_xxx.
10067
10068 [BZ #13559]
10069 * abilist/ld.abilist: Update. Adjust for removal of tls option.
10070 * abilist/libBrokenLocale.abilist: Likewise.
10071 * abilist/libanl.abilist: Likewise.
10072 * abilist/libc.abilist: Likewise.
10073 * abilist/libcrypt.abilist: Likewise.
10074 * abilist/libdl.abilist: Likewise.
10075 * abilist/libm.abilist: Likewise.
10076 * abilist/libnsl.abilist: Likewise.
10077 * abilist/libpthread.abilist: Likewise.
10078 * abilist/libresolv.abilist: Likewise.
10079 * abilist/librt.abilist: Likewise.
10080 * abilist/libthread_db.abilist: Likewise.
10081 * abilist/libutil.abilist: Likewise.
10082 * abilist/libnss_db.abilist: New file.
10083
10084 * scripts/abilist.awk: Add support for indirect functions.
10085
10086 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10087
10088 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10089
10090 * shlib-versions: Remove entries for ports architectures.
10091
10092 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10093 files in ports.
10094 * elf/stackguard-macros.h: Remove support for IA-64.
10095 * elf/tst-auditmod1.c: Likewise.
10096 * sysdeps/generic/ldsodefs.h: Likewise.
10097
10098 * sysdeps/unix/sysv/linux/configure.in: Ports should define
10099 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10100 configure files.
10101
10102 [BZ #13552]
10103 * configure.in: Remove --enable-omitfp support.
10104 * FAQ.in: Adjust.
10105 * config.make.in: Likewise.
10106 * Makeconfig: Likewise.
10107 * manual/install.texi: Likewise.
10108
10109 In case anyone cares, the IA-64 architecture could move to ports.
10110 * sysdeps/ia64/*: Removed.
10111 * sysdeps/unix/sysv/linux/ia64/*: Removed.
10112 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
10113
10114 [BZ #13555]
10115 * configure.in: Remove entries for unsupported architectures.
10116
10117 [BZ #13533]
10118 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10119 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
10120 routines.
10121 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10122 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10123 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
10124 fall back to using wcrtomb.
10125 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10126 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
10127 renaming.
10128 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10129 * wcsmbs/tst-c16c32-1.c: New file.
10130
10131 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10132 local variable.
10133
10134 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10135
10136 * elf/tst-unique3.cc: Add explicit declaration of gets.
10137 * elf/tst-unique3lib.cc: Likewise.
10138 * elf/tst-unique3lib2.cc: Likewise.
10139 * elf/tst-unique4.cc: Likewise.
10140
10141 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10142
10143 2012-01-06 Joseph Myers <joseph@codesourcery.com>
10144
10145 [BZ #13566]
10146 * assert/assert.h (static_assert): Don't define for C++.
10147 * libio/stdio.h (gets): Do declare for C++ <= C++11.
10148 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10149
10150 2012-01-03 Ulrich Drepper <drepper@gmail.com>
10151
10152 * iconv/loop.c (single loop): Fix assertion in storing of
10153 remaining bytes.
10154
10155 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10156
10157 2012-01-01 Ulrich Drepper <drepper@gmail.com>
10158
10159 * posix/getconf.c: Update copyright year.
10160 * nss/getent.c: Likewise.
10161 * nss/makedb.c: Likewise.
10162 * iconv/iconvconfig.c: Likewise.
10163 * iconv/iconv_prog.c: Likewise.
10164 * elf/ldconfig.c: Likewise.
10165 * elf/pldd.c: Likewise.
10166 * elf/sotruss.ksh: Likewise.
10167 * catgets/gencat.c: Likewise.
10168 * csu/version.c: Likewise.
10169 * elf/ldd.bash.in: Likewise.
10170 * elf/sprof.c (print_version): Likewise.
10171 * locale/programs/locale.c: Likewise.
10172 * locale/programs/localedef.c: Likewise.
10173 * login/programs/pt_chown.c: Likewise.
10174 * nscd/nscd.c (print_version): Likewise.
10175 * debug/xtrace.sh: Likewise.
10176 * malloc/memusage.sh: Likewise.
10177 * malloc/mtrace.pl: Likewise.
10178 * debug/catchsegv.sh: Likewise.
10179
10180 2011-12-30 Jakub Jelinek <jakub@redhat.com>
10181
10182 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10183 pure attribute.
10184
10185 2011-12-24 Ulrich Drepper <drepper@gmail.com>
10186
10187 [BZ #13533]
10188 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10189 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10190 transformations.
10191 * iconv/gconv_int.h: Likewise.
10192 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10193 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10194 from libc for GLIBC_2.16.
10195 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10196 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10197 * wcsmbs/uchar.h: Really define mbstate_t.
10198 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10199 * wcsmbs/c16rtomb.c: New file.
10200 * wcsmbs/mbrtoc16.c: New file.
10201 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10202 for C/POSIX locale.
10203 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10204 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10205
10206 * wcsmbs/wchar.h: Add missing __restrict.
10207
10208 2011-12-23 Ulrich Drepper <drepper@gmail.com>
10209
10210 [BZ #13532]
10211 * time/Makefile (routines): Add timespec_get.
10212 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10213 * time/time.h: Define TIME_UTC and declare timespec_get. Define
10214 timespec for ISO C11.
10215 * time/timespec_get.c: New file.
10216 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10217 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10218
10219 [BZ #13531]
10220 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10221 * stdlib/stdlib.h: Declare aligned_alloc.
10222 * Versions.def: Add GLIBC_2.16 for libc.
10223 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10224
10225 [BZ 13527]
10226 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10227 ISO C11.
10228
10229 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
10230 code.
10231
10232 [BZ #13528]
10233 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10234
10235 [BZ #13529]
10236 * assert/assert.h (static_assert): Define.
10237
10238 * version.h: Update for 2.16 development version.
10239
10240 [BZ #13526]
10241 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10242 _ISOC11_SOURCE.
10243
10244 * version.h (RELEASE): Bump for 2.15 release.
10245 * include/features.h (__GLIBC_MINOR__): Bump to 15.
10246
10247 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10248 Patch by Marek Polacek <mpolacek@redhat.com>.
10249
10250 * bits/byteswap.h: Protect long long constants with __extension__.
10251 * sysdeps/i386/bits/byteswap.h: Likewise.
10252 * sysdeps/ia64/bits/byteswap.h: Likewise.
10253 * sysdeps/s390/bits/byteswap.h: Likewise.
10254 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10255
10256 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10257
10258 [BZ #13540]
10259 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
10260 destination buffer.
10261 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10262
10263 2011-12-23 Marek Polacek <polacek@redhat.com>
10264
10265 * elf/dl-addr.c (determine_info): Add inline keyword.
10266 * elf/tst-auditmod4b.c (check_avx): Likewise.
10267 * elf/tst-auditmod6b.c (check_avx): Likewise.
10268 * elf/tst-auditmod6c.c (check_avx): Likewise.
10269 * elf/tst-auditmod7b.c (check_avx): Likewise.
10270
10271 2011-12-23 Ulrich Drepper <drepper@gmail.com>
10272
10273 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10274 !__SSE_MATH__.
10275
10276 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10277
10278 [BZ #13540]
10279 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
10280 processing for last bytes.
10281
10282 2011-08-06 Bruno Haible <bruno@clisp.org>
10283
10284 [BZ #13061]
10285 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10286 U+0385, not to U+1FEE.
10287
10288 [BZ #13062]
10289 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10290 entry for U+00A5 U+0301.
10291
10292 2011-12-22 Ulrich Drepper <drepper@gmail.com>
10293
10294 [BZ #13166]
10295 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10296 buffer for the output is too small.
10297
10298 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10299 optimization.
10300
10301 [BZ #13185]
10302 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10303 SSE flags if possible.
10304
10305 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10306
10307 [BZ #13540]
10308 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10309 processing for last bytes.
10310
10311 2011-12-22 Joseph Myers <joseph@codesourcery.com>
10312
10313 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10314 (syscall-list-default-options, syscall-list-default-condition)
10315 (syscall-list-includes): Define.
10316 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10317 list of ABIs and options and #if conditions for each ABI. Do not
10318 handle common syscalls between ABIs specially.
10319 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10320 Remove.
10321 (syscall-list-variants, syscall-list-32bit-options)
10322 (syscall-list-32bit-condition, syscall-list-64bit-options)
10323 (syscall-list-64bit-condition): Define.
10324 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10325 (syscall-list-variants, syscall-list-32bit-options)
10326 (syscall-list-32bit-condition, syscall-list-64bit-options)
10327 (syscall-list-64bit-condition): Define.
10328 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10329 Remove.
10330 (syscall-list-variants, syscall-list-32bit-options)
10331 (syscall-list-32bit-condition, syscall-list-64bit-options)
10332 (syscall-list-64bit-condition): Define.
10333 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10334 Remove.
10335 (syscall-list-variants, syscall-list-32bit-options)
10336 (syscall-list-32bit-condition, syscall-list-64bit-options)
10337 (syscall-list-64bit-condition): Define.
10338
10339 2011-12-22 Ulrich Drepper <drepper@gmail.com>
10340
10341 * locale/iso-639.def: Add brx entry.
10342
10343 [BZ #13328]
10344 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10345 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10346
10347 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10348 __feraiseexcept_renamed.
10349
10350 2011-12-21 Ulrich Drepper <drepper@gmail.com>
10351
10352 [BZ #13538]
10353 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10354 EPOLLET with unsigned values.
10355 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10356 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10357
10358 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10359 to large cancellation.
10360 * math/s_cacoshf.c: Likewise.
10361 * math/s_cacoshl.c: Likewise.
10362
10363 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10364
10365 [BZ #13305]
10366 [BZ #12786]
10367 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10368 * math/s_cacoshf.c: Likewise.
10369 * math/s_cacoshl.c: Likewise.
10370
10371 2011-12-21 Ulrich Drepper <drepper@gmail.com>
10372
10373 [BZ #13439]
10374 * iconv/gconv.h: Define __GCONV_SWAP.
10375 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10376 * iconvdata/utf-16.c: Likewise.
10377 * iconvdata/utf-32.c: Likewise.
10378
10379 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10380
10381 [BZ #13524]
10382 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10383 numerator after shifting it by one limb.
10384
10385 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10386
10387 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10388 under [__USE_EXTERN_INLINES].
10389
10390 2011-12-17 Ulrich Drepper <drepper@gmail.com>
10391
10392 [BZ #13446]
10393 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10394
10395 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10396
10397 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10398 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10399 optimized code.
10400 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10401 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10402 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10403 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10404 for strncasecmp/strncasecmp_l compilation.
10405 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10406 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10407
10408 2011-12-08 Marek Polacek <mpolacek@redhat.com>
10409
10410 [BZ #13484]
10411 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10412 of __asm__.
10413
10414 2011-12-17 Ulrich Drepper <drepper@gmail.com>
10415
10416 [BZ #13506]
10417 * time/tzfile.c (__tzfile_read): Check values from file header.
10418
10419 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10420
10421 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10422 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10423 * powerpc/powerpc32/dl-start.S: Likewise.
10424 * powerpc/powerpc32/elf/start.S: Likewise.
10425 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10426 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10427 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10428 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10429 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10430 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10431 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10432 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10433 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10434 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10435 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10436 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10437 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10438 * powerpc/powerpc32/memset.S: Likewise.
10439 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10440 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10441 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10442 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10443 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10444 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10445 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10446 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10447 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10448 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10449 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10450 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10451 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10452
10453 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10454
10455 * math/libm-test.inc: Added more nearbyint tests.
10456 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10457 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10458 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10459 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10460
10461 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10462
10463 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10464 FD_CLOEXEC.
10465
10466 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10467
10468 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10469 Add wcscpy-ssse3 wcscpy-c.
10470 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10471 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10472 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10473 * sysdeps/x86_64/wcschr.S: New file.
10474 * sysdeps/x86_64/wcsrchr.S: New file.
10475 * string/test-strcmp.c: Remove checking of wcscmp function for
10476 wrong alignments.
10477 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10478 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10479 wcsrchr-sse2 wcsrchr-c.
10480 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10481 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10482 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10483 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10484 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10485 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10486 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10487 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10488 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10489 * wcsmbc/wcschr.c (WCSCHR): New macro.
10490
10491 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10492
10493 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10494 * wcsmbs/test-wcsrchr.c: New file.
10495 * string/test-strrchr.c: Add wcsrchr support.
10496 (WIDE): New macro.
10497 * wcsmbs/test-wcscpy.c: New file.
10498 * string/test-strcpy.c: Add wcscpy support.
10499 (WIDE): New macro.
10500
10501 2011-12-10 Ulrich Drepper <drepper@gmail.com>
10502
10503 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10504 the inner loop.
10505
10506 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10507
10508 [BZ #13472]
10509 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10510
10511 2011-12-04 Ulrich Drepper <drepper@gmail.com>
10512
10513 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
10514 Minor optimizations.
10515
10516 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10517 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10518 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10519
10520 2011-12-03 Ulrich Drepper <drepper@gmail.com>
10521
10522 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10523 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10524 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10525 for gcc to avoid warnings.
10526 * inet/Makefile (tests): Add tst-checks.
10527 * inet/tst-checks.c: New file.
10528
10529 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10530 warning.
10531
10532 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10533 __wmemcmp_sse2.
10534
10535 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10536 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10537
10538 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10539
10540 2011-12-02 Ulrich Drepper <drepper@gmail.com>
10541
10542 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10543 problem.
10544
10545 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10546
10547 2011-11-29 Joseph Myers <joseph@codesourcery.com>
10548
10549 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10550 conditional on GCC version.
10551 (__arch_compare_and_exchange_val_8_acq)
10552 (__arch_compare_and_exchange_val_16_acq)
10553 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10554 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10555 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10556
10557 2011-12-02 Joseph Myers <joseph@codesourcery.com>
10558
10559 * sysdeps/sh/backtrace.c: New file.
10560
10561 2011-12-02 Andreas Schwab <schwab@redhat.com>
10562
10563 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10564 parenthesis.
10565
10566 2011-12-01 Andreas Schwab <schwab@redhat.com>
10567
10568 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10569 falling back to utime.
10570
10571 2011-11-30 Andreas Schwab <schwab@redhat.com>
10572
10573 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10574 expectations for float.
10575
10576 2011-11-29 Andreas Schwab <schwab@redhat.com>
10577
10578 * locale/weight.h (findidx): Add parameter len.
10579 * locale/weightwc.h (findidx): Likewise.
10580 * posix/fnmatch_loop.c (FCT): Adjust caller.
10581 * posix/regcomp.c (build_equiv_class): Likewise.
10582 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10583 * posix/regexec.c (check_node_accept_bytes): Likewise.
10584 * string/strcoll_l.c (STRCOLL): Likewise.
10585 * string/strxfrm_l.c (STRXFRM): Likewise.
10586
10587 2011-11-17 Ulrich Drepper <drepper@gmail.com>
10588
10589 * Makefile.in: Remove CVSOPT handling.
10590 * configure.in: Remove use of AC_REVISION.
10591 * iconvdata/Makefile (distribute): No need to filter out CVS.
10592 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10593 handling.
10594
10595 2011-11-16 Andreas Schwab <schwab@redhat.com>
10596
10597 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10598 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10599 [USE_AS_STRNCASECMP_L]: Likewise.
10600 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10601 NO_TLS_DIRECT_SEG_REFS.
10602 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10603 Fix argument offsets for non-PIC.
10604 [USE_AS_STRNCASECMP_L]: Likewise.
10605 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10606 NO_TLS_DIRECT_SEG_REFS.
10607
10608 2011-11-15 Ulrich Drepper <drepper@gmail.com>
10609
10610 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
10611 O_CLOEXEC.
10612 * locale/loadlocale.c (_nl_load_locale): Likewise.
10613
10614 2011-11-15 Andreas Schwab <schwab@redhat.com>
10615
10616 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10617 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10618 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10619 (SYSCALL_GETTIME): Set errno on error.
10620
10621 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10622 count references to noai6ai_cached.
10623
10624 2011-11-15 Ulrich Drepper <drepper@gmail.com>
10625
10626 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10627
10628 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10629 FD_CLOEXEC for /proc/self/maps.
10630
10631 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10632 FD_CLOEXEC for /proc/meminfo.
10633
10634 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10635 gai.conf.
10636
10637 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10638 FD_CLOEXEC for given file.
10639
10640 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10641
10642 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10643 FD_CLOEXEC for /etc/hosts.
10644 (_gethtent): Likewise.
10645
10646 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10647
10648 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10649 cancellation and set FD_CLOEXEC for /etc/netgroup.
10650
10651 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10652 reading /etc/publickey.
10653
10654 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10655 allow cancellation when reading /etc/group.
10656
10657 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10658 cancellation.
10659 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10660
10661 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10662 when using data file.
10663
10664 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10665
10666 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10667 (write_nis_obj): Use "c" and "e" in fopen.
10668
10669 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10670
10671 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10672
10673 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10674
10675 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10676
10677 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10678 locale.alias.
10679
10680 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10681
10682 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10683
10684 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10685
10686 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10687 file parsing and set FD_CLOEXEC.
10688
10689 2011-11-14 Ulrich Drepper <drepper@gmail.com>
10690
10691 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10692
10693 2011-11-14 Andreas Schwab <schwab@redhat.com>
10694
10695 * malloc/arena.c (arena_get2): Don't call reused_arena when
10696 _int_new_arena failed.
10697
10698 2011-11-14 Ulrich Drepper <drepper@gmail.com>
10699
10700 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10701 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10702 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10703 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10704 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10705 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10706 to compile strcasecmp and strncasecmp.
10707 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10708 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10709
10710 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10711
10712 2011-11-13 Ulrich Drepper <drepper@gmail.com>
10713
10714 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10715 locale-defines.sym to gen-as-const-headers.
10716 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10717 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10718 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10719 to compile strcasecmp and strncasecmp.
10720 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10721 strcasecmp_l and strncasecmp_l.
10722 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10723 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10724 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10725 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10726 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10727 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10728 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10729 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10730 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10731 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10732 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10733
10734 2011-11-12 Ulrich Drepper <drepper@gmail.com>
10735
10736 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10737 result of SYSDEP_GETTIME_CPU to retval.
10738 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10739 parameter list to macro. Remove trailing semicolon. Adjust users.
10740
10741 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10742 variable.
10743
10744 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10745 mantissa words.
10746 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10747
10748 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10749 from unused variable.
10750
10751 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10752 DWARF definitions.
10753 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10754 for assembling.
10755
10756 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10757 over namespaces.
10758
10759 * sunrpc/rpc_prot.c (rejected): Fix case value.
10760
10761 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10762 unsigned long long int to avoid warnings in shift.
10763
10764 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10765 of use of trans.
10766 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10767 variable tmp.
10768
10769 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10770 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10771 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10772
10773 * nis/nis_table.c (nis_list): Use variable of correct type for
10774 result of __follow_path call.
10775
10776 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10777
10778 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10779 of math functions ceil, trunc, floor, round, and sqrt, when
10780 avaliable on the platform.
10781 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10782 name clash.
10783 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10784 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10785 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10786
10787 2011-10-30 Marek Polacek <mpolacek@redhat.com>
10788
10789 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10790 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10791
10792 2011-11-11 Roland McGrath <roland@hack.frob.com>
10793
10794 * include/unistd.h: Fix __readlink return type.
10795 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10796
10797 2011-11-11 Ulrich Drepper <drepper@gmail.com>
10798
10799 * stdlib/ucontext.h: Undo last change for makecontext.
10800
10801 2011-11-11 Andreas Schwab <schwab@redhat.com>
10802
10803 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10804
10805 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10806 * setjmp/setjmp.h: Mark functions as non-leaf.
10807 * setjmp/bits/setjmp2.h: Likewise.
10808 * stdlib/ucontext.h: Likewise.
10809
10810 2011-11-10 Andreas Schwab <schwab@redhat.com>
10811
10812 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10813 (reused_arena): Don't check arena limit.
10814 (arena_get2): Atomically check arena limit.
10815
10816 2011-11-08 Ulrich Drepper <drepper@gmail.com>
10817
10818 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10819 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10820
10821 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10822 instructions.
10823
10824 2011-11-07 Andreas Schwab <schwab@redhat.com>
10825
10826 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10827 handler when locking.
10828
10829 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10830 Fix size of allocated buffer.
10831
10832 2011-11-04 Andreas Schwab <schwab@redhat.com>
10833
10834 [BZ #10103]
10835 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10836 declarations for long double functions.
10837 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10838
10839 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10840
10841 2011-11-03 Andreas Schwab <schwab@redhat.com>
10842
10843 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10844 installed.
10845
10846 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10847 is disabled.
10848
10849 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10850
10851 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10852
10853 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10854
10855 * include/alloca.h (stackinfo_alloca_round): Define.
10856 (extend_alloca): Use it.
10857 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10858 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10859 here.
10860
10861 * scripts/check-local-headers.sh: Ignore libaudit.h.
10862
10863 * nscd/Makefile (extra-objs): Make recursively expanded.
10864
10865 2011-11-01 Ulrich Drepper <drepper@gmail.com>
10866
10867 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10868 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10869
10870 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10871 * posix/tst-rfc3484-2.c: Likewise.
10872 * posix/tst-rfc3484-3.c: Likewise.
10873
10874 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10875 process_vm_writev.
10876 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10877 process_vm_writev.
10878 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10879 process_vm_writev from libc using GLIBC_2.15 version.
10880
10881 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10882
10883 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10884
10885 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10886 stack usage.
10887
10888 2011-10-31 Ulrich Drepper <drepper@gmail.com>
10889
10890 [BZ #13367]
10891 * nss/getent.c (initgroups_keys): Show error message in case no group
10892 names are given.
10893
10894 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10895 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10896 __bump_nl_timestamp.
10897 * nscd/connections (nscd_init): When host database is served open
10898 netlink socket and request notification about configuration changes.
10899 (main_loop_poll): Track netlink file descriptor and bump timestamp
10900 in case data becomes available.
10901 (main_loop_epoll): Likewise.
10902 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10903 (database_pers_head): Add extra_data fileds.
10904 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10905 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10906 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10907 Adjust caller.
10908 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10909 in6ai data, call __free_in6ai.
10910 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10911 Add -DHAVE_NETLINK.
10912 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10913 interface information. Reuse previous data if netlink timestamp
10914 is not changed.
10915 (__bump_nl_timestamp): New function.
10916 (__free_in6ai): New function.
10917
10918 2011-10-30 Ulrich Drepper <drepper@gmail.com>
10919
10920 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10921 close_not_cancel_no_status here.
10922 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10923
10924 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10925
10926 [BZ #13276]
10927 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10928 return value.
10929
10930 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
10931 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10932 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10933
10934 2011-07-03 Andreas Jaeger <aj@suse.de>
10935
10936 [BZ #10709]
10937 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10938 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10939 * math/libm-test.inc (sin_test): Add test case.
10940
10941 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10942
10943 [BZ #13337]
10944 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10945 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10946
10947 * elf/chroot_canon.c (chroot_canon): Cleanups.
10948
10949 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10950
10951 [BZ #13335]
10952 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10953 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10954
10955 * string/test-strchr.c: Make usable for strchrnul testing.
10956 * string/test-strchrnul.c: New file.
10957 * string/Makefile (strop-tests): Add strchrnul.
10958
10959 * po/it.po: Update from translation team.
10960 * po/es.po: Likewise.
10961
10962 2011-10-28 Ulrich Drepper <drepper@gmail.com>
10963
10964 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10965 the three constants needed as parameters. Drop the others.
10966 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10967 __m128i_strloadu_tolower.
10968 Create and initialize variable zero and use it in all the places
10969 where _mm_setzero_si128 was used.
10970
10971 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10972 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10973 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10974 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10975 anymore.
10976 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10977 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10978 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10979 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10980 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10981 __mpranred, __mptan.
10982 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10983 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10984 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10985 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10986 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10987 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10988 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10989 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10990 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10991
10992 2011-10-28 Andreas Schwab <schwab@redhat.com>
10993
10994 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10995 redefine if SHARED.
10996 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10997
10998 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10999 wide char related routines to wcsmbs subdir.
11000
11001 2011-10-27 Andreas Schwab <schwab@redhat.com>
11002
11003 [BZ #13344]
11004 * misc/sys/cdefs.h (__THROWNL): Define.
11005 * posix/unistd.h: Use __THREADNL instead of __THREAD
11006 for memory synchronization functions.
11007
11008 2011-10-26 Roland McGrath <roland@hack.frob.com>
11009
11010 [BZ #13349]
11011 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11012 doesn't exist.
11013 * manual/stdio.texi (Obstack Streams): Node removed.
11014
11015 2011-10-26 Andreas Schwab <schwab@redhat.com>
11016
11017 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11018 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11019 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11020
11021 * math/math_private.h (math_force_eval): Allow non-addressable
11022 arguments.
11023 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11024
11025 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11026
11027 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11028 file is not needed.
11029
11030 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11031 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11032 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11033 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11034 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11035 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11036 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11037 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11038 Add AVX variants.
11039 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11040 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11041 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11042 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11043 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11044 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11045 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11046 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11047 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11048 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11049 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11050 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11051 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11052 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11053 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11054 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11055 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11056 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11057 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11058
11059 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11060 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
11061
11062 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11063 place. Use VEX encoding when compiling for AVX.
11064
11065 2011-10-25 Andreas Schwab <schwab@redhat.com>
11066
11067 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11068 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11069
11070 * string/test-strchr.c (do_test): Don't generate NUL bytes.
11071
11072 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11073
11074 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
11075 useless if() expression.
11076 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11077 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11078 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11079 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11080 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11081 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11082 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11083 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11084 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11085 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11086 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11087 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11088 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11089 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11090 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11091 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11092 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11093 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11094 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11095
11096 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11097
11098 2011-10-25 Andreas Schwab <schwab@redhat.com>
11099
11100 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11101 condition.
11102 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11103
11104 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11105
11106 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11107 .text section. Avoid duplicate constants.
11108 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11109 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11110 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11111 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11112 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11113 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11114 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11115 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11116 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11117 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11118 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11119 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11120 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11121 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11122 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11123 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11124 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11125 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11126 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11127 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11128 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11129 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11130 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11131 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11132 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11133 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11134 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11135 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11136 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11137 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11138 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11139 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11140 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11141 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11142 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11143 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11144 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11145 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11146 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11147 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11148 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11149 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11150 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11151 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11152 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11153
11154 2011-10-24 Ulrich Drepper <drepper@gmail.com>
11155
11156 * sysdeps/x86_64/dla.h: Move to ...
11157 * sysdeps/x86_64/fpu/dla.h: ...here.
11158 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11159 situations. Use __builtin_fma only for gcc 4.6 and up.
11160
11161 * config.make.in: Add have-mfma4 entry.
11162 * configure.in: Substitute libc_cv_cc_fma4.
11163 * math/Makefile (dbl-only-routines): Add sincostab.
11164 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11165 Use __sincostab not sincos.
11166 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11167 name is a macro.
11168 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11169 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11170 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11171 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11172 using __copysign.
11173 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11174 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11175 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11176 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11177 and __inv.
11178 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11179 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11180 __copysign.
11181 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
11182 define aliases when function name is a macro.
11183 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11184 sysdeps/ieee754/dbl-64/sincos.tbl.
11185 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11186 fma4-enabled routines.
11187 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11188 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11189 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11190 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11191 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11192 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11193 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11194 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11195 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11196 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11197 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11198 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11199 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11200 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11201 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11202 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11203 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11204 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11205 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11206 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11207 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11208 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11209 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11210 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11211 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11212 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11213 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11214 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11215 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11216 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11217
11218 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11219 rename.
11220 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11221 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11222 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11223 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11224 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11225 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11226 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11227 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11228
11229 2011-10-24 Andreas Schwab <schwab@redhat.com>
11230
11231 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11232
11233 2011-10-23 Ulrich Drepper <drepper@gmail.com>
11234
11235 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11236
11237 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11238 prediction.
11239 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11240
11241 * string/strnlen.c: Don't define STRNLEN, reverse logic.
11242 Remove unused variable magic_bits.
11243 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11244
11245 * string/strnlen.c: Define and use STRNLEN macro.
11246 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11247 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11248 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11249 * wcsmbs/wcslen.c: Define and use WCSLEN.
11250 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11251 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11252 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11253 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11254 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11255 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11256 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11257
11258 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11259
11260 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11261 strnlen-sse2-no-bsf.
11262 Rename strlen-no-bsf to strlen-sse2-no-bsf.
11263 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
11264 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
11265 Add strnlen support.
11266 (USE_AS_STRNLEN): New macro.
11267 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11268 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11269 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11270 * sysdeps/x86_64/wcslen.S: New file.
11271
11272 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
11273
11274 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11275 XMM-moves are used for copying on small sizes.
11276
11277 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11278
11279 * wcsmbs/Makefile (strop-tests): Add wcschr.
11280 * wcsmbs/test-wcschr.c: New file.
11281 * string/test-strchr.c: Update.
11282 Add wcschr support.
11283 (WIDE): New macro.
11284
11285 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11286
11287 * wcsmbs/Makefile (strop-tests): Add wcslen.
11288 * wcsmbs/test-wcslen.c: New file.
11289 * string/test-strlen.c: Update.
11290 Add wcslen support.
11291 (WIDE): New macro.
11292
11293 2011-10-23 Ulrich Drepper <drepper@gmail.com>
11294
11295 * po/it.po: Update from translation team.
11296
11297 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11298
11299 * sysdeps/x86_64/wcscmp.S: Update.
11300 Fix wrong comparison semantics.
11301 wcscmp shall use signed comparison not unsigned.
11302 Don't use substraction to avoid overflow bug.
11303 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11304 * wcsmbc/wcscmp.c: Likewise.
11305 * string/test-strcmp.c: Likewise.
11306 Add new tests to check cases with negative values.
11307
11308 2011-10-23 Ulrich Drepper <drepper@gmail.com>
11309
11310 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11311 * sysdeps/x86_64/dla.h: ...here. New file.
11312 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11313 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11314 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11315 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11316 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11317 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11318 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11319 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11320 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11321
11322 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
11323
11324 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11325 __ynl_finite aliases.
11326
11327 2011-10-22 Ulrich Drepper <drepper@gmail.com>
11328
11329 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11330
11331 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11332 define DLA_FMA.
11333 [DLA_FMA] (EMULV): Use DLA_FMA.
11334 [DLA_FMA] (MUL12): Use EMULV.
11335 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11336 that are not needed.
11337 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11338 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11339 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11340 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11341 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11342 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11343 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11344
11345 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11346
11347 * math/s_nan.c: Undef __nan.
11348 * math/s_nanf.c: Undef __nanf.
11349 * math/s_nanl.c: Undef __nanl.
11350 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11351 "math_private.h".
11352
11353 2011-10-22 Ulrich Drepper <drepper@gmail.com>
11354
11355 * math/s_catan.c: Add branch predictions.
11356 * math/s_catanf.c: Likewise.
11357 * math/s_catanh.c: Likewise.
11358 * math/s_catanhf.c: Likewise.
11359 * math/s_catanhl.c: Likewise.
11360 * math/s_catanl.c: Likewise.
11361 * math/s_cexp.c: Likewise.
11362 * math/s_cexpf.c: Likewise.
11363 * math/s_cexpl.c: Likewise.
11364 * math/s_clog.c: Likewise.
11365 * math/s_clog10.c: Likewise.
11366 * math/s_clog10f.c: Likewise.
11367 * math/s_clog10l.c: Likewise.
11368 * math/s_clogf.c: Likewise.
11369 * math/s_clogl.c: Likewise.
11370 * math/s_csqrt.c: Likewise.
11371 * math/s_csqrtf.c: Likewise.
11372 * math/s_csqrtl.c: Likewise.
11373 * math/s_ctanf.c: Likewise.
11374 * math/s_ctanh.c: Likewise.
11375 * math/s_ctanhf.c: Likewise.
11376 * math/s_ctanhl.c: Likewise.
11377 * math/s_ctanl.c: Likewise.
11378
11379 * math/math_private.h: Define __nan, __nanf, __nanl.
11380 * math/s_cacosh.c: Include <math_private.h>.
11381 * math/s_cacoshl.c: Likewise.
11382 * math/s_casinh.c: Likewise.
11383 * math/s_casinhf.c: Likewise.
11384 * math/s_casinhl.c: Likewise.
11385 * math/s_ccos.c: Rely entire on ccosh.
11386 * math/s_ccosf.c: Rely entire on ccoshf.
11387 * math/s_ccosl.c: Rely entirely on ccoshl.
11388 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11389 Remove tests for FE_INVALID.
11390 * math/s_ccoshf.c: Likewise.
11391 * math/s_ccoshl.c: Likewise.
11392 * math/s_csin.c: Likewise.
11393 * math/s_csinf.c: Likewise.
11394 * math/s_csinh.c Likewise.
11395 * math/s_csinhf.c: Likewise.
11396 * math/s_csinhl.c: Likewise.
11397 * math/s_csinl.c: Likewise.
11398 * math/s_ctan.c: Likewise.
11399 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11400 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11401 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11402
11403 2011-10-21 Ulrich Drepper <drepper@gmail.com>
11404
11405 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11406 compilation problems.
11407
11408 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11409 __builtin_expect.
11410
11411 2011-10-20 Ulrich Drepper <drepper@gmail.com>
11412
11413 * sysdeps/i386/configure.in: Test for -mfma4 option.
11414 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11415 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11416 COMMON_CPUID_INDEX_80000001.
11417 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11418 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11419 use it if FMA3 is not supported.
11420 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11421
11422 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11423 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11424
11425 2011-10-20 Andreas Schwab <schwab@redhat.com>
11426
11427 [BZ #12892]
11428 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11429 it would create a cycle with a link time dependency.
11430
11431 2011-10-19 Ulrich Drepper <drepper@gmail.com>
11432
11433 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11434 instruction.
11435 * string/Makefile (strop-tests): Add rawmemchr.
11436 * string/test-rawmemchr.c: New file.
11437
11438 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11439 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11440 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11441 when compiling str{,n}casecmp and when AVX is available. Hook up
11442 new optimized code in initializers.
11443
11444 2011-10-19 Andreas Schwab <schwab@redhat.com>
11445
11446 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11447 __feraiseexcept instead of feraiseexcept.
11448
11449 2011-10-18 Ulrich Drepper <drepper@gmail.com>
11450
11451 * math/math_private.h: Define defaults for libc_fetestexcept and
11452 libc_feupdateenv.
11453 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11454 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11455 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11456 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11457 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11458 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11459 libc_fetestexcept and libc_feupdateenv.
11460
11461 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11462 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11463 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11464 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11465 libc_feholdexcept_setround.
11466
11467 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11468 Add s_nearbyint-c and s_nearbyintf-c.
11469 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11470 nearbyintf inlines.
11471 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11472 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11473 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11474 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11475
11476 * math/math_private.h: Define defaults for libc_fegetround,
11477 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11478 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11479 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11480 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11481 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11482 standard functions.
11483 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11484 Remove comments and hacks for old compiler versions.
11485 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11486 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11487 libc_feholdexceptl.
11488
11489 2011-10-18 Andreas Schwab <schwab@redhat.com>
11490
11491 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
11492 (__feraiseexcept_renamed): Add __NTH.
11493 (feraiseexcept): Add __NTH. Rename local variables to fix
11494 namespace violations.
11495
11496 2011-10-17 Ulrich Drepper <drepper@gmail.com>
11497
11498 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11499
11500 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11501
11502 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11503 recently added interfaces.
11504 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11505
11506 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11507 about macro parameter expansion.
11508
11509 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11510 __NO_MATH_INLINES is defined. Cleanups.
11511
11512 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11513 and __floorf is target has SSE4.1.
11514 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11515 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11516 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11517 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11518
11519 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11520 name.
11521 (floorf): Likewise.
11522
11523 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11524
11525 2011-10-17 Andreas Schwab <schwab@redhat.com>
11526
11527 * misc/sys/cdefs.h: Fix last change.
11528
11529 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11530 database lookup.
11531
11532 2011-10-16 Ulrich Drepper <drepper@gmail.com>
11533
11534 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11535
11536 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11537 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11538 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11539 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11540 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11541 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11542 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11543 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11544 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11545 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11546 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11547 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11548 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11549 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11550 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11551 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11552 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11553 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11554 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11555 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11556 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11557 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11558
11559 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11560 ceil, ceilf, floor, floorf.
11561
11562 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11563 Perform IRELATIVE relocations last.
11564
11565 * elf/do-rel.h: Add another parameter nrelative, replacing the
11566 local variable with the same name. Change name of the function
11567 to end in Rel or Rela (uppercase).
11568 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11569 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11570 elf_dynamic_do_##reloc function.
11571
11572 2011-10-15 Ulrich Drepper <drepper@gmail.com>
11573
11574 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11575 is sufficient, at least on modern CPUs.
11576
11577 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11578
11579 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11580 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11581
11582 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11583 __expl_finite.
11584 * math/bits/math-finite.h: Add entries for exp.
11585 * math/e_expl.c: Add __*_finite alias.
11586 * sysdeps/i386/fpu/e_exp.S: Likewise.
11587 * sysdeps/i386/fpu/e_expf.S: Likewise.
11588 * sysdeps/i386/fpu/e_expl.c: Likewise.
11589 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11590 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11591 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11592 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11593 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11594 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11595 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11596
11597 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11598 is sufficient, at least on modern CPUs.
11599
11600 * ctype/ctype-info.c (__ctype_init): Define.
11601 * include/ctype.h (__ctype_init): Declare.
11602 (__ctype_b_loc): The variable is always initialized.
11603 (__ctype_toupper_loc): Likewise.
11604 (__ctype_tolower_loc): Likewise.
11605 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11606 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11607
11608 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11609
11610 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11611
11612 * configure.in: Also look in $cxxmachine/include for C++ system
11613 headers.
11614
11615 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11616
11617 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11618 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11619 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11620 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11621 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11622 (USE_AS_WMEMCMP): New macro.
11623 Fixing indents.
11624 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11625 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11626 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11627 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11628 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11629 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11630 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11631 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11632 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11633 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11634 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11635 (USE_AS_WMEMCMP): New macro.
11636 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11637 * sysdeps/string/test-memcmp.c: Update.
11638 Fix simple_wmemcmp.
11639 Add new tests.
11640 * wcsmbs/wmemcmp.c: Update.
11641 (WMEMCMP): New macro.
11642 Fix overflow bug.
11643
11644 2011-10-12 Andreas Jaeger <aj@suse.de>
11645
11646 [BZ #13268]
11647 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11648
11649 2011-10-15 Ulrich Drepper <drepper@gmail.com>
11650
11651 * libio/iofwide.c (do_length): Avoid warning.
11652
11653 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11654
11655 2011-10-14 Ulrich Drepper <drepper@gmail.com>
11656
11657 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11658
11659 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11660 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11661 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11662 * sysdeps/i386/i686/fpu/e_log.S: New file.
11663 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11664 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11665
11666 * ctype/ctype.h: Add support for inlined isXXX functions when
11667 compiling C++ code.
11668
11669 2011-10-14 Andreas Schwab <schwab@redhat.com>
11670
11671 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11672
11673 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11674
11675 2011-10-13 Roland McGrath <roland@hack.frob.com>
11676
11677 [BZ #13291]
11678 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11679
11680 2011-10-13 Andreas Schwab <schwab@redhat.com>
11681
11682 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11683 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11684 feraiseexcept.
11685
11686 * sysdeps/x86_64/memrchr.S: Check for zero size.
11687
11688 * string/stratcliff.c: Add memrchr tests.
11689
11690 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11691
11692 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11693 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11694 rawmemchr-sse2 rawmemchr-sse2-bsf.
11695 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11696 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11697 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11698 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11699 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11700 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11701 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11702 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11703 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11704 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11705 * string/memrchr.c (MEMRCHR): New macro.
11706
11707 2011-10-12 Ulrich Drepper <drepper@gmail.com>
11708
11709 Add integration with gcc's -ffinite-math-only and optimize wrapper
11710 functions in libm.
11711 * Versions.def: Define GLIBC_2.15 version for libm.
11712 * math/Makefile (headers): Add bits/math-finite.h.
11713 * math/bits/math-finite.h: New file.
11714 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11715 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11716 * math/e_acoshl.c: Add __*_finite alias.
11717 * math/e_acosl.c: Likewise.
11718 * math/e_asinl.c: Likewise.
11719 * math/e_atan2l.c: Likewise.
11720 * math/e_atanhl.c: Likewise.
11721 * math/e_coshl.c: Likewise.
11722 * math/e_exp10.c: Likewise.
11723 * math/e_exp10f.c: Likewise.
11724 * math/e_exp10l.c: Likewise.
11725 * math/e_exp2l.c: Likewise.
11726 * math/e_fmodl.c: Likewise.
11727 * math/e_gammal_r.c: Likewise.
11728 * math/e_hypotl.c: Likewise.
11729 * math/e_j0l.c: Likewise.
11730 * math/e_j1l.c: Likewise.
11731 * math/e_jnl.c: Likewise.
11732 * math/e_lgammal_r.c: Likewise.
11733 * math/e_log10l.c: Likewise.
11734 * math/e_log2l.c: Likewise.
11735 * math/e_logl.c: Likewise.
11736 * math/e_powl.c: Likewise.
11737 * math/e_sinhl.c: Likewise.
11738 * math/e_sqrtl.c: Likewise.
11739 * math/e_scalb.c: Completely rewritten and optimized.
11740 * math/e_scalbf.c: Likewise.
11741 * math/e_scalbl.c: Likewise.
11742 * math/w_acos.c: Likewise.
11743 * math/w_acosf.c: Likewise.
11744 * math/w_acosl.c: Likewise.
11745 * math/w_acosh.c: Likewise.
11746 * math/w_acoshf.c: Likewise.
11747 * math/w_acoshl.c: Likewise.
11748 * math/w_asin.c: Likewise.
11749 * math/w_asinf.c: Likewise.
11750 * math/w_asinl.c: Likewise.
11751 * math/w_atan2.c: Likewise.
11752 * math/w_atan2f.c: Likewise.
11753 * math/w_atan2l.c: Likewise.
11754 * math/w_atanh.c: Likewise.
11755 * math/w_atanhf.c: Likewise.
11756 * math/w_atanhl.c: Likewise.
11757 * math/w_exp10.c: Likewise.
11758 * math/w_exp10f.c: Likewise.
11759 * math/w_exp10l.c: Likewise.
11760 * math/w_fmod.c: Likewise.
11761 * math/w_fmodf.c: Likewise.
11762 * math/w_fmodl.c: Likewise.
11763 * math/w_j0.c: Likewise.
11764 * math/w_j0f.c: Likewise.
11765 * math/w_j0l.c: Likewise.
11766 * math/w_j1.c: Likewise.
11767 * math/w_j1f.c: Likewise.
11768 * math/w_j1l.c: Likewise.
11769 * math/w_jn.c: Likewise.
11770 * math/w_jnf.c: Likewise.
11771 * math/w_log.c: Likewise.
11772 * math/w_logf.c: Likewise.
11773 * math/w_logl.c: Likewise.
11774 * math/w_log10.c: Likewise.
11775 * math/w_log10f.c: Likewise.
11776 * math/w_log10l.c: Likewise.
11777 * math/w_log2.c: Likewise.
11778 * math/w_log2f.c: Likewise.
11779 * math/w_log2l.c: Likewise.
11780 * math/w_pow.c: Likewise.
11781 * math/w_powf.c: Likewise.
11782 * math/w_powl.c: Likewise.
11783 * math/w_remainder.c: Likewise.
11784 * math/w_remainderf.c: Likewise.
11785 * math/w_remainderl.c: Likewise.
11786 * math/w_scalb.c: Likewise.
11787 * math/w_scalbf.c: Likewise.
11788 * math/w_scalbl.c: Likewise.
11789 * math/w_sqrt.c: Likewise.
11790 * math/w_sqrtf.c: Likewise.
11791 * math/w_sqrtl.c: Likewise.
11792 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11793 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11794 used.
11795 * math/math_private.h: Declare __kernel_standard_f.
11796 * math/w_cosh.c: Remove cruft and optimize a bit.
11797 * math/w_coshf.c: Likewise.
11798 * math/w_coshl.c: Likewise.
11799 * math/w_exp2.c: Likewise.
11800 * math/w_exp2f.c: Likewise.
11801 * math/w_exp2l.c: Likewise.
11802 * math/w_hypot.c: Likewise.
11803 * math/w_hypotf.c: Likewise.
11804 * math/w_hypotl.c: Likewise.
11805 * math/w_lgamma.c: Likewise.
11806 * math/w_lgamma_r.c: Likewise.
11807 * math/w_lgammaf.c: Likewise.
11808 * math/w_lgammaf_r.c: Likewise.
11809 * math/w_lgammal.c: Likewise.
11810 * math/w_lgammal_r.c: Likewise.
11811 * math/w_sinh.c: Likewise.
11812 * math/w_sinhf.c: Likewise.
11813 * math/w_sinhl.c: Likewise.
11814 * math/w_tgamma.c: Likewise.
11815 * math/w_tgammaf.c: Likewise.
11816 * math/w_tgammal.c: Likewise.
11817 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11818 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11819 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11820 Minor optimizations. Pretty printing. Remove cruft.
11821 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11822 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11823 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11824 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11825 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11826 * sysdeps/i386/fpu/e_asin.S: Likewise.
11827 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11828 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11829 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11830 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11831 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11832 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11833 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11834 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11835 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11836 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11837 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11838 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11839 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11840 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11841 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11842 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11843 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11844 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11845 * sysdeps/i386/fpu/e_log.S: Likewise.
11846 * sysdeps/i386/fpu/e_log10.S: Likewise.
11847 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11848 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11849 * sysdeps/i386/fpu/e_log2.S: Likewise.
11850 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11851 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11852 * sysdeps/i386/fpu/e_logf.S: Likewise.
11853 * sysdeps/i386/fpu/e_logl.S: Likewise.
11854 * sysdeps/i386/fpu/e_pow.S: Likewise.
11855 * sysdeps/i386/fpu/e_powf.S: Likewise.
11856 * sysdeps/i386/fpu/e_powl.S: Likewise.
11857 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11858 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11859 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11860 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11861 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11862 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11863 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11864 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11865 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11866 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11867 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11868 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11869 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11870 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11871 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11872 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11873 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11874 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11875 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11876 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11877 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11878 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11879 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11880 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11881 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11882 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11883 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11884 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11885 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11886 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11887 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11888 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11889 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11890 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11891 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11892 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11893 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11894 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11895 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11896 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11897 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11898 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11899 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11900 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11901 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11902 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11903 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11904 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11905 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11906 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11907 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11908 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11909 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11910 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11911 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11912 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11913 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11914 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11915 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11916 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11917 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11918 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11919 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11920 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11921 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11922 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11923 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11924 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11925 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11926 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11927 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11928 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11929 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11930 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11931 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11932 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11933 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11934 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11935 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11936 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11937 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11938 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11939 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11940 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11941 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11942 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11943 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11944 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11945 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11946 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11947 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11948 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11949 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11950 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11951 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11952 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11953 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11954 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11955 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11956 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11957 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11958 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11959 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11960 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11961 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11962 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11963 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11964 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11965 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11966 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11967 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11968 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11969 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11970 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11971 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11972 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11973 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11974 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11975 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11976 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11977 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11978 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11979 (__isnanf): Likewise.
11980 (__isinf_ns): Likewise.
11981 (__isinf_nsf): Likewise.
11982 (__finite): Likewise.
11983 (__finitef): Likewise.
11984 (__ieee754_sqrt): Define as macro.
11985 (__ieee754_sqrtf): Define as macro.
11986 (__ieee754_sqrtl): Define as macro.
11987 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11988 inlined copy.
11989 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11990 __FINITE_MATH_ONLY__ consistent.
11991 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11992
11993 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11994
11995 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11996 of rawmemchr.
11997
11998 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11999
12000 2011-10-09 Ulrich Drepper <drepper@gmail.com>
12001
12002 * po/ja.po: Update from translation team.
12003
12004 2011-10-08 Roland McGrath <roland@hack.frob.com>
12005
12006 * locale/programs/locarchive.c (prepare_address_space): New function.
12007 (create_archive, enlarge_archive, open_archive): Use it.
12008
12009 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12010 inside [SHARED], where it is used.
12011
12012 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12013
12014 * nss/getent.c (netgroup_keys): Remove unused variable.
12015 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12016
12017 2011-10-08 Ulrich Drepper <drepper@gmail.com>
12018
12019 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12020 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12021 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12022 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12023 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12024 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12025 * math/Makefile (libm-calls): Add s_isinf_ns.
12026 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12027 * math/multc3.c: Likewise.
12028 * math/s_casin.c: Likewise.
12029 * math/s_casinf.c: Likewise.
12030 * math/s_casinl.c: Likewise.
12031 * math/s_ccos.c: Likewise.
12032 * math/s_ccosf.c: Likewise.
12033 * math/s_ccosl.c: Likewise.
12034 * math/s_ctan.c: Likewise.
12035 * math/s_ctanf.c: Likewise.
12036 * math/s_ctanh.c: Likewise.
12037 * math/s_ctanhf.c: Likewise.
12038 * math/s_ctanhl.c: Likewise.
12039 * math/s_ctanl.c: Likewise.
12040 * math/w_fmod.c: Likewise.
12041 * math/w_fmodf.c: Likewise.
12042 * math/w_fmodl.c: Likewise.
12043 * math/w_remainder.c: Likewise.
12044 * math/w_remainderf.c: Likewise.
12045 * math/w_remainderl.c: Likewise.
12046 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12047 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12048 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12049 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12050 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12051 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12052 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12053 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12054
12055 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12056 of the number.
12057 * stdio-common/printf_fphex.c: Likewise.
12058 * stdio-common/printf_size.c: Likewise.
12059
12060 * math/e_exp10.c: Include math_private.h using <...> not "...".
12061 * math/e_exp10f.c: Likewise.
12062 * math/e_exp10l.c: Likewise.
12063 * math/e_exp2l.c: Likewise.
12064 * math/e_j0l.c: Likewise.
12065 * math/e_j1l.c: Likewise.
12066 * math/e_jnl.c: Likewise.
12067 * math/e_lgammal_r.c: Likewise.
12068 * math/e_rem_pio2l.c: Likewise.
12069 * math/e_scalb.c: Likewise.
12070 * math/e_scalbf.c: Likewise.
12071 * math/e_scalbl.c: Likewise.
12072 * math/k_cosl.c: Likewise.
12073 * math/k_sinl.c: Likewise.
12074 * math/k_tanl.c: Likewise.
12075 * math/s_cacoshf.c: Likewise.
12076 * math/s_catan.c: Likewise.
12077 * math/s_catanf.c: Likewise.
12078 * math/s_catanh.c: Likewise.
12079 * math/s_catanhf.c: Likewise.
12080 * math/s_catanhl.c: Likewise.
12081 * math/s_catanl.c: Likewise.
12082 * math/s_ccosh.c: Likewise.
12083 * math/s_ccoshf.c: Likewise.
12084 * math/s_ccoshl.c: Likewise.
12085 * math/s_cexp.c: Likewise.
12086 * math/s_cexpf.c: Likewise.
12087 * math/s_cexpl.c: Likewise.
12088 * math/s_clog.c: Likewise.
12089 * math/s_clog10.c: Likewise.
12090 * math/s_clog10f.c: Likewise.
12091 * math/s_clog10l.c: Likewise.
12092 * math/s_clogf.c: Likewise.
12093 * math/s_clogl.c: Likewise.
12094 * math/s_csin.c: Likewise.
12095 * math/s_csinf.c: Likewise.
12096 * math/s_csinh.c: Likewise.
12097 * math/s_csinhf.c: Likewise.
12098 * math/s_csinhl.c: Likewise.
12099 * math/s_csinl.c: Likewise.
12100 * math/s_csqrt.c: Likewise.
12101 * math/s_csqrtf.c: Likewise.
12102 * math/s_csqrtl.c: Likewise.
12103 * math/s_ctan.c: Likewise.
12104 * math/s_ctanf.c: Likewise.
12105 * math/s_ctanh.c: Likewise.
12106 * math/s_ctanhf.c: Likewise.
12107 * math/s_ctanhl.c: Likewise.
12108 * math/s_ctanl.c: Likewise.
12109 * math/s_ldexp.c: Likewise.
12110 * math/s_ldexpf.c: Likewise.
12111 * math/s_ldexpl.c: Likewise.
12112 * math/s_significand.c: Likewise.
12113 * math/s_significandf.c: Likewise.
12114 * math/s_significandl.c: Likewise.
12115 * math/w_acos.c: Likewise.
12116 * math/w_acosf.c: Likewise.
12117 * math/w_acosh.c: Likewise.
12118 * math/w_acoshf.c: Likewise.
12119 * math/w_acoshl.c: Likewise.
12120 * math/w_acosl.c: Likewise.
12121 * math/w_asin.c: Likewise.
12122 * math/w_asinf.c: Likewise.
12123 * math/w_asinl.c: Likewise.
12124 * math/w_atan2.c: Likewise.
12125 * math/w_atan2f.c: Likewise.
12126 * math/w_atan2l.c: Likewise.
12127 * math/w_atanh.c: Likewise.
12128 * math/w_atanhf.c: Likewise.
12129 * math/w_atanhl.c: Likewise.
12130 * math/w_cosh.c: Likewise.
12131 * math/w_coshf.c: Likewise.
12132 * math/w_coshl.c: Likewise.
12133 * math/w_dremf.c: Likewise.
12134 * math/w_exp10.c: Likewise.
12135 * math/w_exp10f.c: Likewise.
12136 * math/w_exp10l.c: Likewise.
12137 * math/w_exp2.c: Likewise.
12138 * math/w_exp2f.c: Likewise.
12139 * math/w_fmod.c: Likewise.
12140 * math/w_fmodf.c: Likewise.
12141 * math/w_fmodl.c: Likewise.
12142 * math/w_hypot.c: Likewise.
12143 * math/w_hypotf.c: Likewise.
12144 * math/w_hypotl.c: Likewise.
12145 * math/w_j0.c: Likewise.
12146 * math/w_j0f.c: Likewise.
12147 * math/w_j0l.c: Likewise.
12148 * math/w_j1.c: Likewise.
12149 * math/w_j1f.c: Likewise.
12150 * math/w_j1l.c: Likewise.
12151 * math/w_jn.c: Likewise.
12152 * math/w_jnf.c: Likewise.
12153 * math/w_jnl.c: Likewise.
12154 * math/w_lgamma.c: Likewise.
12155 * math/w_lgamma_r.c: Likewise.
12156 * math/w_lgammaf.c: Likewise.
12157 * math/w_lgammaf_r.c: Likewise.
12158 * math/w_lgammal.c: Likewise.
12159 * math/w_lgammal_r.c: Likewise.
12160 * math/w_log.c: Likewise.
12161 * math/w_log10.c: Likewise.
12162 * math/w_log10f.c: Likewise.
12163 * math/w_log10l.c: Likewise.
12164 * math/w_log2.c: Likewise.
12165 * math/w_log2f.c: Likewise.
12166 * math/w_log2l.c: Likewise.
12167 * math/w_logf.c: Likewise.
12168 * math/w_logl.c: Likewise.
12169 * math/w_pow.c: Likewise.
12170 * math/w_powf.c: Likewise.
12171 * math/w_powl.c: Likewise.
12172 * math/w_remainder.c: Likewise.
12173 * math/w_remainderf.c: Likewise.
12174 * math/w_remainderl.c: Likewise.
12175 * math/w_scalb.c: Likewise.
12176 * math/w_scalbf.c: Likewise.
12177 * math/w_scalbl.c: Likewise.
12178 * math/w_sinh.c: Likewise.
12179 * math/w_sinhf.c: Likewise.
12180 * math/w_sinhl.c: Likewise.
12181 * math/w_sqrt.c: Likewise.
12182 * math/w_sqrtf.c: Likewise.
12183 * math/w_sqrtl.c: Likewise.
12184 * math/w_tgamma.c: Likewise.
12185 * math/w_tgammaf.c: Likewise.
12186 * math/w_tgammal.c: Likewise.
12187
12188 * po/ja.po: Update from translation team.
12189
12190 2011-09-29 Andreas Jaeger <aj@suse.de>
12191
12192 [BZ #13179]
12193 * sunrpc/netname.c (netname2host): Fix logic.
12194
12195 [BZ #6779]
12196 [BZ #6783]
12197 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12198 correctly.
12199 * math/w_remainder.c (__remainder): Likewise.
12200 * math/w_remainderf.c (__remainderf): Likewise.
12201 * math/libm-test.inc (remainder_test): Add test cases.
12202
12203 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12204
12205 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
12206 sdiv_qrnnd.
12207
12208 2011-10-07 Ulrich Drepper <drepper@gmail.com>
12209
12210 * string/test-memcmp.c: Avoid unncessary #defines.
12211 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12212
12213 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12214
12215 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12216 Use new sse2 version for core i3 - i7 as it's faster
12217 than sse42 version.
12218 (bit_Prefer_PMINUB_for_stringop): New.
12219 * sysdeps/x86_64/rawmemchr.S: Update.
12220 Replace with faster SSE2 version.
12221 * sysdeps/x86_64/memrchr.S: New file.
12222 * sysdeps/x86_64/memchr.S: Update.
12223 Replace with faster SSE2 version.
12224
12225 2011-09-12 Marek Polacek <mpolacek@redhat.com>
12226
12227 * elf/dl-load.c (lose): Add cast to avoid warning.
12228
12229 2011-10-07 Ulrich Drepper <drepper@gmail.com>
12230
12231 * po/ca.po: Update from translation team.
12232
12233 * inet/getnetgrent_r.c: Hook up nscd.
12234 * nscd/Makefile (routines): Add nscd_netgroup.
12235 (nscd-modules): Add netgroupcache.
12236 (CFLAGS-netgroupcache.c): Define.
12237 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12238 (cache_search): Add const to second parameter.
12239 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12240 INNETGR.
12241 (dbs): Add netgrdb entry.
12242 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12243 (verify_persistent_db): Handle netgrdb.
12244 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12245 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12246 GETFDNETGR.
12247 (netgroup_response_header): Define.
12248 (innetgroup_response_header): Define.
12249 (datahead): Add netgroup_response_header and innetgroup_response_header
12250 elements.
12251 * nscd/nscd.conf: Add entries for netgroup cache.
12252 * nscd/nscd.h (dbtype): Add netgrdb.
12253 (_PATH_NSCD_NETGROUP_DB): Define.
12254 (netgroup_iov_disabled): Declare.
12255 (xmalloc, xcalloc, xrealloc): Move declarations here.
12256 (cache_search): Adjust prototype.
12257 Add netgroup-related prototypes.
12258 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
12259 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
12260 (__nscd_innetgr): Declare.
12261 * nscd/selinux.c (perms): Use access_vector_t as element type and
12262 add netgroup-related initializers.
12263 * nscd/netgroupcache.c: New file.
12264 * nscd/nscd_netgroup.c: New file.
12265 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12266 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12267 For four parameters use innetgr.
12268 * nss/nss_files/files-init.c: Add definition and callback for netgr.
12269 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12270 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12271 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12272
12273 * nscd/connections.c (register_traced_file): Don't register file
12274 for disabled databases.
12275
12276 2011-10-06 Ulrich Drepper <drepper@gmail.com>
12277
12278 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
12279
12280 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
12281 from tree and freeing node.
12282
12283 2011-09-25 Jiri Olsa <jolsa@redhat.com>
12284
12285 * nss/nsswitch.c (__nss_database_lookup): Handle
12286 nss_parse_service_list out of memory case.
12287
12288 2011-09-15 Jiri Olsa <jolsa@redhat.com>
12289
12290 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12291 out of memory case.
12292
12293 2011-10-04 Andreas Schwab <schwab@redhat.com>
12294
12295 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12296 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12297 pass it down.
12298 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12299 elf_machine_rela, elf_machine_lazy_rel.
12300 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12301 (ELF_DYNAMIC_DO_REL): Likewise.
12302 (ELF_DYNAMIC_DO_RELA): Likewise.
12303 (ELF_DYNAMIC_RELOCATE): Likewise.
12304 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12305 to ELF_DYNAMIC_DO_REL.
12306 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12307 (dl_main): In trace mode always set __RTLD_NOIFUNC.
12308 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12309 elf_machine_rela.
12310 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12311 skip_ifunc, don't call ifunc function if non-zero.
12312 (elf_machine_rela): Likewise.
12313 (elf_machine_lazy_rel): Likewise.
12314 (elf_machine_lazy_rela): Likewise.
12315 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12316 (elf_machine_lazy_rel): Likewise.
12317 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12318 Likewise.
12319 (elf_machine_lazy_rel): Likewise.
12320 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12321 Likewise.
12322 (elf_machine_lazy_rel): Likewise.
12323 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12324 (elf_machine_lazy_rel): Likewise.
12325 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12326 (elf_machine_lazy_rel): Likewise.
12327 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12328 (elf_machine_lazy_rel): Likewise.
12329 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12330 (elf_machine_lazy_rel): Likewise.
12331 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12332 (elf_machine_lazy_rel): Likewise.
12333 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12334 (elf_machine_lazy_rel): Likewise.
12335
12336 2011-09-28 Ulrich Drepper <drepper@gmail.com>
12337
12338 * nss/nss_files/files-init.c (_nss_files_init): Use static
12339 initialization for all the *_traced_file variables.
12340
12341 2011-09-28 Andreas Schwab <schwab@redhat.com>
12342
12343 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12344
12345 2011-09-27 Roland McGrath <roland@hack.frob.com>
12346
12347 [BZ #13226]
12348 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12349
12350 2011-09-27 Andreas Schwab <schwab@redhat.com>
12351
12352 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12353 Reread the line before reparsing it.
12354
12355 2011-09-26 Andreas Schwab <schwab@redhat.com>
12356
12357 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12358
12359 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12360 Maxim Kuvyrkov <maxim@codesourcery.com>
12361 Joseph Myers <joseph@codesourcery.com>
12362
12363 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12364 if needed for __stack_chk_guard.
12365
12366 2011-09-19 Roland McGrath <roland@hack.frob.com>
12367
12368 * sysdeps/posix/spawni.c (script_execute): Always define it.
12369 It will be optimized away if unused.
12370 (maybe_script_execute): New function.
12371 (__spawni): Call it.
12372
12373 * Makerules: Don't include tls.make.
12374 (config-tls): Always set to thread.
12375 * tls.make.c: File removed.
12376
12377 2011-09-19 Mike Frysinger <vapier@gentoo.org>
12378
12379 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12380 * config.make.in (CPPFLAGS-config): New substituted variable.
12381
12382 2011-09-15 Ulrich Drepper <drepper@gmail.com>
12383
12384 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12385
12386 [BZ #13192]
12387 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12388 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12389
12390 2011-09-15 Roland McGrath <roland@hack.frob.com>
12391
12392 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12393 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12394 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12395 (CALL_FAIL): Likewise.
12396 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12397 (CALL_FAIL): Macro removed.
12398 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12399
12400 2011-09-15 Ulrich Drepper <drepper@gmail.com>
12401
12402 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12403 for __FINITE_MATH_ONLY__ == 1.
12404
12405 2011-09-15 Andreas Schwab <schwab@redhat.com>
12406
12407 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12408 __ieee754_sqrt instead of sqrt.
12409 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12410 __ieee754_sqrtf instead of sqrtf.
12411 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12412 __floorf instead of floorf.
12413 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12414 __floorf, __truncf instead of floorf, truncf.
12415
12416 2011-09-14 Ulrich Drepper <drepper@gmail.com>
12417
12418 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12419
12420 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12421 __extern_always_inline.
12422 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12423 32-bit.
12424
12425 2011-09-14 Andreas Schwab <schwab@redhat.com>
12426
12427 * elf/rtld.c (dl_main): Also relocate in dependency order when
12428 doing symbol dependency testing.
12429
12430 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12431
12432 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12433 Always define `refsym'.
12434
12435 2011-09-13 Andreas Schwab <schwab@redhat.com>
12436
12437 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12438 (__FD_ELT): Renamed from __FDELT.
12439 * misc/bits/select2.h (__FD_ELT): Likewise.
12440 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12441 __FD_MASK instead of __FDELT, __FDMASK.
12442 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12443 Likewise.
12444 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12445 Likewise.
12446
12447 * elf/Makefile (gen-ldd): Fix pattern.
12448
12449 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12450 (init_tls): Likewise.
12451
12452 2011-09-12 Ulrich Drepper <drepper@gmail.com>
12453
12454 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12455
12456 2011-09-12 Andreas Schwab <schwab@redhat.com>
12457
12458 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12459 `struct cmsghdr *' instead of `void *'.
12460 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12461 Likewise.
12462
12463 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12464
12465 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12466 if non-absolute.
12467 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12468 ldd_rewrite_script.
12469
12470 2011-09-11 Ulrich Drepper <drepper@gmail.com>
12471
12472 * configure.in: Remove --with-tls option.
12473 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12474 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12475 out in case it is missing.
12476 * sysdeps/ia64/elf/configure.in: Likewise.
12477 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12478 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12479 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12480 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12481 * sysdeps/sh/elf/configure.in: Likewise.
12482 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12483 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12484 * sysdeps/x86_64/elf/configure.in: Likewise.
12485 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12486 * sysdeps/mach/hurd/tls.h: Likewise.
12487
12488 [BZ #13067]
12489 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12490
12491 [BZ #13090]
12492 * configure.in: Fix use of AC_INIT.
12493
12494 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12495
12496 2011-09-10 Ulrich Drepper <drepper@gmail.com>
12497
12498 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12499 __set_errno.
12500 * malloc/hooks.c: Likewise.
12501
12502 [BZ #11929]
12503 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12504 variables statically.
12505 (narenas): Initialize.
12506 (list_lock): Initialize.
12507 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12508 initializtion of main_arena and list_lock. Small cleanups.
12509 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12510 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12511 Add initializers to main_arena and mp_.
12512 (malloc_state): Remove pagesize member. Change all users to use
12513 GLRO(dl_pagesize).
12514
12515 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12516 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12517 is always initialized.
12518
12519 * malloc/malloc.c: Removed unused configurations and dead code.
12520 * malloc/arena.c: Likewise.
12521 * malloc/hooks.c: Likewise.
12522 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
12523
12524 * include/tls.h: Removed. USE___THREAD must always be defined.
12525 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12526 * elf/dl-libc.c: Likewise.
12527 * elf/dl-tsd.c: Likewise.
12528 * include/errno.h: Likewise.
12529 * include/netdb.h: Likewise.
12530 * include/resolv.h: Likewise.
12531 * inet/herrno-loc.c: Likewise.
12532 * inet/herrno.c: Likewise.
12533 * malloc/arena.c: Likewise.
12534 * malloc/hooks.c: Likewise.
12535 * malloc/malloc.c: Likewise.
12536 * resolv/res-state.c: Likewise.
12537 * resolv/res_libc.c: Likewise.
12538 * sysdeps/i386/dl-machine.h: Likewise.
12539 * sysdeps/ia64/dl-machine.h: Likewise.
12540 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12541 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12542 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12543 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12544 * sysdeps/sh/dl-machine.h: Likewise.
12545 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12546 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12547 * sysdeps/unix/i386/sysdep.S: Likewise.
12548 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12549 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12550 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12551 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12552 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12553 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12554 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12555 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12556 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12557 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12558 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12559 * sysdeps/x86_64/dl-machine.h: Likewise.
12560 * tls.make.c: Likewise.
12561
12562 * configure.in: Remove --with-__thread option. Make tests for
12563 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12564 tls_model attribute fail if no support is available. Remove
12565 USE_IN_LIBIO.
12566 * Makeconfig: Adjust for dropped configure option. All features are
12567 now mandatory.
12568 * Makerules: Likewise.
12569 * Versions.def: Likewise.
12570 * argp/argp-fmtstream.c: Likewise.
12571 * argp/argp-fmtstream.h: Likewise.
12572 * argp/argp-help.c: Likewise.
12573 * assert/assert.c: Likewise.
12574 * config.h.in: Likewise.
12575 * config.make.in: Likewise.
12576 * configure: Likewise.
12577 * configure.in: Likewise.
12578 * csu/Versions: Likewise.
12579 * csu/init.c: Likewise.
12580 * elf/tst-audit2.c: Likewise.
12581 * elf/tst-tls10.c: Likewise.
12582 * elf/tst-tls10.h: Likewise.
12583 * elf/tst-tls11.c: Likewise.
12584 * elf/tst-tls12.c: Likewise.
12585 * elf/tst-tls14.c: Likewise.
12586 * elf/tst-tlsmod11.c: Likewise.
12587 * elf/tst-tlsmod12.c: Likewise.
12588 * elf/tst-tlsmod13.c: Likewise.
12589 * elf/tst-tlsmod13a.c: Likewise.
12590 * elf/tst-tlsmod14a.c: Likewise.
12591 * elf/tst-tlsmod15b.c: Likewise.
12592 * elf/tst-tlsmod16a.c: Likewise.
12593 * elf/tst-tlsmod16b.c: Likewise.
12594 * elf/tst-tlsmod7.c: Likewise.
12595 * elf/tst-tlsmod8.c: Likewise.
12596 * elf/tst-tlsmod9.c: Likewise.
12597 * gmon/gmon.c: Likewise.
12598 * grp/fgetgrent_r.c: Likewise.
12599 * grp/putgrent.c: Likewise.
12600 * hurd/fopenport.c: Likewise.
12601 * include/libc-symbols.h: Likewise.
12602 * include/tls.h: Likewise.
12603 * intl/gettextP.h: Likewise.
12604 * intl/loadinfo.h: Likewise.
12605 * locale/global-locale.c: Likewise.
12606 * locale/localeinfo.h: Likewise.
12607 * mach/devstream.c: Likewise.
12608 * malloc/arena.c: Likewise.
12609 * malloc/set-freeres.c: Likewise.
12610 * misc/err.c: Likewise.
12611 * misc/getttyent.c: Likewise.
12612 * misc/mntent_r.c: Likewise.
12613 * posix/getopt.c: Likewise.
12614 * posix/wordexp.c: Likewise.
12615 * pwd/fgetpwent_r.c: Likewise.
12616 * resolv/Versions: Likewise.
12617 * resolv/res_hconf.c: Likewise.
12618 * shadow/fgetspent_r.c: Likewise.
12619 * shadow/putspent.c: Likewise.
12620 * stdio-common/printf_fphex.c: Likewise.
12621 * stdio-common/tmpfile.c: Likewise.
12622 * stdlib/abort.c: Likewise.
12623 * stdlib/fmtmsg.c: Likewise.
12624 * sunrpc/auth_unix.c: Likewise.
12625 * sunrpc/clnt_perr.c: Likewise.
12626 * sunrpc/clnt_tcp.c: Likewise.
12627 * sunrpc/clnt_udp.c: Likewise.
12628 * sunrpc/clnt_unix.c: Likewise.
12629 * sunrpc/openchild.c: Likewise.
12630 * sunrpc/svc_simple.c: Likewise.
12631 * sunrpc/svc_tcp.c: Likewise.
12632 * sunrpc/svc_udp.c: Likewise.
12633 * sunrpc/svc_unix.c: Likewise.
12634 * sunrpc/xdr.c: Likewise.
12635 * sunrpc/xdr_array.c: Likewise.
12636 * sunrpc/xdr_rec.c: Likewise.
12637 * sunrpc/xdr_ref.c: Likewise.
12638 * sunrpc/xdr_stdio.c: Likewise.
12639
12640 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12641
12642 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12643
12644 2011-07-03 Andreas Jaeger <aj@suse.de>
12645
12646 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12647 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12648 regenerate with gen-libm-tests.pl.
12649
12650 2010-05-12 Petr Baudis <pasky@suse.cz>
12651
12652 [BZ #11589]
12653 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12654 around j0() zero points by switching to j1().
12655 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12656 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12657 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12658 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12659
12660 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12661
12662 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12663 instead of 0.
12664 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12665 instead of 0. .
12666 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12667 Patch in part by Pavel Roskin <proski@gnu.org>.
12668
12669 [BZ #13138]
12670 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12671 realloc.
12672 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12673 Free memory block if necessary.
12674
12675 [BZ #12847]
12676 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12677 be NULL. Don't lock in this case.
12678
12679 2011-09-09 Roland McGrath <roland@hack.frob.com>
12680
12681 * elf/elf.h (ELFOSABI_GNU): New macro.
12682 (ELFOSABI_LINUX): Define to that.
12683
12684 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12685
12686 * string/strncat.c (strncat): Undef the symbol in case it has been
12687 defined in bits/string.h.
12688
12689 2011-09-09 Ulrich Drepper <drepper@gmail.com>
12690
12691 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12692
12693 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
12694 link map.
12695
12696 2011-08-17 Andreas Jaeger <aj@suse.de>
12697
12698 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12699
12700 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12701 Ian Lance Taylor <iant@google.com>
12702
12703 * math/libm-test.inc (lround_test): New testcase.
12704 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12705
12706 2011-09-08 Ulrich Drepper <drepper@gmail.com>
12707
12708 * Makefile: Remove support for automatic cvs check-ins.
12709 * Makerules: Likewise.
12710 * config.make.in: Likewise.
12711 * configure.in: Likewise.
12712 * intl/Makefile: Likewise.
12713 * locale/Makefile: Likewise.
12714 * po/Makefile: Likewise.
12715 * posix/Makefile: Likewise.
12716 * sysdeps/gnu/Makefile: Likewise.
12717 * sysdeps/mach/hurd/Makefile: Likewise.
12718 * sysdeps/sparc/sparc32/Makefile: Likewise.
12719
12720 [BZ #13118]
12721 * posix/Makefile (bug-regex32-ENV): Define.
12722 Patch by John Stanley <jpsinthemix@verizon.net>.
12723
12724 * misc/Makefile (headers): Add bits/select2.h.
12725 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12726 * misc/bits/select2.h: New file.
12727 * include/bits/select2.h: New file.
12728 * debug/Makefile (routines): Add fdelt_chk.
12729 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12730 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12731 FD_ISSET.
12732 * debug/fdelt_chk.c: New file.
12733
12734 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12735 * wcsmbs/test-wmemcmp.c: Likewise.
12736 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
12737 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
12738
12739 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12740
12741 * string/Makefile (strop-tests): Add memcmp.
12742 * string/test-wmemcmp.c: New file.
12743 * string/test-memcmp.c: Add wmemcmp support.
12744
12745 2011-09-08 Roland McGrath <roland@hack.frob.com>
12746
12747 [BZ #13153]
12748 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12749 2011-07-19 change.
12750
12751 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12752 garbage value in a __mach_port_mod_refs call in the cases of the
12753 task-self and thread-self ports.
12754
12755 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12756
12757 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12758
12759 2011-09-08 Andreas Schwab <schwab@redhat.com>
12760
12761 * elf/dl-load.c (lose): Check for non-null L.
12762
12763 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12764
12765 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12766
12767 * elf/dl-libc.c (dlerror_run): Pass back error code from
12768 dl_catch_error.
12769
12770 [BZ #13123]
12771 * elf/dl-load.c (lose): Free l_origin if it is valid.
12772
12773 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12774 names.
12775 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12776 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12777 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12778 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12779 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12780 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12781
12782 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12783
12784 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12785 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12786 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12787 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12788 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12789 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12790 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12791 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12792 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12793 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12794
12795 2011-08-15 Alan Modra <amodra@gmail.com>
12796
12797 [BZ #13092]
12798 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12799 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12800 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12801 ppc_mcount to static-only-routines.
12802 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12803 __mcount_internal.
12804 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12805 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12806
12807 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12808
12809 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12810 for finite and infinity parameters.
12811
12812 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12813
12814 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12815 and add nop instructions for throughput optimization.
12816 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12817
12818 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12819
12820 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12821 aligned copy for power7 with vector-scalar instructions.
12822 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12823
12824 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12825
12826 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12827 AVX check.
12828
12829 2011-09-07 Andreas Schwab <schwab@redhat.com>
12830
12831 [BZ #13144]
12832 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12833 last change.
12834
12835 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12836
12837 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12838 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12839 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12840 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12841 clock_gettime.
12842
12843 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12844
12845 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12846 Forgot to demangle the pointer.
12847
12848 * sysdeps/i386/sysdep.h: Define atom_text_section.
12849 * sysdeps/x86_64/sysdep.h: Likewise.
12850 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12851 section with atom_text_section.
12852 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12853 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12854 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12855 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12856 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12857
12858 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12859 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12860 already be defined. Change to take two parameters and don't assign
12861 result to variable. Adjust all users.
12862 Define INTERNAL_GETTIME if not already defined.
12863 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12864 call.
12865 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12866 HAVE_CLOCK_GETTIME_VSYSCALL.
12867 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12868
12869 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12870 gettimeofday vsyscall, just use time.
12871
12872 2011-09-06 Andreas Schwab <schwab@redhat.com>
12873
12874 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12875 <errno.h>.
12876
12877 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12878
12879 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12880 syscall on x86-64.
12881 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12882 syscall.
12883 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12884 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12885 syscall if possible.
12886
12887 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12888
12889 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12890 e_ident. Don't pass to find_mapsXX.
12891 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12892
12893 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12894
12895 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12896 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12897 * sysdeps/x86_64/multiarch/strchr.S: Update.
12898 Check bit_slow_BSF bit.
12899 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12900 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12901 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12902
12903 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12904
12905 [BZ #13134]
12906 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12907 before glibc 2.15.
12908 (tryshell): Define.
12909 (__spawni): Change last parameter to be flag. Test
12910 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12911 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12912 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12913 * posix/spawni.c: Likewise.
12914 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12915 * posix/spawnp.c: Likewise. Change normal version to use
12916 SPAWN_XFLAGS_USE_PATH.
12917 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12918 SPAWN_XFLAGS_TRY_SHELL.
12919
12920 [BZ #13150]
12921 * posix/glob.h: Remove gcc 1.x support.
12922
12923 [BZ #13068]
12924 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12925
12926 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12927
12928 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12929 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12930 strrchr-sse2-bsf
12931 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12932 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12933 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12934 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12935 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12936 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12937
12938 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12939
12940 * sysdeps/x86_64/wcscmp.S: New file.
12941
12942 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12943 wcscmp-c wcscmp-sse2
12944 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12945 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12946 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12947 * wcsmbs/wcscmp.c: Allow renaming.
12948
12949 2011-09-05 David S. Miller <davem@davemloft.net>
12950
12951 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12952 stack slot, rather than the struct return pointer slot.
12953 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12954 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12956 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12957
12958 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12959
12960 * po/ja.po: Update from translation team.
12961
12962 [BZ #13144]
12963 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12964 kernel in 64-bit binaries.
12965
12966 2011-09-01 David S. Miller <davem@davemloft.net>
12967
12968 * elf/elf.h (HWCAP_SPARC_*): Move to..
12969 * sysdeps/sparc/sysdep.h: this new file and add new values.
12970 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12971 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12972 _DL_HWCAP_COUNT to 24.
12973 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12974 entries.
12975 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12976 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12977 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12978 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12979 instead of magic constants.
12980 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12981
12982 2011-08-31 David S. Miller <davem@davemloft.net>
12983
12984 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12985 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12986 Reimplement to do errno handling inline.
12987 (SYSCALL_ERROR_HANDLER): New macro.
12988 (__SYSCALL_STRING): Do not do errno handling in asm.
12989 (__CLONE_SYSCALL_STRING): Delete.
12990 (__INTERNAL_SYSCALL_STRING): Delete.
12991 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12992 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12993 (PSEUDO): Reimplement to do errno handling inline.
12994 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12995 (SYSCALL_ERROR_HANDLER): New macro.
12996 (__SYSCALL_STRING): Do not do errno handling in asm.
12997 (__CLONE_SYSCALL_STRING): Delete.
12998 (__INTERNAL_SYSCALL_STRING): Delete.
12999 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13000 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13001 i386.
13002 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13003 (inline_syscall*): Add 'err' argument.
13004 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13005 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13006 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13007 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13008
13009 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13010 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13011
13012 2011-08-30 Andreas Schwab <schwab@redhat.com>
13013
13014 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13015
13016 2011-08-29 Jiri Olsa <jolsa@redhat.com>
13017
13018 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13019 directive.
13020
13021 2011-08-24 David S. Miller <davem@davemloft.net>
13022
13023 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13024
13025 2011-08-24 Andreas Schwab <schwab@redhat.com>
13026
13027 * elf/Makefile: Add rules to build and run unload8 test.
13028 * elf/unload8.c: New file.
13029 * elf/unload8mod1.c: New file.
13030 * elf/unload8mod1x.c: New file.
13031 * elf/unload8mod2.c: New file.
13032 * elf/unload8mod3.c: New file.
13033
13034 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13035 it wasn't used.
13036
13037 2011-08-23 David S. Miller <davem@davemloft.net>
13038
13039 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13040 subtract stack bias.
13041 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13042 %sp not %fp in calculations.
13043 (_JMPBUF_UNWINDS_ADJ): Likewise.
13044
13045 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13046 (aio_suspend): Call it to force an exception region around the
13047 AIO_MISC_WAIT() invocation.
13048
13049 2011-08-23 Andreas Schwab <schwab@redhat.com>
13050
13051 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13052 backslash.
13053
13054 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
13055
13056 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13057 protection macro.
13058 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13059 and <dl-machine.h>.
13060 (Elf64_FuncDesc): Remove.
13061
13062 2011-08-22 David S. Miller <davem@davemloft.net>
13063
13064 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13065 sigaltstack check, add missing cfi directives.
13066 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13067 missing cfi directives, and sigaltstack handling.
13068
13069 2011-08-16 Andreas Schwab <schwab@redhat.com>
13070
13071 [BZ #11724]
13072 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13073 object is seen twice.
13074 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13075
13076 * elf/Makefile (distribute): Add tst-initorder2.c.
13077 (tests): Add tst-initorder2.
13078 (modules-names): Add tst-initorder2a tst-initorder2b
13079 tst-initorder2c tst-initorder2d. Add rules to build them.
13080 ($(objpfx)tst-initorder2.out): New rule.
13081 * elf/tst-initorder2.c: New file.
13082 * elf/tst-initorder2.exp: New file.
13083
13084 2011-08-22 Andreas Schwab <schwab@redhat.com>
13085
13086 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13087
13088 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13089 dependencies back to end of function.
13090
13091 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13092 $(elfobjdir)/ld.so.
13093
13094 2011-08-21 Ulrich Drepper <drepper@gmail.com>
13095
13096 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13097 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13098 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13099 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13100 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13101 of __vdso_gettimeofday.
13102 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13103 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
13104 attribute_hidden.
13105 (_libc_vdso_platform_setup): Remove initialization of
13106 __vdso_gettimeofday and __vdso_time.
13107
13108 2011-08-20 Ulrich Drepper <drepper@gmail.com>
13109
13110 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13111 and fgetc_unlocked.
13112 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13113 getc_unlocked.
13114
13115 * elf/dl-open.c (add_to_global): Report additions to the global scope
13116 for LD_DEBUG=scopes.
13117 (dl_open_worker): Also print scope of newly loaded dependencies.
13118 (_dl_show_scope): Indicate if there is no scope.
13119
13120 [BZ #13114]
13121 * stdio-common/Makefile (tests): Add bug24.
13122 * stdio-common/bug24.c: New file.
13123
13124 2011-08-19 Andreas Jaeger <aj@suse.de>
13125
13126 [BZ #13114]
13127 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13128 non-existant file when using close-on-exec mode.
13129
13130 2011-08-20 Ulrich Drepper <drepper@gmail.com>
13131
13132 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13133 the very first instruction.
13134
13135 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13136 the CFI state in the end.
13137 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13138 inclusion of dl-trampoline.h.
13139 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13140
13141 2011-08-19 Andreas Schwab <schwab@redhat.com>
13142
13143 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13144 expectations for long double.
13145
13146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13147 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13148
13149 2011-08-14 David S. Miller <davem@davemloft.net>
13150
13151 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13152 artificual limit depends upon the system page size.
13153
13154 2011-08-17 Ulrich Drepper <drepper@gmail.com>
13155
13156 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13157 * resolv/Makefile: Define CFLAGS-libresolv.
13158
13159 2011-08-17 Andreas Schwab <schwab@redhat.com>
13160
13161 * nss/makedb.c (compute_tables): Make variables used in nested
13162 function static.
13163
13164 2011-08-17 Ulrich Drepper <drepper@gmail.com>
13165
13166 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13167 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13168 if buffer was too small.
13169
13170 * elf/pldd.c (main): Attach to all threads in the process.
13171 Rewrite /proc handling to use *at functions.
13172
13173 2011-08-16 Ulrich Drepper <drepper@gmail.com>
13174
13175 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13176 specifies first scope to show.
13177 (dl_open_worker): Update callers. Move printing scope of new
13178 object to before the relocation.
13179 * elf/rtld.c (dl_main): Update _dl_show_scope call.
13180 * sysdeps/generic/ldsodefs.h: Update declaration.
13181
13182 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13183 string for the scope number.
13184
13185 2011-08-14 Ulrich Drepper <drepper@gmail.com>
13186
13187 * nscd/servicescache.c (cache_addserv): Make sure written is always
13188 initialized.
13189
13190 2011-08-14 Roland McGrath <roland@hack.frob.com>
13191
13192 * sysdeps/i386/i486/bits/atomic.h
13193 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13194 statement expression, so as to suppress "set but not used" warning.
13195 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13196
13197 * string/strncat.c (STRNCAT): Use prototype definition.
13198
13199 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13200 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13201 -Iprograms here.
13202 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13203 (localedef-modules): Add localedef.
13204 (locale-modules): Add locale.
13205
13206 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13207 * elf/rtld.c (dl_main): Invert order of assignment in last change,
13208 to avoid a warning.
13209
13210 2011-08-14 David S. Miller <davem@davemloft.net>
13211
13212 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13213 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13214
13215 2011-08-13 Ulrich Drepper <drepper@gmail.com>
13216
13217 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
13218 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13219 * elf/rtld.c (dl_main): Set l_name of vDSO.
13220 Call _dl_show_scope when DL_DEBUG_SCOPES.
13221 (process_dl_debug): Recognize scopes flag and also set it for all.
13222 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13223 Declare _dl_show_scope.
13224
13225 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13226 (do_dlopen): Pass caller_dlopen to dl_open.
13227 (__libc_dlopen_mode): Initialize caller_dlopen.
13228
13229 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13230 of libc. Make tolower call locale-independent. Optimize a bit by
13231 using isdigit instead of isalnum.
13232 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13233
13234 2011-08-12 Ulrich Drepper <drepper@gmail.com>
13235
13236 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13237 was a dependency or dynamically loaded.
13238
13239 2011-08-11 Ulrich Drepper <drepper@gmail.com>
13240
13241 * intl/l10nflist.c: Allow architecture-specific pop function.
13242 * sysdeps/x86_64/l10nflist.c: New file.
13243
13244 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13245 classification.
13246
13247 2011-08-10 Andreas Schwab <schwab@redhat.com>
13248
13249 * include/dirent.h: Add libc_hidden_proto for scandirat and
13250 scandirat64. Don't declare __scandirat64.
13251 * dirent/scandirat.c: Add libc_hidden_def.
13252 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13253 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13254
13255 2011-08-10 David S. Miller <davem@davemloft.net>
13256
13257 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
13258 enum.
13259 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13260 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13261 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13262
13263 2011-08-09 Ulrich Drepper <drepper@gmail.com>
13264
13265 * Versions.def [libc]: Add GLIBC_2.15.
13266 * dirent/Makefile (routines): Add scandirat and scandirat64.
13267 * dirent/Versions [libc]: Export scandirat and scandirat64 for
13268 GLIBC_2.15.
13269 * dirent/dirent.h: Declare scandirat and scandirat64.
13270 * dirent/scandirat.c: New file.
13271 * dirent/scandirat64.c: New file.
13272 * sysdeps/wordsize-64/scandirat.c: New file.
13273 * sysdeps/wordsize-64/scandirat64.c: New file.
13274 * dirent/opendir.c: Define opendirat.
13275 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
13276 using scandirat.
13277 * dirent/scandir64.c: Adjust for scandir.c change.
13278 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
13279 __scandirat64, and __scandir_cancel_handler.
13280 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
13281 additional parameter and use openat instead of open (outside of ld.so).
13282 Add new __opendir as wrapper around __opendirat.
13283 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13284 here without requiring old scandirat implementation.
13285
13286 2011-08-08 Ulrich Drepper <drepper@gmail.com>
13287
13288 * dirent/scandir.c (cancel_handler): Renamed to
13289 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
13290 defined. Adjust users.
13291 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13292 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13293
13294 2011-08-04 Ulrich Drepper <drepper@gmail.com>
13295
13296 * string/test-string.h (IMPL): Use __STRING to expand name and then
13297 stringify it.
13298
13299 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
13300 of cleanups.
13301
13302 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13303
13304 * string/Makefile: Update.
13305 (strop-tests): Append strncat.
13306 * string/test-wcscmp.c: New file.
13307 New comprehensive test for wcscmp.
13308 * string/test-strcmp.c: Update.
13309 (WIDE): New define.
13310
13311 2011-07-22 Andreas Schwab <schwab@redhat.com>
13312
13313 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13314 line.
13315
13316 2011-07-26 Andreas Schwab <schwab@redhat.com>
13317
13318 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13319 encoding to ACE if AI_IDN.
13320
13321 2011-08-01 Jakub Jelinek <jakub@redhat.com>
13322
13323 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13324 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13325
13326 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13327
13328 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13329 Fix overflow bug in strncat.
13330 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13331
13332 * string/test-strncat.c: Update.
13333 Add new tests for checking overflow bugs.
13334
13335 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13336
13337 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13338 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13339 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13340 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13341 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13342 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13343 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13344 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13345 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13346
13347 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13348 (USE_AS_STRCAT): Define.
13349 Add strcat and strncat support.
13350 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13351
13352 2011-07-25 Andreas Schwab <schwab@redhat.com>
13353
13354 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13355 __n bigger than INT_MAX+1.
13356 (__strncmp_g): Likewise.
13357
13358 2011-07-23 Ulrich Drepper <drepper@gmail.com>
13359
13360 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13361 * libio/stido.h: Likewise.
13362
13363 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13364 (AF_NFC): Define.
13365 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13366 (AF_NFC): Define.
13367
13368 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13369 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13370 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13371 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13372 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13373
13374 [BZ #13021]
13375 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13376 installed.
13377
13378 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13379 typo.
13380 (_dl_x86_64_save_sse): Likewise.
13381
13382 2011-07-22 Ulrich Drepper <drepper@gmail.com>
13383
13384 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13385 OSXSAVE.
13386 (_dl_x86_64_save_sse): Likewise.
13387
13388 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13389
13390 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13391
13392 2011-07-21 Andreas Schwab <schwab@redhat.com>
13393
13394 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13395 change.
13396 (_dl_x86_64_save_sse): Use correct AVX check.
13397
13398 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13399
13400 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13401 bug in strncpy/strncat.
13402 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13403
13404 2011-07-21 Ulrich Drepper <drepper@gmail.com>
13405
13406 * string/tester.c (test_strcat): Add tests for different alignments
13407 of source and destination.
13408 (test_strncat): Likewise.
13409
13410 2011-07-20 Ulrich Drepper <drepper@gmail.com>
13411
13412 [BZ #12852]
13413 * posix/glob.c (glob): Check passed in values before using them in
13414 expressions to avoid some overflows.
13415 (glob_in_dir): Likewise.
13416
13417 [BZ #13007]
13418 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13419 check for AVX enablement so that we don't crash with old kernels and
13420 new hardware.
13421 * elf/tst-audit4.c: Add same checks here.
13422 * elf/tst-audit6.c: Likewise.
13423
13424 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
13425
13426 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13427
13428 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13429
13430 2011-07-20 Ulrich Drepper <drepper@gmail.com>
13431
13432 * po/cs.po: Update from translation team.
13433 * po/bg.po: Likewise.
13434
13435 2011-07-12 Marek Polacek <mpolacek@redhat.com>
13436
13437 * misc/sys/cdefs.h: Add support for const attribute.
13438 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13439 to gnu_dev_{major,minor,makedev} functions.
13440
13441 2011-07-20 Marek Polacek <mpolacek@redhat.com>
13442
13443 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13444
13445 2011-07-20 Andreas Schwab <schwab@redhat.com>
13446
13447 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13448 strlen results.
13449
13450 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13451
13452 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13453 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13454 register in order to avoid conflicts with the soft frame pointer
13455 being held in r11 when necessary.
13456 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13457 (INTERNAL_VSYSCALL_NCS): Likewise.
13458
13459 2011-07-14 Marek Polacek <mpolacek@redhat.com>
13460
13461 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13462 * elf/dl-fini.c (_dl_fini): Adjust caller.
13463 * elf/dl-close.c (_dl_close_worker): Likewise.
13464 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13465
13466 2011-07-15 Marek Polacek <mpolacek@redhat.com>
13467
13468 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13469 "aux_cache->nlibs < 0".
13470
13471 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13472 in the reload-count case.
13473
13474 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13475
13476 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13477 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13478 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13479 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13480 * sysdeps/x86_64/multiarch/strcat.S: New file.
13481 * sysdeps/x86_64/multiarch/strncat.S: New file.
13482 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13483 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13484 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13485 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13486 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13487 (USE_AS_STRCAT): Define.
13488 Add strcat and strncat support.
13489 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13490 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13491 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13492 * string/strncat.c: Update.
13493 (USE_AS_STRNCAT): Define.
13494 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13495 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13496 and i7.
13497 * sysdeps/x86_64/multiarch/init-arch.h
13498 (bit_Prefer_PMINUB_for_stringop): New.
13499 (index_Prefer_PMINUB_for_stringop): Likewise.
13500 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13501 bit_Prefer_PMINUB_for_stringop.
13502
13503 2011-07-19 Ulrich Drepper <drepper@gmail.com>
13504
13505 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13506 buffer64.
13507 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13508 of casting of buffer.
13509 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13510 buffer32 and buffer64.
13511 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13512 writes instead of casting of buffer.
13513 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13514 buffer32.
13515 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13516 casting of buffer.
13517
13518 2011-07-19 Andreas Schwab <schwab@redhat.com>
13519
13520 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13521
13522 2011-07-19 Ulrich Drepper <drepper@gmail.com>
13523
13524 * nscd/nscd.c (termination_handler): Don't do anything for a database
13525 if it has not yet been initialized.
13526
13527 2011-07-18 Ulrich Drepper <drepper@gmail.com>
13528
13529 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13530
13531 2011-07-15 Marek Polacek <mpolacek@redhat.com>
13532
13533 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13534
13535 2011-07-18 Ulrich Drepper <drepper@gmail.com>
13536
13537 * po/nl.po: Update from translation team.
13538 * po/sv.po: Likewise.
13539
13540 2011-07-16 Roland McGrath <roland@hack.frob.com>
13541
13542 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13543 now disallowed by GCC.
13544
13545 * configure.in (use-default-link): Default to yes if a test -shared
13546 link meets our qualifications.
13547 * configure: Regenerated.
13548
13549 * config.make.in (output-format): New variable.
13550 * configure.in: Check for ld --print-output-format support.
13551 * configure: Regenerated.
13552 * Makerules ($(common-objpfx)format.lds)
13553 [$(output-format) != unknown]: Just use $(output-format),
13554 instead of the linker-script munging.
13555
13556 2011-07-14 Roland McGrath <roland@hack.frob.com>
13557
13558 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13559 of $(common-objpfx)shlib.lds.
13560 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13561
13562 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13563 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13564
13565 * configure.in (-z relro check): Adjust test code to add a large
13566 writable data section after it.
13567 * configure: Regenerated.
13568
13569 2011-07-11 Roland McGrath <roland@hack.frob.com>
13570
13571 * configure.in (-z relro check): Fix test code to make the variable
13572 truly const.
13573 * configure: Regenerated.
13574
13575 2011-07-11 Ulrich Drepper <drepper@gmail.com>
13576
13577 * nscd/nscd.h (struct traced_file): Define.
13578 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13579 elements. Add traced_files.
13580 (inotify_fd): Declare.
13581 (register_traced_file): Declare.
13582 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13583 (inotify_fd): Export.
13584 (resolv_conf_descr): Remove.
13585 (nscd_init): Move inotify descriptor creation to main.
13586 Don't register files for notification here.
13587 (register_traced_file): New function.
13588 (invalidate_cache): Don't use reset_res to determine whether to call
13589 res_init, go through the list of registered files.
13590 (main_loop_poll): The inotify descriptors are now stored in the
13591 structures for the traced files.
13592 (main_loop_epoll): Likewise
13593 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13594 to __nss_disable_nscd.
13595 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13596 for a database anymore. Check the records for all the registered
13597 files instead.
13598 * nss/Makefile (libnss_files-routines): Add files-init.
13599 (libnss_db-routines): Add db-init.
13600 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13601 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13602 * nss/nss_db/db-init.c: New file.
13603 * nss/nss_files/files-init.c: New file.
13604 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13605 __nss_lookup_function.
13606 (__nss_lookup_function): Call nss_load_library.
13607 (nss_load_all_libraries): New function.
13608 (__nss_disable_nscd): Take parameter with callback function for files
13609 to register. Set is_nscd. Load all the DSOs for the NSS modules
13610 used for the cached services.
13611 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13612 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13613 options for features to all the files in nscd.
13614
13615 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13616
13617 2011-07-10 Roland McGrath <roland@hack.frob.com>
13618
13619 * csu/elf-init.c (__libc_csu_init): Comment typo.
13620
13621 2011-07-09 Ulrich Drepper <drepper@gmail.com>
13622
13623 * po/pl.po: Update from translation team.
13624 * po/ja.po: Likewise.
13625 * po/ru.po: Likewise.
13626 * po/ko.po: Likewise.
13627 * po/fr.po: Likewise.
13628
13629 2011-07-09 Roland McGrath <roland@hack.frob.com>
13630
13631 * configure.in (.ctors/.dtors header and trailer check):
13632 Use an empirical test on a built program.
13633 * configure: Regenerated.
13634
13635 * configure.in (-z relro check): Use an empirical test on a built DSO.
13636 Detect, but do not require, on ia64.
13637 * configure: Regenerated.
13638
13639 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13640 Update tests that use readelf to use $READELF instead.
13641 * configure: Regenerated.
13642
13643 2011-07-08 Ulrich Drepper <drepper@gmail.com>
13644
13645 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13646 if the result is not used.
13647
13648 2011-07-05 Andreas Jaeger <aj@suse.de>
13649
13650 [BZ#9696]
13651 * stdlib/tst-strtod.c: Add testcase.
13652
13653 2011-07-07 Ulrich Drepper <drepper@gmail.com>
13654
13655 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
13656 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
13657 The latter has a higher limit. Take additional parameter to pass to
13658 the new function.
13659 (__pathconf): Pass file to __statfs_link_max.
13660 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13661 __statfs_link_max.
13662 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13663 __statfs_link_max.
13664
13665 [BZ #12868]
13666 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13667 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13668 Handle Lustre.
13669 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13670 (__statfs_filesize_max): Likewise.
13671 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13672
13673 2011-07-05 Andreas Jaeger <aj@suse.de>
13674
13675 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13676
13677 2011-07-06 Marek Polacek <mpolacek@redhat.com>
13678
13679 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13680 `status' variable.
13681 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13682 Likewise.
13683
13684 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13685
13686 * Makefile (strop-tests): Add strncat.
13687 * string/test-strncat.c: New file.
13688
13689 2011-06-30 Marek Polacek <mpolacek@redhat.com>
13690
13691 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13692
13693 2011-06-21 Andreas Jaeger <aj@suse.de>
13694
13695 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13696 Copy rule from iconvdata/Makefile.
13697
13698 2011-07-06 Ulrich Drepper <drepper@gmail.com>
13699
13700 [BZ #12922]
13701 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13702 but no long options are defined, just return 'W'.
13703
13704 2011-06-22 Marek Polacek <mpolacek@redhat.com>
13705
13706 [BZ #9696]
13707 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13708
13709 2011-07-06 Ulrich Drepper <drepper@gmail.com>
13710
13711 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13712 netgroups to read.
13713 (innetgr): Likewise.
13714
13715 2011-07-05 Roland McGrath <roland@hack.frob.com>
13716
13717 * config.make.in (install_root): Default to $(DESTDIR).
13718
13719 2011-07-05 Ulrich Drepper <drepper@gmail.com>
13720
13721 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13722
13723 2011-07-02 Roland McGrath <roland@hack.frob.com>
13724
13725 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13726
13727 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13728 containing directory rather than embedding absolute directory names.
13729
13730 * scripts/check-local-headers.sh: Rewritten using awk.
13731 Match by word, not by line. Print error messages for matches.
13732 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13733
13734 * Makerules [shlib-lds-flags empty]:
13735 ($(common-objpfx)libc_pic.opts): New target.
13736 ($(common-objpfx)libc_pic.os.clean): New target.
13737 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13738
13739 * config.make.in (OBJCOPY): New variable.
13740 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13741 * configure: Regenerated.
13742
13743 * config.make.in (use-default-link): New variable.
13744 * configure.in (use_default_link): Grok --with-default-link to set it.
13745 * configure: Regenerated.
13746 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13747 (shlib-lds, shlib-lds-flags): Define to empty.
13748
13749 * Makerules (shlib-lds): New variable.
13750 (shlib-lds-flags): New variable.
13751 (build-shlib, build-moduile, build-module-asneeded): Use it.
13752 ($(common-objpfx)libc.so): Use $(shlib-lds).
13753 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13754 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13755
13756 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13757 DT_FLAGS/DT_FLAGS_1 with zero flags.
13758
13759 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13760 linker script munging.
13761
13762 2011-07-02 Ulrich Drepper <drepper@gmail.com>
13763
13764 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13765 as 128-bit value.
13766 * crypt/sha512.c (sha512_process_block): Perform total addition using
13767 128-bit if possible.
13768 (__sha512_finish_ctx): Likewise.
13769 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13770 as 64-bit value.
13771 * crypt/sha256.c (SWAP64): Define.
13772 (sha256_process_block): Perform total addition using 64-bit if
13773 possible.
13774 (__sha256_finish_ctx): Likewise.
13775
13776 2011-07-01 Ulrich Drepper <drepper@gmail.com>
13777
13778 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13779 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13780 * nscd/hstcache.c (cache_addhst): Likewise.
13781 * nscd/grpcache.c (cache_addgr): Likewise.
13782 * nscd/aicache.c (addhstaiX): Likewise
13783 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13784
13785 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
13786
13787 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13788 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13789 * nscd/hstcache.c (cache_addhst): Likewise.
13790 * nscd/grpcache.c (cache_addgr): Likewise.
13791 * nscd/aicache.c (addhstaiX): Likewise
13792
13793 2011-07-01 Andreas Schwab <schwab@redhat.com>
13794
13795 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13796 domain only when needed.
13797
13798 2011-06-30 Andreas Schwab <schwab@redhat.com>
13799
13800 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13801 is always restored.
13802
13803 2011-06-29 Ulrich Drepper <drepper@gmail.com>
13804
13805 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13806 are re-adding the entry.
13807 * nscd/servicescache.c (cache_addserv): Likewise.
13808
13809 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13810
13811 * sysdeps/generic/dl-irel.h: fix protection against multiple
13812 inclusions.
13813 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13814
13815 2011-06-28 Ulrich Drepper <drepper@gmail.com>
13816
13817 [BZ #12935]
13818 * malloc/memusage.sh: Fix quoting in message.
13819 * debug/xtrace.sh: Likewise.
13820
13821 * configure.in: Remove support for --experimental-malloc option, make
13822 it the default.
13823 * config.make.in: Likewise.
13824 * malloc/Makefile: Likewise.
13825
13826 2011-06-27 Andreas Schwab <schwab@redhat.com>
13827
13828 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13829 two-byte characters.
13830
13831 2011-06-27 Roland McGrath <roland@hack.frob.com>
13832
13833 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13834 AC_CACHE_CHECK invocation.
13835 * configure: Regenerated.
13836
13837 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13838
13839 2011-06-27 Ulrich Drepper <drepper@gmail.com>
13840
13841 [BZ #12350]
13842 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13843 bit from old_res_options.
13844
13845 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13846
13847 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13848 value type for setfct.
13849
13850 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13851
13852 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13853 __gettimeofday instead of gettimeofday.
13854
13855 2011-06-26 Ulrich Drepper <drepper@gmail.com>
13856
13857 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13858
13859 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13860
13861 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13862
13863 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13864 info.
13865
13866 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13867
13868 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13869 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13870 strcpy-sse2-unaligned strncpy-sse2-unaligned
13871 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13872 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13873 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13874 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13875 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13876 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13877 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13878 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13879 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13880 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13881 (STRCPY): Support SSE2 and SSSE3 versions.
13882
13883 2011-06-24 Ulrich Drepper <drepper@gmail.com>
13884
13885 [BZ #12874]
13886 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13887 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13888 kernels which artificially limit size of requests.
13889
13890 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13891
13892 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13893 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13894 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13895 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13896 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13897 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13898 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13899 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13900 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13901 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13902 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13903 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13904 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13905 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13906 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13907 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13908 Enable unaligned load optimization for Intel Core i3, i5 and i7
13909 processors.
13910 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13911 Define.
13912 (index_Fast_Unaligned_Load): Define.
13913 (HAS_FAST_UNALIGNED_LOAD): Define.
13914
13915 2011-06-23 Marek Polacek <mpolacek@redhat.com>
13916
13917 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13918
13919 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13920
13921 [BZ #12907]
13922 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13923 until it is clear that the information is realy needed.
13924 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13925
13926 2011-06-22 Andreas Schwab <schwab@redhat.com>
13927
13928 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13929
13930 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13931
13932 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13933 /sys/devices/system/cpu/online if it is usable.
13934
13935 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13936 reading the information from the /proc filesystem to once a second.
13937
13938 2011-06-21 Andreas Jaeger <aj@suse.de>
13939
13940 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13941 NULL after inclusion of kernel headers.
13942
13943 2011-06-21 Ulrich Drepper <drepper@gmail.com>
13944
13945 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13946 calls to internal_setent.
13947
13948 [BZ #12885]
13949 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13950 addresses using gethostbyname4_r ignore IPv4 addresses.
13951
13952 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13953 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13954
13955 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13956
13957 2011-06-20 David S. Miller <davem@davemloft.net>
13958
13959 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13960 inclusions.
13961 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13962
13963 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13964 (elf_irel): Use it.
13965 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13966 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13967 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13968 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13969 * sysdeps/x86_64/dl-irel.h: Likewise.
13970
13971 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13972 * elf/dl-sym.c: Likewise.
13973
13974 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13975
13976 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13977 need to dereference resplen2.
13978
13979 2011-06-14 Andreas Schwab <schwab@redhat.com>
13980
13981 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13982
13983 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13984
13985 * Makeconfig: Define vardbdir and inst_vardbdir.
13986 * nss/Makefile: Add rules to install db-Makefile.
13987
13988 * nss/nss_db/db-XXX.c: Cleanup.
13989
13990 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13991 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13992 GLIBC_PRIVATE.
13993 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13994 * nss/makedb.c: Implement -g option to specify that value strings
13995 are generated and should not be added to table iterated over for
13996 get*ent calls.
13997 * nss/nss_db/db-initgroups.c: New file.
13998
13999 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14000 interface.
14001
14002 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14003 (internal_getgrouplist): Adjust to name change.
14004 Update use_initgroups_entry if this is not the first call.
14005 * nss/databases.def: Add initgroups entry.
14006
14007 * nss/makedb.c (compute_tables): Check result of multiple hash table
14008 sizes to minimize maximum chain length.
14009
14010 2011-06-14 Ulrich Drepper <drepper@gmail.com>
14011
14012 * Versions.def: Add entry for libnss_db.
14013 * shlib-versions: Likewise.
14014 * nss/Makefile: Add rules to build libnss_db.
14015 * nss/Versions: Add libnss_db information. Organize libnss_files
14016 entries better.
14017 * nss/db-Makefile: Add gshadow support. Change rules for the new
14018 makedb progra. Some minor improvements to generate smaller files.
14019 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14020 here from...
14021 * nss/makedb.c: ...here.
14022 Improve database format to be smaller and require less memory at
14023 runtime.
14024 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14025 db anymore.
14026 * nss/nss_db/db-netgrp.c: Likewise.
14027 * nss/nss_db/db-open.c: Likewise.
14028 * nss/nss_files/flies-XXX.x: Adjust comments.
14029 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14030 * nss/nss_files/files-grp.c: Likewise.
14031 * nss/nss_files/files-hosts.c: Likewise.
14032 * nss/nss_files/files-network.c: Likewise.
14033 * nss/nss_files/files-proto.c: Likewise.
14034 * nss/nss_files/files-pwd.c: Likewise.
14035 * nss/nss_files/files-rpc.c: Likewise.
14036 * nss/nss_files/files-service.c: Likewise.
14037 * nss/nss_files/files-sgrp.c: Likewise.
14038 * nss/nss_files/files-spwd.c: Likewise.
14039 * nss/nss_db/db-alias.c: Removed.
14040 * nss/nss_db/dummy-db.h: Removed.
14041
14042 2011-06-02 Ulrich Drepper <drepper@gmail.com>
14043
14044 * nss/makedb.c: Rewritten to not use database library.
14045 * nss/Makefile: Update to build new makedb program.
14046
14047 2011-06-14 Andreas Jaeger <aj@suse.de>
14048
14049 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14050 memset declaration.
14051
14052 2011-06-10 Andreas Schwab <schwab@redhat.com>
14053
14054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14055 tmpbuf.
14056
14057 2011-06-10 Roland McGrath <roland@hack.frob.com>
14058
14059 * Makerules (shlib.lds): Fail if the linker script comes out empty.
14060 * elf/Makefile ($(objpfx)ld.so): Likewise.
14061
14062 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14063 Don't list ld.so twice in dependencies.
14064
14065 * posix/bug-regex31.c: Include <stdlib.h>.
14066
14067 * nscd/hstcache.c (cache_addhst): Remove unused variable.
14068
14069 * nis/nss_compat/compat-spwd.c
14070 (getspent_next_nss_netgr): Remove unused variable.
14071 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14072
14073 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14074 nonmembers" output to use the right array.
14075
14076 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14077
14078 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14079
14080 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14081 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14082 * catgets/gencat.c (read_input_file): Likewise.
14083 * locale/programs/locarchive.c (enlarge_archive): Likewise.
14084
14085 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14086 variable definition inside #if's controlling its use.
14087
14088 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14089
14090 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14091
14092 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14093
14094 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14095 unreachable code.
14096
14097 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14098
14099 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14100 * configure: Regenerated.
14101
14102 * Makerules: Revert last change.
14103 * elf/Makefile: Likewise.
14104
14105 2011-06-09 Roland McGrath <roland@hack.frob.com>
14106
14107 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14108 * elf/Makefile ($(objpfx)librtld.os): Likewise.
14109 (reloc-link): Likewise.
14110
14111 2011-06-09 Ulrich Drepper <drepper@gmail.com>
14112
14113 * elf/Makefile: Add rules to build pldd.
14114 * elf/pldd.c: New file.
14115 * elf/pldd-xx.c: New file.
14116
14117 2011-06-07 Ulrich Drepper <drepper@gmail.com>
14118
14119 * version.h: Update for 2.15 development version.
14120
14121 2011-06-07 David S. Miller <davem@davemloft.net>
14122
14123 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14124 ifuncs.
14125 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14126 elf_machine_lazy_rel): Likewise.
14127 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14128 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14129 elf_machine_lazy_rel): Likewise.
14130 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14131 dl_hwcap via passed in argument.
14132 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14133 Likewise.
14134
14135 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14136
14137 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
14138
14139 2011-06-06 Roland McGrath <roland@hack.frob.com>
14140
14141 [BZ #12849]
14142 * manual/fdl-1.1.texi: New file, verbatim from:
14143 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14144 * manual/lgpl-2.1.texi: New file, verbatim from:
14145 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14146 * manual/Makefile (licenses): New variable, list those new file names.
14147 (texis): Use it.
14148 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14149
14150 * manual/fdl.texi: File removed.
14151 * manual/lesser.texi: File removed.
14152 * manual/libc.texinfo (Copying, Documentation License):
14153 Use new @include file names, put @appendix directive before @include.
14154
14155 2011-06-04 Jakub Jelinek <jakub@redhat.com>
14156
14157 [BZ #12841]
14158 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14159 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14160 (mq_open): Add __NTH.
14161
14162 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
14163
14164 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14165 Assume Intel Core i3/i5/i7 processor if AVX is available.
14166
14167 2011-05-31 Ulrich Drepper <drepper@gmail.com>
14168
14169 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14170 typo.
14171
14172 2011-05-31 Andreas Schwab <schwab@redhat.com>
14173
14174 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14175 memory. Use alloca_account. Fix memory leak when retrying.
14176
14177 2011-05-31 Ulrich Drepper <drepper@gmail.com>
14178
14179 * version.h (RELEASE): Bump for 2.14 release.
14180 * include/features.h (__GLIBC_MINOR__): Bump to 14.
14181
14182 * config.make.in (RANLIB): Remove entry.
14183
14184 2011-05-30 Ulrich Drepper <drepper@gmail.com>
14185
14186 * po/Makefile (po-sed-cmd): Add ksh to extensions.
14187 (libc.pot): Work around missing support for .ksh extension in xgettext.
14188
14189 [BZ #12684]
14190 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14191 if both request failed.
14192 (send_dg): In case of server errors clear resplen or *resplen2.
14193
14194 [BZ #12454]
14195 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14196 when there are multiple maps.
14197 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14198 (_dl_fini): Remove test here.
14199
14200 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14201
14202 2011-05-29 Ulrich Drepper <drepper@gmail.com>
14203
14204 [BZ #12350]
14205 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14206 bit from old_res_options.
14207 (gaih_inet): Likewise.
14208
14209 [BZ #11099]
14210 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
14211 as signed.
14212
14213 * resolv/res_init.c (res_setoptions): Make the code more compact.
14214
14215 [BZ #11558]
14216 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14217 set RES_USEVC.
14218
14219 [BZ #11634]
14220 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14221
14222 * malloc/malloc.h: Mark malloc hook variables as deprecated.
14223
14224 [BZ #11781]
14225 * malloc/malloc.h: Declare malloc hook variables as volatile.
14226
14227 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14228 in last patch.
14229
14230 [BZ #11799]
14231 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
14232 raise in the comment.
14233 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14234 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14235 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
14236
14237 2011-05-28 Ulrich Drepper <drepper@gmail.com>
14238
14239 [BZ #12811]
14240 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14241 grow the buffers more if it already has to be sufficient.
14242 (build_wcs_upper_buffer): Likewise.
14243 * posix/regexec.c (check_matching): Likewise.
14244 (clean_state_log_if_needed): Likewise.
14245 (extend_buffers): Don't enlarge buffers beyond size of the input
14246 buffer.
14247 Patches mostly by Emil Wojak <emil@wojak.eu>.
14248 * posix/bug-regex32.c: New file.
14249 * posix/Makefile (tests): Add bug-regex32.
14250
14251 * locale/findlocale.c (_nl_find_locale): Return right away if
14252 _nl_explode_name failed.
14253 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14254
14255 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14256
14257 * debug/xtrace.sh: Unify messages.
14258 * malloc/memusage.sh: Likewise.
14259
14260 [BZ #12813]
14261 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
14262 time symbol from vDSO. Substitute with vsyscall if not available.
14263 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
14264 __vdso_time.
14265
14266 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14267 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14268 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14269 Add sendmmsg and internal_sendmmsg.
14270 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14271 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14272 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14273
14274 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14275 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14276 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14277
14278 2011-05-27 Ulrich Drepper <drepper@gmail.com>
14279
14280 [BZ #12813]
14281 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
14282 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
14283 available.
14284 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14285 __vdso_getcpu.
14286
14287 [BZ #12814]
14288 * iconvdata/Makefile (tests): Add bug-iconv9.
14289 * iconvdata/bug-iconv9.c: New file.
14290
14291 2011-05-27 Andreas Schwab <schwab@redhat.com>
14292
14293 [BZ #12814]
14294 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14295
14296 2011-05-25 Jakub Jelinek <jakub@redhat.com>
14297
14298 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14299 (struct user_regs_struct): Change intcs field back to cs.
14300
14301 2011-05-25 Ulrich Drepper <drepper@gmail.com>
14302
14303 * po/ja.po: Update from translation team.
14304
14305 2011-05-23 Ulrich Drepper <drepper@gmail.com>
14306
14307 [BZ #12795]
14308 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14309 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14310
14311 2011-05-20 Andreas Schwab <schwab@redhat.com>
14312
14313 * stdlib/longlong.h: Update from GCC.
14314
14315 2011-05-23 Andreas Schwab <schwab@redhat.com>
14316
14317 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14318 parameter name.
14319 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14320 Add parameter name.
14321 (__sysconf): Pass it down.
14322
14323 2011-05-22 Ulrich Drepper <drepper@gmail.com>
14324
14325 [BZ #12671]
14326 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14327 some situations.
14328 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14329 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14330 add in in __libc_use_alloca calls. Adjust callers.
14331 (glob): Use malloc in some situations.
14332
14333 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14334 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14335 pltexit.
14336
14337 2011-05-21 Ulrich Drepper <drepper@gmail.com>
14338
14339 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14340 and CLOCK_BOOTTIME_ALARM.
14341
14342 [BZ #12782]
14343 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14344 is returned.
14345
14346 * string/_strerror.c (__strerror_r): Print negative errors as signed
14347 numbers.
14348
14349 [BZ #12777]
14350 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14351 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14352 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14353
14354 * configure.in: Fix typo in redirection and correct removal of test
14355 files in two cases.
14356
14357 [BZ #12788]
14358 * locale/setlocale.c (new_composite_name): Fix test to check for
14359 identical name of all categories.
14360
14361 [BZ #12792]
14362 * libio/filedoalloc.c (local_isatty): New function.
14363 (_IO_file_doallocate): Use local_isatty.
14364 * stdio-common/perror.c (perror): In case a new stream is used
14365 forward the stream error.
14366 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14367 error flag.
14368
14369 2011-05-20 Ulrich Drepper <drepper@gmail.com>
14370
14371 [BZ #11869]
14372 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14373 alloca.
14374 * include/alloca.h (extend_alloca_account): Define.
14375
14376 [BZ #11857]
14377 * posix/regex.h: Fix comments with documentation of user-accessible
14378 fields after compilation and describe correct free'ing of pattern
14379 after re_compile_pattern.
14380 Patch by Reuben Thomas <rrt@sc3d.org>.
14381
14382 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14383
14384 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14385 and -mno-altivec to prevent the compiler from using Altivec and/or
14386 VSX instructions when the corresponding registers are not available.
14387
14388 2011-05-19 Andreas Schwab <schwab@redhat.com>
14389
14390 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14391
14392 2011-05-19 Ulrich Drepper <drepper@gmail.com>
14393
14394 * libio/freopen.c (freopen): Use __dup2, not dup2.
14395 * libio/freopen64.c (freopen64): Likewise.
14396
14397 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14398
14399 [BZ #12775]
14400 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14401 * math/Makefile (tests): Add test-powl.
14402 (CFLAGS-test-powl.c): Define.
14403 * math/test-powl.c: New file.
14404
14405 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14406
14407 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14408
14409 2011-05-17 Ulrich Drepper <drepper@gmail.com>
14410
14411 [BZ #11837]
14412 * iconvdata/gb18030.c: Update to GB18020-2005.
14413
14414 2011-05-16 Ulrich Drepper <drepper@gmail.com>
14415
14416 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14417 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14418 Patch by Aharon Robbins <arnold@skeeve.com>.
14419
14420 [BZ #11892]
14421 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14422 on the stack.
14423
14424 [BZ #11895]
14425 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14426 through underflows.
14427
14428 [BZ #12766]
14429 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14430 point to strings before performing equality test for error_one_per_line
14431 mode.
14432
14433 [BZ #11697]
14434 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14435
14436 [BZ #11820]
14437 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14438 (struct user_fpregs_struct): Avoid __uint*_t types.
14439
14440 [BZ #6420]
14441 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14442 symbol info. Use it instead of calling _dl_addr locally.
14443 (lock_and_info): New function.
14444 (tr_freehook): Call lock_and_info and pass symbol info as additional
14445 parameter to tr_where.
14446 (tr_mallochook): Likewise.
14447 (tr_reallochook): Likewise.
14448 (tr_memalignhook): Likewise.
14449
14450 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14451 used and couldn't be at all thread-safe.
14452
14453 2011-05-15 Ulrich Drepper <drepper@gmail.com>
14454
14455 * libio/freopen.c (freopen): Don't close old file descriptor
14456 before the new one is opened. Instead dup the new file descriptor
14457 to the old one after the new stream is created.
14458 * libio/freopen64.c (freopen64): Likewise.
14459 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14460 * libio/fileops.c (_IO_new_file_close_it): Handle new
14461 _IO_FLAGS2_NOCLOSE flag.
14462 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14463 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14464 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14465 _IO_FLAGS2_NOCLOSE flag.
14466 * include/unistd.h: Add hidden_proto for dup3.
14467 Define __have_dup3.
14468 * io/dup3.c: Define hidden symbol.
14469 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14470
14471 [BZ #7101]
14472 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14473 when an incomplete long option is used.
14474 * posix/tst-getopt_long1.c: New file.
14475 * posix/Makefile (tests): Add tst-getopt_long1.
14476
14477 [BZ #10138]
14478 * scripts/config.guess: Update from autoconf-2.68.
14479 * scripts/config.sub: Likewise.
14480
14481 [BZ #10157]
14482 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14483 tests into ...
14484 (has_cpuclock): ...this. New function.
14485 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14486 macro here based on has_cpuclock code.
14487
14488 [BZ #10149]
14489 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14490 First byte (not low byte) is now always NUL.
14491 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14492
14493 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14494 Use non-cancelable interfaces.
14495
14496 [BZ #9809]
14497 * locale/iso-639.def: Add entry for Sorani.
14498
14499 [BZ #11901]
14500 * include/stdlib.h: Move include protection to the right place.
14501 Define abort_msg_s. Declare __abort_msg with it.
14502 * stdlib/abort.c (__abort_msg): Adjust type.
14503 * assert/assert.c (__assert_fail_base): New function. Majority
14504 of code from __assert_fail. Allocate memory for __abort_msg with
14505 mmap.
14506 (__assert_fail): Now call __assert_fail_base.
14507 * assert/assert-perr.c: Remove bulk of implementation. Use
14508 __assert_fail_base.
14509 * include/assert.hL Declare __assert_fail_base.
14510 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14511 mmap.
14512 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14513
14514 2011-05-14 Ulrich Drepper <drepper@gmail.com>
14515
14516 [BZ #11952]
14517 [BZ #12453]
14518 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14519 until all modules are registered in the DTV.
14520 * elf/Makefile: Add rules to build and run tst-tls19.
14521 * elf/tst-tls19.c: New file.
14522 * elf/tst-tls19mod1.c: New file.
14523 * elf/tst-tls19mod2.c: New file.
14524 * elf/tst-tls19mod3.c: New file.
14525 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14526
14527 [BZ #12083]
14528 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14529 correctly.
14530
14531 [BZ #12601]
14532 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14533 two-byte sequence errors.
14534 * iconvdata/Makefile (tests): Add bug-iconv8.
14535 * iconvdata/bug-iconv8.c: New file.
14536
14537 [BZ #12626]
14538 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14539 buf2 definition.
14540
14541 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14542
14543 [BZ #12432]
14544 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14545 (dummy_getcfa): New function.
14546 (init): Get _Unwind_GetCFA address, use dummy if not found.
14547 (backtrace_helper): In recursion check, also check whether CFA changes.
14548 (__backtrace): Completely initialize arg.
14549
14550 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
14551 storing incomplete byte sequence in state object. Avoid testing for
14552 guaranteed too small input if we know there is enough data available.
14553
14554 2011-05-11 Andreas Schwab <schwab@redhat.com>
14555
14556 * Makeconfig (+link-pie): Indent.
14557 * Rules (binaries-pie): Define if $(have-fpie) and
14558 $(build-shared).
14559 (binaries-shared): Also filter out $(binaries-pie).
14560 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14561 * nscd/Makefile (others-pie): Add nscd.
14562 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14563 ($(objpfx)nscd): Remove command override.
14564 * login/Makefile (others-pie): Add pt_chown.
14565 ($(objpfx)pt_chown): Remove command override.
14566 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14567 remove command overrides.
14568
14569 2011-05-13 Ulrich Drepper <drepper@gmail.com>
14570
14571 * libio/tst_putwc.c: Fix error messages.
14572
14573 [BZ #12724]
14574 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14575 currently writing and seek to current position when not.
14576 * libio/Makefile (tests): Add bug-fclose1.
14577 * libio/bug-fclose1.c: New file.
14578
14579 2011-05-12 Ulrich Drepper <drepper@gmail.com>
14580
14581 [BZ #12511]
14582 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14583 don't set DF_1_NODELETE here.
14584 (do_lookup_x): When entering new entry test for copy relocation
14585 and if necessary set DF_1_NODELETE flag.
14586 * elf/tst-unique4.cc: New file.
14587 * elf/tst-unique4.h: New file.
14588 * elf/tst-unique4lib.cc: New file.
14589 * elf/Makefile: Add rules to build and run tst-unique4.
14590 Patch by Piotr Bury <pbury@goahead.com>.
14591
14592 2011-05-11 Ulrich Drepper <drepper@gmail.com>
14593
14594 [BZ #12052]
14595 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14596
14597 [BZ #12625]
14598 * misc/mntent_r.c (addmntent): Flush the stream after the output
14599
14600 [BZ #12393]
14601 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14602 (is_trusted_path_normalize): Skip initial colon. Append slash
14603 to empty buffer. Duplicate is_trusted_path code but allow
14604 constructed patch to be prefix.
14605 (is_dst): Allow $ORIGIN followed by /.
14606 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14607 Correct testing of result of is_trusted_path_normalize
14608 (decompose_rpath): Fix warning.
14609
14610 2011-05-10 Ulrich Drepper <drepper@gmail.com>
14611
14612 [BZ #11257]
14613 * grp/initgroups.c (internal_getgrouplist): When we found the service
14614 list through the initgroups entry in nsswitch.conf do not always
14615 continue on a successful lookup. Don't always use the
14616 __nss_group_database value if it is set.
14617 * nss/nsswitch.conf (initgroups): Change action for successful db
14618 lookup to continue for compatibility.
14619
14620 2011-05-09 Ulrich Drepper <drepper@gmail.com>
14621
14622 [BZ #11532]
14623 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14624 and CP774 modules.
14625 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14626 and CP774 modules.
14627 * iconvdata/tst-tables.sh: Likewise.
14628 * iconvdata/cp770.c: New file.
14629 * iconvdata/cp771.c: New file.
14630 * iconvdata/cp772.c: New file.
14631 * iconvdata/cp773.c: New file.
14632 * iconvdata/cp774.c: New file.
14633 * iconvdata/testdata/CP770: New file.
14634 * iconvdata/testdata/CP770..UTF8: New file.
14635 * iconvdata/testdata/CP771: New file.
14636 * iconvdata/testdata/CP771..UTF8: New file.
14637 * iconvdata/testdata/CP772: New file.
14638 * iconvdata/testdata/CP772..UTF8: New file.
14639 * iconvdata/testdata/CP773: New file.
14640 * iconvdata/testdata/CP773..UTF8: New file.
14641 * iconvdata/testdata/CP774: New file.
14642 * iconvdata/testdata/CP774..UTF8: New file.
14643
14644 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14645 END CHARMAP line.
14646 * iconvdata/gen-8bit-gap.sh: Likewise.
14647 * iconvdata/gen-8bit.sh: Likewise.
14648
14649 * locale/iso-639.def: Add ary entry.
14650
14651 [BZ #11258]
14652 * locale/C-translit.h.in: Add U20A1 transliteration.
14653
14654 [BZ #12178]
14655 * locale/iso-639.def: Add wae entry.
14656 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14657
14658 [BZ #12545]
14659 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14660 for n.
14661
14662 [BZ #12711]
14663 * locale/C-translit.h.in: Add entry for U20B9.
14664 Patch by pravin.d.s@gmail.com.
14665
14666 2011-05-08 Ulrich Drepper <drepper@gmail.com>
14667
14668 [BZ #12713]
14669 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14670 ENAMETOOLONG use generic getcwd.
14671 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14672 in rtld. Use *stat64.
14673 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
14674 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
14675 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
14676 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14677 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14678 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14679 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14680 __fstatat64 macros.
14681 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14682 * dirent/rewinddir.c: Add libc_hidden_def.
14683 * sysdeps/mach/hurd/rewinddir.c: Likewise.
14684 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
14685
14686 * include/dirent.h (__alloc_dir): Add flags parameter.
14687 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14688 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14689 __alloc_dir.
14690 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14691 from fdopendir if O_CLOEXEC is already set.
14692
14693 2011-03-15 Alan Modra <amodra@gmail.com>
14694
14695 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14696 l_tls_firstbyte_offset non-zero. Save padding offset in
14697 l_tls_firstbyte_offset for later use.
14698 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14699 freeing static tls block.
14700
14701 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14702
14703 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14704 where #ifdef was intended. The intent is to prevent ARG_MAX from
14705 being defined by the kernel headers.
14706
14707 2011-05-07 Ulrich Drepper <drepper@gmail.com>
14708
14709 [BZ #12734]
14710 * resolv/resolv.h: Define RES_NOTLDQUERY.
14711 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14712 no-tld-query and set RES_NOTLDQUERY.
14713 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14714 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14715 modern BIND to search name as TLD unless forbidden.
14716
14717 2011-05-07 Petr Baudis <pasky@suse.cz>
14718 Ulrich Drepper <drepper@gmail.com>
14719
14720 [BZ #12393]
14721 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14722 (is_trusted_path): ...to here.
14723 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
14724 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
14725 using is_trusted_path_normalize() in setuid scripts.
14726
14727 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14728
14729 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14730 __BEGIN/__END_DECLS.
14731
14732 2011-05-06 Ulrich Drepper <drepper@gmail.com>
14733
14734 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14735 NSS_STATUS_NOTFOUND if no record was found.
14736
14737 2011-05-05 Andreas Schwab <schwab@redhat.com>
14738
14739 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14740 (headers-not-in-tirpc): Remove rpc/netdb.h
14741 * resolv/netdb.h: Revert last change.
14742
14743 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14744
14745 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14746 circular dependency between libgcc.a and libc.a.
14747
14748 2011-05-05 Andreas Schwab <schwab@redhat.com>
14749
14750 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14751 * nis/Makefile: Don't install rpcsvc/*.
14752 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14753 instead of <rpc/types.h>.
14754 (MAXHOSTNAMELEN): Define.
14755
14756 2011-05-03 Andreas Schwab <schwab@redhat.com>
14757
14758 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14759
14760 2011-04-28 Maciej Babinski <mbabinski@google.com>
14761
14762 [BZ #12714]
14763 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14764 gethostbyname4_r when IPv6 results are possible.
14765
14766 2011-05-02 Ulrich Drepper <drepper@gmail.com>
14767
14768 [BZ #12723]
14769 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14770 _PC_PIPE_BUF handling.
14771
14772 2011-04-30 Bruno Haible <bruno@clisp.org>
14773
14774 [BZ #12717]
14775 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14776 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14777 to 'int'.
14778 * inet/getnameinfo.c (getnameinfo): Likewise.
14779
14780 2011-04-29 Ulrich Drepper <drepper@gmail.com>
14781
14782 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14783 to groups setting in database lookup.
14784 * nss/nsswitch.conf: Add initgroups entry.
14785
14786 2011-04-22 Ulrich Drepper <drepper@gmail.com>
14787
14788 [BZ #12685]
14789 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14790 mode string.
14791 Patch by Eric Blake <eblake@redhat.com>.
14792
14793 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14794
14795 * sunrpc/Makefile (need-export-routines): Add svc_run.
14796 (routines): Remove svc_run.
14797 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14798 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14799 * sunrpc/svc_run.c (svc_run): Likewise.
14800 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14801
14802 2011-04-21 Ulrich Drepper <drepper@gmail.com>
14803
14804 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14805 problem in reallocation in last patch.
14806
14807 2011-04-20 Ulrich Drepper <drepper@gmail.com>
14808
14809 * sunrpc/Makefile: Move inclusion of Rules.
14810
14811 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14812
14813 * nss/nss_files/files-initgroups.c: New file.
14814 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14815 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14816 _nss_files_initgroups_dyn.
14817
14818 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14819
14820 * elf/elf.h (R_ARM_IRELATIVE): Define.
14821
14822 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14823
14824 * po/ru.po: Update from translation team.
14825
14826 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14827
14828 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14829 dependencies.
14830
14831 2011-02-06 Mike Frysinger <vapier@gentoo.org>
14832
14833 [BZ #12653]
14834 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14835 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14836 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14837 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14838 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14839
14840 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14841
14842 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14843 differing bytes.
14844 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14845 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14846 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14847
14848 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14849
14850 [BZ #12420]
14851 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14852 storing it.
14853 * stdlib/bug-getcontext.c: New file.
14854 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14855
14856 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14857
14858 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14859 instructions into .machine "z9-109".
14860 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14861 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14862
14863 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14864
14865 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14866 between environment variables and auxiliary vector.
14867
14868 2011-04-16 Ulrich Drepper <drepper@gmail.com>
14869
14870 * Makefile: Add rules to build linkobj/libc.so.
14871 * include/libc-symbols.h: Define libc_hidden_nolink.
14872 * include/rpc/auth.h: Mark functions which are to be hidden.
14873 * include/rpc/auth_des.h: Likewise.
14874 * include/rpc/auth_unix.h: Likewise.
14875 * include/rpc/clnt.h: Likewise.
14876 * include/rpc/des_crypt.h: Likewise.
14877 * include/rpc/key_prot.h: Likewise.
14878 * include/rpc/pmap_clnt.h: Likewise.
14879 * include/rpc/pmap_prot.h: Likewise.
14880 * include/rpc/pmap_rmt.h: Likewise.
14881 * include/rpc/rpc_msg.h: Likewise.
14882 * include/rpc/svc.h: Likewise.
14883 * include/rpc/svc_auth.h: Likewise.
14884 * include/rpc/xdr.h: Likewise.
14885 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14886 * nss/Makefile: Likewise.
14887 * sunrpc/Makefile: Don't install headers. Build library with normal
14888 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14889 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14890 for the compat linking library. Remove use of INTDEF/INTUSE.
14891 * sunrpc/auth_none.c: Likewise.
14892 * sunrpc/auth_unix.c: Likewise.
14893 * sunrpc/authdes_prot.c: Likewise.
14894 * sunrpc/authuxprot.c: Likewise.
14895 * sunrpc/clnt_gen.c: Likewise.
14896 * sunrpc/clnt_perr.c: Likewise.
14897 * sunrpc/clnt_raw.c: Likewise.
14898 * sunrpc/clnt_simp.c: Likewise.
14899 * sunrpc/clnt_tcp.c: Likewise.
14900 * sunrpc/clnt_udp.c: Likewise.
14901 * sunrpc/clnt_unix.c: Likewise.
14902 * sunrpc/des_crypt.c: Likewise.
14903 * sunrpc/des_soft.c: Likewise.
14904 * sunrpc/get_myaddr.c: Likewise.
14905 * sunrpc/key_call.c: Likewise.
14906 * sunrpc/key_prot.c: Likewise.
14907 * sunrpc/netname.c: Likewise.
14908 * sunrpc/pm_getmaps.c: Likewise.
14909 * sunrpc/pm_getport.c: Likewise.
14910 * sunrpc/pmap_clnt.c: Likewise.
14911 * sunrpc/pmap_prot.c: Likewise.
14912 * sunrpc/pmap_prot2.c: Likewise.
14913 * sunrpc/pmap_rmt.c: Likewise.
14914 * sunrpc/publickey.c: Likewise.
14915 * sunrpc/rpc_cmsg.c: Likewise.
14916 * sunrpc/rpc_common.c: Likewise.
14917 * sunrpc/rpc_dtable.c: Likewise.
14918 * sunrpc/rpc_prot.c: Likewise.
14919 * sunrpc/rpc_thread.c: Likewise.
14920 * sunrpc/rtime.c: Likewise.
14921 * sunrpc/svc.c: Likewise.
14922 * sunrpc/svc_auth.c: Likewise.
14923 * sunrpc/svc_authux.c: Likewise.
14924 * sunrpc/svc_raw.c: Likewise.
14925 * sunrpc/svc_run.c: Likewise.
14926 * sunrpc/svc_simple.c: Likewise.
14927 * sunrpc/svc_tcp.c: Likewise.
14928 * sunrpc/svc_udp.c: Likewise.
14929 * sunrpc/svc_unix.c: Likewise.
14930 * sunrpc/svcauth_des.c: Likewise.
14931 * sunrpc/xcrypt.c: Likewise.
14932 * sunrpc/xdr.c: Likewise.
14933 * sunrpc/xdr_array.c: Likewise.
14934 * sunrpc/xdr_float.c: Likewise.
14935 * sunrpc/xdr_intXX_t.c: Likewise.
14936 * sunrpc/xdr_mem.c: Likewise.
14937 * sunrpc/xdr_rec.c: Likewise.
14938 * sunrpc/xdr_ref.c: Likewise.
14939 * sunrpc/xdr_sizeof.c: Likewise.
14940 * sunrpc/xdr_stdio.c: Likewise.
14941
14942 2011-04-10 Ulrich Drepper <drepper@gmail.com>
14943
14944 [BZ #12650]
14945 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14946 * sysdeps/ia64/dl-tls.h: Likewise.
14947 * sysdeps/powerpc/dl-tls.h: Likewise.
14948 * sysdeps/s390/dl-tls.h: Likewise.
14949 * sysdeps/sh/dl-tls.h: Likewise.
14950 * sysdeps/sparc/dl-tls.h: Likewise.
14951 * sysdeps/x86_64/dl-tls.h: Likewise.
14952 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14953
14954 2011-03-14 Andreas Schwab <schwab@redhat.com>
14955
14956 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14957 rpath element also skip the following colon.
14958 (expand_dynamic_string_token): Add is_path parameter and pass
14959 down to DL_DST_REQUIRED and _dl_dst_substitute.
14960 (decompose_rpath): Call expand_dynamic_string_token with
14961 non-zero is_path. Ignore empty rpaths.
14962 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14963 with zero is_path.
14964
14965 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14966
14967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14968 Make cancelable.
14969
14970 2011-04-09 Ulrich Drepper <drepper@gmail.com>
14971
14972 [BZ #12655]
14973 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14974 Patch by Filipe David Manana <fdmanana@apache.org>.
14975
14976 2011-04-07 Andreas Schwab <schwab@redhat.com>
14977
14978 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14979 Maintain aligned stack.
14980 (CHECK_RSP): Remove unused macro.
14981
14982 2011-04-03 Ulrich Drepper <drepper@gmail.com>
14983
14984 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14985 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14986
14987 2011-04-02 Ulrich Drepper <drepper@gmail.com>
14988
14989 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14990
14991 * include/features.h: Mention __USE_XOPEN2K8 in comment.
14992
14993 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14994
14995 [BZ #12518]
14996 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14997 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14998 * sysdeps/x86_64/memmove.c: New file.
14999 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15000 (memcpy): Renamed to ...
15001 (__new_memcpy): This.
15002 (memcpy): Provide GLIBC_2_14 memcpy.
15003 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15004 (memcpy): Provide GLIBC_2_2_5 memcpy.
15005
15006 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15007
15008 [BZ #12631]
15009 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15010
15011 2011-03-30 Andreas Schwab <schwab@redhat.com>
15012
15013 * misc/syncfs.c: New file.
15014 * misc/Makefile (routines): Add syncfs.
15015 * posix/unistd.h: Declare syncfs.
15016 * sysdeps/unix/syscalls.list: Add syncfs.
15017
15018 2011-04-01 Andreas Schwab <schwab@redhat.com>
15019
15020 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15021 open_by_handle_at.
15022 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15023 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15024 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15025 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15026 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15027 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15028 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15029
15030 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15031
15032 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15033 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15034 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15035 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15036 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15037 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15038 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15039
15040 * io/Makefile: Compile fallocate.c, fallocate64.c, and
15041 sync_file_range.c with -fexceptions.
15042 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15043 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15044 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15045 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15046 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15047 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15048 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
15049 sync_file_range as cancellation point
15050 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
15051 now a wrapper around __call_sync_file_range with cancellation handling.
15052 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15053 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
15054 function name to __call_sync_file_range.
15055 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15056 Add call_sync_file_range.
15057
15058 2011-04-01 Andreas Schwab <schwab@redhat.com>
15059
15060 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15061 bits/timex.h.
15062
15063 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15064
15065 * iconv/iconv.h: Fix typo in comment.
15066 * io/fcntl.h: Likewise.
15067 * libio/stdio.h: Likewise.
15068 * posix/spawn.h: Likewise.
15069 * posix/unistd.h: Likewise.
15070 * stdlib/stdlib.h: Likewise.
15071 * time/time.h: Likewise.
15072 * wcsmbs/wchar.h: Likewise.
15073
15074 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15075 open_by_handle): Add.
15076 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15077 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
15078 Augment a few comments.
15079 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15080 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15081 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15082 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15083 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15084 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15085 open_by_handle.
15086
15087 * io/fcntl.h (AT_EMPTY_PATH): Define.
15088
15089 2011-03-30 Ulrich Drepper <drepper@gmail.com>
15090
15091 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15092 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15093 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15094 to...
15095 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
15096 * Versions.def: Add GLIBC_2.14.
15097 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15098 Export.
15099
15100 2011-03-22 Ulrich Drepper <drepper@gmail.com>
15101
15102 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15103 round counter.
15104 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15105
15106 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
15107
15108 [BZ #12597]
15109 * string/test-strncmp.c (do_page_test): New function.
15110 (check2): Likewise.
15111 (test_main): Call check2.
15112 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15113
15114 2011-03-20 Ulrich Drepper <drepper@gmail.com>
15115
15116 [BZ #12587]
15117 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15118 Handle cache information in CPU leaf 4.
15119 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15120
15121 2011-03-18 Ulrich Drepper <drepper@gmail.com>
15122
15123 [BZ #12583]
15124 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15125 character representation.
15126 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15127
15128 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
15129
15130 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15131 END(__isnan) to END(__isnanf) to match function entry point/label
15132 EALIGN(__isnanf,...).
15133
15134 2011-03-10 Jakub Jelinek <jakub@redhat.com>
15135
15136 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15137
15138 2011-03-10 Ulrich Drepper <drepper@gmail.com>
15139
15140 [BZ #12510]
15141 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15142 copy from the symbol referenced in the relocation to initialize the
15143 used variable.
15144 Patch by Piotr Bury <pbury@goahead.com>.
15145 * elf/Makefile: Add rules to build and tst-unique3.
15146 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15147 * elf/tst-unique3.cc: New file.
15148 * elf/tst-unique3.h: New file.
15149 * elf/tst-unique3lib.cc: New file.
15150 * elf/tst-unique3lib2.cc: New file.
15151
15152 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15153
15154 2011-03-10 Mike Frysinger <vapier@gentoo.org>
15155
15156 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15157 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
15158 to _start.
15159
15160 2011-03-06 Ulrich Drepper <drepper@gmail.com>
15161
15162 * elf/dl-load.c (_dl_map_object): If we are looking for the first
15163 to-be-loaded object along a path to loader is ld.so.
15164
15165 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15166 Ulrich Drepper <drepper@gmail.com>
15167
15168 * sysdeps/x86_64/memset.S: After aligning destination, code
15169 branches to different locations depending on the value of
15170 misalignment, when multiarch is enabled. Fix this.
15171
15172 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15173
15174 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15175 Set _x86_64_preferred_memory_instruction for AMD processsors.
15176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15177 Set bit_Prefer_SSE_for_memop for AMD processors.
15178
15179 2011-03-04 Ulrich Drepper <drepper@gmail.com>
15180
15181 * libio/fmemopen.c (fmemopen): Optimize a bit.
15182
15183 2011-03-03 Andreas Schwab <schwab@redhat.com>
15184
15185 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15186
15187 2011-03-03 Roland McGrath <roland@redhat.com>
15188
15189 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15190
15191 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
15192
15193 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
15194 __bzero_ultra1 instead of __memset_ultra1.
15195
15196 2011-02-23 Andreas Schwab <schwab@redhat.com>
15197 Ulrich Drepper <drepper@gmail.com>
15198
15199 [BZ #12509]
15200 * include/link.h (struct link_map): Add l_orig_initfini.
15201 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15202 returning unsuccessfully.
15203 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15204 close of a file loaded at startup, restore the original l_initfini
15205 list.
15206 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15207 list, store the pointer.
15208 * elf/Makefile ($(objpfx)noload-mem): New rule.
15209 (noload-ENV): Define.
15210 (tests): Add $(objpfx)noload-mem.
15211 * elf/noload.c: Include <memcheck.h>.
15212 (main): Call mtrace. Close all opened handles.
15213
15214 2011-02-17 Andreas Schwab <schwab@redhat.com>
15215
15216 [BZ #12454]
15217 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15218 dependencies are missing.
15219
15220 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15221
15222 Fix __if_freereq crash: Unlike the generic version which uses free,
15223 Hurd needs munmap.
15224 * sysdeps/mach/hurd/ifreq.h: New file.
15225
15226 2011-01-27 Petr Baudis <pasky@suse.cz>
15227 Ulrich Drepper <drepper@gmail.com>
15228
15229 [BZ 12445]#
15230 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15231 to extend_alloca().
15232 * stdio-common/bug23.c: New file.
15233 * stdio-common/Makefile (tests): Add bug23.
15234
15235 2010-09-28 Andreas Schwab <schwab@redhat.com>
15236 Ulrich Drepper <drepper@gmail.com>
15237
15238 [BZ #12489]
15239 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15240 before performing relro protection. At old place add assertion
15241 to make sure nothing changed.
15242
15243 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
15244 Glauber de Oliveira Costa <glommer@gmail.com>
15245
15246 * elf/elf.h: Add new ARM TLS relocs.
15247
15248 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
15249
15250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15251 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15252 cast from r3.
15253 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
15254 'tests' variable.
15255 * sysdeps/wordsize-64/tst-writev.c: New file.
15256
15257 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
15258
15259 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
15260 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
15261 insns in _dl_start to prevent a TOC reference before relocs are
15262 resolved.
15263
15264 2011-02-15 Ulrich Drepper <drepper@gmail.com>
15265
15266 [BZ #12469]
15267 * Makeconfig: Remove RANLIB definition.
15268 * Makerules: Don't use RANLIB.
15269 * aclocal.m4: Remove ranlib test.
15270 * configure.in: No need to check for ranlib.
15271 * elf/rtld-Rules: Don't use RANLIB.
15272
15273 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15274
15275 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15276 protection macro.
15277 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15278 inclusion protection macro.
15279
15280 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
15281 SIGRTMIN and SIGRTMAX and print information in that case only when
15282 SIGRTMIN is defined.
15283
15284 2011-02-11 Jakub Jelinek <jakub@redhat.com>
15285
15286 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15287 arginfo fn returning -1.
15288
15289 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15290 and thousands string is zero terminated.
15291
15292 2011-02-03 Andreas Schwab <schwab@redhat.com>
15293
15294 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15295 sysdeps/unix/sysv/linux/bits/socket.h.
15296
15297 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15298
15299 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15300 (__CPU_COUNT): Remove old macros.
15301 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15302 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15303 (__CPU_ALLOC, __CPU_FREE): Add macros.
15304 (__sched_cpualloc, __sched_cpufree): Add declarations.
15305
15306 2011-02-05 Ulrich Drepper <drepper@gmail.com>
15307
15308 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15309 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15310 * nscd/aicache.c (addhstaiX): Return timeout of added value.
15311 (readdhstai): Return value of addhstaiX call.
15312 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15313 (addgrbyX): Return value returned by cache_addgr.
15314 (readdgrbyname): Return value returned by addgrbyX.
15315 (readdgrbygid): Likewise.
15316 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15317 (addpwbyX): Return value returned by cache_addpw.
15318 (readdpwbyname): Return value returned by addhstbyX.
15319 (readdpwbyuid): Likewise.
15320 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15321 (addservbyX): Return value returned by cache_addserv.
15322 (readdservbyname): Return value returned by addservbyX:
15323 (readdservbyport): Likewise.
15324 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15325 (addhstbyX): Return value returned by cache_addhst.
15326 (readdhstbyname): Return value returned by addhstbyX.
15327 (readdhstbyaddr): Likewise.
15328 (readdhstbynamev6): Likewise.
15329 (readdhstbyaddrv6): Likewise.
15330 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15331 (readdinitgroups): Return value returned by addinitgroupsX.
15332 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15333 (prune_cache): Keep track of timeout value of re-added entries.
15334 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15335 * nscd/nscd.h: Adjust prototypes of readd* functions.
15336
15337 2011-02-04 Roland McGrath <roland@redhat.com>
15338
15339 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15340 (nis_stats): Likewise.
15341 * nis/nis_modify.c (nis_modify): Likewise.
15342 * nis/nis_remove.c (nis_remove): Likewise.
15343 * nis/nis_add.c (nis_add): Likewise.
15344
15345 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15346
15347 * posix/fnmatch_loop.c: Add some consts.
15348
15349 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15350
15351 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15352
15353 [BZ #12460]
15354 * config.make.in (config-cflags-novzeroupper): Define.
15355 * configure.in: Substitute libc_cv_cc_novzeroupper.
15356 * elf/Makefile (AVX-CFLAGS): Define.
15357 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15358 (CFLAGS-tst-auditmod4a.c): Likewise.
15359 (CFLAGS-tst-auditmod4b.c): Likewise.
15360 (CFLAGS-tst-auditmod6b.c): Likewise.
15361 (CFLAGS-tst-auditmod6c.c): Likewise.
15362 (CFLAGS-tst-auditmod7b.c): Likewise.
15363 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15364
15365 2011-02-02 Ulrich Drepper <drepper@gmail.com>
15366
15367 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15368 function to the callback.
15369 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15370
15371 2011-02-02 Andreas Schwab <schwab@redhat.com>
15372
15373 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15374 of errno.
15375
15376 2011-01-19 Ulrich Drepper <drepper@gmail.com>
15377
15378 [BZ #11724]
15379 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15380 of constructors.
15381 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15382 of destructors.
15383 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15384
15385 [BZ #11724]
15386 * elf/Makefile: Add rules to build and run new test.
15387 * elf/tst-initorder.c: New file.
15388 * elf/tst-initorder.exp: New file.
15389 * elf/tst-initordera1.c: New file.
15390 * elf/tst-initordera2.c: New file.
15391 * elf/tst-initordera3.c: New file.
15392 * elf/tst-initordera4.c: New file.
15393 * elf/tst-initorderb1.c: New file.
15394 * elf/tst-initorderb2.c: New file.
15395 * elf/tst-order-a1.c: New file.
15396 * elf/tst-order-a2.c: New file.
15397 * elf/tst-order-a3.c: New file.
15398 * elf/tst-order-a4.c: New file.
15399 * elf/tst-order-b1.c: New file.
15400 * elf/tst-order-b2.c: New file.
15401 * elf/tst-order-main.c: New file.
15402 New test case by George Gensure <werkt0@gmail.com>.
15403
15404 2010-10-01 Andreas Schwab <schwab@redhat.com>
15405
15406 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15407 decoding ACE if AI_CANONIDN.
15408
15409 2011-01-18 Ulrich Drepper <drepper@gmail.com>
15410
15411 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15412
15413 2011-01-17 Ulrich Drepper <drepper@gmail.com>
15414
15415 * version.h (RELEASE): Bump for 2.13 release.
15416 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15417
15418 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15419
15420 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15421 MADV_NOHUGEPAGE.
15422 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15423 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15424 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15425 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15426 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15427 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15428
15429 * posix/getconf.c: Update copyright year.
15430 * catgets/gencat.c: Likewise.
15431 * csu/version.c: Likewise.
15432 * debug/catchsegv.sh: Likewise.
15433 * debug/xtrace.sh: Likewise.
15434 * elf/ldconfig.c: Likewise.
15435 * elf/ldd.bash.in: Likewise.
15436 * elf/sprof.c (print_version): Likewise.
15437 * iconv/iconv_prog.c: Likewise.
15438 * iconv/iconvconfig.c: Likewise.
15439 * locale/programs/locale.c: Likewise.
15440 * locale/programs/localedef.c: Likewise.
15441 * malloc/memusage.sh: Likewise.
15442 * malloc/mtrace.pl: Likewise.
15443 * nscd/nscd.c (print_version): Likewise.
15444 * nss/getent.c: Likewise.
15445
15446 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15447 PF_CAIF, and PF_ALG.
15448 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15449
15450 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15451
15452 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15453 (modules-names): Use them.
15454 (ifunc-test-modules, ifunc-pie-tests): Define.
15455 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15456 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15457 (test-extras): Likewise.
15458 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15459 $(compile-command.c).
15460 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15461 (all-built-dso): Define.
15462 (check-textrel.out, check-execstack.out): Depend on it.
15463
15464 * configure.in: Don't override --enable-multi-arch.
15465
15466 2011-01-15 Ulrich Drepper <drepper@gmail.com>
15467
15468 [BZ #6812]
15469 * nscd/hstcache.c (tryagain): Define.
15470 (cache_addhst): Return tryagain not notfound for temporary errors.
15471 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15472 failed.
15473
15474 2011-01-14 Ulrich Drepper <drepper@gmail.com>
15475
15476 [BZ #10563]
15477 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15478 to make the syscall.
15479 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15480
15481 [BZ #12378]
15482 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15483 and fall back to matching as normal character if the string ends before
15484 the matching ']' is found. This is what POSIX requires.
15485 * posix/testfnm.c: Adjust test result.
15486 * posix/globtest.sh: Adjust test result. Add new test.
15487 * posix/tst-fnmatch.input: Likewise.
15488 * posix/tst-fnmatch2.c: Add new test.
15489
15490 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15491
15492 * elf/Makefile (check-execstack): Revert last change. Depend on
15493 check-execstack.h.
15494 (check-execstack.h): New target.
15495 (generated): Add check-execstack.h.
15496 * elf/check-execstack.c: Include "check-execstack.h".
15497 (main): Revert last change.
15498 (handle_file): Return zero if GNU_STACK is absent and
15499 DEFAULT_STACK_PERMS doesn't include PF_X.
15500
15501 2011-01-13 Ulrich Drepper <drepper@gmail.com>
15502
15503 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15504 in child fails because the descriptor is already closed.
15505 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15506 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15507 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
15508
15509 [BZ #12397]
15510 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15511 syscall.
15512
15513 [BZ #10484]
15514 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15515 temporary buffer used to handle multi lookups locally.
15516 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
15517
15518 2011-01-12 Ulrich Drepper <drepper@gmail.com>
15519
15520 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15521 loader is ld.so.
15522
15523 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15524
15525 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15526 alignment for SSE2.
15527
15528 2011-01-12 Ulrich Drepper <drepper@gmail.com>
15529
15530 [BZ #12394]
15531 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15532 characters. When rounding increased number of integer digits recompute
15533 number of groups.
15534 * stdio-common/tst-grouping.c: New file.
15535 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15536
15537 2011-01-09 Ulrich Drepper <drepper@gmail.com>
15538
15539 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15540 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15541
15542 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15543 void.
15544 * bits/select.h: Likewise.
15545
15546 2011-01-08 Ulrich Drepper <drepper@gmail.com>
15547
15548 * po/ja.po: Update from translation team.
15549
15550 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
15551
15552 [BZ #11155]
15553 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15554 implementation just like for lxstat, fxstatat, et al.
15555
15556 2010-12-27 Jim Meyering <meyering@redhat.com>
15557
15558 [BZ #12348]
15559 * posix/regexec.c (build_trtable): Return failure indication upon
15560 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15561
15562 2010-12-25 Ulrich Drepper <drepper@gmail.com>
15563
15564 [BZ #12201]
15565 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15566 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15567 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15568 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15569
15570 [BZ #12207]
15571 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15572
15573 [BZ #12204]
15574 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15575 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15576
15577 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15578
15579 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15580 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15581 script has SORT_BY_INIT_PRIORITY.
15582 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15583 NO_CTORS_DTORS_SECTIONS is defined.
15584 * elf/soinit.c: Likewise.
15585 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15586 NO_CTORS_DTORS_SECTIONS is defined.
15587 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15588 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15589 * sysdeps/sh/init-first.c: Likewise.
15590 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15591
15592 2010-12-24 Ulrich Drepper <drepper@gmail.com>
15593
15594 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15595 always use the slow path.
15596
15597 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15598
15599 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15600 similar rule which adds the sysdep directories to the header search in
15601 order to pick up the correct platform stackinfo.h.
15602 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15603 perform test if it is, otherwise return successfully without testing.
15604 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15605 DEFAULT_STACK_PERMS define in stackinfo.h.
15606 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15607 defined in stackinfo.h.
15608 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15609 DEFAULT_STACK_PERMS defined in stackinfo.h.
15610 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15611 * sysdeps/ia64/stackinfo.h: Likewise.
15612 * sysdeps/s390/stackinfo.h: Likewise.
15613 * sysdeps/sh/stackinfo.h: Likewise.
15614 * sysdeps/sparc/stackinfo.h: Likewise.
15615 * sysdeps/x86_64/stackinfo.h: Likewise.
15616 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15617 PF_X for powerpc64. Retain PF_X for powerpc32.
15618
15619 2010-12-19 Ulrich Drepper <drepper@gmail.com>
15620
15621 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15622 accurately.
15623 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15624 GETDENTS_64BIT_ALIGNED.
15625
15626 2010-12-14 Ulrich Drepper <dreper@gmail.com>
15627
15628 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
15629
15630 2010-12-10 Andreas Schwab <schwab@redhat.com>
15631
15632 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15633 _GNU_SOURCE.
15634
15635 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15636 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15637 Remove __restrict.
15638 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15639 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15640
15641 2010-12-09 Ulrich Drepper <drepper@gmail.com>
15642
15643 [BZ #11655]
15644 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15645 are initialized.
15646
15647 2010-12-09 Jakub Jelinek <jakub@redhat.com>
15648
15649 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15650
15651 2010-12-03 Ulrich Drepper <drepper@gmail.com>
15652
15653 * po/it.po: Update from translation team.
15654
15655 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15656
15657 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15658 unused codes.
15659
15660 2010-11-30 Ulrich Drepper <drepper@gmail.com>
15661
15662 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15663
15664 2010-11-24 Andreas Schwab <schwab@redhat.com>
15665
15666 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15667 specially.
15668 (gaih_getanswer_slice): Likewise.
15669
15670 2010-10-20 Jakub Jelinek <jakub@redhat.com>
15671
15672 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15673
15674 2010-05-31 Petr Baudis <pasky@suse.cz>
15675
15676 [BZ #11149]
15677 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15678 silently even in the chroot mode.
15679
15680 2010-11-22 Ulrich Drepper <drepper@gmail.com>
15681
15682 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15683 last patch a bit. Pretty printing
15684
15685 2010-05-31 Petr Baudis <pasky@suse.cz>
15686
15687 [BZ #10085]
15688 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15689 initialization of skip_initgroups_dyn.
15690
15691 2010-11-19 Ulrich Drepper <drepper@gmail.com>
15692
15693 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15694 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15695
15696 2010-11-16 Ulrich Drepper <drepper@gmail.com>
15697
15698 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15699
15700 2010-11-11 Andreas Schwab <schwab@redhat.com>
15701
15702 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15703 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15704 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15705 ($(objpfx)tst-fnmatch-mem): New rule.
15706 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15707 * posix/tst-fnmatch.c (main): Call mtrace.
15708
15709 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15710
15711 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15712 Support Intel processor model 6 and model 0x2c.
15713
15714 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
15715
15716 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15717 signed comparison.
15718
15719 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15720
15721 [BZ #12205]
15722 * string/test-strncasecmp.c (check_result): New function.
15723 (do_one_test): Use it.
15724 (check1): New function.
15725 (test_main): Use it.
15726 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15727 Support strcasecmp and strncasecmp.
15728
15729 2010-11-08 Ulrich Drepper <drepper@gmail.com>
15730
15731 [BZ #12194]
15732 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15733 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15734
15735 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15736
15737 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15738 IFUNC support.
15739 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15740 memset-x86-64.
15741 * sysdeps/x86_64/multiarch/bzero.S: New file.
15742 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15743 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15744 * sysdeps/x86_64/multiarch/memset.S: New file.
15745 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15747 Set bit_Prefer_SSE_for_memop for Intel processors.
15748 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15749 Define.
15750 (index_Prefer_SSE_for_memop): Define.
15751 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15752
15753 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
15754
15755 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15756 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15757
15758 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15759
15760 [BZ #12191]
15761 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15762 (__x86_64_raw_data_cache_size_half): Likewise.
15763 (__x86_64_raw_shared_cache_size): Likewise.
15764 (__x86_64_raw_shared_cache_size_half): Likewise.
15765
15766 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15767 (__x86_64_raw_data_cache_size_half): Likewise.
15768 (__x86_64_raw_shared_cache_size): Likewise.
15769 (__x86_64_raw_shared_cache_size_half): Likewise.
15770 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15771 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15772 and __x86_64_raw_shared_cache_size_half. Round
15773 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15774 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15775 to multiple of 256 bytes.
15776
15777 2010-11-03 Ulrich Drepper <drepper@gmail.com>
15778
15779 [BZ #12167]
15780 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15781 of inacessible symlinks. Verify result of symlink before returning it.
15782 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15783 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15784
15785 2010-10-28 Erich Ritz <erichritz@gmail.com>
15786
15787 * math/math.h (isinf): Fix typo in comment.
15788
15789 2010-11-01 Ulrich Drepper <drepper@gmail.com>
15790
15791 * po/da.po: Update from translation team.
15792
15793 2010-10-26 Ulrich Drepper <drepper@gmail.com>
15794
15795 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15796 is added to the list.
15797
15798 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15799 Ulrich Drepper <drepper@gmail.com>
15800
15801 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15802 the global list here. Move code to...
15803 (_dl_add_to_namespace_list): ...here. New function.
15804 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15805 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15806 * elf/dl-load.c (lose): Don't remove the element from the list.
15807 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15808 (_dl_map_object): Likewise.
15809
15810 2010-10-25 Ulrich Drepper <drepper@gmail.com>
15811
15812 [BZ #12159]
15813 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15814 into all bytes of SSE register.
15815 Patch by Richard Li <richardpku@gmail.com>.
15816
15817 2010-10-24 Ulrich Drepper <drepper@gmail.com>
15818
15819 [BZ #12140]
15820 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15821 perturbing.
15822
15823 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15824
15825 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15826 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15827 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15828 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15830 submachine.
15831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15832
15833 2010-10-22 Andreas Schwab <schwab@redhat.com>
15834
15835 * include/dlfcn.h (__RTLD_SECURE): Define.
15836 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15837 mode & __RTLD_SECURE instead.
15838 (open_path): Rename preloaded parameter to secure.
15839 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15840 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15841 * elf/dl-deps.c (openaux): Likewise.
15842 * elf/rtld.c (struct map_args): Remove is_preloaded.
15843 (map_doit): Don't use it.
15844 (dl_main): Likewise.
15845 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15846 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15847
15848 2010-09-09 Andreas Schwab <schwab@redhat.com>
15849
15850 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15851 (sysd-rules-targets): Remove duplicates.
15852 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15853 rtld-%.$o dependency.
15854
15855 2010-10-18 Andreas Schwab <schwab@redhat.com>
15856
15857 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15858 _dl_map_object do it.
15859
15860 2010-10-19 Ulrich Drepper <drepper@gmail.com>
15861
15862 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15863 fast fma builtins, define the macros in the C99 standard.
15864 (FP_FAST_FMAF): Likewise.
15865 (FP_FAST_FMAL): Likewise.
15866 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15867
15868 * bits/mathdef.h: Update copyright year.
15869 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15870
15871 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15872
15873 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15874 builtins, define the macros in the C99 standard.
15875 (FP_FAST_FMAF): Likewise.
15876 (FP_FAST_FMAL): Likewise.
15877 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15878 multiply/add.
15879 (FP_FAST_FMAF): Likewise.
15880
15881 2010-10-15 Jakub Jelinek <jakub@redhat.com>
15882
15883 [BZ #3268]
15884 * math/libm-test.inc (fma_test): Some new testcases.
15885 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15886 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15887 y and infinite z. Do multiplication by C already in long double.
15888 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15889 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15890 y and infinite z. Do bitwise or of inexact bit into u.d.
15891 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15892 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15893 * sysdeps/i386/fpu/s_fma.S: Removed.
15894 * sysdeps/i386/fpu/s_fmal.S: Removed.
15895
15896 2010-10-16 Jakub Jelinek <jakub@redhat.com>
15897
15898 [BZ #3268]
15899 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15900 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15901 computation is not scheduled after fetestexcept. Fix value
15902 of minimum denormal long double.
15903
15904 2010-10-14 Jakub Jelinek <jakub@redhat.com>
15905
15906 [BZ #3268]
15907 * math/libm-test.inc (fma_test): Add some more tests.
15908 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15909 correctly.
15910
15911 2010-10-15 Andreas Schwab <schwab@redhat.com>
15912
15913 * scripts/data/localplt-s390-linux-gnu.data: New file.
15914 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15915
15916 2010-10-13 Jakub Jelinek <jakub@redhat.com>
15917
15918 [BZ #3268]
15919 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15920 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15921 instead of dbl-64.
15922 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15923 inlines.
15924 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15925 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15926 if one of x and y is very large and the other is subnormal.
15927 * sysdeps/s390/fpu/s_fmaf.c: New file.
15928 * sysdeps/s390/fpu/s_fma.c: New file.
15929 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15930 * sysdeps/powerpc/fpu/s_fma.S: New file.
15931 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15932 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15933 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15934
15935 2010-10-12 Jakub Jelinek <jakub@redhat.com>
15936
15937 [BZ #3268]
15938 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15939 fma tests.
15940 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15941 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15942 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15943 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15944 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15945 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15946 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15947
15948 2010-10-12 Ulrich Drepper <drepper@redhat.com>
15949
15950 [BZ #12078]
15951 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15952 * posix/bug-regex31.input: Add test case.
15953
15954 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15955
15956 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15957 * posix/bug-regex31.input: New file.
15958
15959 [BZ #12078]
15960 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15961 (parse_sub_exp): Fix last change, use postorder.
15962
15963 * posix/bug-regex31.c: New file.
15964 * posix/Makefile: Add rules to build and run bug-regex31.
15965
15966 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15967
15968 [BZ #12078]
15969 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15970
15971 [BZ #12108]
15972 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15973 to have entries in sys_siglist.
15974
15975 [BZ #12093]
15976 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15977 be NULL.
15978
15979 2010-10-07 Jakub Jelinek <jakub@redhat.com>
15980
15981 [BZ #3268]
15982 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15983 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15984 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15985 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15986 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15987 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15988 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15989 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15990 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15991 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15992 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15993 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15994 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15995 * math/ftestexcept.c (fetestexcept): Likewise.
15996 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15997 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15998 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15999 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16000 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16001 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16002 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16003
16004 2010-10-11 Ulrich Drepper <drepper@gmail.com>
16005
16006 [BZ #12107]
16007 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16008 newline.
16009
16010 2010-10-06 Ulrich Drepper <drepper@gmail.com>
16011
16012 * string/bug-strstr1.c: New file.
16013 * string/Makefile: Add rules to build and run bug-strstr1.
16014
16015 2010-10-05 Eric Blake <eblake@redhat.com>
16016
16017 [BZ #12092]
16018 * string/str-two-way.h (two_way_long_needle): Always clear memory
16019 when skipping input due to the shift table.
16020
16021 2010-10-03 Ulrich Drepper <drepper@gmail.com>
16022
16023 [BZ #12005]
16024 * malloc/mcheck.c: Handle large requests.
16025
16026 [BZ #12077]
16027 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16028 for strncmp and strncasecmp.
16029 * string/stratcliff.c: Add tests for strcmp and strncmp.
16030 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16031
16032 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16033
16034 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16035 __set_fpscr.
16036
16037 2010-09-30 Andreas Jaeger <aj@suse.de>
16038
16039 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16040 (CGROUP_SUPER_MAGIC): Define.
16041 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16042 Handle btrfs and cgroup file systems.
16043 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16044 Likewise.
16045
16046 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
16047
16048 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16049 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16050
16051 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16052
16053 [BZ #12067]
16054 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16055 trying to locate the ELF header.
16056
16057 2010-09-27 Andreas Schwab <schwab@redhat.com>
16058
16059 [BZ #11611]
16060 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16061 Mask out sign-bit copies when constructing f_fsid.
16062
16063 2010-09-24 Petr Baudis <pasky@suse.cz>
16064
16065 * debug/stack_chk_fail_local.c: Add missing licence exception.
16066 * debug/warning-nop.c: Likewise.
16067
16068 2010-09-15 Joseph Myers <joseph@codesourcery.com>
16069
16070 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16071 implementing getdents64 using getdents syscall, set d_type if
16072 __ASSUME_GETDENTS32_D_TYPE.
16073
16074 2010-09-16 Andreas Schwab <schwab@redhat.com>
16075
16076 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16077 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16078
16079 2010-09-21 Ulrich Drepper <drepper@redhat.com>
16080
16081 [BZ #12037]
16082 * posix/unistd.h: Undo change of feature selection for ftruncate from
16083 2010-01-11.
16084
16085 2010-09-20 Ulrich Drepper <drepper@redhat.com>
16086
16087 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
16088 detection.
16089
16090 2010-09-20 Andreas Schwab <schwab@redhat.com>
16091
16092 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16093 fanotify_mark.
16094 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16095
16096 2010-09-14 Andreas Schwab <schwab@redhat.com>
16097
16098 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16099 variables after CHECK_SP call.
16100 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16101
16102 2010-09-13 Andreas Schwab <schwab@redhat.com>
16103 Ulrich Drepper <drepper@redhat.com>
16104
16105 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16106 re-relocationg ld.so.
16107 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16108 _dl_init_paths call.
16109 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
16110 here anymore.
16111
16112 2010-09-14 Ulrich Drepper <drepper@redhat.com>
16113
16114 * resolv/res_init.c (__res_vinit): Count the default server we added.
16115
16116 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
16117 Ulrich Drepper <drepper@redhat.com>
16118
16119 [BZ #11968]
16120 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16121 (____longjmp_chk): Use %ebx for saving value across system call.
16122 Add unwind info.
16123
16124 2010-09-06 Andreas Schwab <schwab@redhat.com>
16125
16126 * manual/Makefile: Don't mix pattern rules with normal rules.
16127
16128 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
16129
16130 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16131 operation.
16132 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16133 * libio/iofopncook.c (_IO_cookie_init): Likewise.
16134 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16135 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16136 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16137 Likewise.
16138
16139 2010-09-04 Ulrich Drepper <drepper@redhat.com>
16140
16141 [BZ #11979]
16142 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16143 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16144
16145 2010-09-02 Ulrich Drepper <drepper@redhat.com>
16146
16147 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16148 * sysdeps/x86_64/addmul_1.S: Likewise.
16149 * sysdeps/x86_64/lshift.S: Likewise.
16150 * sysdeps/x86_64/mul_1.S: Likewise.
16151 * sysdeps/x86_64/rshift.S: Likewise.
16152 * sysdeps/x86_64/sub_n.S: Likewise.
16153 * sysdeps/x86_64/submul_1.S: Likewise.
16154
16155 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
16156
16157 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16158 Define __sched_param instead of SCHED_* and sched_param when
16159 <bits/sched.h> is included with __need_schedparam defined.
16160 * bits/sched.h [__need_schedparam]
16161 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
16162 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16163 (__defined_schedparam): Define to 1.
16164 (__sched_param): New structure, identical to sched_param.
16165 (__need_schedparam): Undefine.
16166
16167 2010-08-31 Mike Frysinger <vapier@gentoo.org>
16168
16169 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16170 (epoll_create1): Declare.
16171
16172 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16173
16174 2010-08-31 Andreas Schwab <schwab@redhat.com>
16175
16176 [BZ #7066]
16177 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16178 shifting retval into place.
16179
16180 2010-09-01 Ulrich Drepper <drepper@redhat.com>
16181
16182 * nis/rpcsvc/nis.h: Update copyright notice.
16183 * nis/rpcsvc/nis.x: Likewise.
16184 * nis/rpcsvc/nis_callback.h: Likewise.
16185 * nis/rpcsvc/nis_callback.x: Likewise.
16186 * nis/rpcsvc/nis_object.x: Likewise.
16187 * nis/rpcsvc/nis_tags.h: Likewise.
16188 * nis/rpcsvc/yp.h: Likewise.
16189 * nis/rpcsvc/yp.x: Likewise.
16190 * nis/rpcsvc/ypupd.h: Likewise.
16191 * nis/yp_xdr.c: Likewise.
16192 * nis/ypupdate_xdr.c: Likewise.
16193
16194 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
16195 mainly the body of pmap_getport. Add parameters to specify timeouts.
16196 (pmap_getport): Use __libc_rpc_getport.
16197 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16198 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16199 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16200
16201 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
16202
16203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16204 fanotify_mark.
16205
16206 2010-08-27 Roland McGrath <roland@redhat.com>
16207
16208 * sysdeps/i386/i686/multiarch/Makefile
16209 (CFLAGS-varshift.c): New variable.
16210
16211 2010-08-27 Ulrich Drepper <drepper@redhat.com>
16212
16213 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16214 * sysdeps/i386/i686/multiarch/varshift.c: New file.
16215
16216 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16217
16218 * sysdeps/x86_64/strlen.S: Minimal code improvement.
16219
16220 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
16221
16222 * sysdeps/x86_64/strlen.S: Unroll the loop.
16223 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16224 strlen-sse2 strlen-sse2-bsf.
16225 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16226 __strlen_no_bsf if bit_Slow_BSF is set.
16227 (__strlen_sse42): Removed.
16228 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16229 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16230
16231 2010-08-25 Roland McGrath <roland@redhat.com>
16232
16233 * sysdeps/x86_64/multiarch/varshift.S: File removed.
16234 * sysdeps/x86_64/multiarch/varshift.c: New file.
16235 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16236 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16237 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16238 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16239
16240 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
16241
16242 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16243 strlen-sse2 strlen-sse2-bsf.
16244 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16245 __strlen_sse2_bsf if bit_Slow_BSF is unset.
16246 (__strlen_sse2): Removed.
16247 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16248 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16249 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16250 bit_Slow_BSF for Atom.
16251 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16252 (index_Slow_BSF): Define.
16253 (HAS_SLOW_BSF): Define.
16254
16255 2010-08-25 Ulrich Drepper <drepper@redhat.com>
16256
16257 [BZ #10851]
16258 * resolv/res_init.c (__res_vinit): When no server address at all
16259 is given default to loopback.
16260
16261 2010-08-24 Roland McGrath <roland@redhat.com>
16262
16263 * configure.in: Remove config-name.h generation.
16264 * configure: Regenerated.
16265 * config-name.in: File removed.
16266 * scripts/config-uname.sh: New file.
16267 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16268 ($(objdir)config-name.h): New target.
16269
16270 * sunrpc/rpc_parse.h: Avoid nested comment.
16271
16272 2010-08-24 Richard Henderson <rth@redhat.com>
16273 Ulrich Drepper <drepper@redhat.com>
16274 H.J. Lu <hongjiu.lu@intel.com>
16275
16276 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16277 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16278 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16279 Replace _mm_srli_si128 with __m128i_shift_right. Replace
16280 _mm_alignr_epi8 with _mm_loadu_si128.
16281 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
16282 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
16283 (__m128i_shift_right): Removed.
16284 * sysdeps/i386/i686/multiarch/varshift.h: New file.
16285 * sysdeps/i386/i686/multiarch/varshift.S: New file.
16286 * sysdeps/x86_64/multiarch/varshift.h: New file.
16287 * sysdeps/x86_64/multiarch/varshift.S: New file.
16288
16289 2010-08-21 Mike Frysinger <vapier@gentoo.org>
16290
16291 * configure.in: Move assembler checks to before sysdep dir checking.
16292
16293 2010-08-20 Petr Baudis <pasky@suse.cz>
16294
16295 * LICENSES: Sync the sunrpc license.
16296
16297 2010-08-19 Ulrich Drepper <drepper@redhat.com>
16298
16299 * sunrpc/auth_des.c: Update copyright notice once again.
16300 * sunrpc/auth_none.c: Likewise.
16301 * sunrpc/auth_unix.c: Likewise.
16302 * sunrpc/authdes_prot.c: Likewise.
16303 * sunrpc/authuxprot.c: Likewise.
16304 * sunrpc/bindrsvprt.c: Likewise.
16305 * sunrpc/clnt_gen.c: Likewise.
16306 * sunrpc/clnt_perr.c: Likewise.
16307 * sunrpc/clnt_raw.c: Likewise.
16308 * sunrpc/clnt_simp.c: Likewise.
16309 * sunrpc/clnt_tcp.c: Likewise.
16310 * sunrpc/clnt_udp.c: Likewise.
16311 * sunrpc/clnt_unix.c: Likewise.
16312 * sunrpc/des_crypt.c: Likewise.
16313 * sunrpc/des_soft.c: Likewise.
16314 * sunrpc/get_myaddr.c: Likewise.
16315 * sunrpc/getrpcport.c: Likewise.
16316 * sunrpc/key_call.c: Likewise.
16317 * sunrpc/key_prot.c: Likewise.
16318 * sunrpc/openchild.c: Likewise.
16319 * sunrpc/pm_getmaps.c: Likewise.
16320 * sunrpc/pm_getport.c: Likewise.
16321 * sunrpc/pmap_clnt.c: Likewise.
16322 * sunrpc/pmap_prot.c: Likewise.
16323 * sunrpc/pmap_prot2.c: Likewise.
16324 * sunrpc/pmap_rmt.c: Likewise.
16325 * sunrpc/rpc/auth.h: Likewise.
16326 * sunrpc/rpc/auth_unix.h: Likewise.
16327 * sunrpc/rpc/clnt.h: Likewise.
16328 * sunrpc/rpc/des_crypt.h: Likewise.
16329 * sunrpc/rpc/key_prot.h: Likewise.
16330 * sunrpc/rpc/netdb.h: Likewise.
16331 * sunrpc/rpc/pmap_clnt.h: Likewise.
16332 * sunrpc/rpc/pmap_prot.h: Likewise.
16333 * sunrpc/rpc/pmap_rmt.h: Likewise.
16334 * sunrpc/rpc/rpc.h: Likewise.
16335 * sunrpc/rpc/rpc_des.h: Likewise.
16336 * sunrpc/rpc/rpc_msg.h: Likewise.
16337 * sunrpc/rpc/svc.h: Likewise.
16338 * sunrpc/rpc/svc_auth.h: Likewise.
16339 * sunrpc/rpc/types.h: Likewise.
16340 * sunrpc/rpc/xdr.h: Likewise.
16341 * sunrpc/rpc_clntout.c: Likewise.
16342 * sunrpc/rpc_cmsg.c: Likewise.
16343 * sunrpc/rpc_common.c: Likewise.
16344 * sunrpc/rpc_cout.c: Likewise.
16345 * sunrpc/rpc_dtable.c: Likewise.
16346 * sunrpc/rpc_hout.c: Likewise.
16347 * sunrpc/rpc_main.c: Likewise.
16348 * sunrpc/rpc_parse.c: Likewise.
16349 * sunrpc/rpc_parse.h: Likewise.
16350 * sunrpc/rpc_prot.c: Likewise.
16351 * sunrpc/rpc_sample.c: Likewise.
16352 * sunrpc/rpc_scan.c: Likewise.
16353 * sunrpc/rpc_scan.h: Likewise.
16354 * sunrpc/rpc_svcout.c: Likewise.
16355 * sunrpc/rpc_tblout.c: Likewise.
16356 * sunrpc/rpc_util.c: Likewise.
16357 * sunrpc/rpc_util.h: Likewise.
16358 * sunrpc/rpcinfo.c: Likewise.
16359 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16360 * sunrpc/rpcsvc/key_prot.x: Likewise.
16361 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16362 * sunrpc/rpcsvc/mount.x: Likewise.
16363 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16364 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16365 * sunrpc/rpcsvc/rex.x: Likewise.
16366 * sunrpc/rpcsvc/rstat.x: Likewise.
16367 * sunrpc/rpcsvc/rusers.x: Likewise.
16368 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16369 * sunrpc/rpcsvc/spray.x: Likewise.
16370 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16371 * sunrpc/rtime.c: Likewise.
16372 * sunrpc/svc.c: Likewise.
16373 * sunrpc/svc_auth.c: Likewise.
16374 * sunrpc/svc_authux.c: Likewise.
16375 * sunrpc/svc_raw.c: Likewise.
16376 * sunrpc/svc_run.c: Likewise.
16377 * sunrpc/svc_simple.c: Likewise.
16378 * sunrpc/svc_tcp.c: Likewise.
16379 * sunrpc/svc_udp.c: Likewise.
16380 * sunrpc/svc_unix.c: Likewise.
16381 * sunrpc/svcauth_des.c: Likewise.
16382 * sunrpc/xcrypt.c: Likewise.
16383 * sunrpc/xdr.c: Likewise.
16384 * sunrpc/xdr_array.c: Likewise.
16385 * sunrpc/xdr_float.c: Likewise.
16386 * sunrpc/xdr_mem.c: Likewise.
16387 * sunrpc/xdr_rec.c: Likewise.
16388 * sunrpc/xdr_ref.c: Likewise.
16389 * sunrpc/xdr_sizeof.c: Likewise.
16390 * sunrpc/xdr_stdio.c: Likewise.
16391
16392 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16393 handling.
16394
16395 2010-08-19 Andreas Schwab <schwab@redhat.com>
16396
16397 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16398
16399 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
16400
16401 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16402 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16403 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16404 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16405 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16406 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16407 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16408 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16409 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16410 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16411 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16412 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16413 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16414 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16415
16416 2010-07-26 Anton Blanchard <anton@samba.org>
16417
16418 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16419 * malloc/arena.c (heap_trim): Likewise.
16420
16421 2010-08-16 Ulrich Drepper <drepper@redhat.com>
16422
16423 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16424 here. Not...
16425 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16426 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16427
16428 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16429
16430 * sysdeps/i386/elf/Makefile: New file.
16431
16432 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16433
16434 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16435 from fanotify_init.
16436 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16437 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16438
16439 2010-08-15 Ulrich Drepper <drepper@redhat.com>
16440
16441 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16442 of strncasecmp_l.
16443 * sysdeps/multiarch/strcmp.S: Likewise.
16444
16445 2010-08-14 Ulrich Drepper <drepper@redhat.com>
16446
16447 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16448 strncase_l-nonascii.
16449 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16450 Add strncase_l-ssse3.
16451 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16452 * sysdeps/x86_64/strcmp.S: Likewise.
16453 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16454 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16455 * sysdeps/x86_64/strncase.S: New file.
16456 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16457 * sysdeps/x86_64/strncase_l.S: New file.
16458 * string/Makefile (strop-tests): Add strncasecmp.
16459 * string/test-strncasecmp.c: New file.
16460
16461 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16462 warning.
16463
16464 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16465 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16466
16467 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16468
16469 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16470
16471 2010-08-12 Ulrich Drepper <drepper@redhat.com>
16472
16473 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16474 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16475 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16476
16477 2010-05-01 Alan Modra <amodra@gmail.com>
16478
16479 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16480 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16481 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16482 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16483 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16484 tidying. Don't tail-call __sigjmp_save for static lib.
16485 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16486 save location.
16487 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16488 (CALL_MCOUNT): Add eh info, and nop after bl.
16489 (TAIL_CALL_SYSCALL_ERROR): New macro.
16490 (PSEUDO_RET): Use it.
16491 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16492 Correct save location of integer regs and cr.
16493 (_dl_profile_resolve): Correct cr save location. Delete nops
16494 after bl when SHARED. Reduce cfi size a little by better
16495 placement of cfi directives.
16496 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16497 make a stack frame. Instead use parm save area as a temp.
16498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16499 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16501 Don't make a stack frame for parent, use parm save area.
16502 Increase child stack frame to 112 bytes. Don't save unused reg,
16503 and adjust reg usage. Set up cfi on error recovery and
16504 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16506 (__makecontext): Add dummy nop after jump to exit.
16507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16508 Use correct parm save area and cr save, reduce stack frame.
16509 Correct cfi for possible PSEUDO_RET frame setup.
16510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16511 Branch to local label emitted by PSEUDO_RET rather than
16512 __syscall_error.
16513
16514 2010-08-12 Andreas Schwab <schwab@redhat.com>
16515
16516 [BZ #11904]
16517 * locale/programs/locale.c (print_assignment): New function.
16518 (show_locale_vars): Use it.
16519
16520 2010-08-11 Ulrich Drepper <drepper@redhat.com>
16521
16522 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16523 field.
16524 (struct statfs64): Likewise.
16525 (_STATFS_F_FLAGS): Define.
16526 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16527 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16528 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16529 (ST_VALID): Define locally.
16530 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16531 __statvfs_getflags, use the provided value.
16532 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16533 __ASSUME_STATFS_F_FLAGS.
16534
16535 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16536
16537 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16538 Add sys/fanotify.h.
16539 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16540 fanotify_mask for GLIBC_2.13.
16541 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16542 fanotify_init and fanotify_mark.
16543 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16544 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16545
16546 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16547 Add prlimit.
16548 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16549 prlimit64 for GLIBC_2.13.
16550 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16551 prlimit64.
16552 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16553 syscall.
16554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16555 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16556 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16557 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16558 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16559 add prlimit alias.
16560 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16561
16562 [BZ #11903]
16563 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16564 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16565
16566 * nss/Makefile: Add rules to build and run tst-nss-test1.
16567 * shlib-versions: Add entry for libnss_test1.
16568 * nss/nss_test1.c: New file.
16569 * nss/tst-nss-test1.c: New file.
16570
16571 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16572 (__nss_configure_lookup): Set appropriate entry in
16573 __nss_configure_lookup to true.
16574 * nss/nsswitch.h: Define enum with indeces of databases in
16575 databases and __nss_database_custom arrays. Declare
16576 __nss_database_custom.
16577 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16578 to avoid using nscd when custom rules are installed.
16579 * nss/getXXbyYY_r.c: Likewise.
16580 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16581
16582 * nss/nss_files/files-parse.c: Whitespace fixes.
16583
16584 2010-08-09 Ulrich Drepper <drepper@redhat.com>
16585
16586 [BZ #11883]
16587 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16588 * posix/fnmatch_loop.c: Likewise.
16589
16590 2010-07-17 Andi Kleen <ak@linux.intel.com>
16591
16592 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16593 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16594 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16595 * Versions.def [GLIBC_2.13]: Add.
16596
16597 2010-08-06 Ulrich Drepper <drepper@redhat.com>
16598
16599 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16600 Also fail if tpwd after pwuid call is NULL.
16601
16602 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16603
16604 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16605 when converting to ms.
16606
16607 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16608
16609 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16610 EOPNOTSUPP errors with ENOTTY.
16611 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16612 EOPNOTSUPP errors with ENOTTY.
16613
16614 2010-07-31 Ulrich Drepper <drepper@redhat.com>
16615
16616 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16617 Add strcasecmp_l-ssse3.
16618 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16619 strcasecmp.
16620 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16621 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16622 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16623
16624 2010-07-30 Ulrich Drepper <drepper@redhat.com>
16625
16626 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16627
16628 * string/Makefile (strop-tests): Add strcasecmp.
16629 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16630 strcasecmp_l-nonascii.
16631 (gen-as-const-headers): Add locale-defines.sym.
16632 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16633 * sysdeps/x86_64/strcasecmp.S: New file.
16634 * sysdeps/x86_64/strcasecmp_l.S: New file.
16635 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16636 * sysdeps/x86_64/locale-defines.sym: New file.
16637 * string/test-strcasecmp.c: New file.
16638
16639 * string/test-strcasestr.c: Test both ends of the range of characters.
16640 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16641
16642 2010-07-29 Roland McGrath <roland@redhat.com>
16643
16644 [BZ #11856]
16645 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16646
16647 2010-07-27 Ulrich Drepper <drepper@redhat.com>
16648
16649 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16650 for ld.so.
16651
16652 2010-07-27 Andreas Schwab <schwab@redhat.com>
16653
16654 * manual/memory.texi (Malloc Tunable Parameters): Document
16655 M_PERTURB.
16656
16657 2010-07-26 Roland McGrath <roland@redhat.com>
16658
16659 [BZ #11840]
16660 * configure.in (-fgnu89-inline check): Set and substitute
16661 gnu89_inline, not libc_cv_gnu89_inline.
16662 * configure: Regenerated.
16663 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16664
16665 2010-07-26 Ulrich Drepper <drepper@redhat.com>
16666
16667 * string/test-strnlen.c: New file.
16668 * string/Makefile (strop-tests): Add strnlen.
16669 * string/tester.c (test_strnlen): Add a few more test cases.
16670 * string/tst-strlen.c: Better error reporting.
16671
16672 * sysdeps/x86_64/strnlen.S: New file.
16673
16674 2010-07-24 Ulrich Drepper <drepper@redhat.com>
16675
16676 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16677 lower-latency instructions.
16678
16679 2010-07-23 Ulrich Drepper <drepper@redhat.com>
16680
16681 * string/test-strcasestr.c: New file.
16682 * string/test-strstr.c: New file.
16683 * string/Makefile (strop-tests): Add strstr and strcasestr.
16684 * string/str-two-way.h: Don't undefine MAX.
16685 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16686
16687 2010-07-21 Andreas Schwab <schwab@redhat.com>
16688
16689 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16690 strcasestr-nonascii.
16691 (CFLAGS-strcasestr-nonascii.c): Define.
16692 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16693 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16694 Remove unused attribute.
16695
16696 2010-07-20 Roland McGrath <roland@redhat.com>
16697
16698 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16699 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16700 ld.so.cache was broken. With it, there is no way to disable dsocaps
16701 like LD_HWCAP_MASK can disable hwcaps.
16702
16703 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16704
16705 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16706
16707 2010-07-16 Ulrich Drepper <drepper@redhat.com>
16708
16709 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16710 call in strcasestr.
16711 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16712 __strcasestr_sse42_nonascii.
16713 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16714 strcasestr-nonascii.c.
16715 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16716
16717 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
16718
16719 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16720 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16721 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16722 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16723
16724 2010-07-09 Ulrich Drepper <drepper@redhat.com>
16725
16726 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16727 fcntl.
16728
16729 2010-07-06 Andreas Schwab <schwab@redhat.com>
16730
16731 [BZ #11577]
16732 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16733 dl_signal_cerror.
16734
16735 2010-07-06 Ulrich Drepper <drepper@redhat.com>
16736
16737 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16738 _PC_PIPE_BUF using F_GETPIPE_SZ.
16739
16740 2010-07-05 Roland McGrath <roland@redhat.com>
16741
16742 * manual/arith.texi (Rounding Functions): Fix rint description
16743 implicit in round description.
16744
16745 2010-07-02 Ulrich Drepper <drepper@redhat.com>
16746
16747 * elf/Makefile: Fix linking for a few tests to make recent linker
16748 happy.
16749
16750 2010-06-30 Andreas Schwab <schwab@redhat.com>
16751
16752 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16753 $(common-objpfx)libc_nonshared.a.
16754
16755 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
16756
16757 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16758 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16759 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16760 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16761 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16762 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16763 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16764 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16779 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16780 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16781 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16782 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16783 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16784 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16785 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16786 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16787 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16788 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16789 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16790 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16805
16806 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16807
16808 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16809 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16810 * string/memmove.c (memmove): Renamed to ...
16811 (MEMMOVE): ...this. Default to memmove.
16812 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16813 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16814 (END_CHK): Define.
16815 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16816 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16817 mempcpy-ssse3-back memmove-ssse3-back.
16818 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16819 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16820 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16821 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16822 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16823 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16824 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16825 * sysdeps/x86_64/multiarch/memmove.c: New file.
16826 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16827 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16828 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16829 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16830 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16831 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16832 Define.
16833 (index_Fast_Copy_Backward): Define.
16834 (HAS_ARCH_FEATURE): Define.
16835 (HAS_FAST_REP_STRING): Define.
16836 (HAS_FAST_COPY_BACKWARD): Define.
16837
16838 2010-06-21 Andreas Schwab <schwab@redhat.com>
16839
16840 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16841 Restore proper fallback handling.
16842
16843 2010-06-19 Ulrich Drepper <drepper@redhat.com>
16844
16845 [BZ #11701]
16846 * posix/group_member.c (__group_member): Correct checking loop.
16847
16848 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16849 OOM in getpwuid_r correctly. Return error number when the caller
16850 should return, otherwise -1.
16851 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16852 call returning > 0 value.
16853 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16854
16855 2010-06-07 Andreas Schwab <schwab@redhat.com>
16856
16857 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16858 libc_nonshared.a from targets in modules-names.
16859
16860 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16861
16862 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16863 requires it.
16864
16865 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
16866
16867 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16868 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16869 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16870 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16871
16872 2010-06-02 Andreas Schwab <schwab@redhat.com>
16873
16874 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16875
16876 2010-06-14 Ulrich Drepper <drepper@redhat.com>
16877
16878 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16879 and F_GETPIPE_SZ.
16880 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16881 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16882 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16883 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16884 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16885 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16886
16887 2010-06-14 Roland McGrath <roland@redhat.com>
16888
16889 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16890
16891 2010-06-07 Jakub Jelinek <jakub@redhat.com>
16892
16893 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16894 __REDIRECT followed by __THROW.
16895 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16896 * posix/getopt.h (getopt): Likewise.
16897
16898 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16899
16900 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16901 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16902 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16903 in AT_FLAGS.
16904 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16905 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16906
16907 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
16908
16909 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16910
16911 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16912
16913 [BZ #11640]
16914 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16915 Properly check family and model.
16916
16917 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16918
16919 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16920
16921 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
16922
16923 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16924
16925 2010-05-21 Ulrich Drepper <drepper@redhat.com>
16926
16927 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16928 symbol reference.
16929
16930 2010-05-19 Andreas Schwab <schwab@redhat.com>
16931
16932 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16933 symbol reference.
16934
16935 2010-05-21 Andreas Schwab <schwab@redhat.com>
16936
16937 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16938 and internal_recvmmsg.
16939 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16940 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16941 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16942 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16943
16944 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16945 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16946 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16947
16948 2010-05-20 Andreas Schwab <schwab@redhat.com>
16949
16950 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16951
16952 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
16953
16954 POWER7 optimizations.
16955 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16956 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16957
16958 2010-05-19 Ulrich Drepper <drepper@redhat.com>
16959
16960 * version.h: Update for 2.13 development version.
16961
16962 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
16963
16964 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16965 exceptions. Return 0.
16966
16967 2010-05-07 Roland McGrath <roland@redhat.com>
16968
16969 * elf/ldconfig.c (main): Add a const.
16970
16971 2010-05-06 Ulrich Drepper <drepper@redhat.com>
16972
16973 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16974 (args_options): Add no-idn option.
16975 (ahosts_keys_int): Add idn_flags to ai_flags.
16976 (parse_option): Handle 'i' option to clear idn_flags.
16977
16978 * malloc/malloc.c (_int_free): Possible race in the most recently
16979 added check. Only act on the data if no current modification
16980 happened.
16981
16982 See ChangeLog.17 for earlier changes.