]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix ctan, ctanh of subnormals in round-upwards mode (bug 14328).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
28cfe843
AZ
12012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
4 for subnormals or multiply small sinh result by itself.
5 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7
6b90f981
DM
82012-07-11 David S. Miller <davem@davemloft.net>
9
10 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11
c6825772
AS
122012-07-10 Andreas Schwab <schwab@linux-m68k.org>
13
14 [BZ #14347]
15 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16 (INTERNAL_MARK): Shift it here.
17
7b8e0d49
MP
182012-07-10 Marek Polacek <polacek@redhat.com>
19
20 [BZ #14151]
21 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
22 libc_cv_asm_global_directive with .globl.
23 * configure: Regenerated.
24 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25 with .globl.
26 * sysdeps/i386/configure: Regenerated.
27 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28 with .globl.
29 * sysdeps/x86_64/configure: Regenerated.
30 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32 * elf/tst-unique2mod2.c: Likewise.
33 * elf/tst-unique2mod1.c: Likewise.
34 * elf/tst-unique1mod2.c: Likewise.
35 * elf/tst-unique1mod1.c: Likewise.
36 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40 * sysdeps/mach/sysdep.h: Likewise.
41 * sysdeps/i386/sysdep.h: Likewise.
42 * sysdeps/i386/i386-mcount.S: Likewise.
43 * sysdeps/x86_64/_mcount.S: Likewise.
44 * sysdeps/x86_64/sysdep.h: Likewise.
45 * sysdeps/sh/_mcount.S: Likewise.
46 * sysdeps/sh/sysdep.h: Likewise.
47 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
48 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
49 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
50 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
51 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
52 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
53 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
54 * locale/localeinfo.h: Likewise.
55 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
56 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
57
6c55cda3
RM
582012-07-09 Roland McGrath <roland@hack.frob.com>
59
60 [BZ #14336]
61 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
62 system".
63 * manual/message.texi (The Uniforum approach): Likewise.
64 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
65 (glibc iconv Implementation): Likewise.
66
638a572e
JM
672012-07-09 Joseph Myers <joseph@codesourcery.com>
68
69 [BZ #14337]
70 * math/s_clog.c (__clog): Avoid scaling a value down where that
71 could result in underflow.
72 * math/s_clog10.c (__clog10): Likewise.
73 * math/s_clog10f.c (__clog10f): Likewise.
74 * math/s_clog10l.c (__clog10l): Likewise.
75 * math/s_clogf.c (__clogf): Likewise.
76 * math/s_clogl.c (__clogl): Likewise.
77 * math/libm-test.inc (clog_test): Add more tests.
78 (clog10_test): Likewise.
79 * sysdeps/i386/fpu/libm-test-ulps: Update.
80 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81
261f4859
AS
822012-07-06 Andreas Schwab <schwab@linux-m68k.org>
83
0abaf3e4
AS
84 [BZ #14283]
85 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
86 by 7 not 8 to examine high bit of fractional part.
87
261f4859
AS
88 [BZ #14042]
89 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
90 for call to __mcount_internal.
91 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
92 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
93 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
94
f17ac40d
JM
952012-07-06 Joseph Myers <joseph@codesourcery.com>
96
9ad63c23
JM
97 [BZ #14154]
98 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
99 approximation for values within 0x1p-13f of an odd multiple of
100 pi/4.
101 * math/libm-test.inc (tan_test): Do not allow spurious underflow
102 exception. Add more tests.
103 * sysdeps/i386/fpu/libm-test-ulps: Update.
104
f17ac40d
JM
105 [BZ #6778]
106 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
107 inputs and return -1 for them. Do not check for +Inf in case not
108 reachable for +Inf.
109 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
110 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
111 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
112 and return -1 for them. Do not check for +Inf in case not
113 reachable for +Inf.
114 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
115 define.
116 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
117 and return -1 for them. Do not check for +Inf in case not
118 reachable for +Inf.
119 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
120 spurious underflow.
121 * sysdeps/i386/fpu/libm-test-ulps: Update.
122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
123
fb21f89b
MF
1242012-07-06 Mike Frysinger <vapier@gentoo.org>
125
126 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
127
cdfe2c5e
JM
1282012-07-05 Joseph Myers <joseph@codesourcery.com>
129
130 [BZ #14157]
131 [BZ #14331]
132 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
133 could result in spurious underflow. Scale down values above
134 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
135 * math/s_csqrtf.c (__csqrtf): Likewise.
136 * math/s_csqrtl.c (__csqrtl): Likewise.
137 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
138 spurious underflow.
139 * sysdeps/i386/fpu/libm-test-ulps: Update.
140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
141
70d35b67
AS
1422012-07-04 Andreas Schwab <schwab@linux-m68k.org>
143
704bc459
AS
144 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
145 xopen-msg.sed.
146 * catgets/xopen-msg.awk: New file.
147 * catgets/xopen-msg.sed: Removed.
148
70d35b67
AS
149 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
150 po2text.sed.
151 * intl/po2test.awk: New file.
152 * intl/po2test.sed: Removed.
153
ca61cf32
JM
1542012-07-04 Joseph Myers <joseph@codesourcery.com>
155
156 [BZ #14328]
157 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
158 or multiply small sinh result by itself.
159 * math/s_ctanf.c (__ctanf): Likewise.
160 * math/s_ctanh.c (__ctanh): Likewise.
161 * math/s_ctanhf.c (__ctanhf): Likewise.
162 * math/s_ctanhl.c (__ctanhl): Likewise.
163 * math/s_ctanl.c (__ctanl): Likewise.
164 * math/libm-test.inc (ctan_test_tonearest): New function.
165 (ctan_test_towardzero): Likewise.
166 (ctan_test_downward): Likewise.
167 (ctan_test_upward): Likewise.
168 (ctanh_test_tonearest): Likewise.
169 (ctanh_test_towardzero): Likewise.
170 (ctanh_test_downward): Likewise.
171 (ctanh_test_upward): Likewise.
172 (main): Call these new functions.
173 * sysdeps/i386/fpu/libm-test-ulps: Update.
174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
175
ca48a46a
MF
1762012-07-03 Mike Frysinger <vapier@gentoo.org>
177
178 * .gitignore: Delete /ports entry.
179
9d63d37d
AJ
1802012-07-03 Andreas Jaeger <aj@suse.de>
181
182 * po/bg.po: Update from translation team.
183 * po/cs.po: Likewise.
184 * po/de.po: Likewise.
185 * po/hr.po: Likewise.
186 * po/nl.pl: Likewise.
187 * po/pl.po: Likewise.
188 * po/vi.po: Likewise.
189
370ca3d2
JM
1902012-07-03 Joseph Myers <joseph@codesourcery.com>
191
95f5a9a8
JM
192 * Makeconfig [!+link] (+link-before-libc): New variable.
193 [!+link] (+link-after-libc): Likewise.
194 [!+link] (+link-tests): Likewise.
195 [!+link] (+link): Define in terms of $(+link-before-libc) and
196 $(+link-after-libc).
197 [!+link-static] (+link-static-before-libc): New variable.
198 [!+link-static] (+link-static-after-libc): Likewise.
199 [!+link-static] (+link-static-tests): Likewise.
200 [!+link-static] (+link-static): Define in terms of
201 $(+link-static-before-libc) and $(+link-static-after-libc).
202 [build-shared] (link-libc-before-gnulib): New variable.
203 [build-shared] (link-libc-tests): Likewise.
204 [build-shared] (link-libc): Define in terms of
205 $(link-libc-before-gnulib).
206 [!build-shared] (link-libc-tests): New variable.
207 (link-libc-static-tests): New variable.
208 [!gnulib] (gnulib-arch): New variable.
209 [!gnulib] (gnulib-tests): Likewise.
210 [!gnulib] (static-gnulib-arch): Likewise.
211 [!gnulib] (static-gnulib-tests): Likewise.
212 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
213 Define with "=" instead of ":=".
214 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
215 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
216 * Rules (binaries-all-notests): New variable.
217 (binaries-all-tests): Likewise.
218 (binaries-static-notests): Likewise.
219 (binaries-static-tests): Likewise.
220 (binaries-all): Define using $(binaries-all-notests) and
221 $(binaries-all-tests).
222 (binaries-static): Define using $(binaries-static-notests) and
223 $(binaries-static-tests).
224 (binaries-shared-tests): New variable.
225 (binaries-shared-notests): Likewise.
226 (binaries-shared): Remove variable.
227 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
228 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
229 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
230 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
231 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
232 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
233 * elf/Makefile (sln-modules): New variable.
234 (extra-objs): Add $(sln-modules:=.o).
235 (ldconfig-modules): Add static-stubs.
236 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
237 * elf/static-stubs.c: New file.
238
7a845b2c
JM
239 [BZ #14283]
240 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
241 by 7 not 8 to examine high bit of fractional part. Use volatile
242 variables when splitting into final array of floats if
243 __FLT_EVAL_METHOD__ != 0.
244 * math/libm-test.inc (cos_test): Add another test.
245 (sin_test): Likewise.
246 * sysdeps/i386/fpu/libm-test-ulps: Update.
247
e2283f38
JM
248 [BZ #14273]
249 * math/libm-test.inc (cosh_test): Add more tests.
250
370ca3d2
JM
251 * version.h (RELEASE): Set to "development".
252 (VERSION): Set to "2.16.90".
253
ee9247c3
CD
2542012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
255
256 * NEWS: Update copyright. Remove last-updated date.
257 Mention math library bug fixes and timezone data changes.
258 * README: Mention GNU/Hurd, x32, and HPPA support status.
259
4648c381
TS
2602012-06-28 Thomas Schwinge <thomas@codesourcery.com>
261
262 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
263
aac78a43
AJ
2642012-06-27 Andreas Jaeger <aj@suse.de>
265
266 * manual/contrib.texi (Contributors): Add Samuel Thibault.
267
ed3dbfad
AJ
2682012-06-25 Andreas Jaeger <aj@suse.de>
269
270 * sysdeps/s390/fpu/libm-test-ulps: Update.
271
4d0ee855
AS
2722012-06-23 Andreas Schwab <schwab@linux-m68k.org>
273 Thomas Schwinge <thomas@codesourcery.com>
274
275 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
276 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
277 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
278 fanotify_mark.
279
af1bce34
TS
2802012-06-23 Thomas Schwinge <thomas@codesourcery.com>
281
a9fa33ba
TS
282 * sysdeps/mach/start.c: Remove file.
283 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
284 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
285 * sysdeps/sh/init-first.c: Likewise.
286
58f902b8
TS
287 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
288 registers for frame unwinding purposes, add CFI directives.
289 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
290 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
291 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
292 Likewise.
293
1518f58b
TS
294 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
295 __fortify_fail returning.
296 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
297
db9b5059
TS
298 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
299 sysdeps/sh/____longjmp_chk.S.
300 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
301 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
302 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
303 (gen-as-const-headers): Append sigaltstack-offsets.sym.
304
967705fe
TS
305 * sysdeps/sh/abort-instr.h: New file.
306 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
307 process in case exit returns.
308
a9def8c4
TS
309 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
310 initialize the GOT register before use.
311
2a649725
TS
312 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
313 calculation of ARGC > 4.
314
af1bce34
TS
315 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
316 meaningful names to some local labels.
317
d230f50a
KK
3182012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
319 Kaz Kojima <kkojima@rr.iij4u.or.jp>
320
321 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
322 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
323 (__arch_compare_and_exchange_val_16_acq): Likewise.
324 (__arch_compare_and_exchange_val_32_acq): Likewise.
325 (atomic_exchange_and_add): Fix gUSA sequence.
326 (atomic_add): Likewise.
327 (atomic_add_negative): Likewise.
328 (atomic_add_zero): Likewise.
329 (atomic_bit_test_set): Likewise.
330
0479b305
AS
3312012-06-22 Andreas Schwab <schwab@redhat.com>
332
333 [BZ #13579]
334 * include/link.h (struct link_map): Add l_free_initfini.
335 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
336 l_initfini.
337 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
338 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
339 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
340 set.
341
0e3933b9
CD
3422012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
343
344 * configure.in: Use AC_LANG_SOURCE.
345 * configure: Regenerate.
346
4248b1b1
RM
3472012-06-22 Roland McGrath <roland@hack.frob.com>
348
349 * configure.in (libc_cv_localstatedir): New substituted variable.
350 * configure: Regenerated.
351 * config.make.in (localstatedir): New variable, substituted from
352 libc_cv_localstatedir.
353 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
354 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
355 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
356 * sysdeps/gnu/configure: Regenerated.
357
006dd861
JL
3582012-06-21 Jeff Law <law@redhat.com>
359
360 [BZ #14277]
361 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
362 free. Simplify list management for _LIBC case.
363
79662d42
JM
3642012-06-21 Joseph Myers <joseph@codesourcery.com>
365
b7abb4bf
JM
366 [BZ #14273]
367 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
368 Clear sign bit of 64-bit integer value before comparing against
369 overflow value.
370
79662d42
JM
371 * sysdeps/mach/configure: Regenerated.
372
1f150908
L
3732012-06-21 H.J. Lu <hongjiu.lu@intel.com>
374
375 [BZ #14278]
376 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
377
28363bbf
JL
3782012-06-21 Jeff Law <law@redhat.com>
379
380 [BZ #13882]
381 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
382 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 383 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
384 * elf/dl-open.c (dl_open_worker): Likewise.
385
09615db4
CD
3862012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
387
388 * scripts/list-sources.sh: Scan PORTS for translations.
389 * po/libc.pot: Regenerated.
390
2174c6dd
AJ
3912012-06-21 Andreas Jaeger <aj@suse.de>
392
393 [BZ #12194]
394 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
395 warning.
396 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
397 * bits/byteswap-16.h (__bswap_16): Likewise.
398 * bits/byteswap.h (__bswap_constant_16): Likewise.
399
3ee947b1
L
4002012-06-18 H.J. Lu <hongjiu.lu@intel.com>
401
402 [BZ #14117]
a2f34833
L
403 * sysdeps/i386/fpu_control.h: Removed.
404 * sysdeps/x86_64/fpu_control.h: Moved to ...
405 * sysdeps/x86/fpu_control.h: Here.
406
3ee947b1
L
407 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
408 (_FPU_SETCW): Likewise.
409
ed1825f8
L
4102012-06-15 H.J. Lu <hongjiu.lu@intel.com>
411
25f1282a
L
412 [BZ #14117]
413 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
414 * sysdeps/x86/fpu/bits/mathinline.h: This.
415 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
416
ed1825f8
L
417 [BZ #14050]
418 [BZ #14117]
419 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
420 functions if __x86_64__ is defined.
421
36d54b74
CLT
4222012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
423
424 * string/endian.h: Add !__ASSEMBLER__ condition for including
425 conversion interfaces.
426
10285c21
JM
4272012-06-15 Joseph Myers <joseph@codesourcery.com>
428
429 [BZ #14241]
430 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
431 of ABS(x) in calculating zero to negative powers other than odd
432 integers.
433 * math/libm-test.inc (pow_test): Add more tests.
434
06c5abbd
AJ
4352012-06-15 Andreas Jaeger <aj@suse.de>
436
437 * manual/contrib.texi (Contributors): Update entry of Liubov
438 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
439 Machado Filho.
440
a3aeac40
CH
4412012-06-15 Cyril Hrubis <metan@ucw.cz>
442
443 * string/string.h: Add __wur to GNU version of strerror_r.
444
49bdf4c1
L
4452012-06-14 H.J. Lu <hongjiu.lu@intel.com>
446
447 [BZ #14229]
448 * string/Makefile (tests): Add tst-strtok_r.
449 * string/tst-strtok_r.c: New file.
450 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
451 RAX_LP/RDX_LP on SAVE_PTR.
452
834f9b8d
RM
4532012-06-14 Roland McGrath <roland@hack.frob.com>
454
455 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
456
75fa1921
JM
4572012-06-14 Joseph Myers <joseph@codesourcery.com>
458
459 * libm_test.inc (csqrt_test): Allow more spurious underflow
460 exceptions.
461 (j0_test): Likewise.
462 (j1_test): Likewise.
463 (y0_test): Likewise.
464 (y1_test): Likewise.
465
771766df
CD
4662012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
467
468 * po/Makefile (libc.pot): Use UTF-8 charset.
469
ceb9e56b
PP
4702012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
471
472 [BZ #14210]
473 Suppress sign-conversion warning from FD_SET.
474 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
475 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
476 not unsigned long int.
477 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
478
ddb28975
L
4792012-06-12 H.J. Lu <hongjiu.lu@intel.com>
480
481 [BZ #14050]
482 [BZ #14117]
483 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
484 __extern_always_inline instead of __extern_inline.
485 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
486 (__signbit): Likewise.
487 (__signbitl): Support C++ namespace.
488 (lrintf): New inline function.
489 (lrint): Likewise.
490 (llrintf): Likewise.
491 (llrint): Likewise.
492 (fmaxf): Likewise.
493 (fmax): Likewise.
494 (fminf): Likewise.
495 (fmin): Likewise.
496 (rint): Likewise.
497 (rintf): Likewise.
498 (ceil): Likewise.
499 (ceilf): Likewise.
500 (floor): Likewise.
501 (floorf): Likewise.
502 (nearbyint): Likewise.
503 (nearbyintf): Likewise.
504
d7b4fb26
TS
5052012-06-12 Thomas Schwinge <thomas@codesourcery.com>
506
507 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
508 non-default versions.
509
eb55f5c2
RM
5102012-06-11 Roland McGrath <roland@hack.frob.com>
511
512 [BZ #14218]
513 * manual/argp.texi (Argp): Reword argp_parse description slightly.
514
366af02c
TS
5152012-06-09 Thomas Schwinge <thomas@codesourcery.com>
516
99ff6e5c
TS
517 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
518 (FE_UPWARD, FE_DOWNWARD): Don't define.
519 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
520 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
521
366af02c
TS
522 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
523 reading it.
524 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
525 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
526
793ea851
KK
5272012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
528
529 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
530 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
531 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
532 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
533
a728a38f
L
5342012-06-06 H.J. Lu <hongjiu.lu@intel.com>
535
536 [BZ #14117]
c08010c7
L
537 * sysdeps/i386/fpu/bits/fenv.h: Removed.
538 * sysdeps/i386/fpu/Implies: New file.
539 * sysdeps/x86_64/fpu/Implies: Likewise.
540 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
541 * sysdeps/x86/fpu/bits/fenv.h: This.
542
a728a38f
L
543 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
544 __SSE_MATH__.
545
6e230d11
SP
5462012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
547
548 [BZ #14134]
549 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
550 character 0xffff that matches the last element of the
551 conversion table.
552
1b671feb
AZ
5532012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
554
555 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
556 fmodl commit.
557
6043738b
AZ
5582012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
559
560 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
561 values higher than 25.6283.
562
34ae0b32
AZ
5632012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
564
565 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
566 subnormal exponent extraction and add some __builtin_expect.
567 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
568 Fix for subnormal mantissa calculation.
569
1214ec8f
MF
5702012-06-04 Mike Frysinger <vapier@gentoo.org>
571
572 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
573 cpu2 is -1 and errno is not ENOSYS.
574
f3d1f93c
L
5752012-06-04 H.J. Lu <hongjiu.lu@intel.com>
576
577 [BZ #14117]
0e4a3cd7
L
578 * sysdeps/i386/i486/bits/string.h: Renamed to ...
579 * sysdeps/x86/bits/string.h: This.
580 * sysdeps/x86_64/bits/string.h: Removed.
581
6704c645
L
582 * sysdeps/i386/i486/bits/string.h: Define inline functions only
583 if not compiling for x86-64, but compiling for >= i486.
584
48495318
L
585 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
586 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
587
14adcbfc
L
588 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
589 New macro from Linux kernel 3.4.0.
590 (FP_XSTATE_MAGIC2): Likewise.
591 (FP_XSTATE_MAGIC2_SIZE): Likewise.
592 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
593 (struct _fpx_sw_bytes): New struct.
594 (struct _xsave_hdr): Likewise.
595 (struct _ymmh_state): Likewise.
596 (struct _xstate): Likewise.
597
68e408ab
L
598 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
599 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
600 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
601 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
602 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
603 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
604
f3d1f93c
L
605 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
606 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
607 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
608 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
609 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
610 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
611
d9dc34cd
TMQMF
6122012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
613
614 [BZ #13743]
615 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
616 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
617 (sysdep_headers): Include sys/platform/ppc.h.
618 * sysdeps/powerpc/test-gettimebase.c: Test for
619 __ppc_get_timebase() to catch future ISA opcode/insn changes.
620 * manual/Makefile (appendices): Include platform.texi.
621 * manual/contrib.texi (Contributors): Update @node pointers.
622 * manual/maint.texi (Maintenance): Likewise.
623 (Platform): New node.
624 * manual/platform.texi: New file. Document the new features.
625
4af3879c
SP
6262012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
627 Jakub Jelinek <jakub@redhat.com>
628
629 [BZ #14188]
630 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
631 where __builtin_expect is unavailable.
632
2fd6ff13
DM
6332012-06-03 David S. Miller <davem@davemloft.net>
634
635 * stdlib/longlong.h: Updated from GCC.
636
173f7220
AS
6372012-06-02 Andreas Schwab <schwab@linux-m68k.org>
638
639 [BZ #14042]
640 * sysdeps/powerpc/powerpc32/mcount.c: New file.
641 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
642 __mcount_internal.
643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
644 (GLIBC_2.16): Likewise.
645
f34a1c6f
L
6462012-06-01 H.J. Lu <hongjiu.lu@intel.com>
647
648 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
649
88a4576f
JM
6502012-06-01 Joseph Myers <joseph@codesourcery.com>
651
ea32bcdd
JM
652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
653 (default-abi): New variable.
654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
655 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
656 variable.
657 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
658 Likewise.
659 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
660 Likewise.
661 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
662 Likewise.
663
88a4576f
JM
664 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
665 definition. Document in comment.
666
402fe938
DM
6672012-06-01 David S. Miller <davem@davemloft.net>
668
669 * stdlib/longlong.h: Updated from GCC.
670
3553723f
L
6712012-06-01 H.J. Lu <hongjiu.lu@intel.com>
672
673 [BZ #14117]
3bd872c4
L
674 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
675 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
676 sys/debugreg.h sys/io.h here.
677 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
678 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
679 sys/io.h.
680 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
681 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
682 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
683 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
684 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
685 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
686
3553723f
L
687 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
688 Define only if __x86_64__ is defined.
689
4842e4fe
JM
6902012-06-01 Joseph Myers <joseph@codesourcery.com>
691
c5bfe3d5
JM
692 [BZ #14048]
693 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
694 Use int64_t for variable i.
695 * math/libm-test.inc (fmod_test): Add more tests.
696
4842e4fe
JM
697 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
698 z computation is not scheduled after fetestexcept.
699 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
700 Use math_force_eval instead of asm to ensure calculation scheduled
701 before exception test.
702 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
703 Ensure a1 + u.d computation is not scheduled after fetestexcept.
704
efb73488
AJ
7052012-06-01 Aurelien Jarno <aurelien@aurel32.net>
706
707 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
708 computation is not scheduled after fetestexcept.
709
29bcce7c
L
7102012-06-01 H.J. Lu <hongjiu.lu@intel.com>
711
712 [BZ #14117]
713 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
714 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
715
73a68f94
AZ
7162012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
717
718 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
719 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
720
67b6df78
L
7212012-05-31 H.J. Lu <hongjiu.lu@intel.com>
722
edf2933a 723 [BZ #14117]
ebc64a18
L
724 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
725 <bits/wordsize.h>.
726 (__WCHAR_MIN): Support __WORDSIZE == 64.
727 (__WCHAR_MAX): Likewise.
728
edf2933a
L
729 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
730 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
731
57c6cf40
L
732 [BZ #14183]
733 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
734 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
735
67b6df78 736 [BZ #14117]
8eb6281e
L
737 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
738 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
739
aac639f4
L
740 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
741 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
742
67b6df78
L
743 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
744 Defined to 1 if __x86_64__ isn't defined.
745 (_STAT_VER_LINUX_OLD): New.
746 (st_atime): Remove duplicate.
747 (st_mtime): Likewise.
748 (st_ctime): Likewise.
749
1c2cfe81
DM
7502012-05-31 David S. Miller <davem@davemloft.net>
751
752 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
753 entries.
754
5be8418c
AS
7552012-06-01 Andreas Schwab <schwab@linux-m68k.org>
756
e7725326
AS
757 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
758 gen-libm-test.pl.
759
5be8418c
AS
760 [BZ #14132]
761 * elf/dl-reloc.c: Include <_itoa.h>.
762 (_dl_reloc_bad_type): Remove use of INTUSE.
763 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
764 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
765 * stdio-common/psiginfo.c (psiginfo): Likewise.
766 * stdio-common/psignal.c (psignal): Likewise.
767 * string/strsignal.c (strsignal): Likewise.
768 * include/signal.h (_sys_siglist): Declare hidden proto.
769 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
770 INTVARDEF with libc_hidden_data_def.
771 * stdio-common/itoa-udigits.c: Likewise.
772 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
773 (_itoa_lower_digits_internal): Remove declaration.
774 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
775 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
776 (_sys_sigabbrev_internal): Remove aliases.
777 (_sys_siglist): Define hidden alias.
778
507352f1
MT
7792012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
780
781 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
782 bits/sysctl.h.
783
42bbb1c3
L
7842012-05-31 H.J. Lu <hongjiu.lu@intel.com>
785
786 [BZ #14117]
6bd784b6
L
787 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
788 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
789
8bca20f0
L
790 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
791 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
792 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
793 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
794 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
795 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
796
f9e890a9
L
797 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
798 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
799 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
800
471101a1
L
801 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
802 with __addr.
803 (insw): Likewise.
804 (insl): Likewise.
805 (outsb): Likewise.
806 (outsw): Likewise.
807 (outsl): Likewise.
808
6451c862
L
809 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
810 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
811 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
812
a254b8c9
L
813 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
814 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
815 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
816 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
817 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
818 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
819
b8dfdd92
L
820 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
821 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
822
578cd270
L
823 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
824 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
825
de662f5f
L
826 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
827 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
828 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
829
25653439
L
830 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
831 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
832 to ...
833 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
834
6bad24a0
L
835 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
836 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
837 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
838
42bbb1c3
L
839 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
840 for x86-64.
841 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
842
2d10d547
JM
8432012-05-31 Joseph Myers <joseph@codesourcery.com>
844
845 * math/math.h (M_El): Use two more decimal places.
846 (M_LOG2El): Likewise.
847 (M_LOG10El): Likewise.
848 (M_LN2l): Likewise.
849 (M_LN10l): Likewise.
850 (M_PIl): Likewise.
851 (M_PI_2l): Likewise.
852 (M_PI_4l): Likewise.
853 (M_1_PIl): Likewise.
854 (M_2_PIl): Likewise.
855 (M_2_SQRTPIl): Likewise.
856 (M_SQRT2l): Likewise.
857 (M_SQRT1_2l): Likewise.
858
f230c29b
DM
8592012-05-31 David S. Miller <davem@davemloft.net>
860
861 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
862 values between float registers.
863 * sysdeps/sparc/sparc64/memset.S: Likewise.
864 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
865
fed806c3
MF
8662012-05-31 Mike Frysinger <vapier@gentoo.org>
867
868 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
869 -D_FORTIFY_SOURCE=1.
870 (CPPFLAGS-tst-longjmp_chk.c): Define.
871 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
872 (CPPFLAGS-tst-longjmp_chk2.c): Define.
873 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
874 CFLAGS-tst-wchar-h.c.
875
30917259
MP
8762012-05-31 Marek Polacek <polacek@redhat.com>
877
878 [BZ #14132]
879 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
880 __endmntent_internal): Remove declaration.
881 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
882 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
883 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
884
1c58d5dc
DM
8852012-05-30 David S. Miller <davem@davemloft.net>
886
887 * sysdeps/sparc/sparc32/soft-fp/q_util.c
888 (___Q_simulate_exceptions): Use real FP ops rather than writing
889 into the %fsr.
890 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
891 Likewise.
892
7dc00e0d
L
8932012-05-30 H.J. Lu <hongjiu.lu@intel.com>
894
895 [BZ #14117]
0bd53985
L
896 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
897 * sysdeps/x86/bits/xtitypes.h: This.
898
3a257e66
L
899 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
900 * sysdeps/x86/bits/wordsize.h: This.
901
62f62904
L
902 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
903 * sysdeps/x86/bits/huge_vall.h: This.
904
404fe9d9
L
905 * sysdeps/i386/bits/select.h: Removed.
906 * sysdeps/x86_64/bits/select.h: Renamed to ...
907 * sysdeps/x86/bits/select.h: This.
908
d48d0446
L
909 * sysdeps/i386/bits/setjmp.h: Removed.
910 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
911 * sysdeps/x86/bits/setjmp.h: This.
912
7dc00e0d
L
913 * sysdeps/i386/bits/mathdef.h: Removed.
914 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
915 * sysdeps/x86/bits/mathdef.h: This.
916
03277f8f
AS
9172012-05-30 Andreas Schwab <schwab@linux-m68k.org>
918
919 [BZ #14132]
920 * include/sys/socket.h (__connect_internal)
921 (__libc_sa_len_internal): Remove declaration.
922 (__connect, __libc_sa_len): Declare hidden_proto.
923 (SA_LEN): Remove use of INTUSE.
924 * socket/connect.c: Add libc_hidden_def.
925 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
926 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
927 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
928 alias.
929 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
930 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
931 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
932 of adding _internal alias.
933
13764867
L
9342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
935
936 [BZ #14117]
6bd97696
L
937 * sysdeps/i386/bits/link.h: Removed.
938 * sysdeps/i386/bits/linkmap.h: Likewise.
939 * sysdeps/x86_64/bits/link.h: Renamed to ...
940 * sysdeps/x86/bits/link.h: This.
941 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
942 * sysdeps/x86/bits/linkmap.h: This.
943
f726f0bb
L
944 * sysdeps/i386/bits/endian.h: Removed.
945 * sysdeps/x86_64/bits/endian.h: Renamed to ...
946 * sysdeps/x86/bits/endian.h: This.
947
13764867
L
948 * sysdeps/i386/bits/byteswap.h: Removed.
949 * sysdeps/i386/bits/byteswap-16.h: Likewise.
950 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
951 * sysdeps/x86/bits/byteswap.h: This.
952 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
953 * sysdeps/x86/bits/byteswap-16.h: This.
954 * sysdeps/i386/Implies: Add x86.
955 * sysdeps/x86_64/Implies: Likewise.
956
ae251b0b
DM
9572012-05-30 David S. Miller <davem@davemloft.net>
958
959 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
960 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
961 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
962 (FP_TRAPPING_EXCEPTIONS): Define.
963 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
964 (FP_TRAPPING_EXCEPTIONS): Define.
965 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
966 subnormals only when inexact has been signalled or underflow
967 exceptions are enabled.
968 (_FP_PACK_CANONICAL): Likewise.
969
d5c90867
L
9702012-05-30 H.J. Lu <hongjiu.lu@intel.com>
971
972 [BZ #14183]
973 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
974 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
975
63f1549e
RH
9762012-05-30 Richard Henderson <rth@twiddle.net>
977
8d8f2279
RH
978 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
979 with #ifndef NOT_IN_libc.
980
63f1549e
RH
981 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
982 marked to avoid plt entry.
983
0ab0291b
L
9842012-05-30 H.J. Lu <hongjiu.lu@intel.com>
985
986 [BZ #14112]
987 * Makeconfig (default-abi): New macro.
988 (abi-includes): Likewise.
989 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
990 $(abi-$(default-abi)-lib-soname) for soname if defined.
991 ($(common-objpfx)gnu/lib-names.stmp): Generate from
992 abi-variants.
993 * Makefile (installed-stubs): Likewise.
994 * include/stubs-biarch.h: Removed.
995 * scripts/lib-names.awk: Only handle one library at a time.
996 * scripts/soversions.awk: Remove WORDSIZE support.
997 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
998 entries.
999 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1000 Removed.
1001 (syscall-list-default-condition): Likewise.
1002 (syscall-list-default-condition): Likewise.
1003 (syscall-list-includes): Likewise.
1004 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1005 syscall-list-* with abi-*. Handle undefined abi-variants.
1006 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1007 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1008 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1009 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1010 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1011 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1012 Removed.
1013 (syscall-list-32-options): Likewise.
1014 (syscall-list-32-condition): Likewise.
1015 (syscall-list-64-options): Likewise.
1016 (syscall-list-64-condition): Likewise.
1017 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1018 macro.
1019 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1020 Renamed to ...
1021 (abi-*): This.
1022 (abi-64-ld-soname): New macro.
1023 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1024 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1025 Renamed to ...
1026 (abi-*): This.
1027 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1028 * sysdeps/x86_64/x32/shlib-versions: Likewise.
1029
4da0431d
JM
10302012-05-30 Joseph Myers <joseph@codesourcery.com>
1031
3a85279c
JM
1032 * sysdeps/unix/sysv/linux/kernel-features.h
1033 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1034 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1035 include <kernel-features.h>.
1036 [!__NR_ftruncate64]: Remove conditional code.
1037 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1038 [__NR_ftruncate64]: Make code unconditional.
1039 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1040 * sysdeps/unix/sysv/linux/truncate64.c: Do not
1041 include <kernel-features.h>.
1042 [!__NR_ftruncate64]: Remove conditional code.
1043 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1044 [__NR_ftruncate64]: Make code unconditional.
1045 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1047 include <kernel-features.h>.
1048 [!__NR_ftruncate64]: Remove conditional code.
1049 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1050 [__NR_ftruncate64]: Make code unconditional.
1051 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1053 include <kernel-features.h>.
1054 [!__NR_ftruncate64]: Remove conditional code.
1055 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1056 [__NR_ftruncate64]: Make code unconditional.
1057 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1058
4da0431d
JM
1059 * configure.in (libc_cv_fpie): Weaken to a compile test using
1060 LIBC_TRY_CC_OPTION.
1061 * configure: Regenerated.
1062
11ef492c
AK
10632012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1064
1065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1069 Refreshed.
1070 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1076 Refreshed.
1077
d66ef399
DM
10782012-05-27 David S. Miller <davem@davemloft.net>
1079
1080 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1081 (___Q_zero): New.
1082 (__Q_simulate_exceptions): Return void. Change to simulate
1083 exceptions by writing into the %fsr.
1084 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1085 (__Qp_handle_exceptions): Likewise.
1086 (numbers): Delete.
1087 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1088 __Qp_handle_exceptions.
1089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1090 __Qp_handle_exceptions.
1091 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1092 as unused and give dummy FP_RND_NEAREST initializer.
1093 (FP_INHIBIT_RESULTS): Define.
1094 (___Q_simulate_exceptions): Update declaration.
1095 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1096 formatting.
1097 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1098 as unused and give dummy FP_RND_NEAREST initializer.
1099 (__Qp_handle_exceptions): Update declaration.
1100 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1101 formatting.
1102
04fb54b5
TS
11032012-05-27 Thomas Schwinge <thomas@codesourcery.com>
1104
1105 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1106 the temporary FPU control word.
1107 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1108 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1109 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1110 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1111 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1112 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1113 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1114 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1115 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1116 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1117 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1118
3f99608f
KK
11192012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1120
1121 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1122 fields.
1123
65a4de4e
CLT
11242012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
1125
1126 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1127 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1128 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1129 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1130 Likewise.
1131 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1132 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1133 Likewise.
1134
15749d40
UD
11352012-05-27 Ulrich Drepper <drepper@gmail.com>
1136
1137 * po/h.po: Update from translation team.
1138
25dbcb27
AS
11392012-05-26 Andreas Schwab <schwab@linux-m68k.org>
1140
3d3f8e55
AS
1141 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1142
25dbcb27
AS
1143 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1144 handling of denormals.
1145 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1146 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1147 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1148 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1149 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1150 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1151 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1152 Likewise.
1153
7ad47a80 11542012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
1155
1156 [BZ #14152]
1157 * math/libm-test.inc (fma_test): Don't always expect underflow
1158 exception.
1159
9c6ea9fa
SP
11602012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1161
1162 [BZ #12416]
1163 * elf/tst-execstack.c: Include stackinfo.h.
1164 (do_test): Adjust test case to ensure that pthread_getattr_np
1165 behaviour remains the same after marking stack executable.
1166
a8239222
JM
11672012-05-25 Joseph Myers <joseph@codesourcery.com>
1168
1169 * sysdeps/unix/sysv/linux/kernel-features.h
1170 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1171 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1172 kernel-features.h.
1173 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1174 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1175 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1176 kernel-features.h.
1177 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1178 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1179
918b5606
L
11802012-05-25 H.J. Lu <hongjiu.lu@intel.com>
1181
1182 * configure.in: Define the default includes to being none.
1183 * configure: Regenerated.
1184
3a097cc7
RM
11852012-05-25 Roland McGrath <roland@hack.frob.com>
1186
8422c9a5
RM
1187 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1188 * sysdeps/x86_64/setjmp.S: Likewise.
1189 * sysdeps/i386/bsd-setjmp.S: Likewise.
1190 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1191 * sysdeps/i386/setjmp.S: Likewise.
1192 * sysdeps/i386/__longjmp.S: Likewise.
1193 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1194 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1195
3a097cc7
RM
1196 * include/stap-probe.h: New file.
1197 * configure.in: Handle --enable-systemtap.
1198 * configure: Regenerated.
1199 * config.h.in (USE_STAP_PROBE): New #undef.
1200 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1201 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1202 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1203
21708942
JM
12042012-05-25 Joseph Myers <joseph@codesourcery.com>
1205
1206 [BZ #13717]
1207 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1208 to 2.4.0 where earlier.
1209 * sysdeps/unix/sysv/linux/configure: Regenerated.
1210 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1211 <kernel-features.h>.
1212 [__ASSUME_32BITUIDS]: Make code unconditional.
1213 [!__ASSUME_32BITUIDS]: Remove conditional code.
1214 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1215 <kernel-features.h>.
1216 [__ASSUME_32BITUIDS]: Make code unconditional.
1217 [!__ASSUME_32BITUIDS]: Remove conditional code.
1218 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
1219 [__ASSUME_32BITUIDS]: Make code unconditional.
1220 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1221 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
1222 <kernel-features.h>.
1223 [__ASSUME_32BITUIDS]: Make code unconditional.
1224 [!__ASSUME_32BITUIDS]: Remove conditional code.
1225 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
1226 <kernel-features.h>.
1227 [__ASSUME_32BITUIDS]: Make code unconditional.
1228 [!__ASSUME_32BITUIDS]: Remove conditional code.
1229 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
1230 <kernel-features.h>.
1231 [__ASSUME_32BITUIDS]: Make code unconditional.
1232 [!__ASSUME_32BITUIDS]: Remove conditional code.
1233 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
1234 <kernel-features.h>.
1235 [__ASSUME_32BITUIDS]: Make code unconditional.
1236 [!__ASSUME_32BITUIDS]: Remove conditional code.
1237 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1238 <kernel-features.h>.
1239 [__ASSUME_32BITUIDS]: Make code unconditional.
1240 [!__ASSUME_32BITUIDS]: Remove conditional code.
1241 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1242 <kernel-features.h>.
1243 [__ASSUME_32BITUIDS]: Make code unconditional.
1244 [!__ASSUME_32BITUIDS]: Remove conditional code.
1245 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
1246 <kernel-features.h>.
1247 [__ASSUME_32BITUIDS]: Make code unconditional.
1248 [!__ASSUME_32BITUIDS]: Remove conditional code.
1249 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1250 <kernel-features.h>.
1251 [__ASSUME_32BITUIDS]: Make code unconditional.
1252 [!__ASSUME_32BITUIDS]: Remove conditional code.
1253 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1254 <kernel-features.h>.
1255 [__ASSUME_32BITUIDS]: Make code unconditional.
1256 [!__ASSUME_32BITUIDS]: Remove conditional code.
1257 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
1258 <kernel-features.h>.
1259 [__ASSUME_32BITUIDS]: Make code unconditional.
1260 [!__ASSUME_32BITUIDS]: Remove conditional code.
1261 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
1262 <kernel-features.h>.
1263 [__NR_setresgid] (__setresgid): Do not declare.
1264 [__ASSUME_32BITUIDS]: Make code unconditional.
1265 [!__ASSUME_32BITUIDS]: Remove conditional code.
1266 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1267 <kernel-features.h>.
1268 [__NR_setresuid] (__setresuid): Do not declare.
1269 [__ASSUME_32BITUIDS]: Make code unconditional.
1270 [!__ASSUME_32BITUIDS]: Remove conditional code.
1271 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
1272 <kernel-features.h>.
1273 [__ASSUME_32BITUIDS]: Make code unconditional.
1274 [!__ASSUME_32BITUIDS]: Remove conditional code.
1275 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
1276 <kernel-features.h>.
1277 [__ASSUME_32BITUIDS]: Make code unconditional.
1278 [!__ASSUME_32BITUIDS]: Remove conditional code.
1279 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
1280 <kernel-features.h>.
1281 [__ASSUME_32BITUIDS]: Make code unconditional.
1282 [!__ASSUME_32BITUIDS]: Remove conditional code.
1283 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
1284 <kernel-features.h>.
1285 [__ASSUME_32BITUIDS]: Make code unconditional.
1286 [!__ASSUME_32BITUIDS]: Remove conditional code.
1287 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
1288 <kernel-features.h>.
1289 [__ASSUME_32BITUIDS]: Make code unconditional.
1290 [!__ASSUME_32BITUIDS]: Remove conditional code.
1291 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
1292 <kernel-features.h>.
1293 [__ASSUME_32BITUIDS]: Make code unconditional.
1294 [!__ASSUME_32BITUIDS]: Remove conditional code.
1295 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
1296 <kernel-features.h>.
1297 [__ASSUME_32BITUIDS]: Make code unconditional.
1298 [!__ASSUME_32BITUIDS]: Remove conditional code.
1299 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
1300 <kernel-features.h>.
1301 [__ASSUME_32BITUIDS]: Make code unconditional.
1302 [!__ASSUME_32BITUIDS]: Remove conditional code.
1303 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
1304 <kernel-features.h>.
1305 [__ASSUME_32BITUIDS]: Make code unconditional.
1306 [!__ASSUME_32BITUIDS]: Remove conditional code.
1307 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1308 <kernel-features.h>.
1309 [__ASSUME_32BITUIDS]: Make code unconditional.
1310 [!__ASSUME_32BITUIDS]: Remove conditional code.
1311 * sysdeps/unix/sysv/linux/kernel-features.h
1312 (__ASSUME_SETRESUID_SYSCALL): Remove.
1313 (__ASSUME_SETRESGID_SYSCALL): Likewise.
1314 (__ASSUME_32BITUIDS): Likewise.
1315 (__ASSUME_LDT_WORKS): Likewise.
1316 (__ASSUME_O_DIRECTORY): Likewise.
1317 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1318 architecture but not kernel version.
1319 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1320 (__ASSUME_MMAP2_SYSCALL): Likewise.
1321 (__ASSUME_STAT64_SYSCALL): Likewise.
1322 (__ASSUME_IPC64): Likewise.
1323 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1324 <kernel-features.h>.
1325 [__ASSUME_32BITUIDS]: Make code unconditional.
1326 [!__ASSUME_32BITUIDS]: Remove conditional code.
1327 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1328 <kernel-features.h>.
1329 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1330 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1331 132096]: Remove conditional code.
1332 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1333 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1334 <kernel-features.h>.
1335 [__ASSUME_32BITUIDS]: Make code unconditional.
1336 [!__ASSUME_32BITUIDS]: Remove conditional code.
1337 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1338 <kernel-features.h>.
1339 [__ASSUME_32BITUIDS]: Make code unconditional.
1340 [!__ASSUME_32BITUIDS]: Remove conditional code.
1341 * sysdeps/unix/sysv/linux/setegid.c: Do not include
1342 <kernel-features.h>.
1343 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1344 unconditional.
1345 (__setresgid): Do not declare.
1346 [__ASSUME_32BITUIDS]: Make code unconditional.
1347 [!__ASSUME_32BITUIDS]: Remove conditional code.
1348 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1349 <kernel-features.h>.
1350 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1351 unconditional.
1352 (__setresuid): Do not declare.
1353 [__ASSUME_32BITUIDS]: Make code unconditional.
1354 [!__ASSUME_32BITUIDS]: Remove conditional code.
1355 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1356 <kernel-features.h>.
1357 [__ASSUME_32BITUIDS]: Make code unconditional.
1358 [!__ASSUME_32BITUIDS]: Remove conditional code.
1359 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1360 <kernel-features.h>.
1361 [__ASSUME_32BITUIDS]: Make code unconditional.
1362 [!__ASSUME_32BITUIDS]: Remove conditional code.
1363
a386f1cc
RH
13642012-05-25 Richard Henderson <rth@twiddle.net>
1365
1366 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1367 dl_hwcap to ifunc resolver.
1368 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1369 elf_ifunc_invoke.
1370 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1371 dl_hwcap to ifunc resolver.
1372 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1373
b6550497
JM
13742012-05-24 Joseph Myers <joseph@codesourcery.com>
1375
1376 [BZ #14153]
1377 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1378 for |x| <= 2**-26, not 2**-57.
1379 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1380 exception.
1381
b0bc23a1
JL
13822012-05-24 Jeff Law <law@redhat.com>
1383
1384 * stdio-common/Makefile (tests): Add bug25.
1385 * stdio-common/bug25.c: New test.
1386
347c92e9
L
13872012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1388
1389 [BZ #13576]
1390 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1391 multiple of MALLOC_ALIGNMENT in size.
1392 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1393
6bcc8b3f
JM
13942012-05-24 Joseph Myers <joseph@codesourcery.com>
1395
1396 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1397 Require >= 256.
1398 (FILENAME_MAX): Use macro-int-constant.
1399 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1400 (_IOFBF): Use macro-int-constant.
1401 (_IOLBF): Likewise.
1402 (_IONBF): Likewise.
1403 (SEEK_CUR): Likewise.
1404 (SEEK_END): Likewise.
1405 (SEEK_SET): Likewise.
1406 (TMP_MAX): Likewise.
1407 (EOF): Use macro-int-constant. Require < 0.
1408 (NULL): Use macro-constant. Require == 0.
1409 (stdin): Require type to be FILE *.
1410 (stdout): Likewise.
1411 (stderr): Likewise.
1412 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1413 macro-int-constant.
1414 (EXIT_SUCCESS): Likewise.
1415 (NULL): Use macro-constant. Require == 0.
1416 (RAND_MAX): Use macro-int-constant.
1417 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1418 [C99-based standards] (strtof): Require function.
1419 [C99-based standards] (strtold): Likewise.
1420 [C99-based standards] (strtoll): Likewise.
1421 [C99-based standards] (strtoull): Likewise.
1422 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1423 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1424 [ISO || ISO99 || ISO11] (math.h): Likewise.
1425 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1426 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1427 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1428
d18ea0c5
AS
14292012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1430
1431 [BZ #14132]
56d25bb8
AS
1432 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1433 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1434 * intl/dgettext.c (DCGETTEXT): Likewise.
1435 * intl/gettext.c (DCGETTEXT): Likewise.
1436 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1437 * posix/regex_internal.h (gettext): Likewise.
1438 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1439 Remove declaration.
1440 * include/argz.h (__argz_count_internal)
1441 (__argz_stringify_internal): Remove declaration.
1442 (__argz_count, __argz_stringify): Declare hidden proto.
1443 * intl/dcgettext.c: Remove use of INTDEF.
1444 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1445 * string/argz-stringify.c: Likewise.
1446 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1447 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1448 Declare hidden proto.
d18ea0c5
AS
1449 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1450 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1451 Declare hidden proto.
1452 * include/stdio.h (__asprintf_internal): Don't declare.
1453 (__asprintf): Don't define as macro. Declare hidden proto.
1454 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1455 (__fsetlocking): Declare hidden proto.
1456 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1457 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1458 hidden proto.
1459 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1460 (_IO_setlinebuf): Remove use of INTUSE.
1461 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1462 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1463 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1464 Remove declaration.
1465 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1466 (_IO_do_flush): Remove use of INTUSE.
1467 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1468 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1469 (_IO_adjust_column, _IO_least_wmarker)
1470 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1471 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1472 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1473 (_IO_default_doallocate, _IO_wdefault_doallocate)
1474 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1475 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1476 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1477 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1478 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1479 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1480 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1481 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1482 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1483 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1484 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1485 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1486 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1487 proto.
1488 (_IO_flush_all_internal, _IO_adjust_column_internal)
1489 (_IO_default_uflow_internal, _IO_default_finish_internal)
1490 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1491 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1492 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1493 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1494 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1495 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1496 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1497 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1498 (_IO_file_close_internal, _IO_file_close_it_internal)
1499 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1500 (_IO_file_init_internal, _IO_file_attach_internal)
1501 (_IO_file_fopen_internal, _IO_file_read_internal)
1502 (_IO_file_sync_internal, _IO_file_seek_internal)
1503 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1504 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1505 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1506 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1507 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1508 (_IO_list_all_internal, _IO_link_in_internal)
1509 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1510 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1511 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1512 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1513 (_IO_do_write_internal, _IO_padn_internal)
1514 (_IO_getline_info_internal, _IO_getline_internal)
1515 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1516 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1517 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1518 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1519 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1520 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1521 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1522 with libc_hidden_ver, remove use of INTUSE.
1523 * libio/genops.c: Likewise.
1524 * libio/freopen.c: Likewise.
1525 * libio/freopen64.c: Likewise.
1526 * libio/iofclose.c: Likewise.
1527 * libio/iofdopen.c: Likewise.
1528 * libio/iofflush.c: Likewise.
1529 * libio/iofflush_u.c: Likewise.
1530 * libio/iofgets.c: Likewise.
1531 * libio/iofgets_u.c: Likewise.
1532 * libio/iofopen.c: Likewise.
1533 * libio/iofopncook.c: Likewise.
1534 * libio/iofread.c: Likewise.
1535 * libio/iofread_u.c: Likewise.
1536 * libio/ioftell.c: Likewise.
1537 * libio/iofwrite.c: Likewise.
1538 * libio/iogetline.c: Likewise.
1539 * libio/iogets.c: Likewise.
1540 * libio/iogetwline.c: Likewise.
1541 * libio/iopadn.c: Likewise.
1542 * libio/iopopen.c: Likewise.
1543 * libio/ioseekoff.c: Likewise.
1544 * libio/ioseekpos.c: Likewise.
1545 * libio/iosetbuffer.c: Likewise.
1546 * libio/iosetvbuf.c: Likewise.
1547 * libio/ioungetc.c: Likewise.
1548 * libio/ioungetwc.c: Likewise.
1549 * libio/iovdprintf.c: Likewise.
1550 * libio/iovsprintf.c: Likewise.
1551 * libio/iovsscanf.c: Likewise.
1552 * libio/memstream.c: Likewise.
1553 * libio/obprintf.c: Likewise.
1554 * libio/oldfileops.c: Likewise.
1555 * libio/oldiofclose.c: Likewise.
1556 * libio/oldiofdopen.c: Likewise.
1557 * libio/oldiofopen.c: Likewise.
1558 * libio/oldiopopen.c: Likewise.
1559 * libio/oldstdfiles.c: Likewise.
1560 * libio/putc.c: Likewise.
1561 * libio/setbuf.c: Likewise.
1562 * libio/setlinebuf.c: Likewise.
1563 * libio/stdfiles.c: Likewise.
1564 * libio/strops.c: Likewise.
1565 * libio/vasprintf.c: Likewise.
1566 * libio/vscanf.c: Likewise.
1567 * libio/vsnprintf.c: Likewise.
1568 * libio/vswprintf.c: Likewise.
1569 * libio/wfiledoalloc.c: Likewise.
1570 * libio/wfileops.c: Likewise.
1571 * libio/wgenops.c: Likewise.
1572 * libio/wmemstream.c: Likewise.
1573 * libio/wstrops.c: Likewise.
1574 * libio/__fpurge.c: Likewise.
1575 * libio/__fsetlocking.c: Likewise.
1576 * assert/assert.c: Likewise.
1577 * debug/fgets_chk.c: Likewise.
1578 * debug/fgets_u_chk.c: Likewise.
1579 * debug/fread_chk.c: Likewise.
1580 * debug/fread_u_chk.c: Likewise.
1581 * debug/gets_chk.c: Likewise.
1582 * debug/obprintf_chk.c: Likewise.
1583 * debug/vasprintf_chk.c: Likewise.
1584 * debug/vdprintf_chk.c: Likewise.
1585 * debug/vsnprintf_chk.c: Likewise.
1586 * debug/vsprintf_chk.c: Likewise.
1587 * malloc/mtrace.c: Likewise.
1588 * misc/error.c: Likewise.
1589 * misc/syslog.c: Likewise.
1590 * stdio-common/asprintf.c: Likewise.
1591 * stdio-common/fxprintf.c: Likewise.
1592 * stdio-common/getw.c: Likewise.
1593 * stdio-common/isoc99_fscanf.c: Likewise.
1594 * stdio-common/isoc99_scanf.c: Likewise.
1595 * stdio-common/isoc99_vfscanf.c: Likewise.
1596 * stdio-common/isoc99_vscanf.c: Likewise.
1597 * stdio-common/isoc99_vsscanf.c: Likewise.
1598 * stdio-common/printf-prs.c: Likewise.
1599 * stdio-common/printf_fp.c: Likewise.
1600 * stdio-common/printf_fphex.c: Likewise.
1601 * stdio-common/printf_size.c: Likewise.
1602 * stdio-common/putw.c: Likewise.
1603 * stdio-common/scanf.c: Likewise.
1604 * stdio-common/sprintf.c: Likewise.
1605 * stdio-common/tmpfile.c: Likewise.
1606 * stdio-common/vfprintf.c: Likewise.
1607 * stdio-common/vfscanf.c: Likewise.
1608 * stdlib/strfmon_l.c: Likewise.
1609 * sunrpc/openchild.c: Likewise.
1610 * sunrpc/xdr_stdio.c: Likewise.
1611 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1612 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1613
d6c33fda
RM
16142012-05-24 Roland McGrath <roland@hack.frob.com>
1615
c1487492
RM
1616 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1617
1618 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1619 in the third column, to generate for the shared library an IFUNC
1620 that uses _dl_vdso_vsym.
1621 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1622 * Makeconfig (object-suffixes-noshared): New variable.
1623
1624 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1625 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1626 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1627 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1628
d6c33fda
RM
1629 [BZ #14132]
1630 * include/sys/time.h (__gettimeofday): Remove macro.
1631 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1632 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1633 Remove INTDEF.
1634 (__gettimeofday): Add libc_hidden_def.
1635 (gettimeofday): Add libc_hidden_weak.
1636 * sysdeps/mach/gettimeofday.c: Likewise.
1637 * sysdeps/posix/gettimeofday.c: Likewise.
1638 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1639 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1640 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1641 (__gettimeofday_internal): Remove strong_alias.
1642 (__gettimeofday): Add libc_hidden_def.
1643 (gettimeofday): Add libc_hidden_weak.
1644 * sysdeps/unix/syscalls.list (gettimeofday):
1645 Remove __gettimeofday_internal alias.
1646
b5a2bbe6
L
16472012-05-24 Daniel Jacobowitz <drow@false.org>
1648 H.J. Lu <hongjiu.lu@intel.com>
1649
1650 [BZ #12495]
1651 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1652 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1653 (largebin_index_32_big): New.
1654 (largebin_index): Use it for 16-byte alignment.
1655 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1656 correction with front_misalign.
1657
cfba4fda
L
16582012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1659
7f907421
L
1660 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1662 Likewise.
1663 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1664 Likewise.
1665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1666 Likewise.
1667 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1668 Likewise.
1669 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1670 Likewise.
1671 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1672 Likewise.
1673 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1674 Likewise.
1675 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1676 Likewise.
1677 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1678 Likewise.
1679 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1680 Likewise.
1681 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1682 Likewise.
1683 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1684 Likewise.
1685
cfba4fda
L
1686 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1687 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1688
80bad0cc
JM
16892012-05-24 Joseph Myers <joseph@codesourcery.com>
1690
7a25eb06
JM
1691 [BZ #10846]
1692 [BZ #14036]
1693 * math/libm-test.inc (exp_test): Add test from bug 14036.
1694 (pow_test): Add test from bug 10846.
1695
795405f9
JM
1696 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1697 and other flags.
1698 (special_function): Do not include flags in test name.
1699 (parse_args): Likewise.
1700 * sysdeps/i386/fpu/libm-test-ulps: Update.
1701 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1702 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1703 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1705
80bad0cc
JM
1706 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1707 exceptions.
1708 * math/libm-test.inc ("Philosophy"): Update comment about
1709 exception testing.
1710 (UNDERFLOW_EXCEPTION): New macro.
1711 (UNDERFLOW_EXCEPTION_OK): Likewise.
1712 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1713 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1714 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1715 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1716 (INVALID_EXCEPTION_OK): Update value.
1717 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1718 (OVERFLOW_EXCEPTION_OK): Likewise.
1719 (IGNORE_ZERO_INF_SIGN): Likewise.
1720 (test_exceptions): Handle underflow exceptions.
1721 (acos_test): Update for underflow exception expectations.
1722 (cexp_test): Likewise.
1723 (clog_test): Likewise.
1724 (clog10_test): Likewise.
1725 (csqrt_test): Likewise.
1726 (ctan_test): Likewise.
1727 (ctanh_test): Likewise.
1728 (exp_test): Likewise.
1729 (exp10_test): Likewise.
1730 (exp2_test): Likewise.
1731 (expm1_test): Likewise.
1732 (fma_test): Likewise.
1733 (j0_test): Likewise.
1734 (jn_test): Likewise.
1735 (nexttoward_test): Likewise.
1736 (pow_test): Likewise.
1737 (scalbn_test): Likewise.
1738 (scalbln_test): Likewise.
1739 (tan_test): Likewise.
1740 (y1_test): Likewise.
1741 * sysdeps/i386/fpu/libm-test-ulps: Update.
1742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1743
9e0e3d0b
DM
17442012-05-23 David S. Miller <davem@davemloft.net>
1745
1746 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1747 (__libc_sigaction): Remove unused local variables.
1748
ccd0a08f
L
17492012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1750
1751 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1752
62bdf9a6
PE
17532012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1754
f8591f80
PE
1755 mktime: avoid signed integer overflow
1756 * time/mktime.c (__mktime_internal): Do not mishandle the case
1757 where diff == INT_MIN.
1758
94c7d826
PE
1759 mktime: simplify computation of average
1760 * time/mktime.c (ranged_convert): Use new time_t_avg function
1761 instead of rolling our own (probably-slower) code.
1762
ce73d683
PE
1763 mktime: do not assume signed right shift propagates sign bit
1764 * time/mktime.c (isdst_differ): New static function.
1765 (__mktime_internal): No need to normalize tm_isdst now.
1766 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1767 tm_isdst values.
1768
72a22e59
PE
1769 mktime: merge another wrapv change from gnulib
1770 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1771 from some compilers.
1772
68605433
PE
1773 mktime: remove incorrect attempt at unusual arithmetics
1774 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1775 The code didn't really work on such machines anyway.
1776 (TYPE_MINIMUM): Assume two's complement.
1777 (twos_complement_arithmetic): Verify that long_int and time_t
1778 are two's complement (or unsigned, in the latter case).
1779
03cf7fe3
PE
1780 mktime: check signed shifts on long_int and time_t, too
1781 * time/mktime.c (SHR): Check that shifts work as desired
1782 on the types long_int and time_t too, as SHR is used on
1783 such types.
1784
f04dfbc2
PE
1785 mktime: do not assume 'long' is wide enough
1786 * time/mktime.c (verify): Move decl up.
1787 (long_int): New type.
1788 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1789 to remove assumption in the code that 'long' is wide enough to
1790 store year values. This assumption is not true on x32 and on
1791 some non-glibc platforms.
1792
62bdf9a6
PE
1793 mktime: merge wrapv change from gnulib
1794 * time/mktime.c (WRAPV): New macro.
1795 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1796 (guess_time_tm, __mktime_internal): Do not assume that signed
1797 integer overflow wraps around; modern compilers generate code
1798 where this assumption is no longer valid.
1799
5e292e4f
L
18002012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1801
1802 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1803 Replace "jmp L(pseudo_end)" with "ret".
1804 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1805 Likewise.
1806
8caf8c87
AJ
18072012-05-23 Andreas Jaeger <aj@suse.de>
1808
1809 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1810 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1811
1a09dc56
AJ
18122012-05-23 Andreas Jaeger <aj@suse.de>
1813 Maximilian Attems <max@stro.at>
1814
1815 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1816 New macros.
1817
1c87aba0
L
18182012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1819
1820 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1821 code so that pseudo_end is just ret and the stack pointer is
1822 correct also for static library in error case.
1823
40e45bd5
JM
18242012-05-23 Joseph Myers <joseph@codesourcery.com>
1825
c2670533
JM
1826 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1827 move to syscalls.list.
1828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1832
40e45bd5
JM
1833 * manual/install.texi (Running make install): Do not mention Linux
1834 kernel version for which pt_chown is not needed.
1835 (Linux): Do not mention problems with nscd with 2.0 kernels.
1836 * INSTALL: Regenerated.
1837
be08eda5
AJ
18382012-05-23 Andreas Jaeger <aj@suse.de>
1839
1840 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1841 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1842 macro.
1843 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1844 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1845 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1846 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1847 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1848 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1849 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1850 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1851 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1852 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1853 * sysdeps/unix/sysv/linux/bits/in.h
1854 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1855
a6a056bb
RM
18562012-05-22 Roland McGrath <roland@hack.frob.com>
1857
1858 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1859 (PREPARE_VERSION): Just use assert instead, it will be elided
1860 under [NDEBUG] anyway.
1861
c9009328
L
18622012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1863
1864 * sysdeps/unix/sysv/linux/Makefile: Include
1865 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1866 (sysdep_routines): Remove sysctl.
c9009328
L
1867 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1868 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1869 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1870 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1871 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1872
73338355
AJ
18732012-05-22 Andreas Jaeger <aj@suse.de>
1874
1875 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1876 that pseudo_end is just ret and the stack pointer is correct also
1877 for static library in error case.
1878
d44638b0
PP
18792012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1880
1881 [BZ #14122]
1882 * nss/nsswitch.c (defconfig_entries): New variable.
1883 (__nss_database_lookup): Don't leak defconfig entries.
1884 (nss_parse_service_list): Don't leak on error paths.
1885 (free_database_entries): New function.
1886 (free_defconfig): New function.
1887 (free_mem): Move common code to free_database_entries.
1888
31a39bd8
L
18892012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1890
da0331a8
L
1891 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1892 Add arch_prctl.
1893 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1894
31a39bd8
L
1895 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1896 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1897 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1898 New macro.
1899 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1900 (INTERNAL_SYSCALL_TYPES): Likewise.
1901 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1902 (LOAD_REGS_TYPES_[1-6]): Likewise.
1903 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1904 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1905
45470df3
AZ
19062012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1907
1908 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1909 copysignl for GLIBC_2_0.
1910 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1911 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1912 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1913 logbl for GLIBC_2_0.
1914 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1915 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1916
98a61bcb
L
19172012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1918
a4f6e481
L
1919 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1920 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1921
f63d5db6
L
1922 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1923 Use "neg %eax".
1924
98a61bcb
L
1925 * time/mktime.c: Update copyright years.
1926
95770f14
PE
19272012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1928
6226efbd
PE
1929 mktime: merge comment-quoting-style change from gnulib
1930 * time/mktime.c: Quote 'like this' in comments.
1931 The GNU coding standards suggest that we no longer quote `like this',
1932 as "`" and "'" are typically rendered asymmetrically nowadays.
1933 The typical gnulib style is to quote 'like this' when quoting
1934 code, and "like this" when quoting English.
1935
b99e4f78
PE
1936 * time/mktime.c (compile-command): Add "-I.".
1937
643e01e6
PE
1938 mktime: merge mktime-internal.h change from gnulib
1939 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1940
2554247d
PE
1941 mktime: merge time_r change from gnulib
1942 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1943
826dd0ab
PE
1944 mktime: merge DEBUG change from gnulib
1945 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1946 case system <time.h> has a #define.
1947
bd83aabe
PE
1948 mktime: merge <sys/types.h> change from gnulib
1949 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1950 since <time.t> is now guaranteed to define time_t.
1951
95770f14
PE
1952 mktime: merge HAVE_CONFIG_H change from gnulib
1953 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1954
5e1a27a9
L
19552012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1956
0e44a77e
L
1957 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1958 Use "neg %eax".
1959
5e1a27a9
L
1960 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1961 __rlim_t cast.
1962 (struct rusage): Use anonymous union to pad each field to
1963 __syscall_slong_t.
1964
46259bec
DM
19652012-05-21 David S. Miller <davem@davemloft.net>
1966
1967 * Makefules (o-iterator): Remove .s cases.
1968 (compile-command.s): Delete.
1969 (COMPILE.s): Delete.
1970 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1971
59f0c22e
JM
19722012-05-21 Joseph Myers <joseph@codesourcery.com>
1973
1974 * configure.in (libc_cv_predef_stack_protector): Only consider
1975 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1976 * configure: Regenerated.
1977
20c07380
L
19782012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1979
bbb3154b
L
1980 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1981 New macro. Use R*LP on int and pointer.
1982 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1983 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1984 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1985 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1986
20c07380
L
1987 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1988 [__WORDSIZE_TIME64_COMPAT32] instead of
1989 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1990 (struct utmp): Likewise.
1991 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1992 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1993 Renamed to ...
1994 (__WORDSIZE_TIME64_COMPAT32): This.
1995 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1996 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1997 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1998 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1999 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2000 (__WORDSIZE_TIME64_COMPAT32): New macro.
2001
d8d1017e
AJ
20022012-05-21 Andreas Jaeger <aj@suse.de>
2003
2004 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2005 only if [SHARED]. Add prototype for __wcschr_ia32.
2006
6c7fb145
RM
20072012-05-21 Roland McGrath <roland@hack.frob.com>
2008
2009 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2010 of %rbp unmolested in the jmp_buf while mangling the low bits.
2011 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2012 unmolested high bits of %rbp while demangling the low bits.
2013 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2014
66274218
AJ
20152012-05-21 Andreas Jaeger <aj@suse.de>
2016
07c58f8f
AJ
2017 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2018 * sunrpc/svc_simple.c: Use it for registerrpc.
2019 * sunrpc/xcrypt.c: Use it for passwd2des.
2020
66274218
AJ
2021 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2022
61f65140
L
20232012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2024
2025 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2026 Don't define if [__SYSCALL_WORDSIZE != 32].
2027 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2028 New macro.
2029
5fefb436
AJ
20302012-05-21 Bruno Haible <bruno@clisp.org>
2031 Andreas Jaeger <aj@suse.de>
2032
2033 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2034 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2035 inptr and inend for must_buffer_ch.
2036 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2037 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2038 * stdio-common/Makefile (tests): Remove bug15.
2039 (bug15-ENV): Remove macro.
2040 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2041 anymore.
2042
d8e272ab
AJ
20432012-05-19 Andreas Jaeger <aj@suse.de>
2044 Roland McGrath <roland@hack.frob.com>
2045
2046 * manual/contrib.texi: Completely rewritten. It contains now an
2047 alphabetical list of contributors and their contributions.
2048
4a56a162
RH
20492012-05-21 Richard Henderson <rth@twiddle.net>
2050
2051 * misc/getauxval.c (__getauxval): Use unsigned long int.
2052 * misc/sys/auxv.h: Include <sys/cdefs.h>.
2053 (getauxval): Use unsigned long int.
2054
d024d23c
L
20552012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2056
2057 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2058
cbc00a03
RM
20592012-05-21 Roland McGrath <roland@hack.frob.com>
2060
2061 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2062 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2063 __alignof__ (long double).
2064
478143fa
AZ
20652012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2066
2067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2068
c7683a6d
RH
20692012-05-20 Richard Henderson <rth@twiddle.net>
2070
2071 * misc/getauxval.c: New file.
2072 * misc/sys/auxv.h: New file.
2073 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2074 (routines): Add getauxval.
2075 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2076 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2077 * elf/dl-sysdep.c (_dl_auxv): Remove.
2078 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2079 * elf/dl-support.c (_dl_auxv): New variable.
2080 (_dl_aux_init): Initialize it.
2081 * manual/startup.texi (Auxiliary Vector): New node.
2082 * sysdeps/generic/bits/hwcap.h: New file.
2083 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2084 * sysdeps/powerpc/sysdep.h: ... here. Include it.
2085 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2086 * sysdeps/sparc/sysdep.h: ... here. Include it.
2087 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2088 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
2089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2090 Update.
c7683a6d
RH
2091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2094 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2097 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2099
a6f1845d
AZ
21002012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2101
2102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2103
cbcbe830
DM
21042012-05-19 David S. Miller <davem@davemloft.net>
2105
2106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2107
e0b16cc2
JM
21082012-05-19 Joseph Myers <joseph@codesourcery.com>
2109
2110 [BZ #14123]
2111 * math/s_ccosh.c: Include <float.h>
2112 (__ccosh): Avoid internal overflow calculating sinh and cosh
2113 values before multiplying by sin and cos values.
2114 * math/s_ccoshf.c: Likewise.
2115 * math/s_ccoshl.c: Likewise.
2116 * math/s_csin.c: Likewise.
2117 * math/s_csinf.c: Likewise.
2118 * math/s_csinl.c: Likewise.
2119 * math/s_csinh.c: Likewise.
2120 * math/s_csinhf.c: Likewise.
2121 * math/s_csinhl.c: Likewise.
2122 * math/libm-test.inc (ccos_test): Add more tests.
2123 (ccosh_test): Likewise.
2124 (csin_test): Likewise.
2125 (csinh_test): Likewise.
2126 * sysdeps/i386/fpu/libm-test-ulps: Update.
2127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2128
6ad13e08
L
21292012-05-19 H.J. Lu <hongjiu.lu@intel.com>
2130
f66f0ce8
L
2131 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2132 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2133
6ad13e08
L
2134 * sysdeps/x86_64/x32/_itoa.h: Add comment.
2135
b1d072a7
JM
21362012-05-19 Joseph Myers <joseph@codesourcery.com>
2137
2138 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2139 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2140 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2141 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2142 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2143 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2144 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2145 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2146 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2147 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2148 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2149 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2150 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2151 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2152 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2153 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2154 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2155 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2156 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2157 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2158 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2159 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2160 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2161 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2162 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2163 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2164 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2165 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2166 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2167 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2168 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2169
9eae47cb
AJ
21702012-05-18 Andreas Jaeger <aj@suse.de>
2171
2172 * csu/.gitignore: Delete.
2173
bb07f69f
L
21742012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2175
2176 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2177 (timex): Use __syscall_slong_t.
2178
e6bdb741
AJ
21792012-05-18 Andreas Jaeger <aj@suse.de>
2180 Carlos O'Donell <carlos_odonell@mentor.com>
2181
2182 * manual/install.texi (Configuring and compiling): Update
2183 description about files modified in the source directory.
d6c33fda 2184 * INSTALL: Regenerated.
e6bdb741 2185
1b74487e
L
21862012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2187
2188 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2189 value. Use "or" to set return value to -1.
2190 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2191 negate return value.
2192
a88b64b9
TMQMF
21932012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2194
2195 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2196 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2197 failure if the compiler has Graphite support disabled.
2198 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2199 Likewise.
2200 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2201 CFLAGS-memmove.c): Likewise.
2202 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2203 Likewise.
2204
3707636e
L
22052012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2206
610b8622
L
2207 * sysdeps/x86_64/x32/_itoa.h: New file.
2208
7cd195df
L
2209 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2210 getdents system call only if kernel and user dirents have the
2211 same d_ino and d_off.
2212
94b07d20
L
2213 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2214 LLONG_MAX != LONG_MAX.
2215 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2216 (_fitoa_word): Likewise.
2217
18298070
L
2218 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2219 years.
2220 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2221 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2222 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2223
553c7ea4
L
2224 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2225 include <bits/wordsize.h>. Check __x86_64__ instead of
2226 __WORDSIZE.
2227 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2228 if __x86_64__ is defined. Use anonymous union on fpstate.
2229
3707636e
L
2230 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2231 anonymous union.
2232
b53ef01a
AS
22332012-05-18 Andreas Schwab <schwab@linux-m68k.org>
2234
37fb1dc0
AS
2235 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2236 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
2237 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
2238 Refer to _rtld_local_ro instead of _rtld_global_ro.
2239 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
2240 Likewise.
2241 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
2242 Likewise.
2243 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
2244 Likewise.
2245 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2246 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2247 of _rtld_global, and rtld_progname instead of _dl_argv[0].
2248
b53ef01a
AS
2249 * sysdeps/powerpc/powerpc32/dl-machine.c
2250 (__elf_machine_runtime_setup) [PROF]: Don't reference
2251 _dl_prof_resolve.
2252
7a185db2
AJ
22532012-05-18 Andreas Jaeger <aj@suse.de>
2254
2255 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2256 function only available for GCCs before 3.4 since GCC 3.4
2257 introduced a builtin.
2258 (lrint): Likewise.
2259 (llrintf): Likewise.
2260 (llrint): Likewise.
2261 (fmaxf): Likewise.
2262 (fmax): Likewise.
2263 (fminf): Likewise.
2264 (fmin): Likewise.
2265 (rint): Likewise.
2266 (rintf): Likewise.
2267 (nearbyint): Likewise.
2268 (nearbyintf): Likewise.
2269 (ceil): Likewise.
2270 (ceilf): Likewise.
2271 (floor): Likewise.
2272 (floorf): Likewise.
2273
3e5aef87
L
22742012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2275
428bd707
L
2276 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2277 on both fields and cast pointer to __syscall_ulong_t.
2278
3e5aef87
L
2279 * bits/types.h (__fsword_t): New type.
2280 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2281 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2282 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2283 (__FSWORD_T_TYPE): Likewise.
2284 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2285 (__FSWORD_T_TYPE): Likewise.
2286 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2287 (__FSWORD_T_TYPE): Likewise.
2288 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2289 (__FSWORD_T_TYPE): Likewise.
2290 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2291 __SWORD_TYPE with __fsword_t.
2292 (statfs64): Likewise.
2293
1ba7c3dc
DM
22942012-05-17 David S. Miller <davem@davemloft.net>
2295
2296 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2297
59910343
AJ
22982012-05-17 Andreas Jaeger <aj@suse.de>
2299
2300 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2301 warning.
2302
2e4c1e9e
L
23032012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2304
2305 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2306
de7f5ce7
AJ
23072012-05-17 Andreas Jaeger <aj@suse.de>
2308
2309 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2310 when it is used.
2311
286abc3d
CM
23122012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2313
2314 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2315
477cc68e
L
23162012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2317
2318 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2319 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2320
1a0994f5
CD
23212012-05-17 Andreas Jaeger <aj@suse.de>
2322 Carlos O'Donell <carlos_odonell@mentor.com>
2323
2324 [BZ #14059]
2325 * sysdeps/x86_64/multiarch/init-arch.h
2326 (bit_YMM_Usable): Rename to...
2327 (bit_AVX_Usable): ... this.
2328 (bit_FMA4_Usable): New macro.
2329 (bit_XMM_state): New macro.
2330 (bit_YMM_state): New macro.
2331 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2332 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2333 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2334 (CPUID_OSXSAVE): New macro.
2335 (CPUID_AVX): New macro.
2336 (CPUID_FMA4): New macro.
2337 (index_YMM_Usable): Rename to...
2338 (index_AVX_Usable): ... this.
2339 (HAS_AVX): Use HAS_ARCH_FEATURE.
2340 (HAS_FMA4): Likewise.
2341 (HAS_YMM_USABLE): Remove.
2342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2343 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2344 are present.
2345 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2346 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2347 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2348 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2349 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2350
0af797de
CM
23512012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2352
2353 * math/libm-test.c: Support platforms without multiple rounding modes.
2354 * math/bug-nextafter.c: Support platforms without FP exceptions.
2355 * math/bug-nexttoward.c: Likewise.
2356 * math/test-fenv.c: Likewise.
2357 * math/test-misc.c: Likewise.
2358 * stdlib/bug-getcontext.c: Likewise.
2359
e39745ff
AJ
23602012-05-17 Andreas Jaeger <aj@suse.de>
2361
2362 * manual/examples/search.c (critter_cmp): Change signature to
2363 avoid warnings.
2364 * manual/string.texi (Collation Functions): Likewise.
2365
48970aba
L
23662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2367
2368 * bits/types.h: Fold copyright years.
2369 * bits/typesizes.h: Likewise.
2370 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2371 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2372 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2373 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2374 * time/time.h: Likewise.
2375
bedee953
PP
23762012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2377
2378 [BZ #208]
2379 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2380 in instead of returning them. Return void.
2381 (__libc_mallinfo): Accumulate over all arenas.
2382 (__malloc_stats): Adjust for change in int_mallinfo interface.
2383
61653dfb
RM
23842012-05-16 Roland McGrath <roland@hack.frob.com>
2385
30b99d79
RM
2386 [BZ #10375]
2387 * configure.in (NM): Add AC_CHECK_TOOL for it.
2388 (libc_extra_cflags): New substituted variable.
2389 Check for -fstack-protector being used implicitly.
2390 * configure: Regenerated.
2391 * config.make.in (config-extra-cflags): New variable,
2392 gets @libc_extra_cflags@.
2393 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2394
61653dfb
RM
2395 [BZ #10375]
2396 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2397 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2398 * configure: Regenerated.
2399 * config.make.in (CPPUNDEFS): New substituted variable.
2400 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2401 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2402 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2403
661768bb
L
24042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2405
2406 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2407 (mq_attr): Use __syscall_slong_t.
2408
d4261567
L
24092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2410
2411 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2412 Check __x86_64__ instead of __WORDSIZE.
2413 (_STAT_VER_LINUX): Likewise.
2414 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2415 __syscall_ulong_t and __syscall_slong_t.
2416 (stat64): Likewise.
2417
cf3ff365
L
24182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2419
2420 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2421
76cf3e4d
L
24222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2423
2424 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2425
a637753a
L
24262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2427
2428 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2429 __syscall_ulong_t.
2430
d5e05119
L
2431 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2432 include <bits/wordsize.h>. Check __x86_64__ instead of
2433 __WORDSIZE.
2434 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2435 defined.
2436 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2437
f62ee380
L
2438 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2439 include <bits/wordsize.h>. Check __x86_64__ instead of
2440 __WORDSIZE.
2441 (user_regs_struct): Use "__extension__ unsigned long long"
2442 instead of "unsigned long" if __x86_64__ is defined.
2443 (user): Likewise. Pad after pointer field if __ILP32__ is
2444 defined.
2445
4e124ced
JM
24462012-05-16 Joseph Myers <joseph@codesourcery.com>
2447
6a3951a0
JM
2448 * configure.in (makeinfo): Require version 4.5 or later. Allow
2449 versions 5 to 9.
2450 * configure: Regenerated.
2451 * manual/install.texi (texinfo): Increase version requirement to
2452 4.5 or later.
2453 * INSTALL: Regenerated.
2454
4e124ced
JM
2455 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2456
953ca31a
L
24572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2458
2459 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2460
617aca05
L
2461 * sysdeps/x86_64/x32/ffs.c: New file.
2462
5762f7ae
L
2463 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2464 __syscall_ulong_t.
2465 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2466 defined. Use __syscall_ulong_t.
2467 (shminfo): Use __syscall_ulong_t.
2468 (shm_info): Likewise.
2469
a26b6856
L
2470 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2471 __syscall_ulong_t.
2472
cb2b9ef7
L
2473 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2474 <bits/wordsize.h>.
2475 (msgqnum_t): Use __syscall_ulong_t.
2476 (msglen_t): Likewise.
2477 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2478 __syscall_ulong_t.
2479
34683bb0
L
2480 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2481 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2482
84a68786
L
2483 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2484
48baa5f1
L
2485 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2486 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2487
180be88b
L
2488 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2489 __syscall_slong_t.
2490
5e90c8ad
L
2491 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2492 include <bits/wordsize.h>. Check __x86_64__ instead of
2493 __WORDSIZE.
2494
23dfb58b
L
2495 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2496 "unsigned long long int" if __x86_64__ is defined.
2497 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2498
ce5d54b0
L
2499 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2500 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2501 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2502
13dc9eac
L
2503 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2504 <stdint.h>.
2505 (GET_PC): Cast to uintptr_t first.
2506 (GET_FRAME): Likewise.
2507 (GET_STACK): Likewise.
2508
a7895d15
L
2509 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2510 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2511 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2512 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2513 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2514 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2515 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2516 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2517 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2518 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2519 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2520 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2521 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2522 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2523 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2524 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2525 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2526 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2527 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2528 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2529 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2530 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2531 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2532 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2533 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2534 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2535 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2536 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2537 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2538
656416c9
AS
25392012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2540
5bd66283
AS
2541 * Makerules (+depfiles): Also collect depfiles from .oS in
2542 $(extra-objs).
2543 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2544 .oS, $(libnldbl-routines)).
2545
656416c9
AS
2546 * Makerules (native-compile-mkdep-flags): Define.
2547 * sunrpc/Makefile (extra-objs): Add $(addprefix
2548 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2549 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2550 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2551 calling $(make-target-directory).
2552
a46f2169
L
25532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2554
2555 * bits/types.h (__snseconds_t): Removed.
2556 * time/time.h (struct timespec): Replace __snseconds_t with
2557 __syscall_slong_t.
2558 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2559 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2560 Likewise.
2561 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2562 (__SNSECONDS_T_TYPE): Likewise.
2563 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2564 (__SNSECONDS_T_TYPE): Likewise.
2565 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2566 (__SNSECONDS_T_TYPE): Likewise.
2567
6af6528b
L
25682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2569
2570 * sysdeps/mach/hurd/bits/typesizes.h
2571 (__SYSCALL_SLONG_TYPE): New macro.
2572 (__SYSCALL_ULONG_TYPE): Likewise.
2573
de986b56
L
25742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2575
2576 * bits/types.h (__syscall_slong_t): New type.
2577 (__syscall_ulong_t): Likewise.
2578
2579 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2580 (__SYSCALL_ULONG_TYPE): Likewise.
2581 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2582 (__SYSCALL_SLONG_TYPE): Likewise.
2583 (__SYSCALL_ULONG_TYPE): Likewise.
2584 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2585 (__SYSCALL_SLONG_TYPE): Likewise.
2586 (__SYSCALL_ULONG_TYPE): Likewise.
2587 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2588 (__SYSCALL_SLONG_TYPE): Likewise.
2589 (__SYSCALL_ULONG_TYPE): Likewise.
2590
85736dc7
L
25912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2592
2593 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2594 Add sigaltstack-offsets.sym.
2595 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2596 <sigaltstack-offsets.h>.
2597 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2598 longjmp_msg pointer.
2599 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2600 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2601 signal stack.
2602 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2603
cc03b296
JM
26042012-05-15 Joseph Myers <joseph@codesourcery.com>
2605
a9538892
JM
2606 * elf/stackguard-macros.h: Remove file.
2607 * sysdeps/generic/stackguard-macros.h: New file.
2608 * sysdeps/i386/stackguard-macros.h: Likewise.
2609 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2610 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2611 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2612 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2613 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2614 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2615 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2616 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2617 <elf/stackguard-macros.h>.
2618
cc03b296
JM
2619 [BZ #14109]
2620 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2621 __aligned__ in attribute.
2622 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2623 (gregset_t): Likewise.
2624
93171016
L
26252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2626
2627 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2628 * sysdeps/x86_64/64/Implies-after: Here. New file.
2629 * sysdeps/x86_64/x32/Implies-after: New file.
2630
d86813a0
L
26312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2632
2633 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2634 and access return value for _dl_profile_fixup. Use R10_LP to
2635 load frame size.
2636
2953ec75
L
26372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2638
2639 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2640
3b550e9e
L
26412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2642
2643 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2644 * sysdeps/x86_64/x32/sysdep.h: New file.
2645
eda41706
L
26462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2647
2648 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2649 * sysdeps/x86_64/setjmp.S: Likewise.
2650
9ea01d93
AZ
26512012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2652
2653 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2654 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2655 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2656 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2657 remove unused global constant.
2658
02a91938
CM
26592012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2660
2661 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2662 include of <not-cancel.h>.
2663
6540185f
RM
26642012-05-15 Roland McGrath <roland@hack.frob.com>
2665
2666 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2667
509072a0
AJ
26682012-05-15 Jeff Law <law@redhat.com>
2669 Andreas Jaeger <aj@suse.de>
2670
2671 [BZ #13594]
2672 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2673 out from...
2674 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2675 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2676 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2677 code changing __hst_map_handle.map.
2678
ba75122d
RM
26792012-05-15 Roland McGrath <roland@hack.frob.com>
2680
2681 * configure.in (sysnames): Look for Implies-before and Implies-after
2682 files.
2683 * configure: Regenerated.
2684
890d8bd8
L
26852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2686
2687 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2688 8-byte data alignment with LP_SIZE alignment.
2689
f6ee6623
L
26902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2691
2692 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2693 into R10_LP.
2694
ea2626f6
L
26952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2696
2697 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2698
085f715e
L
26992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2700
2701 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2702 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2703 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2704 Likewise.
2705 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2706
be8498fc
L
27072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2708
2709 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2710 (stackinfo_sub_sp): Likewise.
2711
70bc83b9
L
27122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2713
2714 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2715 RAX_LP.
2716
9bc0b730
L
27172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2718
2719 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2720 into R*_LP.
2721
6d2850e7
L
27222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2723
2724 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2725 sizes into R*_LP.
2726
3cb84561
L
27272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2728
2729 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2730
54e2ed81
L
27312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2732
2733 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2734 into R11_LP and load __x86_64_shared_cache_size_half into
2735 R8_LP.
2736
8a17f349
L
27372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2738
2739 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2740 R8_LP.
2741
777b1eea
AZ
27422012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2743
2744 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2745 logb for POWER7.
2746 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2747 logbf for POWER7.
2748 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2749 logbl for POWER7.
2750 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2751 powerpc32/power7/fpu/s_logb.c via #include.
2752 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2753 powerpc32/power7/fpu/s_logbf.c via #include.
2754 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2755 powerpc32/power7/fpu/s_logbl.c via #include.
2756
d20d4ac2
JM
27572012-05-15 Joseph Myers <joseph@codesourcery.com>
2758
2759 * README.libm: Remove file.
2760
6cdef1ab
L
27612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2762
2763 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2764 count for x32. Use R*_LP and omit operand-size suffix.
2765
0b254d8f
L
27662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2767
2768 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2769 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2770 * sysdeps/x86_64/x32/shlib-versions: New file.
2771
ceb809dc
RM
27722012-05-14 Roland McGrath <roland@hack.frob.com>
2773
2774 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2775 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2776 Use _dl_fatal_printf instead.
2777
37f1abd4
JM
27782012-05-14 Joseph Myers <joseph@codesourcery.com>
2779
2780 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2781 set if not set by the user. Do not allow for being unset.
2782 * sysdeps/unix/sysv/linux/configure: Regenerated.
2783
11de3a33
L
27842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2785
2786 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2787 the `q' suffix from lea and replace .quad with ASM_ADDR.
2788
e02f153a
L
27892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2790
2791 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2792 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2793 instead of $17.
2794 (PTR_DEMANGLE): Likewise.
2795
520ae0fd
L
27962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2797
2798 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2799 (LP_OP): Likewise.
2800 (ASM_ADDR): Likewise.
2801 (RAX_LP): Likewise.
2802 (RBP_LP): Likewise.
2803 (RBX_LP): Likewise.
2804 (RCX_LP): Likewise.
2805 (RDI_LP): Likewise.
2806 (RSI_LP): Likewise.
2807 (RSP_LP): Likewise.
2808 (R8_LP): Likewise.
2809 (R9_LP): Likewise.
2810 (R10_LP): Likewise.
2811 (R10_LP): Likewise.
2812 (R11_LP): Likewise.
2813 (R12_LP): Likewise.
2814 (R13_LP): Likewise.
2815 (R14_LP): Likewise.
2816 (R15_LP): Likewise.
2817
b985be81
L
28182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2819
2820 * sysdeps/x86_64/x32/dl-machine.h: New file.
2821
6a4888ff
AJ
28222012-05-14 Andreas Jaeger <aj@suse.de>
2823
2824 * manual/Makefile (subdir): Remove export of subdir.
2825 (all): Remove target.
2826 (.PHONY): Remove all from list.
2827 (mkinstalldirs): Remove.
2828 (.PHONY): Remove installdirs from list.
2829 ($(inst_infodir)/libc.info): Use make-target-directory.
2830 (installdirs): Remove.
2831 (subdir_%): Remove.
2832 (glibc-targets): Remove.
2833 (lib): Remove.
2834 (stubs): Remove.
2835 ($(objpfx)stubs ../po/manual.pot): Remove.
2836 ($(objpfx)stamp%): Remove.
2837 (make-target-directory): Remove.
2838 (subdir_install): Remove.
2839 (routines): Remove.
2840 (aux): Remove.
2841 (sources): Remove.
2842 (objects): Remove.
2843 (headers): Remove.
2844
2845 [BZ #13750]
2846 * manual/.gitignore: Remove, it's not needed anymore.
2847 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2848 all files in it.
2849 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2850 directory.
2851 (texis): Renamed to $(objpfx)texis.
2852 (texis-path): New, contains path to generated files.
2853 (chapters.%): Use texis-path for complete path, add extra argument
2854 libc-texinfo.sh.
2855 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2856 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2857 (summary,texi, stamp-summary): Use complete path of
2858 files. Generate files in build dir.
2859 (dir-add.texi): Build in build dir.
2860 (libm-err.texi,stamp-libm-err): Likewise.
2861 (version.texi, stamp-version): Likewise.
2862 (.%c.texi): Likewise.
2863 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2864 (mostlyclean): Remove target.
2865 (realclean): Remove target.
2866 (generated): Add new variable with contents from mostlyclean and
2867 realclean, remove entries duplicated in common-mostlyclean, add
2868 stamp-libm-err and stamp-version.
2869 (generated-dirs): Add libc directory.
2870 ($(inst_infodir)/libc.info): Install files from build dir.
2871
2872 * manual/install.texi (Configuring and compiling): Adjust since
2873 the info files are not part of the tar ball anymore.
2874
7ac77294
AJ
28752012-05-14 Andreas Jaeger <aj@suse.de>
2876
2877 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2878 variable.
2879
ffb7875d
JM
28802012-05-14 Joseph Myers <joseph@codesourcery.com>
2881
2882 [BZ #13717]
2883 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2884 to 2.2.0 where earlier.
2885 * sysdeps/unix/sysv/linux/configure: Regenerated.
2886 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2887 Remove conditional code.
2888 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2889 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2890 Remove conditional code.
2891 [!__NR_lchown]: Likewise.
2892 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2893 [__NR_lchown]: Likewise.
2894 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2895 comment referencing __ASSUME_LCHOWN_SYSCALL.
2896 * sysdeps/unix/sysv/linux/i386/sigaction.c
2897 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2898 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2899 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2900 Remove conditional code.
2901 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2902 (__protocol_available): Remove #if 0 code.
2903 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2904 conditional code.
2905 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2906 * sysdeps/unix/sysv/linux/kernel-features.h
2907 (__ASSUME_GETCWD_SYSCALL): Don't define.
2908 (__ASSUME_REALTIME_SIGNALS): Likewise.
2909 (__ASSUME_PREAD_SYSCALL): Likewise.
2910 (__ASSUME_PWRITE_SYSCALL): Likewise.
2911 (__ASSUME_POLL_SYSCALL): Likewise.
2912 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2913 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2914 non-SPARC.
2915 (__ASSUME_SIOCGIFNAME): Don't define.
2916 (__ASSUME_MSG_NOSIGNAL): Likewise.
2917 (__ASSUME_SENDFILE): Define unconditionally.
2918 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2919 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2920 conditional code.
2921 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2922 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2923 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2924 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2925 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2926 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2927 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2929 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2930 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2932 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2933 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2935 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2936 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2938 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2939 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2941 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2942 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2944 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2945 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2947 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2948 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2950 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2951 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2952 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2953 Remove conditional code.
2954 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2955 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2956 Remove conditional code.
2957 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2958 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2959 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2960 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2961 Remove conditional code.
2962 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2963 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2964 Remove conditional code.
2965 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2966 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2967 Remove conditional code.
2968 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2969 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2970 Remove conditional code.
2971 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2972 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2973 Remove conditional code.
2974 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2975 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2976 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2977 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2978 * sysdeps/unix/sysv/linux/sigaction.c
2979 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2980 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2981 * sysdeps/unix/sysv/linux/sigpending.c
2982 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2983 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2984 * sysdeps/unix/sysv/linux/sigprocmask.c
2985 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2986 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2987 * sysdeps/unix/sysv/linux/sigsuspend.c
2988 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2989 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2990 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2991 (__libc_missing_rt_sigs): Remove.
2992 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2993 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2994 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2995 Remove conditional code.
2996 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2997 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2998 return 1.
2999 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3000 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3001 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3002 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3003
1bfb7291
AJ
30042012-05-14 Andreas Jaeger <aj@suse.de>
3005
caae5a81
AJ
3006 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3007 it's not used in glibc.
3008 (__coshm1): Likewise.
3009 (__acosh1p): Likewise.
3010 (__sgn): Likewise.
3011
1bfb7291
AJ
3012 * manual/string.texi (Copying and Concatenation): Add missing
3013 variable in concat example.
3014 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3015
c044d724
L
30162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3017
144c5467 3018 [BZ #14103]
c044d724
L
3019 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3020 __builtin_clzl with __builtin_clzll.
3021
2523c62b
L
30222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3023
3024 [BZ #14104]
3025 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3026 libc_freeres_ptr.
3027
d7bb4c42
LD
30282012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3029
3030 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3031 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3032 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3033 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3034
9dc4e1fb
MF
30352012-05-14 Mike Frysinger <vapier@gentoo.org>
3036
3037 * NEWS: Update ia64 info.
3038
c7df0112
AS
30392012-05-12 Andreas Schwab <schwab@linux-m68k.org>
3040
3041 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3042 used as bcopy.
3043
dc70356c
TS
30442012-05-12 Thomas Schwinge <thomas@codesourcery.com>
3045
3046 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3047 * sysdeps/unix/syscalls.list (dup3): Likewise.
3048 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3049 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3050
9fb1a21f
L
30512012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3052
3053 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3054 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3055
4822a2a5
L
30562012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3057
3058 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3059 thread pointer.
3060 (TLS_IE): Use mov/add instead of movq/addq to load thread
3061 pointer.
3062 (TLS_GD_PREFIX): New.
3063 (TLS_GD): Use it.
3064
842b81d6
DM
30652012-05-11 David S. Miller <davem@davemloft.net>
3066
3067 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3068 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3069 (_FPU_SETCW): Likewise.
3070
1cf463cd
L
30712012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3072
3073 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3074 is 32-byte aligned.
3075
60cc4a18
AS
30762012-05-11 Andreas Schwab <schwab@linux-m68k.org>
3077
3078 [BZ #11837]
3079 * iconvdata/gb18030.c: Update tables.
3080 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
3081 characters specially.
3082 (BODY for TO_LOOP): Add encoding of missing ranges.
3083
febb44a4
TS
30842012-05-11 Thomas Schwinge <thomas@codesourcery.com>
3085
3086 [BZ #13673]
3087 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3088 * sysdeps/mach/hurd/dup3.c: Likewise.
3089 * sysdeps/mach/hurd/readlinkat.c: Likewise.
3090 * sysdeps/powerpc/memmove.c:: Likewise.
3091
0a10fb9e
L
30922012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3093
3094 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3095 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3096
df8a552f
L
30972012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3098
3099 * elf/elf.h (R_X86_64_RELATIVE64): New.
3100 (R_X86_64_NUM): Updated.
3101 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3102 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
3103 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3104 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3105 tst-quad1pie tst-quad2pie
3106 (modules-names): Add tst-quadmod1 tst-quadmod2.
3107 ($(objpfx)tst-quad1): New dependency.
3108 ($(objpfx)tst-quad2): Likewise.
3109 ($(objpfx)tst-quad1pie): Likewise.
3110 ($(objpfx)tst-quad2pie): Likewise.
3111 * sysdeps/x86_64/tst-quad1.c: New file.
3112 * sysdeps/x86_64/tst-quad1pie.c: New file.
3113 * sysdeps/x86_64/tst-quad2.c: Likewise.
3114 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3115 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3116 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3117 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3118 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3119
f34d6f84
ST
31202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3121
f42d41d1
ST
3122 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3123 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3124 * streams/stropts.h (t_scalar_t): Define type.
3125
3c3571fc
ST
3126 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3127 (_PATH_PRESERVE): Set to "/var/lib".
3128 (_PATH_RWHODIR): Set to "/var/spool/rwho".
3129
61f06bd3
ST
3130 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3131 instead of int.
3132
918d4d71
ST
3133 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3134 if __dir_mkfile succeeded.
3135
f34d6f84
ST
3136 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3137 checking for _hurd_dtablesize. Unlock it right after having
3138 finished _hurd_dtable allocation.
3139
10589b4a
TS
31402012-05-10 Thomas Schwinge <thomas@schwinge.name>
3141
674cdbc7
TS
3142 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3143 * sysdeps/mach/hurd/configure: Regenerated.
3144 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3145 special-casing to...
3146 * sysdeps/gnu/configure.in: ... this new file.
3147 * sysdeps/unix/sysv/linux/configure: Regenerated.
3148 * sysdeps/gnu/configure: New generated file.
3149
8e41b99f
TS
3150 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3151 for Linux: use nsec instead of usec, as well as:
3152 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3153 members of type struct timespec.
3154 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3155 New macros.
3156 (struct stat64): Likewise.
3157 (_STATBUF_ST_NSEC): New macro.
3158 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3159
10589b4a
TS
3160 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3161 __strtoul_internal rather than strtoul.
3162
63643c85
PT
31632012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3164
3165 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3166 and reject them.
3167
3faebe6a
ST
31682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3169
3170 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3171 which preserves existing values.
3172 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3173
c6474b07
PT
31742012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3175
3176 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3177 TIMEOUT values. Return EINVAL for NFDS values either negative or
3178 greater than FD_SETSIZE.
3179
1043890b
ST
31802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3181
3182 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3183 allocated, call __vm_protect to finish enabling the existing space, and
3184 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3185 allocate the remainder.
3186
37ed8b9b
PT
31872012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3188
3189 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3190 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
3191
db653660
ST
31922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3193
37ed8b9b
PT
3194 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3195 sysdeps/mach/hurd/readlink.c.
b29d4053 3196
db653660
ST
3197 * posix/tst-sysconf.c (posix_options): Only use
3198 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3199 _POSIX_SYNCHRONIZED_IO when they are defined
3200 * sysdeps/mach/hurd/bits/posix_opt.h:
3201 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3202 (_XOPEN_REALTIME): Undefine macro.
3203 (_XOPEN_REALTIME_THREADS): Undefine macro.
3204 (_XOPEN_SHM): Undefine macro.
3205 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3206 macro to -1.
3207 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3208 macro to -1.
3209 (_POSIX_ASYNC_IO): Undefine macro.
3210 (_POSIX_PRIORITIZED_IO): Undefine macro.
3211 (_POSIX_SPIN_LOCKS): Define macro to -1.
3212
ee16e894
ST
3213 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3214 SA_NODEFER, SA_RESETHAND.
3215 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3216 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3217 F_DUPFD_CLOEXEC.
3218
6103ae3b
TS
32192012-05-10 Thomas Schwinge <thomas@schwinge.name>
3220
3221 * elf/Makefile (pldd-modules): Define unconditionally.
3222
80b4e5f3
TS
32232012-05-10 Thomas Schwinge <thomas@schwinge.name>
3224
3225 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3226
edadcbd6
ST
32272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3228
3229 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3230 Return ENOENT when name is empty.
3231 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3232
80694780
TS
32332012-05-10 Thomas Schwinge <thomas@schwinge.name>
3234
1792c087
TS
3235 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
3236
80694780
TS
3237 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
3238
6b645f0d
ST
32392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3240
80694780
TS
3241 Fix mlock in all cases except non-readable pages.
3242 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
3243 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 3244
6b645f0d
ST
3245 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3246 (__mkdir): When path is `/', just fail with EEXIST.
3247 * sysdeps/mach/hurd/mkdirat.c: Likewise.
3248
e468f8a3
TS
32492012-05-10 Thomas Schwinge <thomas@schwinge.name>
3250
3251 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3252 <sys/uio.h> (for writev).
3253 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3254 and <sys/param.h> (for MIN).
3255
a4186cff
PT
32562012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3257
3258 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
3259 REQUESTED_TIME. Properly set the remaining time and return EINTR
3260 if interrupted.
3261
510bbf14
TS
32622012-05-10 Thomas Schwinge <thomas@schwinge.name>
3263
3264 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3265 Depend on against $(link-rpcuserlibs).
3266
5d5722e8
ST
32672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3268
a4186cff
PT
3269 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3270 (__libc_stack_end): Do not use attribute_relro.
3271 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3272 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 3273 to libthread-provided value.
a4186cff
PT
3274 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3275 attribute_relro.
5d5722e8 3276
37233df9
TS
32772012-05-10 Thomas Schwinge <thomas@schwinge.name>
3278
be971a2b
TS
3279 [BZ #3748]
3280 * bits/libc-lock.h (__libc_once_get): New macro.
3281 * sysdeps/mach/bits/libc-lock.h: Likewise.
3282 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3283 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3284 instead of using implementation details.
3285
37233df9
TS
3286 * libio/fileops.c: Unconditionally include <kernel-features.h>.
3287 * libio/freopen.c: Likewise.
3288 * libio/freopen64.c: Likewise.
3289 * misc/syslog.c: Likewise.
3290 * nscd/connections.c: Likewise.
3291 * nscd/netgroupcache.c: Likewise.
3292 * sysdeps/posix/getcwd.c: Likewise.
3293
38de94a5
RM
32942012-05-10 Roland McGrath <roland@hack.frob.com>
3295
3296 * math/w_ilogbf.c: Add #include <limits.h>.
3297
67530489
ST
32982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3299
a4186cff 3300 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
3301 path instead of returning without unlocking.
3302
67530489
ST
3303 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3304 immediate-write ioctls.
3305 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3306
5aa3a74a
TS
33072012-05-10 Thomas Schwinge <thomas@schwinge.name>
3308
18bad2ae
TS
3309 * sysdeps/mach/hurd/i386/init-first.c (init): Use
3310 __builtin_frame_address instead of making assumptions about the
3311 location of the return address relative to DATA. Force early load of
3312 the return address.
3313 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3314 __builtin_frame_address.
3315
5aa3a74a
TS
3316 dup3 for GNU Hurd.
3317 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3318 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3319 implement dup3 and do some further code clean-ups.
3320 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3321 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3322
ecd0de9a
ST
33232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3324
cd9fa985
ST
3325 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3326
a4186cff
PT
3327 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3328 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3329 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3330 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3331 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3332 d->port.lock.
802ca5a5 3333
a4186cff
PT
3334 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3335 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3336 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 3337
bcf55240
TS
33382012-05-10 Thomas Schwinge <thomas@schwinge.name>
3339
6960eb42
TS
3340 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3341 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3342 definitions.
3343
eb43375f
TS
3344 accept4 for GNU Hurd.
3345 * include/sys/socket.h (__libc_accept4): New prototype.
3346 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3347 to implement __libc_accept4.
3348 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3349 __libc_accept4.
3350 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3351
bcf55240
TS
3352 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3353 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3354 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3355 signal-defines.sym.
3356
6178c55b
ST
33572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3358
a4186cff 3359 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 3360
6f080c2f
TS
33612012-05-10 Thomas Schwinge <thomas@schwinge.name>
3362
3363 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3364 assertion on O_CLOEXEC flag.
3365 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3366 * hurd/intern-fd.c: Likewise.
3367 * hurd/port2fd.c: Likewise.
3368
bcfe3a54
ST
33692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3370
3371 [BZ #3906]
3372 * bits/in.h (IPV6_PKTINFO): Define new macro.
3373 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3374
89c9aa49
AZ
33752012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3376
3377 [BZ #13954]
3378 [BZ #13955]
3379 [BZ #13956]
3380 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3381 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3382 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3383 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3384 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3385 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3386 * math/libm-test.inc (logb_test) : Additional logb tests.
3387
021db4be
AJ
33882012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3389 Andreas Jaeger <aj@suse.de>
3390
3391 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3392 * configure: Regenerated.
3393 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3394 * config.make.in (link-obsolete-rpc): New substituted variable.
3395 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3396 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3397 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3398 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3399 so that libc.a contains the symbols.
3400 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3401 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3402 * sunrpc/auth_none.c: Likewise.
3403 * sunrpc/auth_unix.c: Likewise.
3404 * sunrpc/authdes_prot.c: Likewise.
3405 * sunrpc/authuxprot.c: Likewise.
3406 * sunrpc/clnt_gen.c: Likewise.
3407 * sunrpc/clnt_perr.c: Likewise.
3408 * sunrpc/clnt_raw.c: Likewise.
3409 * sunrpc/clnt_simp.c: Likewise.
3410 * sunrpc/clnt_tcp.c: Likewise.
3411 * sunrpc/clnt_udp.c: Likewise.
3412 * sunrpc/clnt_unix.c: Likewise.
3413 * sunrpc/des_crypt.c: Likewise.
3414 * sunrpc/des_soft.c: Likewise.
3415 * sunrpc/get_myaddr.c: Likewise.
3416 * sunrpc/key_call.c: Likewise.
3417 * sunrpc/key_prot.c: Likewise.
3418 * sunrpc/netname.c: Likewise.
3419 * sunrpc/pm_getmaps.c: Likewise.
3420 * sunrpc/pm_getport.c: Likewise.
3421 * sunrpc/pmap_clnt.c: Likewise.
3422 * sunrpc/pmap_prot.c: Likewise.
3423 * sunrpc/pmap_prot2.c: Likewise.
3424 * sunrpc/pmap_rmt.c: Likewise.
3425 * sunrpc/publickey.c: Likewise.
3426 * sunrpc/rpc_cmsg.c: Likewise.
3427 * sunrpc/rpc_common.c: Likewise.
3428 * sunrpc/rpc_dtable.c: Likewise.
3429 * sunrpc/rpc_prot.c: Likewise.
3430 * sunrpc/rpc_thread.c: Likewise.
3431 * sunrpc/rtime.c: Likewise.
3432 * sunrpc/svc.c: Likewise.
3433 * sunrpc/svc_auth.c: Likewise.
3434 * sunrpc/svc_raw.c: Likewise.
3435 * sunrpc/svc_run.c: Likewise.
3436 * sunrpc/svc_tcp.c: Likewise.
3437 * sunrpc/svc_udp.c: Likewise.
3438 * sunrpc/svc_unix.c: Likewise.
3439 * sunrpc/svcauth_des.c: Likewise.
3440 * sunrpc/xcrypt.c: Likewise.
3441 * sunrpc/xdr.c: Likewise.
3442 * sunrpc/xdr_array.c: Likewise.
3443 * sunrpc/xdr_float.c: Likewise.
3444 * sunrpc/xdr_intXX_t.c: Likewise.
3445 * sunrpc/xdr_mem.c: Likewise.
3446 * sunrpc/xdr_rec.c: Likewise.
3447 * sunrpc/xdr_ref.c: Likewise.
3448 * sunrpc/xdr_sizeof.c: Likewise.
3449 * sunrpc/xdr_stdio.c: Likewise.
3450
b5c086a2
RM
34512012-05-10 Roland McGrath <roland@hack.frob.com>
3452
3453 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3454 change. Update copyright years.
3455
6d74dd09
JM
34562012-05-10 Joseph Myers <joseph@codesourcery.com>
3457
3458 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3459
28e72501
MK
34602012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3461 Joseph Myers <joseph@codesourcery.com>
3462 Paul Pluzhnikov <ppluzhnikov@google.com>
3463
3464 [BZ #14012]
3465 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3466 requiring rpcgen.
3467 [cross-compiling] (extra-libs): Likewise.
3468 [cross-compiling] (extra-libs-others): Likewise.
3469 [cross-compiling] (librpcsvc-routines): Likewise.
3470 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3471 [cross-compiling] (omit-deps): Likewise.
3472 (sunrpc-CPPFLAGS): New variable.
3473 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3474 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3475 (cross-rpcgen-objs): New variable.
3476 (extra-objs): Append $(cross-rpcgen-objs).
3477 ($(cross-rpcgen-objs)): New rule.
3478 ($(objpfx)cross-rpcgen): Likewise.
3479 (rpcgen-cmd): Define to use $(built-program-file). Expand
3480 comment.
3481 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3482 ($(objpfx)x%.stmp): Likewise.
3483 * sunrpc/proto.h [IS_IN_build] (_): Define.
3484 [IS_IN_build] (_libc_intl_domainname): Likewise.
3485
c8c59454
L
34862012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3487
3488 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3489 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3490 and R_X86_64_TPOFF64.
3491
6f27cd16
JM
34922012-05-10 Joseph Myers <joseph@codesourcery.com>
3493
3494 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3495 sysdeps/unix/sysv/syscalls.list.
3496 (stime): Likewise.
3497 (utime): Likewise.
3498 * sysdeps/unix/sysv/syscalls.list: Remove file.
3499
02467e1c
PE
35002012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3501
3502 [BZ #3440]
3503 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3504 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3505 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3506 (__LC_IDENTIFICATION): Make these macros useful in #if
3507 expressions, as required by C99.
3508
da392631
AS
35092012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3510
3511 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3512 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3513 after this.
3514
8115f29b
L
35152012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3516
3517 * stdlib/longlong.h: Updated from GCC.
3518
bdd74070
AJ
35192012-05-09 Andreas Jaeger <aj@suse.de>
3520
edfe0dbe
AJ
3521 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3522 default is first entry.
3523 (run_mode): Set type.
3524 (main): Remove informal message about syslog.
3525 (options): Fix typo.
3526
bcfe3a54
ST
3527 [BZ #14053]
3528 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 3529 to asm.
bcfe3a54
ST
3530 (lrint): Likewise.
3531 (llrintf): Likewise.
3532 (llrint): Likewise.
3533 (rint): Likewise.
3534 (rintf): Likewise.
3535 (nearbyint): Likewise.
3536 (nearbyintf): Likewise.
bdd74070 3537
91d8d69e
AJ
35382012-05-09 Andreas Jaeger <aj@suse.de>
3539 Pedro Alves <palves@redhat.com>
3540
3541 * nscd/nscd.c (run_mode): Use enum.
3542 (main): Cleanup coding style issue.
3543
bb90b80b
AJ
35442012-05-09 Alexandre Oliva <aoliva@redhat.com>
3545 Andreas Jaeger <aj@suse.de>
3546
bcfe3a54
ST
3547 * nscd/nscd.c (go_background): Replaced with...
3548 (run_mode): ... this.
bb90b80b 3549 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
3550 (options): Add -F --foreground.
3551 (main): Implement it.
3552 (parse_opt): Parse it.
bb90b80b 3553
1a4b75a1
AJ
35542012-05-09 Andreas Jaeger <aj@suse.de>
3555
3556 [BZ #14083]
3557 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3558 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3559 -Wconversion warning.
3560 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3561 Likewise.
3562
b1cc2472
JM
35632012-05-09 Joseph Myers <joseph@codesourcery.com>
3564
3565 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3566 == 0.
3567 (LC_ALL): Use macro-int-constant.
3568 (LC_COLLATE): Likewise.
3569 (LC_CTYPE): Likewise.
3570 (LC_MESSAGES): Likewise.
3571 (LC_MONETARY): Likewise.
3572 (LC_NUMERIC): Likewise.
3573 (LC_TIME): Likewise.
3574 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3575 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3576 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3577 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3578 Specify type.
3579 [C99-based standards] (float_t): Expect type.
3580 [C99-based standards] (double_t): Expect type.
3581 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3582 type.
3583 [C99-based standards] (HUGE_VALL): Likewise.
3584 [C99-based standards] (INFINITY): Likewise.
3585 [C99-based standards] (NAN): Likewise.
3586 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3587 [C99-based standards] (FP_NAN): Likewise.
3588 [C99-based standards] (FP_NORMAL): Likewise.
3589 [C99-based standards] (FP_SUBNORMAL): Likewise.
3590 [C99-based standards] (FP_ZERO): Likewise.
3591 [C99-based standards] (FP_FAST_FMA): Use
3592 optional-macro-int-constant. Specify type. Require == 1.
3593 [C99-based standards] (FP_FAST_FMAF): Likewise.
3594 [C99-based standards] (FP_FAST_FMAL): Likewise.
3595 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3596 [C99-based standards] (FP_ILOGBNAN): Likewise.
3597 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3598 Specify type.
3599 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3600 [C99-based standards] (math_errhandling): Specify type.
3601 [ISO99 || ISO11] (signgam): Do not allow.
3602 [non-C99-based standards] (copysignf): Do not allow.
3603 [non-C99-based standards] (exp2f): Likewise.
3604 [non-C99-based standards] (log2f): Likewise.
3605 [non-C99-based standards] (modff): Allow.
3606 [non-C99-based standards] (erff): Do not allow.
3607 [non-C99-based standards] (erfcf): Likewise.
3608 [non-C99-based standards] (gammaf): Likewise.
3609 [non-C99-based standards] (hypotf): Likewise.
3610 [non-C99-based standards] (j0f): Likewise.
3611 [non-C99-based standards] (j1f): Likewise.
3612 [non-C99-based standards] (jnf): Likewise.
3613 [non-C99-based standards] (lgammaf): Likewise.
3614 [non-C99-based standards] (tgammaf): Likewise.
3615 [non-C99-based standards] (y0f): Likewise.
3616 [non-C99-based standards] (y1f): Likewise.
3617 [non-C99-based standards] (ynf): Likewise.
3618 [non-C99-based standards] (isnanf): Likewise.
3619 [non-C99-based standards] (acoshf): Likewise.
3620 [non-C99-based standards] (asinhf): Likewise.
3621 [non-C99-based standards] (atanhf): Likewise.
3622 [non-C99-based standards] (cbrtf): Likewise.
3623 [non-C99-based standards] (expm1f): Likewise.
3624 [non-C99-based standards] (ilogbf): Likewise.
3625 [non-C99-based standards] (log1pf): Likewise.
3626 [non-C99-based standards] (logbf): Likewise.
3627 [non-C99-based standards] (nextafterf): Likewise.
3628 [non-C99-based standards] (remainderf): Likewise.
3629 [non-C99-based standards] (rintf): Likewise.
3630 [non-C99-based standards] (scalbf): Likewise.
3631 [non-C99-based standards] (copysignl): Likewise.
3632 [non-C99-based standards] (exp2l): Likewise.
3633 [non-C99-based standards] (log2l): Likewise.
3634 [non-C99-based standards] (modfl): Allow.
3635 [non-C99-based standards] (erfl): Do not allow.
3636 [non-C99-based standards] (erfcl): Likewise.
3637 [non-C99-based standards] (gammal): Likewise.
3638 [non-C99-based standards] (hypotl): Likewise.
3639 [non-C99-based standards] (j0l): Likewise.
3640 [non-C99-based standards] (j1l): Likewise.
3641 [non-C99-based standards] (jnl): Likewise.
3642 [non-C99-based standards] (lgammal): Likewise.
3643 [non-C99-based standards] (tgammal): Likewise.
3644 [non-C99-based standards] (y0l): Likewise.
3645 [non-C99-based standards] (y1l): Likewise.
3646 [non-C99-based standards] (ynl): Likewise.
3647 [non-C99-based standards] (isnanl): Likewise.
3648 [non-C99-based standards] (acoshl): Likewise.
3649 [non-C99-based standards] (asinhl): Likewise.
3650 [non-C99-based standards] (atanhl): Likewise.
3651 [non-C99-based standards] (cbrtl): Likewise.
3652 [non-C99-based standards] (expm1l): Likewise.
3653 [non-C99-based standards] (ilogbl): Likewise.
3654 [non-C99-based standards] (log1pl): Likewise.
3655 [non-C99-based standards] (logbl): Likewise.
3656 [non-C99-based standards] (nextafterl): Likewise.
3657 [non-C99-based standards] (remainderl): Likewise.
3658 [non-C99-based standards] (rintl): Likewise.
3659 [non-C99-based standards] (scalbl): Likewise.
3660 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3661 [non-C99-based standards] (FP_*): Do not allow.
3662 [C99-based standards] (FP_*): Change to
3663 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3664 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3665 allow.
3666 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3667 (SIG_ERR): Likewise.
3668 [X/Open-based standards] (SIG_HOLD): Likewise.
3669 (SIG_IGN): Likewise.
3670 (SIGABRT): Use macro-int-constant. Specify type. Require
3671 positive value.
3672 (SIGFPE): Likewise.
3673 (SIGILL): Likewise.
3674 (SIGINT): Likewise.
3675 (SIGSEGV): Likewise.
3676 (SIGTER): Likewise.
3677 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3678 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3679 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3680 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3681 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3682 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3683 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3684 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3685 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3686 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3687 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3688 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3689 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3690 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3691 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3692 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3693 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3694 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3695 [X/Open-based standards] (SIGTRAP): Likewise.
3696 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3697 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3698 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3699 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3700 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3701 allow.
3702
b9f1922d
IW
37032012-05-08 Ian Wienand <ianw@vmware.com>
3704
3705 [BZ #14080]
3706 * time/tzset.c (__tzset_parse_tz): Update default rules for
3707 daylight time changes in the Energy Policy Act of 2005.
3708
1db86e88
AJ
37092012-05-09 Andreas Jaeger <aj@suse.de>
3710
3711 [BZ #13983]
3712 * elf/ldconfig.c (parse_conf): Change string to make clear that
3713 ldconfig only issued a warning if ld.so.conf does not exist.
3714
dee4a4e3
DM
37152012-05-08 David S. Miller <davem@davemloft.net>
3716
ee0db190
DM
3717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3718 movxtod instead of popping the value on the stack.
3719
dee4a4e3
DM
3720 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3721
6a43ec98
CD
37222012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3723
3724 * config.h.in: Add HAVE_ARM_PCS_VFP.
3725
05c2c961
RMG
37262012-05-08 Roland Mc Grath <roland@hack.frob.com>
3727
bcfe3a54
ST
3728 [BZ #13979]
3729 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3730 checking but the checks are disabled for any reason.
05c2c961 3731
4b30f61a
L
37322012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3733
3734 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3735 and ELF64_R_TYPE with ELFW(R_TYPE).
3736
eee2bc67
JM
37372012-05-08 Joseph Myers <joseph@codesourcery.com>
3738
7ea5391a
JM
3739 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3740 (ulimit): Likewise.
3741
eee2bc67
JM
3742 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3743 (settimeofday): Likewise.
3744
abb66a67
MF
37452012-05-08 Mike Frysinger <vapier@gentoo.org>
3746
3747 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3748 a struct th_u2 inside the union, and move tu_block/tu_code into
3749 a new th_u3 union of tu_block/tu_code inside of that. Move
3750 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3751 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3752 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3753 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3754 (th_stuff): Change to th_u1.tu_stuff.
3755 (th_data): Define.
3756 (th_msg): Change to th_u1.th_u2.tu_data.
3757
7f18b530
DM
37582012-05-07 David S. Miller <davem@davemloft.net>
3759
05760585
DM
3760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3761
7f18b530
DM
3762 [BZ #14074]
3763 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3764 (SETUP_PIC_REG): Use it.
3765 (SETUP_PIC_REG_LEAF): Use it.
3766
495fd99f
JM
37672012-05-07 Joseph Myers <joseph@codesourcery.com>
3768
3769 [BZ #13885]
3770 [BZ #13923]
3771 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3772 USE_AS_EXPM1L.
3773 (EXPL_FINITE): Likewise.
3774 (FLDLOG): Likewise.
3775 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3776 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3777 e_expl.S.
3778 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3779 USE_AS_EXPM1L.
3780 (EXPL_FINITE): Likewise.
3781 (FLDLOG): Likewise.
3782 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3783 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3784 e_expl.S.
3785 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3786 test of -max_value argument for long double.
3787 * sysdeps/i386/fpu/libm-test-ulps: Update.
3788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3789
6693d694
DM
37902012-05-06 David S. Miller <davem@davemloft.net>
3791
3792 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3793 quad soft-float symbols whose references which are compiler
3794 generated.
3795 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3796
6c23e11c
JM
37972012-05-06 Joseph Myers <joseph@codesourcery.com>
3798
d8b82cad
JM
3799 [BZ #13884]
3800 [BZ #13914]
3801 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3802 USE_AS_EXP10L.
3803 (EXPL_FINITE): Likewise.
3804 (FLDLOG): Likewise.
3805 (c0): Likewise.
3806 (c1): Likewise.
3807 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3808 Adjust comments for base varying.
3809 (__expl_finite): Change alias to EXPL_FINITE.
3810 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3811 e_expl.S.
3812 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3813 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3814 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3815 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3816 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3817 USE_AS_EXP10L.
3818 (EXPL_FINITE): Likewise.
3819 (FLDLOG): Likewise.
3820 (c0): Likewise.
3821 (c1): Likewise.
3822 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3823 Adjust comments for base varying.
3824 (__expl_finite): Change alias to EXPL_FINITE.
3825 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3826 tests for bugs.
3827 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3828
6c23e11c
JM
3829 [BZ #14064]
3830 * math/libm-test.inc (check_float_internal): Correct ulp
3831 calculation for subnormal expected results.
3832
29ba805c
AJ
38332012-05-06 Andreas Jaeger <aj@suse.de>
3834
3835 * Makeconfig (+math-flags): New, set to -frounding-math.
3836 (+cflags): Add +math-flags so that all of glibc gets compiled with
3837 it.
3838
3839 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3840
7b17aeda
JM
38412012-05-05 Joseph Myers <joseph@codesourcery.com>
3842
5779f134
JM
3843 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3844 Disable one test.
3845
41498f4d
JM
3846 [BZ #13787]
3847 [BZ #13922]
3848 [BZ #14036]
3849 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3850 (__ieee754_expl): Allow for and saturate large arguments.
3851 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3852 (u_threshold): Likewise.
3853 (__exp): Call __ieee754_exp before checking for overflow and
3854 underflow.
3855 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3856 (u_threshold): Likewise.
3857 (__expf): Call __ieee754_expf before checking for overflow and
3858 underflow.
3859 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3860 (u_threshold): Likewise.
3861 (__expl): Call __ieee754_expl before checking for overflow and
3862 underflow.
3863 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3864 (__ieee754_expl): Allow for and saturate large arguments.
3865 * math/libm-test.inc (exp_test): Add another test. Do not allow
3866 missing overflow exception on overflow.
3867 (expm1_test): Do not allow missing overflow exception on overflow.
3868
6698b8bf
JM
3869 * sysdeps/i386/fpu/e_expl.c: Move to ...
3870 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3871 rather than using inline asm.
3872 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3873 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3874 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3875
7b17aeda
JM
3876 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3877 (nice): Likewise.
3878 (poll): Likewise.
3879 (signal): Likewise.
3880 (time): Likewise.
3881 (times): Likewise.
3882
f7c85819
JM
38832012-05-04 Joseph Myers <joseph@codesourcery.com>
3884
3885 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3886 sysdeps/unix/common/syscalls.list.
3887 (fchmod): Likewise.
3888 (fchown): Likewise.
3889 (ftruncate): Likewise.
3890 (getrusage): Likewise.
3891 (gettimeofday): Likewise.
3892 (setpgid): Likewise.
3893 (setregid): Likewise.
3894 (setreuid): Likewise.
3895 (sigaction): Likewise.
3896 (truncate): Likewise.
3897 (vhangup): Likewise.
3898 * sysdeps/unix/common/syscalls.list: Remove file.
3899 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3900 * sysdeps/unix/sysv/linux/Implies: Likewise.
3901
336270d0
L
39022012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3903
3904 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3905 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3906 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3907 Moved to ...
3908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3909 Here.
3910 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3911 to ...
3912 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3913 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3914 to ...
3915 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3916 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3917 to ...
3918 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3919 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3920 to ...
3921 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3922 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3923 to ...
3924 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3925 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3926 to ...
3927 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3928 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3929 to ...
3930 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3931 Here.
3932 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3933 to ...
3934 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3935 Here.
3936 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3937 to ...
3938 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3939 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3940 Moved to ...
3941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3942 Here.
3943 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3944 to ...
3945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3946
d128e450
JM
39472012-05-04 Joseph Myers <joseph@codesourcery.com>
3948
fa8ee516
JM
3949 * sysdeps/unix/common/bits/dirent.h: Remove file.
3950 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3951
d128e450
JM
3952 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3953 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3954 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3955 * sysdeps/unix/bsd/isatty.c: Likewise.
3956 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3957 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3958 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3959
ff8faaf0 39602012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3961
62881be4 3962 [BZ #13563]
31dc8730
AZ
3963 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3964 long double comparison inaccuracies.
3965 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3967
6fef930c
AS
39682012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3969
3970 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3971 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3972
8f203e6c
JM
39732012-05-04 Joseph Myers <joseph@codesourcery.com>
3974
3975 [BZ #14049]
3976 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3977 nonzero digits before rounding a hex value.
3978 * stdlib/tst-strtod.c (tests): Add another test.
3979
5197d9c2
AK
39802012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3981
3982 * sysdeps/s390/fpu/libm-test-ulps: Update.
3983
f0c1dedf
AJ
39842012-05-03 Andreas Jaeger <aj@suse.de>
3985
3986 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3987 does not get optimized out.
3988 (malloc_opt_barrier): New.
3989
a65ef2ae 39902012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3991 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3992
2b942cb7 3993 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3994 intermediate file deletion.
2b942cb7 3995 (generated): Add .symlist files.
a65ef2ae 3996
54b71e02
JM
39972012-05-03 Joseph Myers <joseph@codesourcery.com>
3998
3999 [BZ #13775]
4000 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4001 Redirect under this condition.
4002 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4003 [__USE_GNU] (__dprintf_chk): Not under this condition.
4004 [__USE_GNU] (__vdprintf_chk): Likewise.
4005 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4006 under this condition.
4007 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4008 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4009 [__USE_XOPEN2K8] (vdprintf): Likewise.
4010 [__USE_GNU] (__dprintf_chk): Not under this condition.
4011 [__USE_GNU] (__vdprintf_chk): Likewise.
4012 [__USE_GNU] (dprintf): Likewise.
4013 [__USE_GNU] (vdprintf): Likewise.
4014
d3dfcc41
RM
40152012-05-03 Roland McGrath <roland@hack.frob.com>
4016
4017 * elf/Makefile (common-generated): Set this instead of generated for
4018 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
4019 $(all-built-dso)-derived lists.
4020
7ac30cc5
AJ
40212012-05-03 Andreas Jaeger <aj@suse.de>
4022
0c51e550
AJ
4023 * sysdeps/i386/fpu/libm-test-ulps: Update.
4024
7ac30cc5
AJ
4025 * FAQ: Removed.
4026 * FAQ.in: Likewise.
4027 * scripts/gen-FAQ.pl: Likewise.
4028 * manual/install.texi (Installation): Point to online location of
4029 FAQ.
4030 * Makefile (files-for-dist): Remove FAQ.
4031 (FAQ): Remove.
4032
d4c2917f
AM
40332012-05-02 Allan McRae <allan@archlinux.org>
4034
4035 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4036 (LDFLAGS-reldepmod5.so): Likewise.
4037 (LDFLAGS-reldep6mod1.so): Likewise.
4038 (LDFLAGS-reldep6mod4.so): Likewise.
4039 (LDFLAGS-reldep8mod3.so): Likewise.
4040 (LDFLAGS-unload4mod1.so): Likewise.
4041 (LDFLAGS-unload4mod2.so): Likewise.
4042 (LDFLAGS-tst-initorder): Likewise.
4043 (LDFLAGS-tst-initordera2.so): Likewise.
4044 (LDFLAGS-tst-initordera3.so): Likewise.
4045 (LDFLAGS-tst-initordera4.so): Likewise.
4046 (LDFLAGS-tst-initorderb2.so): Likewise.
4047 (LDFLAGS-noload): Likewise.
4048 (LDFLAGS-next): Likewise.
4049 (LDFLAGS-order2mod1.so): Likewise.
4050 (LDFLAGS-order2mod2.so): Likewise.
4051 (LDFLAGS-tst-initorder2): Likewise.
4052 (LDFLAGS-tst-initorder2a.so): Likewise.
4053 (LDFLAGS-tst-initorder2b.so): Likewise.
4054 (LDFLAGS-tst-initorder2c.so): Likewise.
4055 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4056
d77f993f
DM
40572012-05-02 David S. Miller <davem@davemloft.net>
4058
4059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4060
171a70b4
PP
40612012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4062
4063 [BZ #14055]
4064 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4065
0be196ad
AJ
40662012-05-02 Andreas Jaeger <aj@suse.de>
4067
4068 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4069 since we manipulate rounding mode.
4070 (CPPFLAGS-test-idouble.c): Likewise.
4071 (CPPFLAGS-test-ifloat.c): Likewise.
4072 (CFLAGS-test-ldouble.c): Likewise.
4073 (CFLAGS-test-double.c): Likewise.
4074 (CFLAGS-test-float.c): Likewise.
4075 (CFLAGS-test-misc.c): Likewise.
4076 (CFLAGS-test-test-fenv.c): Likewise.
4077
4f9d04aa
AZ
40782012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4079
2b942cb7
RM
4080 [BZ #2550]
4081 [BZ #2570]
4082 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4083 comparisons to determine direction to adjust input.
4f9d04aa 4084
82a79e7d
RM
40852012-05-01 Roland McGrath <roland@hack.frob.com>
4086
f5a01ca9
RM
4087 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4088 output to the target.
4089
90fe4186
RM
4090 * scripts/localplt.awk: New file.
4091 * elf/Makefile ($(objpfx)check-localplt): Target removed.
4092 (check-localplt-CFLAGS): Variable removed.
4093 ($(all-built-dso:=.jmprel)): New static pattern rule.
4094 (generated): Add those targets.
4095 (localplt-built-dso): New variable.
4096 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4097
4098 * elf/check-localplt.c: File removed.
4099
82397ed6
RM
4100 * scripts/check-execstack.awk: New file.
4101 * elf/Makefile ($(objpfx)check-execstack): Target removed.
4102 (check-execstack-CFLAGS): Variable removed.
4103 ($(objpfx)check-execstack.h): Target removed.
4104 ($(objpfx)execstack-default): New target.
4105 (generated): Add that instead of check-execstack.h.
4106 ($(all-built-dso:=.phdr)): New static pattern rule.
4107 (generated): Add those targets.
4108 * elf/check-execstack.c: File removed.
4109
82a79e7d
RM
4110 * scripts/check-textrel.awk: New file.
4111 * elf/Makefile ($(objpfx)check-textrel): Target removed.
4112 (check-textrel-CFLAGS): Variable removed.
4113 (all-built-dso): Use := to define.o
4114 ($(all-built-dso:=.dyn)): New static pattern rule.
4115 (generated): Add those targets.
4116 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4117 * config.make.in (READELF): New substituted variable.
4118 * elf/check-textrel.c: File removed.
4119
62fde54f 41202012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 4121
615605c9
JM
4122 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4123 allow.
4124 * conform/data/ctype.h-data [C99-based standards] (isblank):
4125 Expect function.
4126 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4127 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4128 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4129 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4130 Specify type. Require positive value.
4131 (EILSEQ): Likewise.
4132 (ERANGE): Likewise.
4133 [ISO || POSIX] (EILSEQ): Do not expect.
4134 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4135 Specify type. Require positive value.
4136 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4137 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4138 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4139 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4140 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4141 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4142 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4143 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4144 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4145 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4146 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4147 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4148 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4149 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4150 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4151 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4152 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4153 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4154 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4155 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4156 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4157 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4158 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4159 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4160 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4161 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4162 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4163 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4164 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4165 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4166 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4167 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4168 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4169 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4170 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4171 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4172 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4173 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4174 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4175 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4176 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4177 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4178 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4179 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4180 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4181 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4182 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4183 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4184 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4185 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4186 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4187 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4188 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4189 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4190 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4191 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4192 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4193 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4194 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4195 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4196 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4197 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4198 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4199 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4200 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4201 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4202 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4203 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4204 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4205 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4206 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4207 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4208 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4209 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4210 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4211 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4212 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4213 Require >= 2.
4214 (FLT_ROUNDS): Expect as macro, not constant.
4215 (FLT_MANT_DIG): Use macro-int-constant.
4216 (DBL_MANT_DIG): Likewise.
4217 (LDBL_MANT_DIG): Likewise.
4218 (FLT_DIG): Likewise.
4219 (DBL_DIG): Likewise.
4220 (LDBL_DIG): Likewise.
4221 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
4222 (DBL_MIN_EXP): Likewise.
4223 (LDBL_MIN_EXP): Likewise.
4224 (FLT_MAX_EXP): Use macro-int-constant.
4225 (DBL_MAX_EXP): Likewise.
4226 (LDBL_MAX_EXP): Likewise.
4227 (FLT_MAX_10_EXP): Likewise.
4228 (DBL_MAX_10_EXP): Likewise.
4229 (LDBL_MAX_10_EXP): Likewise.
4230 (FLT_MAX): Use macro-constant.
4231 (DBL_MAX): Likewise.
4232 (LDBL_MAX): Likewise.
4233 (FLT_EPSILON): Use macro-constant. Give upper bound.
4234 (DBL_EPSILON): Likewise.
4235 (LDBL_EPSILON): Likewise.
4236 (FLT_MIN): Likewise.
4237 (DBL_MIN): Likewise.
4238 (LDBL_MIN): Likewise.
4239 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
4240 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
4241 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
4242 [ISO11] (FLT_HAS_SUBNORM): Likewise.
4243 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
4244 [ISO11] (DBL_DECIMAL_DIG): Likewise.
4245 [ISO11] (FLT_DECIMAL_DIG): Likewise.
4246 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4247 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4248 [ISO11] (FLT_TRUE_MIN): Likewise.
4249 [ISO11] (LDBL_TRUE_MIN): Likewise.
4250 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4251 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4252 (SCHAR_MIN): Use macro-int-constant. Specify type.
4253 (SCHAR_MAX): Likewise.
4254 (UCHAR_MAX): Likewise.
4255 (CHAR_MIN): Likewise.
4256 (CHAR_MAX): Likewise.
4257 (MB_LEN_MAX): Use macro-int-constant.
4258 (SHRT_MIN): Use macro-int-constant. Specify type.
4259 (SHRT_MAX): Likewise.
4260 (USHRT_MAX): Likewise.
4261 (INT_MAX): Likewise.
4262 (INT_MIN): Use macro-int-constant. Specify type. Make upper
4263 bound negative.
4264 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
4265 bound with "U".
4266 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4267 bound with "L".
4268 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
4269 bound negative. Suffix upper bound with "L".
4270 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4271 bound with "UL".
4272 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4273 Specify type.
4274 [C99-based standards] (LLONG_MAX): Likewise.
4275 [C99-based standards] (ULLONG_MAX): Likewise.
4276 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
4277 == 0.
4278 [ISO11] (max_align_t): Require type.
4279 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4280
c9140a62
JM
4281 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4282 from $CFLAGS, without defining away __attribute__ calls.
4283 (checknamespace): Use $CFLAGS_namespace.
4284
9af0bf29
JM
4285 * conform/conformtest.pl (@keywords): Only include C99 keywords
4286 for standards based on C99 or C11.
4287
343222a2
JM
4288 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4289 Disable tests.
4290 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4291 UNIX98]: Likewise.
4292
661f8cf0
JM
4293 * conform/conformtest.pl: Handle "macro-int-constant" and test for
4294 usability of symbols in #if.
4295
ee74b9cb
JM
4296 * conform/conformtest.pl: If macro or constant types start
4297 "promoted:", expect the symbol to be of the following type
4298 promoted by the integer promotions.
62fde54f 4299
aafc49b3
JM
4300 * conform/conformtest.pl: Parse all "constant" and "macro" lines
4301 in one place. Also handle "macro-constant".
4302
fefdf574
JM
4303 * conform/conformtest.pl: Only accept expected macro values with
4304 "==". Parse all "macro" lines in one place.
4305 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4306
f2d922fe
JM
4307 * conform/conformtest.pl: Handle braced types on "constant" lines
4308 instead of handling "typed-constant".
4309 * conform/data/signal.h-data: Use "constant" instead of
4310 "typed-constant".
4311
d22956c9
JM
4312 * conform/conformtest.pl: Handle "optional-" at start of lines in
4313 one place rather than duplicating several cases. Handle each
4314 format of "macro" line with initial "optional-".
4315
028e2e38
JM
4316 * conform/conformtest.pl: Only accept expected constant or
4317 optional-constant values with "==". Parse all "constant" lines in
4318 one place. Parse all "optional-constant" lines in one place.
4319 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4320 * conform/data/fmtmsg.h-data: Likewise.
4321 * conform/data/netinet/in.h-data: Likewise.
4322 * conform/data/tar.h-data: Likewise.
4323 * conform/data/limits.h-data: Use "==" form on "constant" and
4324 "optional-constant" lines.
4325
1b8f2850
JM
4326 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4327 Use -std=c99 for XOPEN2K.
4328 (@knownproblems): Remove.
4329 (newtoken): Don't check %isknown.
4330
a05a144b
JM
4331 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4332 Do not expect macro.
4333 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4334 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4335 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4336 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4337 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4338 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4339 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4340 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4341 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4342 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4343 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4344 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4345 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4346 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4347 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4348 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4349 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4350 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4351 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4352 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4353 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4354 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4355 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4356 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4357 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4358 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4359 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4360 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4361 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4362 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4363 [XPG3] (acosh): Likewise.
4364 [XPG3] (asinh): Likewise.
4365 [XPG3] (atanh): Likewise.
4366 [XPG3] (cbrt): Likewise.
4367 [XPG3] (expm1): Likewise.
4368 [XPG3] (ilogb): Likewise.
4369 [XPG3] (log1p): Likewise.
4370 [XPG3] (logb): Likewise.
4371 [XPG3] (nextafter): Likewise.
4372 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4373 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4374 [XPG3] (remainder): Likewise.
4375 [XPG3] (rint): Likewise.
4376 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4377 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4378 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4379 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4380 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4381 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4382 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4383 [UNIX98 || XOPEN2K] (scalb): Expect.
4384 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4385 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4386 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4387 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4388 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4389 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4390 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4391 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4392 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4393 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4394 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4395 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4396 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4397 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4398 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4399 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4400 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4401 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4402 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4403 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4404 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4405 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4406 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4407 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4408 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4409 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4410 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4411 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4412 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4413 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4414 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4415 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4416 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4417 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4418 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4419 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4420 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4421 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4422 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4423 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4424 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4425 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4426 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4427 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4428 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4429 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4430 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4431 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4432 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4433 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4434 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4435 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4436 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4437 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4438 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4439 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4440 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4441 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4442 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4443 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4444 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4445 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4446 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4447 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4448 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4449 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4450 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4451 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4452 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4453 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4454 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4455 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4456 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4457 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4458 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4459 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4460 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4461 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4462 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4463 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4464 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4465 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4466 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4467 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4468 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4469 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4470 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4471 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4472 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4473 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4474 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4475 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4476 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4477 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4478 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4479 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4480 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4481 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4482 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4483 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4484 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4485 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4486 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4487 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4488 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4489 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4490 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4491 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4492 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4493 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4494 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4495 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4496 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4497 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4498 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4499 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4500 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4501 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4502 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4503 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4504 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4505 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4506 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4507 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4508 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4509 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4510 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4511 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4512 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4513 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4514 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4515 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4516 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4517 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4518 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4519 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4520 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4521
73c5ebe3
JM
4522 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4523 _XOPEN_SOURCE_EXTENDED for XPG4.
4524
39c33b6c
JM
4525 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4526
62fde54f
JM
4527 * Makeconfig (localtime): Remove variable.
4528 (inst_localtime-file): Likewise.
4529
0741d64c
AS
45302012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4531
4532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4533 Update.
4534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4535 Update.
4536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4537 Update.
4538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4539 Update.
4540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4541 Update.
4542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4543 Update.
4544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4545 Update.
4546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4547 Update.
4548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4549 Update.
4550
7cb029ee
JM
45512012-05-01 Joseph Myers <joseph@codesourcery.com>
4552
4553 [BZ #2550]
4554 [BZ #2570]
4555 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4556 comparisons to determine direction to adjust input.
4557 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4558 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4559 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4560 Likewise.
4561 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4562 Likewise.
4563 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4564 Likewise.
4565 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4566 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4567 Likewise.
4568 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4569 Likewise.
4570 * math/libm-test.inc (nexttoward_test): Add more tests.
4571
412bd966
AS
45722012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4573
4574 [BZ #14040]
4575 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4576 in version GLIBC_2.1, not GLIBC_2.0.
4577 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4578 Likewise.
4579
9568c0c2
JM
45802012-04-30 Joseph Myers <joseph@codesourcery.com>
4581
adfbc8ac
JM
4582 [BZ #13942]
4583 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4584 (1 - x) * (1 + x).
4585 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4586 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4587 * math/libm-test.inc (acos_test): Add more tests.
4588 (asin_test): Likewise.
4589 * sysdeps/i386/fpu/libm-test-ulps: Update.
4590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4591
5ba3cc69
JM
4592 [BZ #14034]
4593 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4594 of square root.
4595 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4596 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4597 * math/libm-test.inc (acos_test_tonearest): New function.
4598 (acos_test_towardzero): Likewise.
4599 (acos_test_downward): Likewise.
4600 (acos_test_upward): Likewise.
4601 (asin_test_tonearest): Likewise.
4602 (asin_test_towardzero): Likewise.
4603 (asin_test_downward): Likewise.
4604 (asin_test_upward): Likewise.
4605 (main): Call the new functions.
4606 * sysdeps/i386/fpu/libm-test-ulps: Update.
4607 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4608
9568c0c2
JM
4609 [BZ #13884]
4610 [BZ #13924]
4611 * math/e_exp10.c: Include <float.h>.
4612 (__ieee754_exp10): Handle underflow here rather than multiplying
4613 large negative argument by M_LN10.
4614 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4615 of __ieee754_expf.
4616 * math/e_exp10l.c: Include <float.h>.
4617 (__ieee754_exp10l): Handle underflow here rather than multiplying
4618 large negative argument by M_LN10l.
4619 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4620 spurious overflow exception on underflow.
4621
5ac3ea17
MP
46222012-04-29 Marek Polacek <polacek@redhat.com>
4623
4624 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4625 (__fortify_function): New macro.
4626 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4627 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4628 __extern_always_inline.
4629 * libio/bits/stdio2.h: Likewise.
4630 * libio/bits/stdio.h: Likewise.
4631 * string/string.h: Likewise.
4632 * string/bits/string3.h: Likewise.
4633 * include/stdio.h: Likewise.
4634 * stdlib/bits/stdlib.h: Likewise.
4635 * stdlib/stdlib.h: Likewise.
4636 * rt/bits/mqueue2.h: Likewise.
4637 * rt/mqueue.h: Likewise.
4638 * posix/bits/unistd.h: Likewise.
4639 * posix/unistd.h: Likewise.
4640 * io/bits/poll2.h: Likewise.
4641 * io/bits/fcntl2.h: Likewise.
4642 * io/fcntl.h: Likewise.
4643 * io/sys/poll.h: Likewise.
4644 * misc/bits/syslog.h: Likewise.
4645 * misc/bits/syslog-ldbl.h: Likewise.
4646 * misc/sys/syslog.h: Likewise.
4647 * socket/bits/socket2.h: Likewise.
4648 * socket/sys/socket.h: Likewise.
4649 * debug/tst-chk1.c: Likewise.
4650 * wcsmbs/bits/wchar2.h: Likewise.
4651 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4652 * wcsmbs/wchar.h: Likewise.
4653
ecf0ebfb
AJ
46542012-04-29 Andreas Jaeger <aj@suse.de>
4655
4656 * Makerules (tests): Remove enable-check-abi protection.
4657 (check-abi-warn): Remove.
4658 (check-abi-%): Remove check-abi-warn usage.
4659
4660 * configure.in: Remove check-abi configure option.
4661 * configure: Regenerated.
4662 * config.make.in (enable-check-abi): Remove.
4663
6d5c57fa
AS
46642012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4665
24c5d07e 4666 [BZ #14033]
ded5180a
AS
4667 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4668 double functions to double *_finite functions.
4669
7e0d315d
AS
4670 [BZ #13941]
4671 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4672 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4673 LDBL_MIN_EXP.
4674 * stdio-common/Makefile (tests): Add tst-sprintf3.
4675 * stdio-common/tst-sprintf3.c: New file.
4676
6d5c57fa
AS
4677 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4678 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4679
0749ff8b
JM
46802012-04-28 Joseph Myers <joseph@codesourcery.com>
4681
4682 * conform/conformtest.pl: Remove duplicate typed-constant
4683 handling.
4684
8dbd5d7b
DM
46852012-04-28 David S. Miller <davem@davemloft.net>
4686
4687 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4688 (check-abi-%): Remove AWK script prerequisite and explicit
4689 abilist directory.
4690 (check-abi): Rewrite to just diff the symlist with the abilist.
4691 (config-tls, config-abi-config): Delete, no longer used.
4692 (update-abi-%): Remove AWK script and explicit abilist directory.
4693 (update-abi): Rewrite to simply compare and conditionally copy the
4694 symlist and the sysdep abilist file. Remove update-abi-config
4695 checks.
4696 * abilist/ld.abilist: Remove.
4697 * abilist/libBrokenLocale.abilist: Remove.
4698 * abilist/libanl.abilist: Remove.
4699 * abilist/libcrypt.abilist: Remove.
4700 * abilist/libdl.abilist: Remove.
4701 * abilist/librt.abilist: Remove.
4702 * abilist/libthread_db.abilist: Remove.
4703 * abilist/libutil.abilist: Remove.
4704 * scripts/extract-abilist.awk: Remove.
4705 * scripts/merge-abilist.awk: Remove.
4706 * sysdeps/generic/libcidn.abilist: New file.
4707 * sysdeps/generic/libnss_compat.abilist: New file.
4708 * sysdeps/generic/libnss_db.abilist: New file.
4709 * sysdeps/generic/libnss_dns.abilist: New file.
4710 * sysdeps/generic/libnss_files.abilist: New file.
4711 * sysdeps/generic/libnss_hesiod.abilist: New file.
4712 * sysdeps/generic/libnss_nis.abilist: New file.
4713 * sysdeps/generic/libnss_nisplus.abilist: New file.
4714 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4715 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4716 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4717 file.
4718 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4719 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4720 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4721 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4722 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4723 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4724 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4725 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4726 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4727 file.
4728 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4729 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4730 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4731 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4732 file.
4733 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4734 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4735 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4736 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4737 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4738 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4739 file.
4740 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4741 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4742 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4743 file.
4744 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4745 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4746 New file.
4747 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4748 New file.
4749 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4750 New file.
4751 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4752 New file.
4753 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4754 New file.
4755 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4756 New file.
4757 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4758 New file.
4759 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4760 New file.
4761 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4762 New file.
4763 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4764 New file.
4765 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4766 New file.
4767 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4768 New file.
4769 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4770 New file.
4771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4772 file.
4773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4774 New file.
4775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4776 New file.
4777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4778 file.
4779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4780 New file.
4781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4782 New file.
4783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4784 file.
4785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4786 New file.
4787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4788 New file.
4789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4790 New file.
4791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4792 New file.
4793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4794 New file.
4795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4796 New file.
4797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4799 file.
4800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4801 New file.
4802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4803 file.
4804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4805 file.
4806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4807 file.
4808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4809 file.
4810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4811 file.
4812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4813 New file.
4814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4815 file.
4816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4817 file.
4818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4819 New file.
4820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4821 file.
4822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4824 file.
4825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4826 New file.
4827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4828 file.
4829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4830 file.
4831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4832 file.
4833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4834 file.
4835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4836 file.
4837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4838 New file.
4839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4840 file.
4841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4842 file.
4843 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4844 New file.
4845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4846 file.
4847 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4848 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4849 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4850 file.
4851 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4852 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4853 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4854 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4855 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4856 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4857 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4858 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4859 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4860 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4861 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4863 file.
4864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4865 New file.
4866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4867 file.
4868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4869 file.
4870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4871 file.
4872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4873 file.
4874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4875 file.
4876 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4877 New file.
4878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4879 New file.
4880 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4881 file.
4882 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4883 New file.
4884 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4885 file.
4886 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4888 file.
4889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4890 New file.
4891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4892 file.
4893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4894 file.
4895 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4896 file.
4897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4898 file.
4899 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4900 file.
4901 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4902 New file.
4903 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4904 New file.
4905 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4906 file.
4907 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4908 New file.
4909 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4910 file.
4911
41d73a1b
JM
49122012-04-28 Joseph Myers <joseph@codesourcery.com>
4913
4914 * conform/conformtest.pl: Fix typo in handling typed-constant from
4915 allow-header.
4916
28aeeda4
JM
49172012-04-27 Joseph Myers <joseph@codesourcery.com>
4918
adae8f5e
JM
4919 * README: Cut down references to pre-2.6 Linux kernels and
4920 Linuxthreads. Update lists of configurations in libc and ports
4921 and sort alphabetically. Say "or newer" with Linux kernel version
4922 requirements.
4923
28aeeda4
JM
4924 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4925
a462cb63
RA
49262012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4927
4928 [BZ #887]
4929 * math/libm-test.inc (logb_test_downward): New test to expose
4930 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4931 rounding mode.
4932
6ad3493e
JM
49332012-04-27 Joseph Myers <joseph@codesourcery.com>
4934
4935 [BZ #14027]
4936 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4937 to be done.
4938 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4939 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4940
2ce4f015
JM
49412012-04-26 Joseph Myers <joseph@codesourcery.com>
4942
5aeb141a
JM
4943 * sysdeps/unix/i386/brk.S: Remove file.
4944 * sysdeps/unix/i386/dl-brk.S: Likewise.
4945 * sysdeps/unix/i386/pipe.S: Likewise.
4946 * sysdeps/unix/i386/sigreturn.S: Likewise.
4947 * sysdeps/unix/i386/syscall.S: Likewise.
4948 * sysdeps/unix/i386/vfork.S: Likewise.
4949 * sysdeps/unix/i386/wait.S: Likewise.
4950
7143acae
JM
4951 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4952 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4953
2ce4f015
JM
4954 * configure.in (arm*-none*): Do not allow without
4955 --enable-hacker-mode.
4956 (netbsd*): Remove case setting base_os.
4957 (386bsd*): Likewise.
4958 (freebsd*): Likewise.
4959 (bsdi*): Likewise.
4960 (osf*): Likewise.
4961 (sunos*): Likewise.
4962 (ultrix*): Likewise.
4963 (newsos*): Likewise.
4964 (dynix*): Likewise.
4965 (*bsd*): Likewise.
4966 (sysv*): Likewise.
4967 (isc*): Likewise.
4968 (esix*): Likewise.
4969 (sco*): Likewise.
4970 (minix*): Likewise.
4971 (irix4*): Likewise.
4972 (irix6*): Likewise.
4973 (solaris[2-9]*): Likewise.
4974 (none): Likewise.
4975 * configure: Regenerated.
4976
0ac229c8
AZ
49772012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4978
4979 [BZ #11521]
4980 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4981 overflow or cancellation in calculating denominator.
4982 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4983 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4984 down expression to avoid unexpected rounding in newer GCCs.
4985 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4986
33f244f4
DM
49872012-04-26 David S. Miller <davem@davemloft.net>
4988
4989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4990 long-double compat symbols.
4991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5004
cfa1f3e8
DM
50052012-04-25 David S. Miller <davem@davemloft.net>
5006
5007 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5008 HWCAP_* values only after the memory barriers have been defined.
5009 (atomic_full_barrier): Define.
5010 (atomic_read_barrier): Define.
5011 (atomic_write_barrier): Define.
5012
6e236b92
SP
50132012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5014
5015 * shlib-versions: Add libgcc_s version information.
5016 * sysdeps/generic/libgcc_s.h: Remove.
5017 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5018 libgcc_s.h.
5019 * sysdeps/gnu/unwind-resume.c: Likewise.
5020 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5021
aab39a09
DM
50222012-04-25 David S. Miller <davem@davemloft.net>
5023
5024 * sysdeps/unix/sparc/brk.S: Delete.
5025 * sysdeps/unix/sparc/dl-brk.S: Delete.
5026 * sysdeps/unix/sparc/pipe.S: Delete.
5027 * sysdeps/unix/sparc/sysdep.S: Delete.
5028 * sysdeps/unix/sparc/sysdep.h: Delete.
5029 * sysdeps/unix/sparc/vfork.S: Delete.
5030 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5031 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5032 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5033 ret_ERRVAL, r0, r1, MOVE): Define.
5034 (JUMPTARGET): Remove.
5035 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5036 sysdeps/unix/sparc/sysdep.h
5037 (ENTRY, END): Remove.
5038 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5039
a3cc4f48
JM
50402012-04-25 Joseph Myers <joseph@codesourcery.com>
5041
2ed8cda2
JM
5042 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5043 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5044 -DIS_IN_build.
5045
35d76d59
JM
5046 * timezone/README: Update upstream location and email address for
5047 tzcode and tzdata.
5048 * timezone/zdump.c: Update from tzcode 2012b.
5049 * timezone/zic.c: Likewise.
5050
a3cc4f48
JM
5051 * configure.in (libc_cv_as_needed): Remove test.
5052 * configure: Regenerated.
5053 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5054 conditional definition.
5055 [$(have-as-needed) != yes] (no-as-needed): Likewise.
5056 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5057 * config.make.in (have-as-needed): Remove variable.
5058
ceab42c3
SP
50592012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5060 Paul Pluzhnikov <ppluzhnikov@google.com>
5061
5062 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5063 strings correctly.
5064
3ce2865f
CLT
50652012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5066
5067 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5068 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5069 * sysdeps/sh/strlen.S: Likewise.
5070
f37e0d68
JM
50712012-04-24 Joseph Myers <joseph@codesourcery.com>
5072
ae186e9a
JM
5073 * sysdeps/unix/fork.S: Remove file.
5074 * sysdeps/unix/i386/fork.S: Likewise.
5075 * sysdeps/unix/sparc/fork.S: Likewise.
5076
b96914af
JM
5077 * sysdeps/unix/system.c: Remove file.
5078 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5079
f37e0d68
JM
5080 * sysdeps/unix/getegid.S: Remove file.
5081 * sysdeps/unix/geteuid.S: Likewise.
5082
87ef29ca
RM
50832012-04-24 Roland McGrath <roland@hack.frob.com>
5084
83bcd236
RM
5085 * scripts/check-localplt.awk: New file.
5086 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5087 of diff.
5088 * scripts/data/localplt-generic.data: Add a comment.
5089
87ef29ca
RM
5090 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5091 NODE when __dir_mkfile failed.
5092 * sysdeps/mach/hurd/symlinkat.c: Likewise.
5093 Reported by Ludovic Courtès <ludo@gnu.org>.
5094
e5a6e567
AJ
50952012-04-24 Andreas Jaeger <aj@suse.de>
5096
5097 * Makerules (common-clean): Also remove gen-as-const-headers
5098 files.
5099
c1820385
JM
51002012-04-24 Joseph Myers <joseph@codesourcery.com>
5101
5102 * Makerules (native-compile): Do not change working directory for
5103 build. Use $(OUTPUT_OPTION) in command.
5104 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5105
94e02fc4
AZ
51062012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5107
5108 [BZ #13886]
5109 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5110 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5111 * math/libm-test.inc (floor_test): Add more tests.
5112 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5113
3a533ca3
JM
51142012-04-24 Joseph Myers <joseph@codesourcery.com>
5115
940ab4b3
JM
5116 * sysdeps/unix/getdents.c: Remove file.
5117 * sysdeps/unix/sysv/getdents.c: Likewise.
5118 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5119
90e037bd
JM
5120 * sysdeps/unix/syscalls.list (madvise): Add syscall from
5121 sysdeps/unix/mman/syscalls.list.
5122 (mmap): Likewise.
5123 (mprotect): Likewise.
5124 (msync): Likewise.
5125 (munmap): Likewise.
5126 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5127 * sysdeps/unix/mman/syscalls.list: Remove.
5128 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5129
3a533ca3
JM
5130 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5131 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5132 * configure: Regenerated.
5133 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5134 $(libgcc_s_suffix).
5135 * config.make.in (libgcc_s_suffix): Remove variable.
5136
1ad743de
JM
51372012-04-23 Joseph Myers <joseph@codesourcery.com>
5138
4ad451e2
JM
5139 * sysdeps/unix/sysv/gethostname.c: Move to ...
5140 * sysdeps/posix/gethostname.c: ... here.
5141
5e37ce39
JM
5142 * sysdeps/unix/execve.S: Remove file.
5143
1ad743de
JM
5144 * sysdeps/unix/_exit.S: Remove file.
5145
4e681b5b
AJ
51462012-04-23 Andreas Jaeger <aj@suse.de>
5147
5148 [BZ #13739]
5149 * manual/Makefile: Remove make dist support, there's no
5150 need for a stand-alone documentation tar ball.
5151 (TEXI2DVI): Define always, it's not in Makeconfig.
5152 (dist): Removed.
5153 (tar-it): Removed.
5154 (edition): Removed.
5155 (glibc-doc-$(edition).tar): Removed
5156 (%.Z): Removed.
5157 (%.gz): Removed.
5158 (%.uu): Removed.
5159 (ETAGS): Remove, it's in Makeconfig.
5160 (move-if-change): Remove, it's in Makeconfig.
5161
c0baea34
PE
51622013-04-23 Paul Eggert <eggert@cs.ucla.edu>
5163
5164 [BZ #13970]
5165 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5166 (strtod, strtof, strtold, strtol, strtoul, strtoq)
5167 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5168 (strtod_l, strtof_l, strtold_l): Remove __wur.
5169 It is not necessarily an error to ignore strtol's return value.
5170 One can reliably look at the stored endptr to decide whether
5171 the number had valid syntax.
5172
7c0616fa
AJ
51732012-04-21 Andreas Jaeger <aj@suse.de>
5174
803cb6b7 5175 [BZ #13739]
7c0616fa
AJ
5176 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5177
b0fe253f
JM
51782012-04-21 Joseph Myers <joseph@codesourcery.com>
5179
5180 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5181 * sysdeps/unix/sysv/Versions: Remove file.
5182
8280f22d
MT
51832012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
5184
5185 [BZ #13927]
5186 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5187
75ce411f 51882012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
5189
5190 [BZ #7064]
5191 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5192 version from __vm86.
5193
097d59fa
JM
51942012-04-20 Joseph Myers <joseph@codesourcery.com>
5195
a90f3bcb
JM
5196 * sysdeps/unix/common/lxstat.c: Remove file.
5197 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5198
edc7ea78
JM
5199 * sysdeps/unix/sysv/Makefile: Remove file.
5200
cb78c221
JM
5201 * sysdeps/unix/sysv/direct.h: Remove file.
5202
efa6a45f
JM
5203 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5204 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5205 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5206 * sysdeps/unix/sysv/bits/signum.h: Likewise.
5207 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5208 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5209 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5210
9c9f2d0c
JM
5211 * sysdeps/unix/sysv/setrlimit.c: Remove file.
5212
4541c83b
JM
5213 * sysdeps/unix/xmknod.c: Remove file.
5214 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5215
f5d153a0
JM
5216 * sysdeps/unix/sysv/settimeofday.c: Remove file.
5217
aa746595
JM
5218 * sysdeps/unix/sysv/i386/time.S: Remove file.
5219
cce5905e
JM
5220 * sysdeps/unix/fxstat.c: Remove file.
5221 * sysdeps/unix/xstat.c: Likewise.
5222 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5223
37fa3841
JM
5224 * sysdeps/unix/sysv/sigaction.c: Remove file.
5225
ff1962a3
JM
5226 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5227 (sysdep_headers): Remove variable.
5228 [termio.h not in sysdep_headers] (generated): Likewise.
5229 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5230 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5231 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5232 * sysdeps/unix/sysv/tcflow.c: Likewise.
5233 * sysdeps/unix/sysv/tcflush.c: Likewise.
5234 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5235 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
5236 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5237 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5238 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
5239
e7740d31
JM
5240 * sysdeps/unix/siglist.c: Remove file.
5241
ee06f18b
JM
5242 * sysdeps/unix/getppid.S: Remove file.
5243
097d59fa
JM
5244 * sysdeps/unix/mkdir.c: Remove file.
5245 * sysdeps/unix/rmdir.c: Likewise.
5246
ff3d51ec
AS
52472012-04-19 Andreas Schwab <schwab@linux-m68k.org>
5248
5249 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5250 ERR_MAX value.
5251 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5252 errlist-compat value.
5253
50f81fd7
DM
52542012-04-18 David S. Miller <davem@davemloft.net>
5255
5256 * sysdeps/generic/memcopy.h (reg_char): Delete.
5257 * debug/strcat_chk.c: Use char, not reg_char.
5258 * debug/strcpy_chk.c: Likewise.
5259 * debug/strncat_chk.c: Likewise.
5260 * debug/strncpy_chk.c: Likewise.
5261 * string/memchr.c: Likewise.
5262 * string/memrchr.c: Likewise.
5263 * string/rawmemchr.c: Likewise.
5264 * string/strcat.c: Likewise.
5265 * string/strchr.c: Likewise.
5266 * string/strchrnul.c: Likewise.
5267 * string/strcmp.c: Likewise.
5268 * string/strcpy.c: Likewise.
5269 * string/strncat.c: Likewise.
5270 * string/strncmp.c: Likewise.
5271 * string/strncpy.c: Likewise.
5272
8ff41c46
WS
52732012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5274
5275 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5276 __builtin_memcopy is called when src and dest ranges are known to not
5277 overlap.
5278
6b652f46
WS
52792012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5280
5281 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5282 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5283 fwd_align_merge macro call.
5284 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5285 bwd_align_merge macro call.
5286 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5287
b282631e
WS
52882012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5289
5290 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5291 bwd_align_merge macros.
5292 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5293 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5294 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5295
95aa737c
DM
52962012-04-18 David S. Miller <davem@davemloft.net>
5297
5298 * sysdeps/sparc/sparc64/memcopy.h: Delete.
5299
7a99a614
AJ
53002012-04-18 Andreas Jaeger <aj@suse.de>
5301
5302 [BZ# 6794]
5303 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5304 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5305 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5306
5307 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5308 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5309 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5310
5311 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5312 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5313 Adjust for changed ldbl-128 files.
5314
5315 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5316 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5317 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5318
e5270c23
DM
53192012-04-17 David S. Miller <davem@davemloft.net>
5320
5321 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5322
fb5e92c9
AS
53232012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5324
5325 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5326 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5327 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5328 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5329 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5330 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5331
76da7265
AZ
53322012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5333
5334 [BZ #6794]
5335 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5336 * math/libm-test.inc: Add ilogb errno and exception tests.
5337 * math/w_ilogb.c: New file: ilogb wrapper.
5338 * math/w_ilogbf.c: New file: ilogbf wrapper.
5339 * math/w_ilogbl.c: New file: ilogbl wrapper.
5340 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5341 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5342 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5343 exception being thrown with 0.0 as argument.
5344 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5345 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5346 exception being thrown with 0.0 as argument.
5347 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5348 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5349 exception being thrown with 0.0 as argument.
5350 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5351 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5352 exception being thrown with 0.0 as argument.
5353 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5354 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 5355 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
5356 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5357 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5358 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5359 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5360 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5361 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5362
0396e69d
PB
53632012-04-17 Petr Baudis <pasky@ucw.cz>
5364
5365 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5366 with altivec.
5367
750b5926
MP
53682012-04-16 Marek Polacek <polacek@redhat.com>
5369
5370 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5371
751728a1
MP
53722012-04-16 Marek Polacek <polacek@redhat.com>
5373
5374 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5375 operands of fdivp instruction.
5376
34a27407
L
53772012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5378
5379 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5380 * elf/tst-auditmod3b.c: Likewise.
5381 * elf/tst-auditmod4b.c: Likewise.
5382 * elf/tst-auditmod5b.c: Likewise.
5383 * elf/tst-auditmod6b.c: Likewise.
5384 * elf/tst-auditmod6c.c: Likewise.
5385 * elf/tst-auditmod7b.c: Likewise.
5386 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5387 * sysdeps/x86_64/preconfigure.in: Likewise.
5388 * sysdeps/x86_64/preconfigure: Regenerated.
5389
7e73e17d
L
53902012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5391
5392 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5393 __ILP32__.
5394
c7a6ab72
AB
53952012-04-13 Antoine Balestrat <merkil33@gmail.com>
5396
5397 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5398 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5399
a9e8e0e0
CL
54002012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5401
5402 [BZ #13973]
5403 * locale/iso-639.def: Fix gl language name. Spotted by
5404 Yaron Shahrabani.
5405
ec98af7d
RM
54062012-04-12 Roland McGrath <roland@hack.frob.com>
5407
5408 [BZ #2074]
5409 * libio/libio.h (__io_write_fn): Update comment.
5410
247c3ede
PB
54112012-04-12 Petr Baudis <pasky@ucw.cz>
5412
5413 [BZ #2074]
5414 * stdio.texi (Hook Functions): The user provided writer function
5415 is not allowed to return -1.
5416
55939d6d
DM
54172012-04-11 David S. Miller <davem@davemloft.net>
5418
5419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5420
90020f5a
MF
54212012-04-11 Mike Frysinger <vapier@gentoo.org>
5422
5423 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5424 Add a leading slash to rtkaio.
5425
288f9098
JM
54262012-04-11 Jim Meyering <meyering@redhat.com>
5427
90020f5a
MF
5428 [BZ #11959]
5429 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5430 It is not necessarily an error to ignore fwrite's return
5431 value. One can reliably use ferror to test for errors after
5432 the fact.
288f9098 5433
4be2b570
L
54342012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5435
5436 * bits/types.h (__snseconds_t): New type.
5437 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5438
5439 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5440 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5441 (__SNSECONDS_T_TYPE): Likewise.
5442 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5443 (__SNSECONDS_T_TYPE): Likewise.
5444 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5445 (__SNSECONDS_T_TYPE): Likewise.
5446
288f9098 54472012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
5448
5449 [BZ #2636]
5450 * manual/time.texi (Processor Time): Return type of times is
5451 elapsed real time since an arbitrary point in the past.
5452 (CPU Time): Move CLK_TCK from here...
5453 (Processor Time): ...to here. Correct description.
5454 * manual/conf.texi (Constants for Sysconf): Correct description of
5455 _SC_CLK_TCK.
5456
d7dd4413
DM
54572012-04-10 David S. Miller <davem@davemloft.net>
5458
5459 [BZ #13967]
5460 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5461 where the is a gap between DT_REL(A) and DT_JMPREL.
5462
b46068fc
L
54632012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5464
5465 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5466 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5467 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5468
73d65cc3
SP
54692012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5470
5471 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5472 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5473 (dl_main): Handle --inhibit-cache.
5474 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5475 _dl_inhibit_cache.
5476 * elf/dl-load.c (_dl_map_object): Use it.
5477 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5478
bcc8d661
JM
54792012-04-09 Joseph Myers <joseph@codesourcery.com>
5480
8f9a2fae
JM
5481 [BZ #13872]
5482 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5483 (__ieee754_powl): Saturate large exponents rather than testing for
5484 overflow of y*log2(x).
5485 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5486 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5487 exceptions.
5488
bcc8d661
JM
5489 [BZ #11521]
5490 * math/s_ctan.c: Include <float.h>.
5491 (__ctan): Avoid internal overflow or cancellation in calculating
5492 denominator.
5493 * math/s_ctanf.c: Likewise.
5494 * math/s_ctanl.c: Likewise.
5495 * math/s_ctanh.c: Likewise.
5496 * math/s_ctanhf.c: Likewise.
5497 * math/s_ctanhl.c: Likewise.
5498 * math/libm-test.inc (ctan_test): Add more tests.
5499 (ctanh_test): Likewise.
5500 * sysdeps/i386/fpu/libm-test-ulps: Update.
5501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5502
823fbbb4
AJ
55032012-04-09 Andreas Jaeger <aj@suse.de>
5504
03879793
AJ
5505 [BZ #6894]
5506 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5507 is an optional BSD extension.
5508
823fbbb4
AJ
5509 [BZ #10254]
5510 * manual/stdio.texi (Opening Streams): Document additional fopen
5511 parameters.
5512
8de131cb
RM
55132012-04-09 Roland McGrath <roland@hack.frob.com>
5514
5515 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5516 %eax without telling the compiler.
5517
c0ed9d7d
CD
55182012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5519
5520 [BZ # 13963]
5521 * manual/install.texi: Use sourceware.org.
5522
c483f6b4
JM
55232012-04-09 Joseph Myers <joseph@codesourcery.com>
5524
d7dd9453
JM
5525 [BZ #13873]
5526 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5527 (__ieee754_pow): Generate overflow and underflow using huge*huge
5528 and tiny*tiny rather than just returning constant infinity or zero
5529 for large exponents.
5530 * math/libm-test.inc (pow_test): Require overflow exceptions for
5531 applicable cases of large exponents.
5532
c483f6b4
JM
5533 [BZ #706]
5534 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5535 (__ieee754_pow): Use iterative multiplication algorithm only for
5536 integer exponents with absolute value below 1024. Check for odd
5537 integer exponents when using algorithm for real exponents.
5538 * math/libm-test.inc (pow_test): Add more tests.
5539 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5540
d2de7579
JM
55412012-04-08 Joseph Myers <joseph@codesourcery.com>
5542
5543 [BZ #13705]
5544 * math/libm-test.inc (exp_test): Do not allow overflow exception
5545 on underflow test.
5546
f77f1232
AJ
55472012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5548
5549 [BZ #13705]
5550 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5551 instead of __kernel_standard_f.
5552
3884932b
MF
55532012-04-08 Mike Frysinger <vapier@gentoo.org>
5554
5555 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5556 * sysdeps/x86_64/memset_chk.S: Likewise.
5557
54472e9c
AJ
55582012-04-08 Andreas Jaeger <aj@suse.de>
5559
6ab0fbfc
AJ
5560 [BZ #10153]
5561 * manual/startup.texi (Environment Access): Describe return value
5562 for putenv and setenv.
5563
61efba8c
AJ
5564 [BZ #6895]
5565 * manual/filesys.texi (Directory Entries): Add description for
5566 DT_LNK.
5567
95c3f29a
AJ
5568 [BZ #6890]
5569 * manual/filesys.texi (Directory Entries): Clarify that it's file
5570 system not operating system in the description of DT_UNKNOWN.
5571
54472e9c
AJ
5572 [BZ #6578]
5573 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5574
624254b1
SC
55752012-04-08 Stephen Compall <s11@member.fsf.org>
5576
5577 [BZ #6649]
5578 * manual/llio.texi (Opening and Closing Files): Add cross
5579 reference to explain mode argument.
5580
1e4920e0
MF
55812012-04-07 Mike Frysinger <vapier@gentoo.org>
5582
5583 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5584 * sysdeps/x86_64/memset_chk.S: Likewise.
5585
5ed848f3
DM
55862012-04-07 David S. Miller <davem@davemloft.net>
5587
5588 * elf/elf.h (R_SPARC_WDISP10): Define.
5589 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5590 R_SPARC_SIZE32.
5591 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5592 R_SPARC_SIZE64 and R_SPARC_H34.
5593
96154cd8
CD
55942012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5595
5596 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5597 conditions and remove no longer applicable assertion.
5598
9904dc47
L
55992012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5600
5601 * bits/byteswap.h: Include <features.h>.
5602 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5603 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5604
f8887d0a
L
56052012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5606
5607 * bits/byteswap.h (__bswap_16): Removed.
5608 Include <bits/byteswap-16.h> to get __bswap_16.
5609 * sysdeps/i386/bits/byteswap.h: Likewise.
5610 * sysdeps/s390/bits/byteswap.h: Likewise.
5611 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5612 * bits/byteswap-16.h: New file.
5613 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5614 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5615 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5616 * string/Makefile (headers): Add bits/byteswap-16.h.
5617
62470f60
PP
56182012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5619
5620 [BZ #13895]
5621 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5622 extra indirection.
5623 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5624 * nss/tst-nss-static.c: New.
5625
4dad7bab
RM
56262012-04-06 Robert Millan <rmh@gnu.org>
5627
5628 [BZ #6486]
5629 * manual/llio.texi (File Position Primitive): lseek
5630 refers to WHENCE when it really means OFFSET.
5631
e9142a17
AJ
56322012-04-06 Andreas Jaeger <aj@suse.de>
5633
2c040eff
AJ
5634 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5635 strncmp declarations.
5636
e9142a17
AJ
5637 * abilist/libc.abilist: Add __poll and __ppoll.
5638
ff9f1c5f
DM
56392012-04-05 David S. Miller <davem@davemloft.net>
5640
dcd2ae90
DM
5641 * scripts/check-local-headers.sh: Accept a host triplet in the
5642 path matched by the exclude regexp.
5643
993eb054
DM
5644 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5645 definition.
5646 * sysdeps/powerpc/powerpc32/dl-machine.h
5647 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5648 * sysdeps/s390/s390-32/dl-machine.h
5649 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5650 * sysdeps/sparc/sparc32/dl-machine.h
5651 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5652 * sysdeps/sparc/sparc64/dl-machine.h
5653 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5654
ff9f1c5f
DM
5655 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5656 lazy binding.
48e2e132 5657 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5658 undefined symbol errors.
5659
48e2e132 5660 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5661 DT_NEEDED entries.
5662
e80d6f94
MM
56632012-04-05 Michael Matz <matz@suse.de>
5664
5665 [BZ #13592]
5666 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5667
349fa79f
AJ
56682012-04-05 Andreas Jaeger <aj@suse.de>
5669
5670 [BZ #13908]
5671 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5672 comment.
5673
f402708f
KK
56742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5675
5676 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5677 which ROUND is no valid rounding mode.
5678
2ecccfc9
KK
56792012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5680
5681 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5682 read again.
5683 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5684
8a53f50f
KK
56852012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5686
5687 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5688 an exception using FPU order intentionally.
5689
56902012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5691
5692 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5693 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5694 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5695 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5696
d653abb7
SJ
56972012-04-05 Simon Josefsson <simon@josefsson.org>
5698
5699 [BZ #12340]
5700 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5701 EINVAL when BUFLEN is too smal.
5702
c3b1bf7d
TS
57032012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5704
5705 [BZ #13553]
5706 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5707 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5708
b1aa60f3
AJ
57092012-04-03 Andreas Jaeger <aj@suse.de>
5710
c3b1bf7d 5711 [BZ #13938]
67f60a26
AJ
5712 * manual/setjmp.texi (System V contexts): Fix sentence.
5713
b1aa60f3
AJ
5714 [BZ #13926]
5715 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5716 New macro for this case.
5717 [!__GNUC__] (__bswap_64): New inline function for this case.
5718 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5719 * bits/byteswap.h: Likewise.
5720 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5721 ull, guard with __GLIBC_HAVE_LONG_LONG.
5722
5723 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5724 __GLIBC_HAVE_LONG_LONG.
5725
5726 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5727 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5728
39c59c35
TMQMF
57292012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5730
5731 [BZ #13691]
5732 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5733 inptr and inend, rather than using last_ch.
5734
135ffda8
DM
57352012-04-02 David S. Miller <davem@davemloft.net>
5736
5737 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5738 * stdio-common/printf-parse.h (read_int): Change return type to
5739 'int', return -1 on INT_MAX overflow.
5740 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5741 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5742 overflows INT_MAX. Check for overflow of in-format-string precision
5743 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5744 SIZE_MAX not INT_MAX for integer overflow test.
5745 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5746 skip the construct in the format string but do not record anything.
5747 * stdio-common/bug22.c: Adjust to test both width/prevision
5748 INT_MAX overflow as well as total length INT_MAX overflow. Check
5749 explicitly for proper errno values.
5750
228c019e
TS
57512012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5752
302cadd3
TS
5753 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5754 CHAR_MAX.
5755 * string/test-strcmp.c [! WIDE]: Likewise.
5756 * time/tst-mktime2.c: Likewise for INT_MAX.
5757 * string/test-string.h: #include <sys/param.h> for MIN.
5758
228c019e
TS
5759 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5760 * sysdeps/i386/init-first.c (init): Likewise.
5761 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5762 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5763 * sysdeps/sh/init-first.c (init): Likewise.
5764
cfa633f5
UD
57652012-04-01 Ulrich Drepper <drepper@gmail.com>
5766
5767 * po/ru.po: Update from translation team.
d1635ef8 5768 * po/vi.po: Likewise.
cfa633f5 5769
6cd0a5ea
SP
57702012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5771
5772 * resolv/nss_dns/dns-host.c: Merge copyright years.
5773
4b43400f
LD
57742012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5775
5776 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5777 Optimize memcpy with prefetch if
5778 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5779 src, dst pointers have unequal 16 byte alignments.
5780
48c41d04
SP
57812012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5782
5783 [BZ #13928]
5784 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5785 from a CNAME entry and return the minimum ttl for the query.
5786 (gaih_getanswer_slice): Likewise.
5787
b8dc394d
JL
57882012-03-30 Jeff Law <law@redhat.com>
5789
5790 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5791 due to long keys.
5792 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5793 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5794
2f5a5ed0
JL
5795 * resolv/nss_dns/dns-host.c: Update copyright year.
5796
1d39e359
UD
57972012-03-30 Ulrich Drepper <drepper@gmail.com>
5798
c030f70c 5799 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5800 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5801
1d39e359
UD
5802 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5803 comments for sendmmsg.
5804
58052012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5806
5807 [BZ #13691]
5808 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5809 with only 1 character between 0x0041 and 0x01b0.
5810 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5811 * wcsmbs/tst-mbsnrtowcs.c: New file.
5812
20fde227
DM
58132012-03-29 David S. Miller <davem@davemloft.net>
5814
5815 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5816 small copies by hand.
5817
984a4237
JL
58182012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5819
5820 [BZ #13761]
5821 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5822 _nss_compat_initgroups_dyn): Fall back to malloc/free
5823 for large group memberships.
5824
18c9d62b
DM
58252012-03-28 David S. Miller <davem@davemloft.net>
5826
88d85d4f
DM
5827 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5828 that branches into memcpy.
5829 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5830 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5831 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5832 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5833 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5834 bits.
5835 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5836 implementation too.
5837 * sysdeps/sparc/mempcpy.S: New file.
5838
e5aa83e1
DM
5839 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5840 the IFUNC routine in the libc case.
5841 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5842
88570753
DM
5843 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5844 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5845 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5846 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5847 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5848 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5849 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5850 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5851
249d7567
DM
5852 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5853 loop to 256 bytes instead of 64 bytes and fix test signedness.
5854
18c9d62b
DM
5855 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5856 * sysdeps/sparc/sparc32/Makefile: rather than here...
5857 * sysdeps/sparc/sparc64/Makefile: and here.
5858
05f3d1f6
UD
58592012-03-28 Ulrich Drepper <drepper@gmail.com>
5860
5861 * malloc/mallocbug.c: Avoid warnings about unused variables.
5862
86ae07a8
JL
58632012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5864
5865 [BZ #13760]
5866 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5867 in the right place. Discard and retry query if response is
5868 larger than input buffer size.
5869
41bf21a1
JM
58702012-03-28 Joseph Myers <joseph@codesourcery.com>
5871
d6270972
JM
5872 [BZ #369]
5873 [BZ #2678]
5874 [BZ #3866]
5875 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5876 x for large integer exponent.
5877 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5878 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5879 sign of result as needed afterwards.
5880 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5881 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5882 result for underflowing pow the same as for overflow.
5883 (__kernel_standard_l): Handle powl overflow and underflow here
5884 rather than calling __kernel_standard.
5885 * math/libm-test.inc (pow_test): Add more tests.
5886
414fca03 5887 [BZ #3868]
41bf21a1
JM
5888 [BZ #13879]
5889 [BZ #13910]
5890 [BZ #13911]
5891 [BZ #13912]
5892 [BZ #13913]
5893 [BZ #13915]
5894 [BZ #13916]
5895 [BZ #13917]
5896 [BZ #13918]
5897 [BZ #13919]
5898 [BZ #13920]
5899 [BZ #13921]
5900 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5901 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5902 (__kernel_standard_l): New function.
5903 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5904 __kernel_standard.
5905 * math/w_acosl.c (__acosl): Likewise.
5906 * math/w_asinl.c (__asinl): Likewise.
5907 * math/w_atan2l.c (__atan2l): Likewise.
5908 * math/w_atanhl.c (__atanhl): Likewise.
5909 * math/w_coshl.c (__coshl): Likewise.
5910 * math/w_exp10l.c (__exp10l): Likewise.
5911 * math/w_exp2l.c (__exp2l): Likewise.
5912 * math/w_fmodl.c (__fmodl): Likewise.
5913 * math/w_hypotl.c (__hypotl): Likewise.
5914 * math/w_j0l.c (__j0l, __y0l): Likewise.
5915 * math/w_j1l.c (__j1l, __y1l): Likewise.
5916 * math/w_jnl.c (__jnl, __ynl): Likewise.
5917 * math/w_lgammal.c (__lgammal): Likewise.
5918 * math/w_log10l.c (__log10l): Likewise.
5919 * math/w_log2l.c (__log2l): Likewise.
5920 * math/w_logl.c (__logl): Likewise.
5921 * math/w_powl.c (__powl): Likewise.
5922 * math/w_remainderl.c (__remainderl): Likewise.
5923 * math/w_scalbl.c (sysv_scalbl): Likewise.
5924 * math/w_sinhl.c (__sinhl): Likewise.
5925 * math/w_sqrtl.c (__sqrtl): Likewise.
5926 * math/w_tgammal.c (__tgammal): Likewise.
5927 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5928 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5929 * math/libm-test.inc (acos_test): Add more tests.
5930 (acosh_test): Likewise.
5931 (asin_test): Likewise.
5932 (atanh_test): Likewise.
5933 (exp_test): Likewise.
5934 (exp10_test): Likewise.
5935 (exp2_test): Likewise.
5936 (expm1_test): Likewise.
5937 (lgamma_test): Likewise.
5938 (log_test): Likewise.
5939 (log10_test): Likewise.
5940 (log1p_test): Likewise.
5941 (log2_test): Likewise.
5942 (pow_test): Do not allow some spurious overflow exceptions.
5943 (sqrt_test): Add more tests.
5944 (tgamma_test): Likewise.
5945 (y0_test): Likewise.
5946 (y1_test): Likewise.
5947 (yn_test): Likewise.
5948
dd62fda6
AB
59492012-03-27 Anton Blanchard <anton@samba.org>
5950
5951 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5952 MAP_HUGETLB.
5953 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5954 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5955 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5956
1e3cdfda
AJ
59572012-03-27 David S. Miller <davem@davemloft.net>
5958
b855ab85
DM
5959 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5960
1e3cdfda
AJ
5961 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5962 have-as-vis3 check.
5963
59642012-03-27 Andreas Jaeger <aj@suse.de>
5965
5966 * sysdeps/x86_64/elf/configure.in: Moved to ...
5967 * sysdeps/x86_64/configure.in: ... here.
5968 * sysdeps/x86_64/elf/start.S: Moved to ...
5969 * sysdeps/x86_64/start.S: ... here.
5970 * sysdeps/x86_64/elf/configure: Delete.
5971
5972 * sysdeps/x86_64/configure.in: Merge contents from
5973 sysdeps/i386/configure.in (without i686 check).
5974
5975 * sysdeps/i386/elf/Versions: Merge into ...
5976 * sysdeps/i386/Versions: ... this.
5977 * sysdeps/i386/elf/Versions: Delete file.
5978 * sysdeps/i386/elf/start.S: Moved to ...
5979 * sysdeps/i386/start.S: ...here.
5980 * sysdeps/i386/elf/configure.in: Merge into...
5981 * sysdeps/i386/configure.in: ...here.
5982 * sysdeps/i386/elf/configure.in: Delete file.
5983 * sysdeps/i386/elf/configure: Delete file.
5984
5985 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5986 * debug/backtracesyms.c: ... here.
5987 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5988 * debug/backtracesymsfd.c: ... here.
5989 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5990 * sysdeps/generic/ifunc-sel.h: ... here.
5991
5992 * sysdeps/unix/i386/start.c: Delete file.
5993 * sysdeps/unix/sparc/start.c: Delete file.
5994 * sysdeps/unix/start.c: Delete file.
5995
5996 * sysdeps/sh/elf/configure.in: Moved to ...
5997 * sysdeps/sh/configure.in: ... here.
5998 * sysdeps/sh/elf/start.S: Moved to ...
5999 * sysdeps/sh/start.S: ... here.
6000 * sysdeps/sh/elf/configure: Delete file.
6001
6002 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6003 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6004 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6005 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6006 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6007 * sysdeps/powerpc/powerpc64/start.S: here.
6008 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6009 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6010 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6011 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6012 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6013
6014 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6015 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6016 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6017 * sysdeps/powerpc/powerpc32/start.S: ... here.
6018 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6019 * sysdeps/powerpc/powerpc32/configure.in: ... this.
6020 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6021
6022 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6023 * sysdeps/powerpc/ifunc-sel.h: ... here.
6024 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6025 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6026
6027 * sysdeps/sparc/elf/configure.in: Moved to ...
6028 * sysdeps/sparc/configure.in: ... here.
6029 * sysdeps/sparc/elf/configure: Delete file.
6030 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6031 * sysdeps/sparc/sparc32/start.S: ... here.
6032 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6033 * sysdeps/sparc/sparc64/start.S: ... here.
6034 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6035 * sysdeps/sparc/sparc32/Makefile: ... this.
6036 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6037 * sysdeps/sparc/sparc64/Makefile: ... this.
6038
6039 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6040 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6041 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6042 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6043 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6044 * sysdeps/s390/s390-32/setjmp.S: ... here.
6045 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6046 * sysdeps/s390/s390-32/configure.in: ... here.
6047 * sysdeps/s390/s390-32/elf/configure: Delete file.
6048 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6049 * sysdeps/s390/s390-32/start.S: ... here.
6050
6051 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6052 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6053 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6054 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6055 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6056 * sysdeps/s390/s390-64/setjmp.S: ... here.
6057 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6058 * sysdeps/s390/s390-64/configure.in: ... here
6059 * sysdeps/s390/s390-64/elf/configure: Delete file.
6060 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6061 * sysdeps/s390/s390-64/start.S: ... here.
6062 * sysdeps/s390/s390-64/elf/configure: Delete.
6063
6064 * configure.in: Remove support for elf directories in sysdeps.
6065
6066 * configure: Regenerated.
6067 * sysdeps/i386/configure: Regenerated.
6068 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6069 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6070 * sysdeps/s390/s390-32/configure: Regenerated.
6071 * sysdeps/s390/s390-64/configure: Regenerated.
6072 * sysdeps/sh/configure: Regenerated.
6073 * sysdeps/sparc/configure: Regenerated.
6074 * sysdeps/x86_64/configure: Regenerated.
6075
a3f61311
AS
60762012-03-26 Andreas Schwab <schwab@linux-m68k.org>
6077
c876e002
AS
6078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6079
a3f61311
AS
6080 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6081 denormal result into account.
6082
ac4c54f0
RM
60832012-03-25 Roland McGrath <roland@hack.frob.com>
6084
6085 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6086 Reported by Allan McRae <allan@archlinux.org>.
6087
6a9b9c02
JL
60882012-03-23 Jeff Law <law@redhat.com>
6089
6090 * nss/getnssent.c (__nss_getent): Fix typo.
6091
4c42a0c1
DM
60922012-03-23 David S. Miller <davem@davemloft.net>
6093
6094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6095
1532c7ac
L
60962012-03-23 H.J. Lu <hongjiu.lu@intel.com>
6097
6098 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6099 to pad to uint64_t for each field.
6100 (dl_tls_index): Replace unsigned long with uint64_t.
6101
3ff42526
PP
61022012-03-23 Daniel Jacobowitz <dmj@google.com>
6103 Paul Pluzhnikov <ppluzhnikov@google.com>
6104
6105 [BZ #6528]
6106 * grp/Makefile (otherlibs): Don't set it.
6107 * inet/Makefile (otherlibs): Likewise.
6108 * login/Makefile (otherlibs): Likewise.
6109 * nscd/Makefile (otherlibs): Likewise.
6110 * posix/Makefile (otherlibs): Likewise.
6111 * pwd/Makefile (otherlibs): Likewise.
6112 * rt/Makefile (otherlibs): Likewise.
6113 * sunrpc/Makefile (otherlibs): Likewise.
6114 * nss/Makefile (otherlibs): Likewise.
6115 Add libnss_files to routines and static-only-routines.
6116 ($(objpfx)getent): Remove rule.
6117 * resolv/Makefile: Add libnss_dns and libresolv to routines and
6118 static-only-routines.
6119
7c69cd14
JM
61202012-03-22 Joseph Myers <joseph@codesourcery.com>
6121
6122 [BZ #13892]
6123 * math/s_cexp.c: Include <float.h>.
6124 (__cexp): Handle exp result overflowing not necessarily
6125 overflowing both real and imaginary parts of result.
6126 * math/s_cexpf.c: Likewise.
6127 * math/s_cexpl.c: Likewise.
6128 * math/libm-test.inc (cexp_test): Add more tests.
6129 * sysdeps/i386/fpu/libm-test-ulps: Update.
6130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6131
81b035fe
L
61322012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6133
6134 * include/link.h (ELFW): New macro.
6135 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6136 Replace ELF64_R_TYPE with ELFW(R_TYPE).
6137
1da7940c
L
61382012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6139
6140 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6141 with uint64_t.
6142
b749dbb9
L
61432012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6144
6145 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6146 declaration.
6147 (struct La_x32_retval): Likewise.
6148
2ff87f3f
L
61492012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6150
6151 * sysdeps/x86_64/preconfigure.in: New file.
6152 * sysdeps/x86_64/preconfigure: New generated file.
6153
c0df8e69
JM
61542012-03-22 Joseph Myers <joseph@codesourcery.com>
6155
48e44791
JM
6156 [BZ #13824]
6157 * math/e_exp2l.c: Include <float.h>.
6158 (__ieee754_exp2l): Handle overflow and underflow cases
6159 separately. Only pass fractional part of argument to
6160 __ieee754_expl.
6161 * math/libm-test.inc (exp2_test): Add more tests.
6162
c0df8e69
JM
6163 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6164 negating x to take absolute value.
6165 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6166 Likewise.
6167 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6168 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6169 Likewise.
6170 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6171 computing low part if x was negated.
6172 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6173
c8e43ba7
L
61742012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6175
6176 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6177 la_x32_gnu_pltexit.
6178 (pltexit): Cast int_retval to ptrdiff_t.
6179 * elf/tst-auditmod3b.c: Likewise.
6180 * elf/tst-auditmod4b.c: Likewise.
6181 * elf/tst-auditmod5b.c: Likewise.
6182 * elf/tst-auditmod6b.c: Likewise.
6183 * elf/tst-auditmod6c.c: Likewise.
6184 * elf/tst-auditmod7b.c: Likewise.
6185
6186 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6187 and x32_gnu_pltexit.
6188
6189 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6190 __ELF_NATIVE_CLASS.
6191 (La_x32_regs): New macro.
6192 (La_x32_retval): Likewise.
6193 (la_x32_gnu_pltenter): New function prototype.
6194 (la_x32_gnu_pltexit): Likewise.
6195
7998fa78
AS
61962012-03-21 Andreas Schwab <schwab@linux-m68k.org>
6197
dcb33988
AS
6198 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6199 exponent.
6200
233fc563
AS
6201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6202
7998fa78
AS
6203 * configure.in (libc_cv_cc_nofma): Check for option to disable
6204 generation of FMA instructions.
6205 * configure: Regenerate.
6206 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6207 * sysdeps/ieee754/dbl-64/Makefile: New file.
6208 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6209 Remove brandred-fma4.
6210 (CFLAGS-brandred-fma4.c): Remove.
6211 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6212 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6213 define.
6214 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6215 define.
6216
8e95c99a
L
62172012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6218
6219 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6220 LLONG_MAX != LONG_MAX.
6221 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6222 (_fitoa_word): Likewise.
6223 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6224 LLONG_MAX != LONG_MAX.
6225 * stdio-common/_itowa.h: Include <_itoa.h>.
6226 (_itowa_word): Use _ITOA_WORD_TYPE on value.
6227 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
6228 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
6229 only if not defined.
6230 (_ITOA_WORD_TYPE): Likewise.
6231 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6232 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6233
6f4db457
DM
62342012-03-21 David S. Miller <davem@davemloft.net>
6235
6236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6237
7785fe5a
L
62382012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6239
6240 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
6241 of x86_64 when setting libc_cv_slibdir, libdir and
6242 libc_cv_localedir.
6243 * sysdeps/unix/sysv/linux/configure: Regenerated.
6244
4535cd55
JM
62452012-03-21 Joseph Myers <joseph@codesourcery.com>
6246
6247 * manual/lang.texi (Old Varargs): Remove section.
6248 (How Variadic): Update menu.
6249 (va_start): Do not mention varargs.h.
6250
17228132
TS
62512012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6252 Joseph Myers <joseph@codesourcery.com>
6253
6254 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6255 link test.
6256 * configure: Regenerated.
6257
8149f976
TS
62582012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6259
05f3d1f6
UD
6260 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
6261 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
6262 conformtest.pl
8149f976 6263
1a4ac776
JM
62642012-03-21 Joseph Myers <joseph@codesourcery.com>
6265
be22ce65
JM
6266 * NOTES: Remove.
6267 * Makefile (files-for-dist): Remove NOTES.
6268 (NOTES): Remove rule.
6269 * README: Don't refer to NOTES.
6270 * manual/creature.texi: Don't include macros.texi.
6271 * manual/intro.texi (creature.texi): Remove comment referring to
6272 NOTES.
6273
40b601fb
JM
6274 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6275 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6276 * configure: Regenerated.
6277 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6278 LIBC_TRY_CC_OPTION.
6279 (libc_cv_as_i686): Likewise.
6280 (libc_cv_cc_avx): Likewise.
6281 (libc_cv_cc_sse2avx): Likewise.
6282 (libc_cv_cc_fma4): Likewise.
6283 (libc_cv_cc_novzeroupper): Likewise.
6284 * sysdeps/i386/configure: Regenerated.
6285
1a4ac776
JM
6286 [BZ #13883]
6287 * sysdeps/i386/fpu/s_cexp.S: Remove.
6288 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6289 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6290 * math/libm-test.inc (cexp_test): Add more tests.
6291 * sysdeps/i386/fpu/libm-test-ulps: Update.
6292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6293
a458e7fe
AM
62942012-03-21 Allan McRae <allan@archlinux.org>
6295
6296 * timezone/Makefile: Do not install iso3166.tab and zone.tab
6297
0cb7efc5
JM
62982012-03-21 Joseph Myers <joseph@codesourcery.com>
6299
6300 [BZ #13871]
6301 * math/w_exp2.c: Do not include <float.h>.
6302 (o_threshold, u_threshold): Remove.
6303 (__exp2): Calculate result before checking finiteness and calling
6304 __kernel_standard.
6305 * math/w_exp2f.c: Likewise.
6306 * math/w_exp2l.c: Likewise.
6307 * math/libm-test.inc (exp2_test): Require overflow exception for
6308 1e6 input.
2460d3aa
JM
6309
6310 [BZ #3866]
6311 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6312 range of signed 64-bit integers before using fistpll. Remove
6313 checks for whether integers fit in mantissa bits.
6314 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6315 the range of signed 32-bit integers before using fistpl. Remove
6316 checks for whether integers fit in mantissa bits.
6317 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6318 (__ieee754_powl): Test for y outside the range of signed 64-bit
6319 integers before using fistpll. Reduce 64-bit values to 63-bit
6320 ones as needed.
6321 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6322 divide-by-zero is raised for zero to large negative powers.
6323 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6324 (__ieee754_powl): Test for y outside the range of signed 64-bit
6325 integers before using fistpll. Reduce 64-bit values to 63-bit
6326 ones as needed.
6327 * math/libm-test.inc (pow_test): Add more tests.
6328
eb96ffb0
L
63292012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6330
6331 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6332 <stdio-common/_itoa.h>.
6333 * debug/segfault.c: Likewise.
6334 * elf/dl-cache.c: Likewise.
6335 * elf/dl-minimal.c: Likewise.
6336 * elf/dl-misc.c: Likewise.
6337 * elf/dl-sysdep.c: Likewise.
6338 * elf/dl-version.c: Likewise.
6339 * elf/rtld.c: Likewise.
6340 * hurd/hurdsock.c: Likewise.
6341 * hurd/lookup-retry.c: Likewise.
6342 * malloc/malloc.c: Likewise.
6343 * malloc/mtrace.c: Likewise.
6344 * nscd/nscd_getgr_r.c: Likewise.
6345 * nscd/nscd_getpw_r.c: Likewise.
6346 * nscd/nscd_getserv_r.c: Likewise.
6347 * posix/getopt_init.c: Likewise.
6348 * posix/wordexp.c: Likewise.
6349 * stdio-common/_itoa.c: Likewise.
6350 * stdio-common/printf_fphex.c: Likewise.
6351 * stdio-common/vfprintf.c: Likewise.
6352 * string/_strerror.c: Likewise.
6353 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6354 * sysdeps/i386/i686/hp-timing.h: Likewise.
6355 * sysdeps/mach/_strerror.c: Likewise.
6356 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6357 * sysdeps/mach/hurd/sethostid.c: Likewise.
6358 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6359 * sysdeps/mach/xpg-strerror.c: Likewise.
6360 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6361 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6362 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6363 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6364 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6365 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6366 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6367 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6368 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6369 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6370 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6371 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6372 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6373 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6374 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6375 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6376 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6377 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6378 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6379 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6380 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6381
6382 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6383
6384 * stdio-common/_itoa.h: Moved to ...
6385 * sysdeps/generic/_itoa.h: Here.
6386
6387 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6388
6389 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6390 instead of "_itoa.h" and "_itowa.h".
6391 * stdio-common/vfprintf.: Likewise.
6392
d1af992d
L
63932012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6394
6395 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6396 <bits/wordsize.h>.
6397 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6398 (__signbit): Likwise.
6399 (llrintf): Likwise.
6400 (llrint): Likwise.
6401
114883e0
L
64022012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6403
6404 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6405 __WORDSIZE != 64.
6406
c135cc1b
JM
64072012-03-20 Joseph Myers <joseph@codesourcery.com>
6408
6409 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6410 OVERFLOW_EXCEPTION_OK.
6411 * math/libm-test.inc ("Philosophy"): Update comment about
6412 exception testing.
6413 (OVERFLOW_EXCEPTION): Define.
6414 (OVERFLOW_EXCEPTION_OK): Likewise.
6415 (INVALID_EXCEPTION_OK): Renumber.
6416 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6417 (IGNORE_ZERO_INF_SIGN): Likewise.
6418 (test_exceptions): Handle FE_OVERFLOW.
6419 (exp10_test): Expect overflow exceptions.
6420 (exp2_test): Likewise.
6421 (expm1_test): Likewise.
6422 (nextafter_test): Likewise.
6423 (pow_test): Likewise.
6424 (scalbn_test): Likewise.
6425 (scalbln_test): Likewise.
6426
95443d88
L
64272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6428
6429 * sysdeps/x86_64/bits/atomic.h
6430 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6431 64bit integer.
6432 (atomic_exchange_acq): Likewise.
6433 (__arch_exchange_and_add_body): Likewise.
6434 (__arch_add_body): Likewise.
6435 (atomic_add_negative): Likewise.
6436 (atomic_add_zero): Likewise.
6437
490df6c4
L
64382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6439
c2722551 6440 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
6441 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6442
5e52b189
L
64432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6444
6445 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6446 Check __x86_64__ instead of __WORDSIZE.
6447
a9879d4c
L
64482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6449
6450 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6451
5df98260
DM
64522012-03-19 David S. Miller <davem@davemloft.net>
6453
e1497744
DM
6454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6455
5df98260
DM
6456 * sysdeps/sparc/fpu/fenv_private.h: New file.
6457 * sysdeps/sparc/fpu/math_private.h: Use it.
6458 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6459 Remove.
6460 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6461 (libc_feholdexcept_setroundl): Remove.
6462 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6463 Remove.
6464 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6465 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6466
b4c35121
L
64672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6468
6469 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6470 int64_t instead of long int.
6471 (INSERT_WORDS64): Likwise.
6472
56965fd7
L
64732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6474
6475 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6476 _Unwind_GetCFA return to _Unwind_Ptr first.
6477
83d1aec8
JM
64782012-03-19 Joseph Myers <joseph@codesourcery.com>
6479
1897ad44
JM
6480 [BZ #13629]
6481 * math/s_clog.c: Include <float.h>.
6482 (__clog): Scale large or subnormal inputs.
6483 * math/s_clogf.c: Likewise.
6484 * math/s_clogl.c: Likewise.
6485 * math/s_clog10.c: Include <float.h>.
6486 (M_LOG10_2): Define.
6487 (__clog10): Scale large or subnormal inputs.
6488 * math/s_clog10f.c: Likewise.
6489 * math/s_clog10l.c: Likewise.
6490 * math/libm-test.inc (clog_test): Add more tests.
6491 (clog10_test): Likewise.
6492 * sysdeps/i386/fpu/libm-test-ulps: Update.
6493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6494
7726d6a9
JM
6495 [BZ #11451]
6496 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6497 x and y.
6498 * math/libm-test.inc (atan2_test): Add another test.
6499
83d1aec8
JM
6500 * Makerules (common-objdir-compile): Remove.
6501 * sysdeps/unix/Makefile (config-generated): Do not add
6502 $(unix-generated) to variable.
6503 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6504 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6505 Remove rule.
6506 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6507 Likewise.
6508 [generic bits/local_lim.h] (before-compile): Do not append to
6509 variable.
6510 [generic bits/local_lim.h] (common-generated): Likewise.
6511 [generic sys/param.h] (before-compile): Do not append to variable.
6512 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6513 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6514 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6515 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6516 include.
6517 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6518 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6519 [generic sys/param.h] ($(addprefix
6520 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6521 [generic sys/param.h] (common-generated): Do not append to
6522 variable.
6523 [generic sys/param.h] (sysdep_headers): Likewise.
6524 [generic bits/errno.h] (before-compile): Do not append to
6525 variable.
6526 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6527 rule.
6528 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6529 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6530 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6531 [generic bits/errno.h] (common-generated): Do not append to
6532 variable.
6533 [generic bits/ioctls.h] (before-compile): Do not append to
6534 variable.
6535 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6536 rule.
6537 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6538 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6539 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6540 rule.
6541 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6542 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6543 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6544 [generic bits/ioctls.h] (common-generated): Do not append to
6545 variable.
6546 [generic sys/syscall.h] (syscall.h): Remove variable.
6547 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6548 rule.
6549 [generic sys/syscall.h] (before-compile): Do not append to
6550 variable.
6551 [generic sys/syscall.h] (common-generated): Likewise.
6552 * sysdeps/unix/errnos-tmpl.c: Remove file.
6553 * sysdeps/unix/errnos.awk: Likewise.
6554 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6555 * sysdeps/unix/ioctls.awk: Likewise.
6556 * sysdeps/unix/mk-local_lim.c: Likewise.
6557 * sysdeps/unix/snarf-ioctls: Likewise.
6558
4851a949
RH
65592012-03-19 Richard Henderson <rth@twiddle.net>
6560
bd37f2ee
RH
6561 * sysdeps/i386/fpu/fenv_private.h: New file.
6562 * sysdeps/i386/fpu/math_private.h: Use it.
6563 (math_opt_barrier, math_force_eval): Remove.
6564 (libc_feholdexcept_setround_53bit): Remove.
6565 (libc_feupdateenv_53bit): Remove.
6566 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6567 (math_opt_barrier, math_force_eval): Remove.
6568 (libc_feholdexcept): Remove.
6569 (libc_feholdexcept_setround): Remove.
6570 (libc_fetestexcept, libc_fesetenv): Remove.
6571 (libc_feupdateenv_test): Remove.
6572 (libc_feupdateenv, libc_feholdsetround): Remove.
6573 (libc_feresetround): Remove.
6574
d0adc922
RH
6575 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6576 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6577
0fe0f1f8
RH
6578 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6579 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6580 (libc_feupdateenv_testl): New.
6581 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6582 (libc_feupdateenv_testf): New.
6583 (libc_feupdateenv): Use libc_feupdateenv_test.
6584 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6585 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6586
eb92c487
RH
6587 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6588 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6589 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6590 (libc_feresetround_noex): New.
6591 (libc_feresetround_noexf): New.
6592 (libc_feresetround_noexl): New.
6593 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6594 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6595 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6596 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6597 SET_RESTORE_ROUND.
6598 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6599 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6600 (__cos): Likewise.
6601 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6602 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6603 SET_RESTORE_ROUND_NOEX.
6604 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6605 SET_RESTORE_ROUND_NOEXF.
6606 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6607 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6608 (libc_feholdsetroundf): New.
6609 (libc_feresetround, libc_feresetroundf): New.
6610
7d2e8012
RH
6611 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6612 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6613 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6614
b4dabbb4
RH
6615 * sysdeps/generic/math_private.h: Include <fenv.h>.
6616 (default_libc_feholdexcept): New.
6617 (default_libc_feholdexcept_setround): New.
6618 (default_libc_fesetenv, default_libc_feupdateenv): New.
6619 (libc_feholdexcept): Only define if undefined.
6620 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6621 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6622 (libc_feholdexcept_setroundl): Likewise.
6623 (libc_feholdexcept_setround_53bit): Likewise.
6624 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6625 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6626 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6627 (libc_feupdateenv_53bit): Likewise.
6628 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6629 (libc_feholdexcept): Convert from macro to inline function.
6630 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6631 (libc_fesetenv, libc_feupdateenv): Likewise.
6632
4851a949
RH
6633 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6634 not previously defined.
6635 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6636 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6637 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6638 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6639 * sysdeps/ieee754/flt-32/math_private.h: New file.
6640 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6641 math_private.h below SET_FLOAT_WORD.
6642 (__isnan, __isinf_ns, __finite): Remove.
6643 (__isnanf, __isinf_nsf, __finitef): Remove.
6644
e79d442e
AS
66452012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6646
6647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6648
90b80344
DM
66492012-03-17 David S. Miller <davem@davemloft.net>
6650
6651 [BZ #6471]
6652 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6653 for 2.16.
6654
edc21804
DM
66552012-03-16 David S. Miller <davem@davemloft.net>
6656
77e927af
DM
6657 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6658 warnings.
6659
374976dd
DM
6660 [BZ #6471]
6661 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6662 properly.
6663 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6664 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6665 sysdep_routines when subdir is sysvipc.
6666 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6667 __getshmlba helper.
6668
edc21804
DM
6669 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6670
473c3ef3
L
66712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6672
6673 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6674 [__LP64__].
6675
eb0f39b6
L
66762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6677
6678 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6679 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6680 (__lround): Renamed to ...
6681 (__llround): This. Replace long int with long long int.
6682 Define lround functions as aliases of llround functions.
6683 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6684
6b6cd74b
L
66852012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6686
6687 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6688 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6689 adresses to uintptr_t. Replace "long int" and "unsigned long
6690 int" with "greg_t" on va_arg.
6691
f1a77b01
L
66922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6693
6694 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6695 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6696
6697 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6698 Move e_machine check before EI_CLASS check. Handle x32
6699 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6700 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6701 SKIP_EM_IA_64 and include
6702 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6703
6704 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6705 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6706 (add_system_dir): New macro.
6707
6708 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6709 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6710
11b90b9f
JM
67112012-03-16 Joseph Myers <joseph@codesourcery.com>
6712
c36e1d23
JM
6713 [BZ #2551]
6714 [BZ #2552]
6715 [BZ #2553]
6716 [BZ #2554]
6717 [BZ #2562]
6718 [BZ #2563]
6719 [BZ #2565]
6720 [BZ #2566]
6721 [BZ #2576]
6722 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6723 (y0): Likewise.
6724 * math/w_j0f.c (j0f): Likewise.
6725 (y0f): Likewise.
6726 * math/w_j0l.c (__j0l): Likewise.
6727 (__y0l): Likewise.
6728 * math/w_j1.c (j1): Likewise.
6729 (y1): Likewise.
6730 * math/w_j1f.c (j1f): Likewise.
6731 (y1f): Likewise.
6732 * math/w_j1l.c (__j1l): Likewise.
6733 (__y1l): Likewise.
6734 * math/w_jn.c (jn): Likewise.
6735 (yn): Likewise.
6736 * math/w_jnf.c (jnf): Likewise.
6737 (ynf): Likewise.
6738 * math/w_jnl.c (__jnl): Likewise.
6739 (__ynl): Likewise.
6740 * math/libm-test.inc (j0_test): Add more tests.
6741 (j1_test): Likewise.
6742 (jn_test): Likewise. Add trailing semicolon to existing test.
6743 (y0_test): Likewise.
6744 (y1_test): Likewise.
6745 * sysdeps/i386/fpu/libm-test-ulps: Update.
6746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6747
11b90b9f
JM
6748 [BZ #13851]
6749 [BZ #13854]
6750 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6751 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6752 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6753 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6754 (__tanl): Set errno for infinite argument.
6755 * sysdeps/i386/fpu/mptan.c: Remove.
6756 * sysdeps/i386/fpu/s_tan.S: Likewise.
6757 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6758 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6759 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6760 * math/libm-test.inc (tan_test): Add more tests and enable more
6761 tests for double and long double.
6762 * sysdeps/i386/fpu/libm-test-ulps: Update.
6763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6764
6a1bd2a1
JK
67652012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6766
6767 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6768 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6769
10a803e0
RM
67702012-03-16 Roland McGrath <roland@hack.frob.com>
6771
6772 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6773 * configure.in: Use it for both main tree and add-ons.
6774 * configure: Regenerated.
6775
f196c7f7
L
67762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6777
6778 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6779
8848d99d
JM
67802012-03-16 Joseph Myers <joseph@codesourcery.com>
6781
96cbe7f4
JM
6782 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6783 in comment.
6784
8848d99d
JM
6785 [BZ #13851]
6786 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6787 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6788 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6789 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6790 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6791 infinite argument.
6792 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6793 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6794 != 0 for prec == 2.
6795 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6796 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6797 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6798 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6799 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6800 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6801 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6802 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6803 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6804 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6805 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6806 * math/libm-test.inc (cos_test): Add more tests and enable more
6807 tests for long double.
6808 (sin_test): Likewise.
6809 (sincos_test): Likewise.
6810 * sysdeps/i386/fpu/libm-test-ulps: Update.
6811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6812
dd7f4703
DM
68132012-03-16 David S. Miller <davem@davemloft.net>
6814
6815 * sysdeps/sparc/fpu/math_private.h: New file.
6816
006f1daa
DM
68172012-03-15 David S. Miller <davem@davemloft.net>
6818
c0c83bc8
DM
6819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6820 file.
e6a62e18 6821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6823 file.
e6a62e18
DM
6824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6825 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6826 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6827 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6828 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6829 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6830 sysdep routines.
6831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6832
88cb87d9
DM
6833 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6834 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6835
006f1daa 6836 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6838 sparc-ifunc.h
006f1daa 6839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6841 Likewise.
6842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6843 Likewise.
006f1daa
DM
6844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6848 Likewise.
006f1daa
DM
6849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6854 Likewise.
6855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6856 Likewise.
006f1daa
DM
6857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6861 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6862 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6863 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6864 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6865 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6866 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6867 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6868 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6869 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6871 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6872 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6873 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6874 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6875 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6876 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6877 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6878 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6879 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6880 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6881
11e0098e
AS
68822012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6883
6884 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6885 scaling.
6886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6887
e85b09d0
AJ
68882012-03-15 Andreas Jaeger <aj@suse.de>
6889
6890 [BZ #13852]
6891 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6892 ieee754/flt-32 implementation for sin, cos and sincos.
6893 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6894 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6895 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6896 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6897 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6898 ieee754/flt-32 implementation for tan.
6899
6900 * math/libm-test.inc (cos_test): Enable some large input tests for
6901 float as well
6902 (sin_test): Likewise.
6903 (sincos_test): Likewise.
6904 (tan_test): Add tests for large input.
6905
6906 * sysdeps/i386/fpu/libm-test-ulps: Update.
6907
81c64153
AJ
69082012-03-15 Andreas Jaeger <aj@suse.de>
6909
6910 [BZ #13658]
6911 * math/libm-test.inc (cos_test): Add more test cases.
6912 (sin_test): Likewise.
6913 (sincos_test): Likewise.
6914
7bbfa5c6
AJ
69152012-03-15 Andreas Jaeger <aj@suse.de>
6916
6917 [BZ #13837]
6918 * math/libm-test.inc (cos_test): Add a test case for large input
6919 value.
6920 (sin_test): Likewise.
6921 (sincos_test): Likewise.
6922
69232012-03-15 Andreas Jaeger <aj@suse.de>,
6924 Joseph Myers <joseph@codesourcery.com>
6925
6926 [BZ #13658]
0671f479 6927 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6928 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6929 * sysdeps/i386/fpu/branred.c: Likewise.
6930 * sysdeps/i386/fpu/dosincos.c: Likewise.
6931 * sysdeps/i386/fpu/mpa.c: Likewise.
6932 * sysdeps/i386/fpu/s_cos.S: Likewise.
6933 * sysdeps/i386/fpu/s_sin.S: Likewise.
6934 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6935 * sysdeps/i386/fpu/sincos32.c: Likewise.
6936
6937 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6938 Define.
6939 (libc_feupdateenv_53bit): Define.
6940 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6941 Define.
6942 (libc_feupdateenv_53bit): Define.
6943
6944 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6945 53 bit (without extend i386 double precision).
6946
6947 * math/libm-test.inc (sincos_test): Add tests for large input.
6948 (sin): Likewise.
6949 (cos): Likewise.
6950
6951 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6952
9cad04ea
AS
69532012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6954
6955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6956
f7062b9a
DM
69572012-03-15 David S. Miller <davem@davemloft.net>
6958
6959 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6960 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6961 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6962 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6968 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6969 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6970 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6971 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6972 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6973 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6975 file.
f7062b9a 6976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6978 file.
f7062b9a 6979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6981 file.
f7062b9a 6982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6984 file.
f7062b9a
DM
6985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6986 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6987 fmin/fmax sysdep routines.
6988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6989
7bd951ff
DM
69902012-03-14 David S. Miller <davem@davemloft.net>
6991
559398ab
DM
6992 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6993 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6994 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6995 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6996 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6997 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6998 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6999 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7000 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7001 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7002 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7003 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7004 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7005 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7006 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7007 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7008 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7009 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7010 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7011 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7012 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7013 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7014 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7015 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7016 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7017 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7018 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7019 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7020 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7021 routines.
7022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7023 file.
559398ab 7024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
7025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7026 file.
559398ab 7027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
7028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7029 file.
559398ab 7030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
7031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7032 file.
559398ab 7033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
7034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7035 file.
559398ab 7036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
7037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7038 file.
7039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7040 file.
7041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7042 file.
7043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7044 file.
7045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7046 New file.
7047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7048 file.
7049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7050 file.
559398ab 7051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
7052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7053 file.
559398ab 7054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7056 file.
559398ab 7057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
7058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7059 file.
559398ab 7060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
7061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7062 VIS3 routines.
559398ab
DM
7063
7064 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7065 New file.
7066
5a1c1e32
DM
7067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7068
eae47a36
DM
7069 * sysdeps/sparc/configure.in: New file.
7070 * sysdeps/sparc/configure: Generate.
7071 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7072 * configure: Regenerate.
7073 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7074 * config.make.in (have-as-vis3): New.
7075 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7076 available use -Av9d instead of -Av9a.
7077 * sysdeps/sparc/sparc64/Makefile: Likewise.
7078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
7079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7080 New file.
7081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7082 file.
7083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7084 New file.
7085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7086 file.
eae47a36
DM
7087 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7088 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7089 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7090 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7091 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7092
c0c83bc8
DM
7093 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7094 fzeros/fnegs to load 0x80000000 into a float register instead of
7095 using the stack.
7bd951ff
DM
7096 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7097
bd951ccb
JM
70982012-03-14 Joseph Myers <joseph@codesourcery.com>
7099
7100 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7101 bits/syscall.h.
7102 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7103 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7104 ($(inst_includedir)/bits/syscall.h): Remove rule.
7105 ($(objpfx)bits/syscall.d): Include instead of
7106 $(objpfx)syscall-list.d.
7107 (generated): Change syscall-list.h and syscall-list.d to
7108 bits/syscall.h and bits/syscall.d.
7109
bb4e6db2
RM
71102012-03-14 Roland McGrath <roland@hack.frob.com>
7111
7112 [BZ #13846]
7113 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7114
aa4a2ae1
JM
71152012-03-14 Joseph Myers <joseph@codesourcery.com>
7116
e456826d
JM
7117 [BZ #13841]
7118 * math/s_csqrt.c: Include <float.h>.
7119 (__csqrt): Scale large or subnormal inputs.
7120 * math/s_csqrtf.c: Likewise.
7121 * math/s_csqrtl.c: Likewise.
7122 * math/libm-test.inc (csqrt_test): Add more tests.
7123 * sysdeps/i386/fpu/libm-test-ulps: Update.
7124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7125
aa4a2ae1
JM
7126 [BZ #13840]
7127 * math/libm-test.inc (hypot_test): Add more tests.
7128
7c10fd35
DM
71292012-03-13 David S. Miller <davem@davemloft.net>
7130
7131 [BZ #13840]
7132 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7133 double-precision for the calculation instead of scaling.
7134
f453b98b
JM
71352012-03-13 Joseph Myers <joseph@codesourcery.com>
7136
7137 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7138 manipulate bits before adding and subtracting TWO52[sx].
7139 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7140 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7141 Likewise.
7142 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7143
09a3453f
DM
71442012-03-13 David S. Miller <davem@davemloft.net>
7145
8e59da90
DM
7146 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7147 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7148 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7149 rtld-global-offsets.h
7150 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7151
2a8ab7f2
DM
7152 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7153 large parameters.
7154
10f62770
DM
7155 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7156
5f0bdb18
DM
7157 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7158 'err' in the ifdef scope in which it is actually used.
7159
09a3453f
DM
7160 * nss/nss_db/db-init.c: Include string.h
7161
b4b2eb5e
DM
71622012-03-12 David S. Miller <davem@davemloft.net>
7163
98bb2f1c
DM
7164 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7165 masking out of the most significant byte of random value used.
7166 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7167 Fix coding style in previous change.
7168
b4b2eb5e
DM
7169 * sysdeps/unix/sysv/linux/kernel-features.h
7170 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7171 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7172 expression.
7173 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7174 later.
7175
6e226b09
DM
71762012-03-11 David S. Miller <davem@davemloft.net>
7177
a1bcbd40
DM
7178 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7179 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7180 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7181 for 'resultvar' otherwise things get truncated on 64-bit.
7182
cb9d6174
DM
7183 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7184 Fix masking out of the most significant byte of random value used.
7185
6e226b09
DM
7186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7187
058c132d
AS
71882012-03-10 Andreas Schwab <schwab@linux-m68k.org>
7189
7190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7191
2d2cd515
DM
71922012-03-09 David S. Miller <davem@davemloft.net>
7193
7194 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7195 variables with appropriate CPP guards.
7196 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7197 frame pointer, not the stack pointer. Correct layout comments. Fix test
7198 on resulting framesize and the management of the outregs buffer for pltexit.
7199 Preserve floating point return values across _dl_call_pltexit call.
7200 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7201 framesize and the management of the outregs buffer for pltexit.
7202 Preserve floating point return values across _dl_call_pltexit
7203 call.
7204 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7205 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7206 (print_exit): Fix format string for return register value.
7207
9a07f9d0
JM
72082012-03-10 Joseph Myers <joseph@codesourcery.com>
7209
7210 * sunrpc/Makefile (others): Add rpcgen.
7211 ($(objpfx)rpcgen): Remove special build rule and dependency on
7212 libc.
7213 * sunrpc/rpcgen.c: New file.
7214
547b5e30
PE
72152012-03-09 Paul Eggert <eggert@cs.ucla.edu>
7216
c524201a
PE
7217 [BZ #13673]
7218 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7219 * stdio-common/bug-vfprintf-nargs.c: Likewise.
7220 * sysdeps/i386/crti.S: Likewise.
7221 * sysdeps/i386/crtn.S: Likewise.
7222 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7223 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7224 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7225 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7226 * sysdeps/sh/crti.S: Likewise.
7227 * sysdeps/sh/crtn.S: Likewise.
7228 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7229
7b6235f2
PE
7230 [BZ #13673]
7231 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7232 with URL.
7233 * locale/programs/locfile-kw.gperf: Likewise.
7234 * locale/programs/charmap-kw.h: Regenerated.
7235 * locale/programs/locfile-kw.h: Likewise.
7236
547b5e30
PE
7237 [BZ #13673]
7238 * intl/plural.y: Replace FSF snail mail address with URL.
7239 * intl/plural.c: Regenerated.
7240
5f0a5dae
RH
72412012-03-09 Richard Henderson <rth@twiddle.net>
7242
7243 * include/math_private.h: Remove file.
7244 * math/math_private.h: Move file ...
7245 * sysdeps/generic/math_private.h: ... here.
7246
b8c03620
RH
7247 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7248 * sysdeps/powerpc/fpu/math_private.h: Likewise.
7249 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7250
4e234f5d 7251 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
7252 and <math_private.h>.
7253 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7254 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7255 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7256 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7257 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7258 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
7259 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7260 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7261 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7262 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7263 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7264 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7265 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7266 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7267 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7268 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7269 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7270 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7271 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7272 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7273 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7274 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7275 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7276 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7277 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7278 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7279 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7280 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7281 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7282 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7283 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7284 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7285 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7286 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7287 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7288 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7289 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7290 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7291 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7292 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7293 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7294 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7295 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7296 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7297 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7298 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7299 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7300 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7301 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7302 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7303 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7304 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7305 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7306 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7307 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7308 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7309 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7310 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7311 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7312 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7313 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7314 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7315 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7316 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7317 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7318 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7319 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7320 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7321 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7322 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7323 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7324 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7325 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7326 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7327 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7328 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7329 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7330 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7331 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7332 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7333 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7334 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7335 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7336 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7337 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7338 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7339 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7340 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7341 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7342 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7343 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7344 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7345 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7346 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7347 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7348 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7349 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7350 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7351 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7352 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7353 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7354 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7355 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7356 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7357 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7358 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7359 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7360 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7361 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7362 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7363 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7364 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7365 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7366 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7367 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7368 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7369 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7370 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7371 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7372 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7373 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7374 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7375 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7376 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7377 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7378 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7379 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7380 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7381 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7382 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7383 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7384 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7385 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7386 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7387 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7388 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7389 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7390 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7391 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7392 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7393 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7394 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7395 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7396 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7397 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7398 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7399 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7400 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7401 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7402 * sysdeps/ieee754/k_standard.c: Likewise.
7403 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7404 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7405 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7406 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7407 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7408 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7409 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7410 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7411 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7412 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7413 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7414 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7415 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7416 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7417 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7418 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7419 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7420 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7421 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7422 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7423 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7424 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7425 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7426 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7427 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7428 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7429 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7430 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7431 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7432 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7433 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7434 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7435 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7436 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7437 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7438 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7439 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7440 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7441 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7442 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7443 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7444 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7445 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7446 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7447 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7448 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7449 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7450 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7451 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7452 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7453 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7454 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7455 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7456 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7457 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7458 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7459 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7460 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7461 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7462 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7463 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7464 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7465 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7466 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7467 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7468 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7469 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7470 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7471 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7472 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7473 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7474 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7475 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7476 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7477 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7478 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7479 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7480 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7481 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7482 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7483 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7484 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7485 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7486 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7487 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7488 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7489 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7490 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7491 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7492 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7493 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7494 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7495 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7496 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7497 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7498 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7499 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7500 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7501 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7502 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7503 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7504 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7505 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7506 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7507 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7508 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7509 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7510 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7511 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7512 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7513 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7514 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7515 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7516 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7517 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7518 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7519 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7520 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7521 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7522 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7523 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7524 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7525 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7526 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7527 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7528 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7529 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7530 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7531 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7532 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7533 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7534 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7535 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7536 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7537 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7538 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7539 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7540 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7541 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7542 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7543 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7544 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7545 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7546 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7547 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7548 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7549 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7550 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7551 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7552 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7553 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7554 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7555 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7556 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7557 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7558 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7559 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7560 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7561 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7562 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7563 * sysdeps/ieee754/s_lib_version.c: Likewise.
7564 * sysdeps/ieee754/s_matherr.c: Likewise.
7565 * sysdeps/ieee754/s_signgam.c: Likewise.
7566 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7567 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7568 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7569 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7570 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7571 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7572 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7573 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7574 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7575 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7576 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7577 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7578 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7579 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7580 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7581 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7582 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7583 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7584 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7585 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7586 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 7587
1991fa03
JM
75882012-03-09 Joseph Myers <joseph@codesourcery.com>
7589
7590 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7591 * sunrpc/rpc_main.c: Likewise.
7592 * sunrpc/rpc_svcout.c: Likewise.
7593
60d6f5a6
DM
75942012-03-09 David S. Miller <davem@davemloft.net>
7595
7596 * include/math_private.h: New file.
7597
4962050e
JM
75982012-03-09 Joseph Myers <joseph@codesourcery.com>
7599
02a6f887
JM
7600 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7601 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7602 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7603 from <bits/socket_type.h>.
7604 (enum __socket_type): Don't define here.
7605 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7606 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7607 bits/socket_type.h.
7608
c6e013c1
JM
7609 [BZ #13566]
7610 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7611 checking __USE_GNU.
7612
4962050e
JM
7613 * Makerules ($(inst_includedir)/%.h): New rule.
7614 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7615 (install-others): Remove variable setting.
7616 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7617
38842f45
RH
76182012-03-08 Richard Henderson <rth@twiddle.net>
7619
67bb6da6
RH
7620 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7621 from macro to inline function; merge with the
7622 !__LIBC_INTERNAL_MATH_INLINES version.
7623 (__ieee754_sqrtf): Likewise.
7624
15194b4b
RH
7625 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7626 to inline function.
7627 (__rintf, __floor, __floorf): Likewise.
7628
64e21ede
RH
7629 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7630 macro to inline function.
7631 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7632
38842f45
RH
7633 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7634 not <math/math_private.h>.
7635
c64bf5fe
DM
76362012-03-08 David S. Miller <davem@davemloft.net>
7637
7638 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7639 copyright year.
7640 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7641
82d86f28
TS
76422012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7643
7644 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7645 normalization.
7646 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7647 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7648
aea5d727
UD
76492012-03-08 Ulrich Drepper <drepper@gmail.com>
7650
7651 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7652 be defined individually, they must be defined as a block. Define
7653 S for printing a string instead of hidint the different by using a
7654 macro for adding the 'l'.
7655 * stdio-common/tst-fphex-wide.c: Adjust.
7656
70bca0a3
MP
76572012-03-07 Marek Polacek <polacek@redhat.com>
7658
7659 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7660
65b81130
MP
76612012-03-08 Marek Polacek <polacek@redhat.com>
7662
7663 [BZ #13806]
7664 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7665 * stdio-common/tst-fphex.c: Define a few macros to make the
7666 test reusable. Use them.
7667 * stdio-common/tst-fphex-wide.c: New file.
7668
07037eeb
JM
76692012-03-08 Joseph Myers <joseph@codesourcery.com>
7670
a7a93d50
JM
7671 [BZ #6911]
7672 * manual/macros.texi (gnusystems): New macro.
7673 (nongnusystems): Likewise.
7674 (gnulinuxhurdsystems): Likewise.
7675 (gnuhurdsystems): Likewise..
7676 (gnulinuxsystems): Likewise.
7677 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7678 variants of the GNU system, not "GNU system".
7679 * manual/conf.texi: Likewise.
7680 * manual/errno.texi: Likewise. Update example of errno macro
7681 expansion.
7682 * manual/filesys.texi: Likewise.
7683 (getumask): Document as specific to GNU/Hurd.
7684 * manual/install.texi: Likewise. Reword some references to
7685 GNU/Linux.
7686 * manual/intro.texi: Likewise.
7687 * manual/io.texi: Likewise.
7688 (File Name Portability): Detail which constraints are inapplicable
7689 to all GNU systems and which are only inapplicable to GNU/Hurd.
7690 * manual/job.texi: Likewise.
7691 * manual/llio.texi: Likewise.
7692 (O_NOCTTY): Document as present on GNU/Linux.
7693 * manual/maint.texi: Likewise.
7694 * manual/memory.texi: Likewise.
7695 * manual/pattern.texi: Likewise.
7696 * manual/pipe.texi: Likewise.
7697 * manual/process.texi: Likewise.
7698 * manual/resource.texi: Likewise.
7699 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7700 child on GNU/Hurd.
7701 * manual/setjmp.texi: Likewise.
7702 * manual/signal.texi: Likewise.
7703 * manual/startup.texi: Likewise.
7704 * manual/stdio.texi: Likewise.
7705 * manual/terminal.texi: Likewise.
7706 (ONLCR): Document as POSIX.
7707 (OXTABS): Document availability on GNU/Linux as XTABS.
7708 (ONOEOT): Document availability separately from other bits.
7709 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7710 * manual/time.texi: Likewise.
7711 * manual/users.texi: Likewise.
7712 * INSTALL: Regenerated.
7713 * sysdeps/gnu/errlist.c: Regenerated.
7714
07037eeb
JM
7715 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7716 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7717 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7718 puts.
7719 * configure: Regenerated.
7720
d1d3431a
JM
77212012-03-07 Joseph Myers <joseph@codesourcery.com>
7722
af6a1e37
JM
7723 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7724 default includes instead of AC_HEADER_CHECK.
7725 * sysdeps/i386/configure: Regenerated.
7726
d1d3431a
JM
7727 [BZ #10716]
7728 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7729 * math/s_cacoshf.c (__cacoshf): Likewise.
7730 * math/s_cacoshl.c (__cacoshl): Likewise.
7731 * math/s_casinh.c (__casinh): Set signs of result from argument.
7732 * math/s_casinhf.c (__casinhf): Likewise.
7733 * math/s_casinhl.c (__casinhl): Likewise.
7734 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7735 (casinh_test): Add more tests.
7736 * sysdeps/i386/fpu/libm-test-ulps: Update.
7737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7738
482ff4da
UD
77392012-03-07 Ulrich Drepper <drepper@gmail.com>
7740
872fda05
UD
7741 * po/zh_TW.po: Update from translation team.
7742
a4300c7a
UD
7743 * login/Makefile (distribute): Remove variable.
7744 * catgets/Makefile: Likewise.
7745 * mach/Makefile: Likewise.
7746 * malloc/Makefile: Likewise.
7747 * misc/Makefile: Likewise.
7748 * iconv/Makefile: Likewise.
7749 * nscd/Makefile: Likewise.
7750 * hurd/Makefile: Likewise.
7751 * manual/Makefile: Likewise.
7752 * locale/Makefile: Likewise.
7753 * intl/Makefile: Likewise.
7754 * conform/Makefile: Likewise.
7755 * nss/Makefile: Likewise.
7756 * time/Makefile: Likewise.
7757 * soft-fp/Makefile: Likewise.
7758 * dirent/Makefile: Likewise.
7759 * gmon/Makefile: Likewise.
7760 * po/Makefile: Likewise.
7761 * rt/Makefile: Likewise.
7762 * socket/Makefile: Likewise.
7763 * math/Makefile: Likewise.
7764 * signal/Makefile: Likewise.
7765 * debug/Makefile: Likewise.
7766 * elf/Makefile: Likewise.
7767 * timezone/Makefile: Likewise.
7768 * stdlib/Makefile: Likewise.
7769 * iconvdata/Makefile: Likewise.
7770 * sunrpc/Makefile: Likewise.
7771 * io/Makefile: Likewise.
7772 * argp/Makefile: Likewise.
7773 * inet/Makefile: Likewise.
7774 * hesiod/Makefile: Likewise.
7775 * grp/Makefile: Likewise.
7776 * csu/Makefile: Likewise.
7777 * wctype/Makefile: Likewise.
7778 * crypt/Makefile: Likewise.
7779 * libio/Makefile: Likewise.
7780 * string/Makefile: Likewise.
7781 * nis/Makefile: Likewise.
7782 * resolv/Makefile: Likewise.
7783 * stdio-common/Makefile: Likewise.
7784 * wcsmbs/Makefile: Likewise.
7785 * dlfcn/Makefile: Likewise.
7786 * posix/Makefile: Likewise.
7787
3b7c4e74 7788 [BZ #6959]
482ff4da
UD
7789 * timezone/Makefile: Don't install timezone files, just the programs
7790 and scripts.
7791
f72ed77d
UD
77922012-03-06 Ulrich Drepper <drepper@gmail.com>
7793
a000466f
UD
7794 * nss/databases.def: Add missing gshadow entry.
7795
f72ed77d
UD
7796 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7797
a53b7a4e
MP
77982012-03-06 Marek Polacek <polacek@redhat.com>
7799
7800 [BZ #13726]
7801 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7802 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7803 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7804 * stdio-common/tst-long-dbl-fphex.c: New file.
7805
e9258400
DM
78062012-03-06 David S. Miller <davem@davemloft.net>
7807
7808 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7809 (set_obp_int): New function.
7810 (get_obp_int): New function.
7811 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7812 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7813 Avoid unused variable warnings on 'val' and use builtin_expect.
7814 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7815 __builtin_expect.
e9258400
DM
7816 (INLINE_CLONE_SYSCALL): Likewise.
7817
3bd2c723
DM
78182012-03-05 David S. Miller <davem@davemloft.net>
7819
7820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7821
bbb78d03
AS
78222012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7823
884c5db4
AS
7824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7825
bbb78d03
AS
7826 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7827 only for |x| >= 40.
7828 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7829
1c9f702a 78302012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7831
7832 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7833 Replace gettimeofday with __vdso_gettimeofday.
7834
7be16f82
RM
7835 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7836 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7837 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7838
7839 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7840 time with __vdso_time.
7841
ed58a00f
JM
78422012-03-05 Joseph Myers <joseph@codesourcery.com>
7843
7844 * manual/lang.texi (size_t): Note types to which size_t may be
7845 equivalent with the GNU C Library, but do not describe when
7846 differences between them are significant.
7847
30ee4ced
AJ
78482012-03-05 Andreas Jaeger <aj@suse.de>
7849
7850 * sysdeps/i386/fpu/libm-test-ulps: Update.
7851
b7cd39e8
JM
78522012-03-05 Joseph Myers <joseph@codesourcery.com>
7853
7854 [BZ #3976]
7855 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7856 (__ieee754_pow): Save and restore rounding mode and use
7857 round-to-nearest for main computations.
7858 * math/libm-test.inc (pow_test_tonearest): New function.
7859 (pow_test_towardzero): Likewise.
7860 (pow_test_downward): Likewise.
7861 (pow_test_upward): Likewise.
7862 (main): Call the new functions.
7863 * sysdeps/i386/fpu/libm-test-ulps: Update.
7864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7865
7866 [BZ #3976]
7867 * math/libm-test.inc (cosh_test_tonearest): New function.
7868 (cosh_test_towardzero): Likewise.
7869 (cosh_test_downward): Likewise.
7870 (cosh_test_upward): Likewise.
7871 (sinh_test_tonearest): Likewise.
7872 (sinh_test_towardzero): Likewise.
7873 (sinh_test_downward): Likewise.
7874 (sinh_test_upward): Likewise.
7875 (main): Call the new functions.
7876 * sysdeps/i386/fpu/libm-test-ulps: Update.
7877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7878
6c6a98c9
TV
78792012-03-05 Tom de Vries <tom@codesourcery.com>
7880
7881 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7882 default stack guard is set in last bytes.
7883 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7884
21bb2d2e 78852012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7886
21bb2d2e 7887 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7888
21bb2d2e
AJ
7889 [BZ #13656]
7890 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7891 possibly allocate from heap instead of stack.
7892 * stdio-common/bug-vfprintf-nargs.c: New file.
7893 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7894
c6922934
AS
78952012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7896
7897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7898
bc957d53
MP
78992012-03-03 Marek Polacek <polacek@redhat.com>
7900
7901 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7902 * math/math_private.h: Likewise.
7903 * stdlib/tst-strtod.c: Likewise.
7904 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7905 * sysdeps/x86_64/bits/atomic.h: Likewise.
7906
6358490d
DM
79072012-03-02 David S. Miller <davem@davemloft.net>
7908
7909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7913 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7914 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7915 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7916 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7917
01ae168d
RM
79182012-03-02 Roland McGrath <roland@hack.frob.com>
7919
d9a17c07
RM
7920 [BZ #13792]
7921 * manual/examples/README: New file, says the example source files
7922 can be used under GPL>=2.
7923 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7924 line containing just "*/".
7925 * manual/examples/add.c: Add copyright header (GPL>=2).
7926 * manual/examples/argp-ex1.c: Likewise.
7927 * manual/examples/argp-ex2.c: Likewise.
7928 * manual/examples/argp-ex3.c: Likewise.
7929 * manual/examples/argp-ex4.c: Likewise.
7930 * manual/examples/atexit.c: Likewise.
7931 * manual/examples/db.c: Likewise.
7932 * manual/examples/dir.c: Likewise.
7933 * manual/examples/dir2.c: Likewise.
7934 * manual/examples/execinfo.c: Likewise.
7935 * manual/examples/filecli.c: Likewise.
7936 * manual/examples/filesrv.c: Likewise.
7937 * manual/examples/fmtmsgexpl.c: Likewise.
7938 * manual/examples/genpass.c: Likewise.
7939 * manual/examples/inetcli.c: Likewise.
7940 * manual/examples/inetsrv.c: Likewise.
7941 * manual/examples/isockad.c: Likewise.
7942 * manual/examples/longopt.c: Likewise.
7943 * manual/examples/memopen.c: Likewise.
7944 * manual/examples/memstrm.c: Likewise.
7945 * manual/examples/mkfsock.c: Likewise.
7946 * manual/examples/mkisock.c: Likewise.
7947 * manual/examples/mygetpass.c: Likewise.
7948 * manual/examples/pipe.c: Likewise.
7949 * manual/examples/popen.c: Likewise.
7950 * manual/examples/rprintf.c: Likewise.
7951 * manual/examples/search.c: Likewise.
7952 * manual/examples/select.c: Likewise.
7953 * manual/examples/setjmp.c: Likewise.
7954 * manual/examples/sigh1.c: Likewise.
7955 * manual/examples/sigusr.c: Likewise.
7956 * manual/examples/stpcpy.c: Likewise.
7957 * manual/examples/strdupa.c: Likewise.
7958 * manual/examples/strftim.c: Likewise.
7959 * manual/examples/strncat.c: Likewise.
7960 * manual/examples/subopt.c: Likewise.
7961 * manual/examples/swapcontext.c: Likewise.
7962 * manual/examples/termios.c: Likewise.
7963 * manual/examples/testopt.c: Likewise.
7964 * manual/examples/testpass.c: Likewise.
7965 * manual/examples/timeval_subtract.c: Likewise.
7966
01ae168d
RM
7967 [BZ #13792]
7968 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7969 function to ...
7970 * manual/timeval_subtract.c.texi: ... here, new file.
7971
49efa33d
DM
79722012-03-02 David S. Miller <davem@davemloft.net>
7973
7974 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7975
28afd92d
JM
79762012-03-02 Joseph Myers <joseph@codesourcery.com>
7977
804360ed
JM
7978 [BZ #3976]
7979 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7980 (__sin): Save and restore rounding mode and use round-to-nearest
7981 for all computations.
7982 (__cos): Save and restore rounding mode and use round-to-nearest
7983 for all computations.
7984 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7985 <fenv.h>.
7986 (tan): Save and restore rounding mode and use round-to-nearest for
7987 all computations.
7988 * math/libm-test.inc (cos_test_tonearest): New function.
7989 (cos_test_towardzero): Likewise.
7990 (cos_test_downward): Likewise.
7991 (cos_test_upward): Likewise.
7992 (sin_test_tonearest): Likewise.
7993 (sin_test_towardzero): Likewise.
7994 (sin_test_downward): Likewise.
7995 (sin_test_upward): Likewise.
7996 (tan_test_tonearest): Likewise.
7997 (tan_test_towardzero): Likewise.
7998 (tan_test_downward): Likewise.
7999 (tan_test_upward): Likewise.
8000 (main): Call the new functions.
8001 * sysdeps/i386/fpu/libm-test-ulps: Update.
8002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8003
a6d06d7b
JM
8004 [BZ #10135]
8005 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8006 small n, then large n, before computing and testing k+n.
8007 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8008 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8009 Likewise.
8010 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8011 Likewise.
8012 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8013 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8014 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8015 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8016 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8017 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8018 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8019 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8020 * math/libm-test.inc (scalbn_test): Add more tests.
8021 (scalbln_test): Likewise.
8022
07e12bb3
JM
8023 * manual/filesys.texi (mode_t): Describe constraints on size and
8024 signedness, not exact equivalence to a particular type.
8025 (ino_t): Likewise.
8026 (ino64_t): Likewise.
8027 (dev_t): Likewise.
8028 (nlink_t): Likewise.
8029 (blkcnt_t): Likewise.
8030 (blkcnt64_t): Likewise.
8031 * manual/llio.texi (off_t): Likewise.
8032
28afd92d
JM
8033 [BZ #3976]
8034 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8035 (__ieee754_exp): Save and restore rounding mode and use
8036 round-to-nearest for all computations.
8037 * math/libm-test.inc (exp_test_tonearest): New function.
8038 (exp_test_towardzero): Likewise.
8039 (exp_test_downward): Likewise.
8040 (exp_test_upward): Likewise.
8041 (main): Call the new functions.
8042 * sysdeps/i386/fpu/libm-test-ulps: Update.
8043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8044
b1eeb65d
CD
80452012-03-01 Chris Demetriou <cgd@google.com>
8046
8047 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8048 have predictable order.
8049
53362a4b
DM
80502012-03-01 David S. Miller <davem@davemloft.net>
8051
3c969083
DM
8052 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8053
759707de
DM
8054 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8055 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8056 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8057 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8058
dfdb8ff2
DM
8059 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8060 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8061 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8063 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8064 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8065 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8066 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8067 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8068
ead89f96
DM
8069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8070
7f66bd07
DM
8071 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8072 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8073 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8074
53362a4b
DM
8075 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8076 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8077 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8078 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8079 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8080 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8081 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8082 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8083 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8084 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8085 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8086 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8087 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8088 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8089 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8090 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8091 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8092 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8093 * sysdeps/sparc/elf/configure: Regenerated.
8094
7b1902cb
JM
80952012-03-01 Joseph Myers <joseph@codesourcery.com>
8096
bec039bc
JM
8097 * configure.in (AS, LD): Require binutils 2.20 or later.
8098 * configure: Regenerated.
8099 * manual/install.texi (Tools for Compilation): Give binutils 2.20
8100 as required minimum version.
8101 * INSTALL: Regenerated.
8102
7b1902cb
JM
8103 [BZ #2541]
8104 [BZ #4108]
8105 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8106 before squaring exponent.
8107 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8108 bottom long double and 27 bits of top long double before squaring
8109 exponent.
8110 * math/libm-test.inc (erfc_test): Add more tests.
8111 * sysdeps/i386/fpu/libm-test-ulps: Update.
8112 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8114
f775c276
KT
81152012-03-01 Kai Tietz <ktietz@redhat.com>
8116
8117 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8118 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8119 containing bit-fields.
8120 * soft-fp/extended.h (_FP_UNION_E): Likewise.
8121 * soft-fp/single.h (_FP_UNION_S): Likewise.
8122 * soft-fp/double.h (_FP_UNION_D): Likewise.
8123
5b8a4d4a
JM
81242012-02-29 Joseph Myers <joseph@codesourcery.com>
8125
0bab47b6
JM
8126 [BZ #13786]
8127 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8128 not include ../strcmp.S.
8129 [USE_AS_STRNCASECMP_L]: Likewise.
8130 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8131 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8132 * sysdeps/i386/i686/multiarch/strncase_l-c.c
8133 (__strncasecmp_l_ia32): Define as alias to
8134 __strncasecmp_l_nonascii.
8135
0fcad3e2
JM
8136 [BZ #5794]
8137 * math/libm-test.inc (expm1_test): Add test for bug 5794.
8138 * sysdeps/i386/fpu/libm-test-ulps: Update.
8139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8140
5b8a4d4a
JM
8141 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8143
8fdceb2e
JL
81442012-02-29 Jeff Law <law@redhat.com>
8145
8146 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8147 out of bounds read.
8148
1f393a11
MP
81492012-02-29 Marek Polacek <polacek@redhat.com>
8150
8151 [BZ #13706]
8152 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8153 * elf/Makefile: Add rules to run tst-unused-dep.out.
8154
8847f037
DM
81552012-02-28 David S. Miller <davem@davemloft.net>
8156
8157 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8158 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8159 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8160 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8161 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8162 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8163
169d7f11
JM
81642012-02-29 Joseph Myers <joseph@codesourcery.com>
8165
8166 * math/libm-test.inc (llround_test): Move one test from
8167 lround_test. Use TEST_f_L in moved test.
8168 (lround_test): Move misplaced test to llround_test. Add testcase
8169 from bug 2561.
8170
39adf059
UD
81712012-02-28 Ulrich Drepper <drepper@gmail.com>
8172
8173 * sysdeps/x86_64/fpu/e_expf.S: New file.
8174 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8175
71b5d1c5
SB
81762012-02-28 Stanislav Brabec <sbrabec@suse.cz>
8177
8178 [BZ #13637]
8179 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8180 of remain_len that may cause incomplete multi-byte character and
8181 false match.
8182 * posix/bug-regex33.c: New file.
8183 * posix/Makefile (tests): Add bug-regex33.
8184
1f77f049
JM
81852012-02-28 Joseph Myers <joseph@codesourcery.com>
8186
8187 * manual/macros.texi: New file.
8188 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8189 * manual/libc.texinfo: Include macros.texi.
8190 * manual/creatute.texi: Likewise.
8191 * manual/install.texi: Likewise.
8192 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8193 @glibcadj{} in references to the GNU C Library.
8194 * manual/charset.texi: Likewise.
8195 * manual/conf.texi: Likewise.
8196 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
8197 when not using those macros.
8198 * manual/creature.texi: Likewise.
8199 * manual/crypt.texi: Likewise.
8200 * manual/errno.texi: Likewise.
8201 * manual/filesys.texi: Likewise.
8202 * manual/header.texi: Likewise.
8203 * manual/install.texi: Likewise.
8204 * manual/intro.texi: Likewise.
8205 * manual/io.texi: Likewise.
8206 * manual/job.texi: Likewise.
8207 * manual/lang.texi: Likewise.
8208 * manual/libc.texiinfo: Likewise.
8209 * manual/llio.texi: Likewise.
8210 * manual/locale.texi: Likewise.
8211 * manual/maint.texi: Likewise.
8212 * manual/math.texi: Likewise.
8213 * manual/memory.texi: Likewise.
8214 * manual/message.texi: Likewise.
8215 * manual/nss.texi: Likewise.
8216 * manual/pattern.texi: Likewise.
8217 * manual/process.texi: Likewise.
8218 * manual/resource.texi: Likewise.
8219 * manual/search.texi: Likewise.
8220 * manual/setjmp.texi: Likewise.
8221 * manual/signal.texi: Likewise.
8222 * manual/socket.texi: Likewise.
8223 * manual/startup.texi: Likewise.
8224 * manual/stdio.texi: Likewise.
8225 * manual/string.texi: Likewise.
8226 * manual/sysinfo.texi: Likewise.
8227 * manual/syslog.texi: Likewise.
8228 * manual/terminal.texi: Likewise.
8229 * manual/time.texi: Likewise.
8230 * manual/users.texi: Likewise.
8231 * INSTALL: Regenerated.
8232 * NOTES: Regenerated.
d40c5d54 8233 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 8234
450bf206
AS
82352012-02-28 Andreas Schwab <schwab@linux-m68k.org>
8236
8237 * include/dirent.h: Include <dirstream.h> before
8238 <dirent/dirent.h>.
8239
741a235b
DM
82402012-02-28 David S. Miller <davem@davemloft.net>
8241
8242 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
8243 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
8244 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8245 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8246
d6b5aa58
DM
82472012-02-27 David S. Miller <davem@davemloft.net>
8248
1aff59a3
DM
8249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8251 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8252 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8253
d6b5aa58
DM
8254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8255 frame pointer instead of stack pointer relative arg slot.
8256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8257 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8258 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8259
433f48bf
CD
82602012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
8261
8262 [BZ #3992]
8263 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8264
d674b76d
DM
82652012-02-27 David S. Miller <davem@davemloft.net>
8266
8267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8271 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8272 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8273 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8274 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8275
0e7727f7
JM
82762012-02-27 Joseph Myers <joseph@codesourcery.com>
8277
8278 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8279 later. Allow versions 5-9.
43be4ca2 8280 * configure: Regenerated.
0e7727f7
JM
8281 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8282 required minimum version and 4.6 as recommended version. Do not
8283 mention bugs in GCC 2.7 and 2.8.
43be4ca2 8284 * INSTALL: Regenerated.
0e7727f7 8285
a78bc654
DM
82862012-02-27 David S. Miller <davem@davemloft.net>
8287
428d5830
DM
8288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8292 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8293 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8294 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8295 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8296
a78bc654
DM
8297 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8298 manipulate bits before adding and subtracting TWO112[sx].
8299 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8300
4579f81c
RM
83012012-02-27 Roland McGrath <roland@hack.frob.com>
8302
36c8acb4
RM
8303 [BZ #13775]
8304 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8305 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8306 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8307 being in POSIX, because they are in 1003.1-2008.
8308
84ad622b
RM
8309 * rt/tst-aio.c: Include <fcntl.h>.
8310 * rt/tst-aio7.c: Likewise.
8311 * rt/tst-aio64.c: Likewise.
8312
4579f81c
RM
8313 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8314
abd923db
JM
83152012-02-27 Joseph Myers <joseph@codesourcery.com>
8316
8317 * manual/install.texi (--with-headers): Describe headers as
8318 interface headers, not private headers.
8319 (Specific advice for GNU/Linux systems): Describe use of headers
8320 from "make headers_install", not private headers from older
8321 kernels.
43be4ca2 8322 * INSTALL: Regenerated.
abd923db
JM
8323 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8324 Change to 2.6.19.
8325 * sysdeps/unix/sysv/linux/configure: Regenerated.
8326
6664049b
JM
8327 * manual/llio.texi (fclean): Remove documentation.
8328
bb8b6697
JM
8329 * manual/Makefile (libc-texi-generated): New variable. Include
8330 version.texi.
8331 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8332 $(libc-texi-generated), not duplicated list of files.
8333 (version.texi, stamp-version): New rules.
8334 (realclean): Remove $(libc-texi-generated), not individual files
8335 from that list. Do not remove dir-add.texinfo.
8336 * manual/libc.texinfo: Comment out uses of edition numbers and
8337 references to printed manual. Remove last-updated dates.
8338 (EDITION): Comment out.
8339 (ISBN): Likewise.
8340 (VERSION, UPDATED): Remove.
8341 (version.texi): Include.
8342
12e5c3b9
AS
83432012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8344
8345 * sysdeps/posix/spawni.c: Include <signal.h>.
8346 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8347 * sysdeps/pthread/aio_fsync.c: Likewise.
8348
4efeffc1 83492012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 8350
ba63ba08
UD
8351 * conform/Makefile (tests): Run only when not cross-compiling and
8352 when fast-check is not defined.
8353
d94a4670
UD
8354 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8355 * conform/data/limits.h-data: Fixes for POSIX2008.
8356 * conform/run-conformtest.sh: Run all tests.
8357 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8358 headers.
8359 * include/bits/dlfcn.h: Likewise.
8360 * include/langinfo.h: Likewise.
8361 * include/monetary.h: Likewise.
8362 * include/sys/poll.h: Likewise.
8363
8364 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8365 for __USE_GNU.
8366 * posix/spawn.h: Define __need_sigset_t.
8367 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8368 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8369 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8370 to get sigevent_t only.
8371 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8372 only for __USE_GNU.
8373 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8374 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8375 process_vm_writev only for __USE_GNU.
8376 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
8377
8378 * conform/Makefile: For now ignore errors from run-conformtest.
8379 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8380 POSIX to avoid namespace pollution. Don't prepend headers.
8381 * conform/data/aio.h-data: Fixes for POSIX testing.
8382 * conform/data/fcntl.h-data: Likewise.
8383 * conform/data/glob.h-data: Likewise.
8384 * conform/data/grp.h-data: Likewise.
8385 * conform/data/pthread.h-data: Likewise.
8386 * conform/data/pwd.h-data: Likewise.
8387 * conform/data/signal.h-data: Likewise.
8388 * conform/data/spawn.h-data: Likewise.
8389 * conform/data/stdio.h-data: Likewise.
8390 * conform/data/stdlib.h-data: Likewise.
8391 * conform/data/stropts.h-data: Likewise.
8392 * conform/data/sys/mman.h-data: Likewise.
8393 * conform/data/sys/stat.h-data: Likewise.
8394 * conform/data/sys/types.h-data: Likewise.
8395 * conform/data/sys/wait.h-data: Likewise.
8396 * conform/data/time.h-data: Likewise.
8397 * conform/data/unistd.h-data: Likewise.
8398 * conform/data/utime.h-data: Likewise.
8399
8400 * io/sys/stat.h: fchmod was always in POSIX.
8401 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8402 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8403 * rt/aio.h: Define __need_timespec before including <time.h>.
8404 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8405 struct. Add forward declaration of pthread_attr_t and use it in
8406 sigevent.
8407 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8408 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8409 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8410 always remove CLK_TCK definition.
8411
c20105c3
AS
84122012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8413
8414 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8415
7a270350
UD
84162012-02-25 Ulrich Drepper <drepper@gmail.com>
8417
31341567
UD
8418 * conform/run-conformtest.sh: New file.
8419 * conform/Makefile: Run run-conformtest for tests.
8420 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8421 support.
8422
8423 * conform/data/uchar.h-data: New file.
8424 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8425 * conform/data/arpa/inet.h-data: Likewise.
8426 * conform/data/assert.h-data: Likewise.
8427 * conform/data/complex.h-data: Likewise.
8428 * conform/data/cpio.h-data: Likewise.
8429 * conform/data/ctype.h-data: Likewise.
8430 * conform/data/dirent.h-data: Likewise.
8431 * conform/data/dlfcn.h-data: Likewise.
8432 * conform/data/errno.h-data: Likewise.
8433 * conform/data/fcntl.h-data: Likewise.
8434 * conform/data/float.h-data: Likewise.
8435 * conform/data/fmtmsg.h-data: Likewise.
8436 * conform/data/fnmatch.h-data: Likewise.
8437 * conform/data/ftw.h-data: Likewise.
8438 * conform/data/glob.h-data: Likewise.
8439 * conform/data/grp.h-data: Likewise.
8440 * conform/data/iconv.h-data: Likewise.
8441 * conform/data/inttypes.h-data: Likewise.
8442 * conform/data/langinfo.h-data: Likewise.
8443 * conform/data/libgen.h-data: Likewise.
8444 * conform/data/limits.h-data: Likewise.
8445 * conform/data/locale.h-data: Likewise.
8446 * conform/data/math.h-data: Likewise.
8447 * conform/data/monetary.h-data: Likewise.
8448 * conform/data/mqueue.h-data: Likewise.
8449 * conform/data/ndbm.h-data: Likewise.
8450 * conform/data/net/if.h-data: Likewise.
8451 * conform/data/netdb.h-data: Likewise.
8452 * conform/data/netinet/in.h-data: Likewise.
8453 * conform/data/nl_types.h-data: Likewise.
8454 * conform/data/poll.h-data: Likewise.
8455 * conform/data/pthread.h-data: Likewise.
8456 * conform/data/pwd.h-data: Likewise.
8457 * conform/data/regex.h-data: Likewise.
8458 * conform/data/sched.h-data: Likewise.
8459 * conform/data/search.h-data: Likewise.
8460 * conform/data/semaphore.h-data: Likewise.
8461 * conform/data/setjmp.h-data: Likewise.
8462 * conform/data/signal.h-data: Likewise.
8463 * conform/data/spawn.h-data: Likewise.
8464 * conform/data/stdarg.h-data: Likewise.
8465 * conform/data/stdio.h-data: Likewise.
8466 * conform/data/stdlib.h-data: Likewise.
8467 * conform/data/string.h-data: Likewise.
8468 * conform/data/strings.h-data: Likewise.
8469 * conform/data/stropts.h-data: Likewise.
8470 * conform/data/sys/ipc.h-data: Likewise.
8471 * conform/data/sys/mman.h-data: Likewise.
8472 * conform/data/sys/msg.h-data: Likewise.
8473 * conform/data/sys/resource.h-data: Likewise.
8474 * conform/data/sys/select.h-data: Likewise.
8475 * conform/data/sys/sem.h-data: Likewise.
8476 * conform/data/sys/shm.h-data: Likewise.
8477 * conform/data/sys/socket.h-data: Likewise.
8478 * conform/data/sys/stat.h-data: Likewise.
8479 * conform/data/sys/statvfs.h-data: Likewise.
8480 * conform/data/sys/time.h-data: Likewise.
8481 * conform/data/sys/timeb.h-data: Likewise.
8482 * conform/data/sys/times.h-data: Likewise.
8483 * conform/data/sys/types.h-data: Likewise.
8484 * conform/data/sys/uio.h-data: Likewise.
8485 * conform/data/sys/un.h-data: Likewise.
8486 * conform/data/sys/utsname.h-data: Likewise.
8487 * conform/data/sys/wait.h-data: Likewise.
8488 * conform/data/syslog.h-data: Likewise.
8489 * conform/data/tar.h-data: Likewise.
8490 * conform/data/termios.h-data: Likewise.
8491 * conform/data/utime.h-data: Likewise.
8492 * conform/data/utmpx.h-data: Likewise.
8493 * conform/data/varargs.h-data: Likewise.
8494 * conform/data/wchar.h-data: Likewise.
8495 * conform/data/wctype.h-data: Likewise.
8496 * conform/data/wordexp.h-data: Likewise.
8497
8498 * include/stropts.h: New file.
8499 * include/uchar.h: New file.
8500 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8501 * include/assert.h: Likewise.
8502 * include/ctype.h: Likewise.
8503 * include/dirent.h: Likewise.
8504 * include/dlfcn.h: Likewise.
8505 * include/fcntl.h: Likewise.
8506 * include/fnmatch.h: Likewise.
8507 * include/glob.h: Likewise.
8508 * include/grp.h: Likewise.
8509 * include/libio.h: Likewise.
8510 * include/locale.h: Likewise.
8511 * include/math.h: Likewise.
8512 * include/net/if.h: Likewise.
8513 * include/netdb.h: Likewise.
8514 * include/netinet/in.h: Likewise.
8515 * include/pthread.h: Likewise.
8516 * include/pwd.h: Likewise.
8517 * include/regex.h: Likewise.
8518 * include/sched.h: Likewise.
8519 * include/search.h: Likewise.
8520 * include/setjmp.h: Likewise.
8521 * include/signal.h: Likewise.
8522 * include/stdio.h: Likewise.
8523 * include/stdlib.h: Likewise.
8524 * include/string.h: Likewise.
8525 * include/sys/cdefs.h: Likewise.
8526 * include/sys/mman.h: Likewise.
8527 * include/sys/msg.h: Likewise.
8528 * include/sys/resource.h: Likewise.
8529 * include/sys/select.h: Likewise.
8530 * include/sys/socket.h: Likewise.
8531 * include/sys/stat.h: Likewise.
8532 * include/sys/statvfs.h: Likewise.
8533 * include/sys/time.h: Likewise.
8534 * include/sys/times.h: Likewise.
8535 * include/sys/uio.h: Likewise.
8536 * include/sys/utsname.h: Likewise.
8537 * include/sys/wait.h: Likewise.
8538 * include/termios.h: Likewise.
8539 * include/time.h: Likewise.
8540 * include/ulimit.h: Likewise.
8541 * include/unistd.h: Likewise.
8542 * include/utime.h: Likewise.
8543 * include/wchar.h: Likewise.
8544 * include/wctype.h: Likewise.
8545 * include/wordexp.h: Likewise.
8546
8547 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8548
7a270350
UD
8549 * time/time.h: TIME_UTC must be a macro.
8550 Make timespec_get available for ISO C11 only as well.
8551
7724defc
UD
85522012-02-24 Ulrich Drepper <drepper@gmail.com>
8553
8554 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8555 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8556
6b1d1d46
JM
85572012-02-24 Joseph Myers <joseph@codesourcery.com>
8558
8559 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 8560
0f8bbd69
JM
85612012-02-24 Joseph Myers <joseph@codesourcery.com>
8562
8563 * manual/texinfo.tex: Update to version 2012-01-19.16.
8564
66ab80bc
JM
85652012-02-24 Joseph Myers <joseph@codesourcery.com>
8566
8567 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8568
74981cc5
RM
85692012-02-24 Roland McGrath <roland@hack.frob.com>
8570
ee968201
RM
8571 [BZ #13738]
8572 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8573 * manual/fdl-1.3.texi: New file.
8574 * manual/fdl-1.1.texi: File removed.
8575
74981cc5
RM
8576 [BZ #13738]
8577 * manual/libc.texinfo (FDL_VERSION): New @set.
8578 Use it for mention of FDL in cover text.
8579 (Documentation License): Use it in @include file name.
8580
7bb764bc
JM
85812012-02-22 Joseph Myers <joseph@codesourcery.com>
8582 Roland McGrath <roland@hack.frob.com>
8583
8584 [BZ #5461]
8585 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8586 not LONG_LONG_MAX and LONG_LONG_MIN.
8587 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8588 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8589 name.
8590 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8591
6cbeae47
JM
85922012-02-22 Joseph Myers <joseph@codesourcery.com>
8593
8594 [BZ #2547]
8595 [BZ #11365]
8596 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8597 manipulate bits before adding and subtracting TWO23[sx].
8598 * math/libm-test.inc (nearbyint_test): Add more tests.
8599
fe45ce09
JM
86002012-02-22 Joseph Myers <joseph@codesourcery.com>
8601
8602 [BZ #2548]
8603 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8604 bits before adding and subtracting TWO23[sx].
8605 * math/libm-test.inc (rint_test): Add more tests.
8606 (rint_test_tonearest): Likewise.
8607 (rint_test_towardzero): Likewise.
8608 (rint_test_downward): Likewise.
8609 (rint_test_upward: Likewise.
8610
ff3b3d82
JM
86112012-02-22 Joseph Myers <joseph@codesourcery.com>
8612
8613 [BZ #10110]
8614 * include/stdc-predef.h: New file. Extracted from features.h.
8615 * include/features.h: Include stdc-predef.h.
8616 * Makefile (headers): Add stdc-predef.h.
8617 * CONFORMANCE (Compiler limitations): Update.
8618
ef0aab35
JM
86192012-02-22 Joseph Myers <joseph@codesourcery.com>
8620
8621 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8622
58639409
DM
86232012-02-21 David S. Miller <davem@davemloft.net>
8624
8625 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8626 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8627
c0e70b25
DM
86282012-02-20 David S. Miller <davem@davemloft.net>
8629
8630 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8631 using a normal save/restore sequence, rather than allocating a
8632 dummy stack frame just to store a frame pointer and restore.
8633 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8634
fb06851d
JM
86352012-02-21 Joseph Myers <joseph@codesourcery.com>
8636
8637 * manual/install.texi: Fix stray word in line-wrapped comment.
8638
7a8b71c3
DM
86392012-02-20 David S. Miller <davem@davemloft.net>
8640
d510c123
DM
8641 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8642 both binutils and gcc support GOTDATA.
8643
0722d7c2
DM
8644 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8645 "rd %pc" in the PIC register setup sequences.
8646
3d2b3019
DM
8647 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8648 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8649 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8650 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8651 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8652 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8653 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8654 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8655 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8656 (SYSCALL_ERROR_HANDLER): Likewise.
8657 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8658 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8659 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8660 (SYSCALL_ERROR_HANDLER): Likewise.
8661
c80098a9
DM
8662 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8663 (HAVE_GCC_GOTDATA): New.
8664 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8665 relocation support in both binutils and gcc.
8666 * sysdeps/sparc/elf/configure: Regenerate.
8667
3a2545a0
DM
8668 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8669 * sysdeps/sparc/sparc32/elf/configure: Delete.
8670 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8671 * sysdeps/sparc/sparc64/elf/configure: Delete.
8672 * sysdeps/sparc/elf/configure.in: New file.
8673 * sysdeps/sparc/elf/configure: Generate.
8674
7a8b71c3
DM
8675 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8676 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8677 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8678 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8679 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8680
f1e86fca
JM
86812012-02-21 Joseph Myers <joseph@codesourcery.com>
8682
8683 * manual/install.texi: Do not mention specific glibc version
8684 numbers.
8685 * manual/libc.texinfo (VERSION, UPDATED): Update.
8686 (@copying): Use @copyright{} and range of years.
8687
0e7dfaef
JM
86882012-02-21 Joseph Myers <joseph@codesourcery.com>
8689
8690 [BZ #13695]
8691 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8692 [crti.S not in sysdirs] (generated): Do not append.
8693 [crti.S not in sysdirs] (omit-deps): Likewise.
8694 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8695 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8696 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8697 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8698 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8699 Likewise.
8700 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8701 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8702 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8703 * csu/defs.awk: Remove file.
8704 * sysdeps/generic/initfini.c: Likewise.
8705 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8706 variable.
8707 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8708 Likewise.
8709
599af3ca
JM
87102012-02-20 Joseph Myers <joseph@codesourcery.com>
8711
8712 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8713 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8714 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8715 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8716 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8717 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8718 <bits/epoll.h>.
8719 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8720 (__EPOLL_PACKED): Define to empty if not defined by
8721 <bits/epoll.h>.
8722 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8723 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8724 bits/epoll.h.
8725
0e499750
JM
87262012-02-20 Joseph Myers <joseph@codesourcery.com>
8727
8728 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8729 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8730 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8731 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8732 <bits/timerfd.h>.
8733 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8734 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8735 bits/timerfd.h.
8736
5ad91f6e
JM
87372012-02-20 Joseph Myers <joseph@codesourcery.com>
8738
8739 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8740 in C locale.
8741 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8742 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8743 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8745
06b99b02
AJ
87462012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8747
8748 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8749 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8750
7638c0fd
AS
87512012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8752
8753 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8754 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8755 defined.
8756 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8757 Likewise.
8758 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8759 entry for 2.16.
8760
92221550
AJ
87612012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8762
8763 * math/w_acos.c: Use non-signaling floating-point comparisons.
8764 * math/w_acosf.c: Likewise.
8765 * math/w_acosh.c: Likewise.
8766 * math/w_acoshf.c: Likewise.
8767 * math/w_acoshl.c: Likewise.
8768 * math/w_acosl.c: Likewise.
8769 * math/w_asin.c: Likewise.
8770 * math/w_asinf.c: Likewise.
8771 * math/w_asinl.c: Likewise.
8772 * math/w_atanh.c: Likewise.
8773 * math/w_atanhf.c: Likewise.
8774 * math/w_atanhl.c: Likewise.
8775 * math/w_exp2.c: Likewise.
8776 * math/w_exp2f.c: Likewise.
8777 * math/w_exp2l.c: Likewise.
8778 * math/w_j0.c: Likewise.
8779 * math/w_j0f.c: Likewise.
8780 * math/w_j0l.c: Likewise.
8781 * math/w_j1.c: Likewise.
8782 * math/w_j1f.c: Likewise.
8783 * math/w_j1l.c: Likewise.
8784 * math/w_jn.c: Likewise.
8785 * math/w_jnf.c: Likewise.
8786 * math/w_log.c: Likewise.
8787 * math/w_log10.c: Likewise.
8788 * math/w_log10f.c: Likewise.
8789 * math/w_log10l.c: Likewise.
8790 * math/w_log2.c: Likewise.
8791 * math/w_log2f.c: Likewise.
8792 * math/w_log2l.c: Likewise.
8793 * math/w_logf.c: Likewise.
8794 * math/w_logl.c: Likewise.
8795 * math/w_sqrt.c: Likewise.
8796 * math/w_sqrtf.c: Likewise.
8797 * math/w_sqrtl.c: Likewise.
8798 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8799 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8800 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8801 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8802 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8803
ebaf36eb
JM
88042012-02-19 Joseph Myers <joseph@codesourcery.com>
8805
8806 [BZ #9739]
8807 * manual/string.texi (strnlen): Use correct parameter name in
8808 equivalent expression.
8809
71c254a6
JM
88102012-02-19 Joseph Myers <joseph@codesourcery.com>
8811
8812 [BZ #11174]
8813 * manual/users.texi (seteuid): Consistently use neweuid for
8814 argument name.
8815
16d2c631
JM
88162012-02-19 Joseph Myers <joseph@codesourcery.com>
8817
8818 [BZ #13704]
8819 * manual/nss.texi (Services in the NSS configuration): Correct
8820 list of services in example configuration file.
8821
cd837b09
NB
88222012-02-19 Nick Bowler <nbowler@draconx.ca>
8823
8824 [BZ #11322]
8825 * manual/arith.texi: Remove statements about negative zero
8826 behaving identically to zero.
8827
02c4bbad
JM
88282012-02-18 Joseph Myers <joseph@codesourcery.com>
8829
8830 [BZ #5993]
8831 * manual/install.texi: Do not document upgrading from libc5.
8832
366842e7
JM
88332012-02-18 Joseph Myers <joseph@codesourcery.com>
8834
8835 [BZ #4596]
8836 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8837
dd54084d
DM
88382012-02-18 David S. Miller <davem@davemloft.net>
8839
8840 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8841 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8842 %o7 across the call.
8843 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8844 instead.
8845 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8846 SETUP_PIC_REG_LEAF.
8847 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8848 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8849 * sysdeps/sparc/crtn.S: Likewise.
8850
2bcc53a3
UD
88512012-02-17 Ulrich Drepper <drepper@gmail.com>
8852
8853 * aout/Makefile: Remove.
8854
09c093b5
RK
88552012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8856
8857 [BZ #13058]
8858 * manual/examples/argp-ex1.c (main): Format definition in GNU
8859 style.
8860 * manual/examples/argp-ex2.c (main): Likewise.
8861 * manual/examples/argp-ex3.c (main): Likewise.
8862 * manual/examples/argp-ex4.c (main): Likewise.
8863 * manual/examples/longopt.c (main): Use new-style prototype
8864 definition.
8865 * manual/examples/strncat.c (main): Specify return type and use
8866 (void) for arguments.
8867 * manual/examples/subopt.c (main): Use char **argv argument.
8868
2ee633a2
JM
88692012-02-17 Joseph Myers <joseph@codesourcery.com>
8870
8871 [BZ #5077]
8872 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8873 rounding modes.
8874
0520adde
FB
88752012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8876
8877 [BZ #6907]
8878 * manual/string.texi (strchr): Change when strchrnul is
8879 recommended.
8880
3f4081cd
DGM
88812012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8882
8883 [BZ #174]
8884 * manual/locale.texi (setlocale): Document LOCPATH.
8885
d1b10e78
JM
88862012-02-17 Joseph Myers <joseph@codesourcery.com>
8887
8888 [BZ #10210]
8889 * manual/process.texi (execle): Move @dots{} before last argument.
8890
79c6869c
PB
88912012-02-17 Paul Bolle <pebolle@tiscali.nl>
8892
8893 [BZ #12047]
8894 * manual/charset.texi (Generic Charset Conversion): Fix typo
8895 (LC_TYPE -> LC_CTYPE).
8896
cc6e48bc
NB
88972012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8898
8899 [BZ #5805]
8900 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8901 (scalbnf): Likewise.
8902 (scalbnl): Likewise.
8903 (scalbln): Likewise.
8904 (scalblnf): Likewise.
8905 (scalblnl): Likewise.
8906 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8907 (vwarnx): Likewise.
8908 (verr): Likewise.
8909 (verrx): Likewise.
8910 * manual/filesys.texi (telldir): Use braces around return type.
8911 * manual/llio.texi (mmap): Add space after comma.
8912 (mmap64): Likewise.
8913 * manual/math.texi (jn): Use @var{} on parameter names.
8914 (jnf): Likewise.
8915 (jnl): Likewise.
8916 (yn): Likewise.
8917 (ynf): Likewise.
8918 (ynl): Likewise.
8919 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8920 line.
8921 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8922 "...".
8923 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8924 (sched_get_priority_max): Likewise.
8925 * manual/signal.texi (sigvec): Add space after comma.
8926 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8927 names.
8928 (if_indextoname): Likewise.
8929 (if_freenameindex): Likewise.
8930 (sendto): Use ',' instead of '.' in prototype.
8931 * manual/startup.texi (syscall): Use @dots{} instead of literal
8932 "...".
8933 * manual/stdio.texi (__fpending): Separate initial words of
8934 paragraph from @deftypefun line.
8935 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8936 "...".
8937 (vsyslog): Use @var{} on parameter names.
8938 * manual/terminal.texi (stty): Use @var{} on parameter names.
8939 * manual/users.texi (getutmp): Use @var{} on parameter names.
8940 (getutmpx): Likewise.
8941
5b23062f
JM
89422012-02-17 Joseph Myers <joseph@codesourcery.com>
8943
8944 [BZ #6884]
8945 * manual/stdio.texi (fopen): Fix typos in description of
8946 ",ccs=STRING".
8947
8dee4833
AJ
89482012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8949
8950 [BZ #4026]
8951 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8952 get clock_id definition.
8953
9078ce93
TS
89542012-02-17 Thomas Schwinge <thomas@schwinge.name>
8955
8956 [BZ #4822]
8957 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8958 (madvise): Cast every argument to void on its own.
8959
3835c55f
JM
89602012-02-17 Joseph Myers <joseph@codesourcery.com>
8961
8962 [BZ #9902]
8963 * manual/startup.texi (Exit Status): Fix typo.
8964
35c47e37
JM
89652012-02-17 Joseph Myers <joseph@codesourcery.com>
8966
8967 [BZ #10140]
8968 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8969 * manual/examples/argp-ex2.c: Likewise.
8970 * manual/examples/argp-ex3.c: Likewise.
8971
e3b69ca7
RH
89722012-02-16 Richard Henderson <rth@redhat.com>
8973
8974 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8975 * sysdeps/s390/s390-32/initfini.c: Remove.
8976 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8977 * sysdeps/s390/s390-64/initfini.c: Remove.
8978
df83af67
KK
89792012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8980
8981 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8982 compiler output for sysdeps/generic/initfini.c.
8983 * sysdeps/sh/elf/initfini.c: Remove file.
8984
f63f3380
DM
89852012-02-16 David S. Miller <davem@davemloft.net>
8986
fb59b3a4
DM
8987 [BZ #11494]
8988 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8989
f63f3380
DM
8990 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8991 * sysdeps/sparc/crti.S: New file.
8992 * sysdeps/sparc/crtn.S: New file.
8993 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8994 * sysdeps/sparc/sparc64/Makefile: Likewise.
8995
df6a4a4a
MF
89962012-02-15 Mike Frysinger <vapier@gentoo.org>
8997
6dd8f3dc 8998 [BZ #3335]
df6a4a4a
MF
8999 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9000
1cac7236
RM
90012012-02-15 Roland McGrath <roland@hack.frob.com>
9002
d2c736f8
RM
9003 [BZ #4822]
9004 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9005
1cac7236
RM
9006 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9007 (write, read, close): Likewise.
9008 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9009
8e475601
JM
90102012-02-15 Joseph Myers <joseph@codesourcery.com>
9011
9012 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9013 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9014 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9015 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9016 <bits/signalfd.h>.
9017 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9018 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9019 bits/signalfd.h.
9020
ed656b40
MP
90212012-02-14 Marek Polacek <polacek@redhat.com>
9022
9023 * sysdeps/x86_64/crti.S: New file.
9024 * sysdeps/x86_64/crtn.S: New file.
9025 * sysdeps/x86_64/elf/initfini.c: Remove file.
9026
2a979d3a
JM
90272012-02-13 Joseph Myers <joseph@codesourcery.com>
9028
9029 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9030 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9031 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9032 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9033 <bits/inotify.h>.
9034 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9035 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9036 bits/inotify.h.
9037
2a418ac3
JM
90382012-02-13 Joseph Myers <joseph@codesourcery.com>
9039
9040 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9041 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9042 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9043 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9044 <bits/eventfd.h>.
9045 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9046 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9047 bits/eventfd.h.
9048
fb779be7
TS
90492012-02-10 Thomas Schwinge <thomas@codesourcery.com>
9050
e19e83c5
RM
9051 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9052 __feraiseexcept instead of feraiseexcept.
7c35ffed 9053
fb779be7
TS
9054 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9055 nanosleep invocations.
9056 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9057 strings, and add error checking for a nanosleep invocations.
9058
59ba27a6
PE
90592012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9060
9061 Replace FSF snail mail address with URLs, as per GNU coding standards.
9062 Most of the snail mail addresses were wrong anyway, and omitting
9063 them makes the source code easier to maintain. Almost all of the
9064 changes are to license notices and to locale LC_IDENTIFICATION
9065 addresses, except for this one:
9066 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9067 not its snail mail address.
9068
57b957eb
RH
90692012-02-09 Richard Henderson <rth@twiddle.net>
9070
af850b1c
RH
9071 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9072 of kernel-features.h.
9073
57b957eb
RH
9074 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9075
6b73181a
MP
90762012-02-08 Marek Polacek <polacek@redhat.com>
9077
9078 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9079 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9080 * sysdeps/gnu/_G_config.h: Likewise.
9081 * sysdeps/generic/_G_config.h: Likewise.
9082
26ecc33a
AS
90832012-02-08 Andreas Schwab <schwab@linux-m68k.org>
9084
6c6dbc63
AS
9085 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9086 tests.
9087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9088
e216c012
AS
9089 * sysdeps/powerpc/powerpc32/crti.S: New file.
9090 * sysdeps/powerpc/powerpc32/crtn.S: New file.
9091 * sysdeps/powerpc/powerpc64/crti.S: New file.
9092 * sysdeps/powerpc/powerpc64/crtn.S: New file.
9093
26ecc33a
AS
9094 * Makeconfig (have-initfini): Don't set.
9095 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9096 * configure.in (nopic_initfini): Don't substitute.
9097 * config.h.in (HAVE_INITFINI): Don't #undef.
9098 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9099 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9100
3add8e13
JM
91012012-02-08 Joseph Myers <joseph@codesourcery.com>
9102
9103 Support crti.S and crtn.S provided directly by architectures.
9104 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9105 [crti.S in sysdirs] (omit-deps): Likewise.
9106 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9107 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9108 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9109 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9110 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9111 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9112 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9113 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9114 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9115 compiler output for sysdeps/generic/initfini.c.
9116 * sysdeps/i386/elf/Makefile: Remove file.
9117 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9118
a22f12b4
MP
91192012-02-07 Marek Polacek <polacek@redhat.com>
9120
9121 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9122 * sysdeps/gnu/_G_config.h: Likewise.
9123 * sysdeps/mach/hurd/_G_config.h: Likewise.
9124
148cf100
MP
91252012-02-07 Marek Polacek <polacek@redhat.com>
9126
9127 * math/Makefile (tests): Add tst-CMPLX2.
9128 * math/tst-CMPLX2.c: New file.
9129
cfdc0dd7
AS
91302012-02-07 Andreas Schwab <schwab@linux-m68k.org>
9131
84ba42c4
AS
9132 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9133
cfdc0dd7
AS
9134 * math/libm-test.inc (jn_test): Add missing L suffix.
9135
622c86f4
MP
91362012-02-06 Marek Polacek <polacek@redhat.com>
9137
9138 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9139 * sysdeps/i386/fpu/e_powf.S: Likewise.
9140 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9141 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9142 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9143 * sysdeps/i386/fpu/e_pow.S: Likewise.
9144 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9145 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9146 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9147 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9148 * sysdeps/i386/fpu/e_log2.S: Likewise.
9149 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9150 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9151 * sysdeps/i386/fpu/e_powl.S: Likewise.
9152 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9153 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9154 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9155 * sysdeps/i386/fpu/e_logl.S: Likewise.
9156 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9157 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9158 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9159 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9160 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9161 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9162 * sysdeps/i386/fpu/e_log.S: Likewise.
9163 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9164 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9165 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9166 * sysdeps/i386/fpu/e_logf.S: Likewise.
9167 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9168 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9169 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9170 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9171 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9172 * sysdeps/i386/fpu/e_log10.S: Likewise.
9173 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9174 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9175 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9176 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9177 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9178 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9179 * sysdeps/i386/asm-syntax.h: Likewise.
9180 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9181 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9182 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9183 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9184 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9185 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9186 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9187 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9188 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9189 * sysdeps/powerpc/sysdep.h: Likewise.
9190 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9191 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9192
d4a54ac6
JM
91932012-02-06 Joseph Myers <joseph@codesourcery.com>
9194
9195 [BZ #411]
9196 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9197
314054ea
JM
91982012-02-06 Joseph Myers <joseph@codesourcery.com>
9199
9200 * sysdeps/i386/sysdep.h: Include <features.h>.
9201 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9202 version.
9203
d8e0ca50
JM
92042012-02-05 Joseph Myers <joseph@codesourcery.com>
9205
9206 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9207 Define.
9208 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9209 LOAD_PIC_REG_STR.
9210
b1da7dd9
JM
92112012-02-03 Joseph Myers <joseph@codesourcery.com>
9212
9213 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9214 (SETUP_PIC_REG): Use GET_PC_THUNK.
9215 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9216 macro.
9217
9a1d9254
JM
92182012-02-03 Joseph Myers <joseph@codesourcery.com>
9219
9220 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9221 for non-PIC compilation.
9222 (SETUP_PIC_REG): Add .p2align directive.
9223 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9224 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9225 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9226 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9227 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9228 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9229 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9230 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9231 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9232 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9233 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9234 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9235 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9236 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9237 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9238 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9239 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9240 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9241 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9242 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9243 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9244 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9245 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9246 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9247 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9248 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9249 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9250 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9251 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9252 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9253 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9254 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9255 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9256 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9257 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9258 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9259 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9260 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9261 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9262 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9263 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9264
65dc3b75
JM
92652012-02-03 Joseph Myers <joseph@codesourcery.com>
9266
9267 * math/tst-CMPLX.c: Include <stdio.h>.
9268
d55bf177
JM
92692012-01-31 Joseph Myers <joseph@codesourcery.com>
9270
9271 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9272 float.
9273 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9274 * sysdeps/sparc/bits/mathdef.h: Likewise.
9275
69db4f8f
MP
92762012-01-31 Marek Polacek <polacek@redhat.com>
9277
9278 * libio/libio.h: Don't define _PARAMS.
9279 * locale/programs/config.h: Don't define PARAMS.
9280 * stdlib/strtol_l.c: Likewise.
9281 (__strtol_l): Remove PARAMS from the prototype.
9282
41b81892
UD
92832012-01-31 Ulrich Drepper <drepper@gmail.com>
9284
3b49edc0
UD
9285 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
9286 names. Just use the correct names. Remove unnecessary wrapper
9287 functions.
9288 * malloc/arena.c: Likewise.
9289 * malloc/hooks.c: Likewise.
9290
41b81892
UD
9291 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9292 ARENA_TEST says not to. Simplify test for creation of a new arena.
9293 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9294
27a25b6e
UD
92952012-01-30 Ulrich Drepper <drepper@gmail.com>
9296
9297 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9298 into tail calls.
9299 (update_get_addr): New function.
9300 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9301 GET_ADDR_MODULE parameter.
9302
c8a89e7d
JM
93032012-01-30 Joseph Myers <joseph@codesourcery.com>
9304
9305 * crypt/cert.c: Remove __STDC__ conditionals.
9306 * crypt/crypt-entry.c: Likewise.
9307 * crypt/crypt_util.c: Likewise.
9308 * libio/filedoalloc.c: Likewise.
9309 * libio/fileops.c: Likewise.
9310 * libio/genops.c: Likewise.
9311 * libio/iofclose.c: Likewise.
9312 * libio/iofdopen.c: Likewise.
9313 * libio/iofopen.c: Likewise.
9314 * libio/iofopen64.c: Likewise.
9315 * libio/iogetdelim.c: Likewise.
9316 * libio/iopopen.c: Likewise.
9317 * libio/obprintf.c: Likewise.
9318 * libio/oldfileops.c: Likewise.
9319 * libio/oldiofclose.c: Likewise.
9320 * libio/oldiofdopen.c: Likewise.
9321 * libio/oldiofopen.c: Likewise.
9322 * libio/oldiopopen.c: Likewise.
9323 * libio/wfiledoalloc.c: Likewise.
9324 * libio/wgenops.c: Likewise.
9325 * locale/programs/xmalloc.c: Likewise.
9326 * misc/syslog.c: Likewise.
9327 * stdio-common/xbug.c: Likewise.
9328 * string/memchr.c: Likewise.
9329 * string/memcmp.c: Likewise.
9330 * string/memrchr.c: Likewise.
9331 * string/rawmemchr.c: Likewise.
9332 * sysdeps/posix/getcwd.c: Likewise.
9333 * time/strftime_l.c: Likewise.
9334
3b100462
JM
93352012-01-30 Joseph Myers <joseph@codesourcery.com>
9336
9337 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
9338 * config.make.in (config-cflags-sse2avx): Define.
9339 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9340 Fix typo.
9341
607998af
CM
93422012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9343
9344 * scripts/config.guess: Update from upstream config git repository.
9345 * scripts/config.sub: Likewise.
9346
3601428f
CM
93472012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9348
3ac8b282
CM
9349 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9350 (EM_NUM): Update.
9351 (R_TILEPRO_*, R_TILEGX_*): New macros.
9352
e034841e
CM
9353 * scripts/firstversions.awk: Fix bug in version range handling.
9354
540d7568
CM
9355 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9356
3601428f
CM
9357 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9358
463de862
CM
9359 * include/sys/epoll.h: New file.
9360 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9361 libc_hidden_def.
9362
73139a76
UD
93632012-01-28 Ulrich Drepper <drepper@gmail.com>
9364
96bc5b45
UD
9365 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9366 Avoid unnecessary __WORDSIZE == 64 test.
9367 (fmaxf): Use VEX format if possible.
9368 (fmax): Likewise.
9369 (fminf): Likewise.
9370 (fmin): Likewise.
9371
56f6f6a2
UD
9372 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9373 * math/math_private.h: Remove libc_fegetround* and
9374 libc_fesetround*.
9375 * sysdeps/i386/configure.in: Check for -msse2avx.
9376 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9377 also if SSE2AVX is defined.
9378 Remove libc_fegetround* and libc_fesetround*.
9379 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9380 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9381 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9382 of HAS_YMM_USABLE.
9383 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9384 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9385 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9386 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9387 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9388
73139a76
UD
9389 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9390
d73f93a4
AZ
93912012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9392
9393 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9394 size is not set.
9395 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9396
6ee65ed6
UD
93972012-01-27 Ulrich Drepper <drepper@gmail.com>
9398
9399 [BZ #13618]
9400 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9401 relocation.
9402 * Makeconfig (libm): Define.
9403 * elf/Makefile: Add rules to build and run tst-relsort1.
9404 * elf/tst-relsort1.c: New file.
9405 * elf/tst-relsort1mod1.c: New file.
9406 * elf/tst-relsort1mod2.c: New file.
9407
8db21882
JM
94082012-01-27 Joseph Myers <joseph@codesourcery.com>
9409
9410 * math/s_ldexp.c: Remove __STDC__ conditionals.
9411 * math/s_ldexpf.c: Likewise.
9412 * math/s_ldexpl.c: Likewise.
9413 * math/s_nextafter.c: Likewise.
9414 * math/s_nexttowardf.c: Likewise.
9415 * math/s_significand.c: Likewise.
9416 * math/s_significandf.c: Likewise.
9417 * math/s_significandl.c: Likewise.
9418 * math/w_jnl.c: Likewise.
9419 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9420 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9421 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9422 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9423 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9424 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9425 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9426 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9427 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9428 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9429 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9430 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9431 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9432 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9433 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9434 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9435 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9436 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9437 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9438 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9439 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9440 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9441 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9442 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9443 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9444 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9445 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9446 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9447 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9448 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9449 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9450 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9451 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9452 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9453 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9454 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9455 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9456 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9457 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9458 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9459 * sysdeps/ieee754/k_standard.c: Likewise.
9460 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9461 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9462 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9463 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9464 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9465 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9466 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9467 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9468 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9469 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9470 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9471 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9472 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9473 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9474 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9475 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9476 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9477 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9478 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9479 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9480 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9481 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9482 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9483 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9484 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9485 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9486 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9487 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9488 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9489 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9490 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9491 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9492 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9493 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9494 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9495 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9496 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9497 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9498 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9499 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9500 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9501 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9502 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9503 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9504 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9505 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9506 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9507 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9508 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9509 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9510 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9511 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9512 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9513 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9514 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9515 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9516 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9517 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9518 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9519 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9520 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9521 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9522 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9523 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9524 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9525 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9526 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9527 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9528 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9529 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9530 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9531 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9532 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9533 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9534 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9535 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9536 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9537 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9538 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9539 * sysdeps/ieee754/s_matherr.c: Likewise.
9540 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9541 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9542 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9543 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9544
965a54a4
JM
95452012-01-26 Joseph Myers <joseph@codesourcery.com>
9546
9547 * crypt/md5.h: Remove __STDC__ conditionals.
9548 * libio/libioP.h: Likewise.
9549 * locale/programs/config.h: Likewise.
9550 * sysdeps/generic/sysdep.h: Likewise.
9551 * sysdeps/i386/asm-syntax.h: Likewise.
9552 * sysdeps/s390/asm-syntax.h: Likewise.
9553 * sysdeps/unix/sysdep.h: Likewise.
9554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9556
7071ad79
JM
95572012-01-26 Joseph Myers <joseph@codesourcery.com>
9558
9559 * libio/libio.h: Remove __STDC__ conditionals.
9560 * malloc/obstack.h: Likewise.
9561 * math/complex.h: Likewise.
9562 * math/math.h: Likewise.
9563 * sysdeps/generic/_G_config.h: Likewise.
9564 * sysdeps/gnu/_G_config.h: Likewise.
9565 * sysdeps/mach/hurd/_G_config.h: Likewise.
9566 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9567 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9568 * sysdeps/sparc/bits/mathdef.h: Likewise.
9569
afc5ed09
UD
95702012-01-26 Ulrich Drepper <drepper@gmail.com>
9571
9572 [BZ #13583]
9573 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 9574 Clean up HAS_* macros.
afc5ed09 9575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
9576 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9577 possible.
9578 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9579 HAS_AVX.
9580 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9581 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9582 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9583 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9584 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 9585
bdb6de1d
JM
95862012-01-25 Joseph Myers <joseph@codesourcery.com>
9587
9588 * elf/tst-unique3.cc (gets): Remove declaration.
9589 * elf/tst-unique3lib.cc (gets): Likewise.
9590 * elf/tst-unique3lib2.cc (gets): Likewise.
9591 * elf/tst-unique4.cc (gets): Likewise.
9592
b15549e6
UD
95932012-01-24 Ulrich Drepper <drepper@gmail.com>
9594
9595 * include/stdio.h: Add C++ protection. Add gets declarations and
9596 definitions.
9597 * debug/tst-chk1.c: Don't declare gets here.
9598 * stdio-common/tst-gets.c: Likewise.
9599
a037381f
JM
96002012-01-24 Joseph Myers <joseph@codesourcery.com>
9601
9602 * posix/glob: Remove directory.
9603
f1d4aa75
JM
96042012-01-24 Joseph Myers <joseph@codesourcery.com>
9605
9606 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9607
81c0c964
PT
96082012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9609
9610 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9611 of the non-standard EPFNOSUPPORT.
9612
0ea698ae
ST
96132011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9614
9615 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9616 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9617 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9618
d220b117
UD
96192012-01-21 Ulrich Drepper <drepper@gmail.com>
9620
9621 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9622
3e1aa84e
UD
96232012-01-20 Ulrich Drepper <drepper@gmail.com>
9624
9625 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9626 transient errors.
9627 * nscd/grpcache.c (cache_addgr): Likewise.
9628 * nscd/hstcache.c (cache_addhst): Likewise.
9629 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9630 * nscd/pwdcache.c (cache_addpw): Likewise.
9631 * nscd/servicescache.c (cache_addserv): Likewise.
9632
400aa020
UD
96332012-01-16 Ulrich Drepper <drepper@gmail.com>
9634
d77e7869
UD
9635 * malloc/malloc.c: Various cleanups.
9636 * malloc/hooks.c: Likewise.
9637
400aa020
UD
9638 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9639 * stdlib/bug-fmtmsg1.c: New file.
9640
9641 * stdlib/fmtmsg.c (init): Add missing unlock.
9642 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9643
e0a309cf
MP
96442012-01-12 Marek Polacek <polacek@redhat.com>
9645
9646 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9647 and _GNU_SOURCE.
9648
929d11c7
WS
96492012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9650
9651 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9652 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9653 macro to ensure uniqueness of label name.
9654 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9655 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9656
41d0e869
UD
96572012-01-11 Ulrich Drepper <drepper@gmail.com>
9658
0cc5ed3b
UD
9659 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9660
41d0e869
UD
9661 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9662 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9663 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9664 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9665
a47a831a
UD
96662012-01-10 Ulrich Drepper <drepper@gmail.com>
9667
daa891c0
UD
9668 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9669
9670 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9671 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9672 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9673
e58ef0f2
UD
9674 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9675
a47a831a 9676 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9677 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9678 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9679 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9680
9681 * math/bits/math-finite.h: Add ldexp support.
9682
a0bfc9c7
MP
96832012-01-10 Marek Polacek <polacek@redhat.com>
9684
9685 * locale/programs/localedef.h (show_archive_content): Add noreturn
9686 attribute.
9687
d6e97a1d
UD
96882012-01-09 Ulrich Drepper <drepper@gmail.com>
9689
9690 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9691
d5835c26
UD
96922012-01-08 Ulrich Drepper <drepper@gmail.com>
9693
e5f484c6
UD
9694 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9695
d5835c26
UD
9696 * io/Makefile (headers): Add bits/poll2.h.
9697
d1f741e9
WS
96982011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9699
9700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9701 typo #include statement.
9702
ec09c1c4
UD
97032012-01-08 Ulrich Drepper <drepper@gmail.com>
9704
9705 * include/sys/cdefs.h: Define __attribute_alloc_size.
9706 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9707 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9708 * elf/pldd.c: Likewise.
9709 * iconv/iconv_charmap.c: Likewise.
9710 * iconv/iconvconfig.c: Likewise.
9711 * iconv/strtab.c: Likewise.
9712 * locale/programs/locale.c: Likewise.
9713 * locale/programs/localedef.h: Likewise.
9714 * locale/programs/simple-hash.c: Likewise.
9715 * nscd/nscd.h: Likewise.
9716 * nss/makedb.c: Likewise.
9717 * sysdeps/generic/ldconfig.h: Likewise.
9718 * locale/programs/localedef.c: Remove xmalloc prototype.
9719 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9720
20b38e03
PP
97212012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9722
9723 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9724 appropriate.
9725
a0da5fe1
UD
97262012-01-08 Ulrich Drepper <drepper@gmail.com>
9727
1d5a644a 9728 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9729 * math/tst-CMPLX.c: New file.
1d5a644a 9730
8784a6db
UD
9731 * math/complex.h (CMPLXL): Fix typo.
9732
d9a216c0
UD
9733 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9734 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9735 GLIBC_2.16.
9736 * debug/tst-chk1.c: Add poll and ppoll tests.
9737 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9738 * include/sys/poll.h: Add hidden proto for ppoll.
9739 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9740 * sysdeps/mach/hurd/ppoll.c: Likewise.
9741 * io/ppoll.c: Likewise.
9742 * debug/poll_chk.c: New file.
9743 * debug/ppoll_chk.c: New file.
9744 * include/bits/poll2.h: New file.
9745 * io/bits/poll2.h: New file.
9746
ac097f5c
UD
9747 [BZ #1350]
9748 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9749
2119dcfa
UD
9750 * configure.in: static is always set to yes. Remove.
9751 * config.make.in: Don't set build-static.
9752 * Makeconfig: Remove use of build-static.
9753 * dlfcn/Makefile: Likewise.
9754 * elf/Makefile: Likewise.
9755 * math/Makefile: Likewise.
9756 * misc/Makefile: Likewise.
9757 * nptl/Makefile: Likewise.
9758 * sysdeps/mach/hurd/Makefile: Likewise.
9759
121766a9
UD
9760 * configure.in: PWD_P is not used anymore.
9761 * config.make.in: Remove PWD_P entry.
9762
51a1d39c 9763 * configure.in: Remove last remnants of RANLIB.
8720d066 9764 No need to check for signed size_t anymore.
215f4bdc
UD
9765 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9766 and IA-64.
3857022a 9767 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9768 * aclocal.m4: Likewise.
9769
d3ed7225
UD
9770 * wcsmbs/mbrtoc16.c: Implement using towc function.
9771 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9772 * wcsmbs/wcsmbsload.c: Likewise.
9773 * iconv/gconv_simple.c: Likewise.
9774 * iconv/gconv_int.h: Likewise.
9775 * iconv/gconv_builtin.h: Likewise.
9776 * iconv/iconv_prog.c: Remove CHAR16 handling.
9777
9778 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9779
9780 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9781
a0da5fe1
UD
9782 * configure.in: Remove --with-elf and --enable-bounded options.
9783 Dont set base_machine for ia64. More non-ELF conditions removed.
9784 Remove testing and setting of leading underscore information.
9785 * config.make.in (build-bounded): Set to no.
9786 * config.h.in: Remove NO_UNDERSCORES entry.
9787 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9788 them.
9789 * csu/start.c: Remove !NO_UNDERSCORE code.
9790 * locale/localeinfo.h: Likewise.
9791 * sysdeps/generic/machine-gmon.h: Likewise.
9792 * sysdeps/generic/sysdep.h: Likewise.
9793 * sysdeps/i386/sysdep.h: Likewise.
9794 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9795 * sysdeps/mach/sysdep.h: Likewise.
9796 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9797 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9798 * sysdeps/sh/sysdep.h: Likewise.
9799 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9800 * sysdeps/unix/i386/sysdep.S: Likewise.
9801 * sysdeps/unix/sparc/start.c: Likewise.
9802 * sysdeps/unix/sparc/sysdep.S: Likewise.
9803 * sysdeps/unix/sparc/sysdep.h: Likewise.
9804 * sysdeps/unix/start.c: Likewise.
9805 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9806 * sysdeps/x86_64/sysdep.h: Likewise.
9807
df78418a
UD
98082012-01-07 Ulrich Drepper <drepper@gmail.com>
9809
a784e502
UD
9810 [BZ #13553]
9811 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9812 for non-gcc.
9813 * argp/argp-fmtstream.h: Use const instead __const.
9814 * argp/argp.h: Likewise.
9815 * assert/assert.h: Likewise.
9816 * bits/fenv.h: Likewise.
9817 * bits/sched.h: Likewise.
9818 * bits/sigset.h: Likewise.
9819 * bits/sigthread.h: Likewise.
9820 * catgets/nl_types.h: Likewise.
9821 * conform/data/pthread.h-data: Likewise.
9822 * crypt/crypt-private.h: Likewise.
9823 * crypt/crypt.h: Likewise.
9824 * crypt/crypt_util.c: Likewise.
9825 * ctype/ctype.h: Likewise.
9826 * debug/execinfo.h: Likewise.
9827 * debug/mbsnrtowcs_chk.c: Likewise.
9828 * debug/mbsrtowcs_chk.c: Likewise.
9829 * debug/wcsnrtombs_chk.c: Likewise.
9830 * debug/wcsrtombs_chk.c: Likewise.
9831 * debug/wcstombs_chk.c: Likewise.
9832 * dirent/dirent.h: Likewise.
9833 * dlfcn/dlfcn.h: Likewise.
9834 * elf/neededtest4.c: Likewise.
9835 * grp/grp.h: Likewise.
9836 * gshadow/gshadow.h: Likewise.
9837 * iconv/gconv.h: Likewise.
9838 * iconv/gconv_int.h: Likewise.
9839 * iconv/gconv_simple.c: Likewise.
9840 * iconv/iconv.h: Likewise.
9841 * iconv/loop.c: Likewise.
9842 * iconv/skeleton.c: Likewise.
9843 * include/aio.h: Likewise.
9844 * include/aliases.h: Likewise.
9845 * include/argz.h: Likewise.
9846 * include/arpa/inet.h: Likewise.
9847 * include/assert.h: Likewise.
9848 * include/dirent.h: Likewise.
9849 * include/dlfcn.h: Likewise.
9850 * include/execinfo.h: Likewise.
9851 * include/fcntl.h: Likewise.
9852 * include/fenv.h: Likewise.
9853 * include/glob.h: Likewise.
9854 * include/grp.h: Likewise.
9855 * include/libintl.h: Likewise.
9856 * include/mntent.h: Likewise.
9857 * include/netdb.h: Likewise.
9858 * include/pwd.h: Likewise.
9859 * include/rpc/netdb.h: Likewise.
9860 * include/sched.h: Likewise.
9861 * include/search.h: Likewise.
9862 * include/shadow.h: Likewise.
9863 * include/signal.h: Likewise.
9864 * include/stdio.h: Likewise.
9865 * include/stdlib.h: Likewise.
9866 * include/string.h: Likewise.
9867 * include/sys/socket.h: Likewise.
9868 * include/sys/stat.h: Likewise.
9869 * include/sys/statfs.h: Likewise.
9870 * include/sys/statvfs.h: Likewise.
9871 * include/sys/syslog.h: Likewise.
9872 * include/sys/time.h: Likewise.
9873 * include/sys/uio.h: Likewise.
9874 * include/time.h: Likewise.
9875 * include/unistd.h: Likewise.
9876 * include/utmp.h: Likewise.
9877 * include/wchar.h: Likewise.
9878 * include/wctype.h: Likewise.
9879 * inet/aliases.h: Likewise.
9880 * inet/arpa/inet.h: Likewise.
9881 * inet/netinet/ether.h: Likewise.
9882 * inet/netinet/in.h: Likewise.
9883 * intl/libintl.h: Likewise.
9884 * io/bits/fcntl2.h: Likewise.
9885 * io/fcntl.h: Likewise.
9886 * io/ftw.h: Likewise.
9887 * io/sys/poll.h: Likewise.
9888 * io/sys/stat.h: Likewise.
9889 * io/sys/statfs.h: Likewise.
9890 * io/sys/statvfs.h: Likewise.
9891 * io/utime.h: Likewise.
9892 * libio/bits/stdio.h: Likewise.
9893 * libio/bits/stdio2.h: Likewise.
9894 * libio/libio.h: Likewise.
9895 * libio/libioP.h: Likewise.
9896 * libio/stdio.h: Likewise.
9897 * locale/lc-ctype.c: Likewise.
9898 * locale/locale.h: Likewise.
9899 * login/utmp.h: Likewise.
9900 * malloc/arena.c: Likewise.
9901 * malloc/malloc.c: Likewise.
9902 * malloc/malloc.h: Likewise.
9903 * malloc/mcheck.c: Likewise.
9904 * malloc/mtrace.c: Likewise.
9905 * math/bits/mathcalls.h: Likewise.
9906 * math/fenv.h: Likewise.
9907 * math/math_private.h: Likewise.
9908 * misc/bits/error.h: Likewise.
9909 * misc/bits/syslog.h: Likewise.
9910 * misc/err.h: Likewise.
9911 * misc/error.h: Likewise.
9912 * misc/fstab.h: Likewise.
9913 * misc/mntent.h: Likewise.
9914 * misc/regexp.h: Likewise.
9915 * misc/search.h: Likewise.
9916 * misc/sgtty.h: Likewise.
9917 * misc/sys/mman.h: Likewise.
9918 * misc/sys/syslog.h: Likewise.
9919 * misc/sys/uio.h: Likewise.
9920 * misc/sys/xattr.h: Likewise.
9921 * misc/ttyent.h: Likewise.
9922 * nis/rpcsvc/ypclnt.h: Likewise.
9923 * nss/nss.h: Likewise.
9924 * posix/bits/unistd.h: Likewise.
9925 * posix/fnmatch.h: Likewise.
9926 * posix/glob.h: Likewise.
9927 * posix/sched.h: Likewise.
9928 * posix/spawn.h: Likewise.
9929 * posix/sys/wait.h: Likewise.
9930 * posix/unistd.h: Likewise.
9931 * posix/wordexp.h: Likewise.
9932 * pwd/pwd.h: Likewise.
9933 * resolv/netdb.h: Likewise.
9934 * resource/sys/resource.h: Likewise.
9935 * rt/aio.h: Likewise.
9936 * rt/bits/mqueue2.h: Likewise.
9937 * rt/mqueue.h: Likewise.
9938 * shadow/shadow.h: Likewise.
9939 * signal/signal.h: Likewise.
9940 * socket/send.c: Likewise.
9941 * socket/sendto.c: Likewise.
9942 * socket/sys/socket.h: Likewise.
9943 * stdio-common/printf.h: Likewise.
9944 * stdlib/bits/stdlib.h: Likewise.
9945 * stdlib/fmtmsg.h: Likewise.
9946 * stdlib/monetary.h: Likewise.
9947 * stdlib/stdlib.h: Likewise.
9948 * stdlib/ucontext.h: Likewise.
9949 * streams/stropts.h: Likewise.
9950 * string/argz.h: Likewise.
9951 * string/bits/string2.h: Likewise.
9952 * string/string.h: Likewise.
9953 * string/strings.h: Likewise.
9954 * sunrpc/rpc/auth.h: Likewise.
9955 * sunrpc/rpc/auth_des.h: Likewise.
9956 * sunrpc/rpc/clnt.h: Likewise.
9957 * sunrpc/rpc/netdb.h: Likewise.
9958 * sunrpc/rpc/pmap_clnt.h: Likewise.
9959 * sunrpc/rpc/xdr.h: Likewise.
9960 * sysdeps/generic/inttypes.h: Likewise.
9961 * sysdeps/generic/net/if.h: Likewise.
9962 * sysdeps/generic/sys/swap.h: Likewise.
9963 * sysdeps/gnu/net/if.h: Likewise.
9964 * sysdeps/gnu/utmpx.h: Likewise.
9965 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9966 * sysdeps/i386/i486/bits/string.h: Likewise.
9967 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9968 * sysdeps/s390/bits/string.h: Likewise.
9969 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9970 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9971 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9972 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9973 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9974 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9975 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9976 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9977 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9978 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9979 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9980 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9981 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9982 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9983 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9984 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9985 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9986 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9987 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9988 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9989 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9990 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9991 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9992 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9993 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9994 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9995 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9996 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9997 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9998 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9999 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10000 * sysvipc/sys/ipc.h: Likewise.
10001 * sysvipc/sys/msg.h: Likewise.
10002 * sysvipc/sys/sem.h: Likewise.
10003 * sysvipc/sys/shm.h: Likewise.
10004 * termios/termios.h: Likewise.
10005 * time/sys/time.h: Likewise.
10006 * time/time.h: Likewise.
10007 * wcsmbs/bits/wchar2.h: Likewise.
10008 * wcsmbs/uchar.h: Likewise.
10009 * wcsmbs/wchar.h: Likewise.
10010 * wctype/wctype.h: Likewise.
10011
0269750c
UD
10012 [BZ #13551]
10013 * Makeconfig: Remove all but ELF support including AIX support.
10014 * Makerules: Likewise.
10015 * config.h.in: Likewise.
10016 * config.make.in: Likewise.
10017 * configure: Likewise.
10018 * configure.in: Likewise.
10019 * csu/Makefile: Likewise.
10020 * csu/version.c: Likewise.
10021 * debug/Makefile: Likewise.
10022 * dlfcn/Makefile: Likewise.
10023 * elf/Makefile: Likewise.
10024 * extra-lib.mk: Likewise.
10025 * iconv/Makefile: Likewise.
10026 * include/libc-symbols.h: Likewise.
10027 * include/shlib-compat.h: Likewise.
10028 * resolv/Makefile: Likewise.
10029 * resolv/res_libc.c: Likewise.
10030 * rt/Makefile: Likewise.
10031 * sysdeps/i386/asm-syntax.h: Likewise.
10032 * sysdeps/i386/sysdep.h: Likewise.
10033 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10034 * sysdeps/mach/sysdep.h: Likewise.
10035 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10036 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10037 * sysdeps/s390/asm-syntax.h: Likewise.
10038 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10039 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10040 * sysdeps/sh/sysdep.h: Likewise.
10041 * sysdeps/unix/sparc/sysdep.h: Likewise.
10042 * sysdeps/wordsize-32/divdi3.c: Likewise.
10043 * sysdeps/x86_64/sysdep.h: Likewise.
10044
00bbd29b
UD
10045 * argp/Versions: Remove _argp_unlock_xxx.
10046
10047 [BZ #13559]
10048 * abilist/ld.abilist: Update. Adjust for removal of tls option.
10049 * abilist/libBrokenLocale.abilist: Likewise.
10050 * abilist/libanl.abilist: Likewise.
10051 * abilist/libc.abilist: Likewise.
10052 * abilist/libcrypt.abilist: Likewise.
10053 * abilist/libdl.abilist: Likewise.
10054 * abilist/libm.abilist: Likewise.
10055 * abilist/libnsl.abilist: Likewise.
10056 * abilist/libpthread.abilist: Likewise.
10057 * abilist/libresolv.abilist: Likewise.
10058 * abilist/librt.abilist: Likewise.
10059 * abilist/libthread_db.abilist: Likewise.
10060 * abilist/libutil.abilist: Likewise.
10061 * abilist/libnss_db.abilist: New file.
10062
10063 * scripts/abilist.awk: Add support for indirect functions.
10064
a2693a0e
UD
10065 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10066
3f05895f
UD
10067 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10068
ecb6fb48
UD
10069 * shlib-versions: Remove entries for ports architectures.
10070
664f8cb9
UD
10071 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10072 files in ports.
10073 * elf/stackguard-macros.h: Remove support for IA-64.
10074 * elf/tst-auditmod1.c: Likewise.
10075 * sysdeps/generic/ldsodefs.h: Likewise.
10076
7ae81d88
UD
10077 * sysdeps/unix/sysv/linux/configure.in: Ports should define
10078 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10079 configure files.
10080
bdeba135
UD
10081 [BZ #13552]
10082 * configure.in: Remove --enable-omitfp support.
10083 * FAQ.in: Adjust.
10084 * config.make.in: Likewise.
10085 * Makeconfig: Likewise.
10086 * manual/install.texi: Likewise.
10087
d75a0a62
UD
10088 In case anyone cares, the IA-64 architecture could move to ports.
10089 * sysdeps/ia64/*: Removed.
10090 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 10091 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 10092
dcc9756b
UD
10093 [BZ #13555]
10094 * configure.in: Remove entries for unsupported architectures.
10095
d3761ebc 10096 [BZ #13533]
9954432e
UD
10097 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10098 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
10099 routines.
10100 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10101 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10102 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
10103 fall back to using wcrtomb.
10104 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10105 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
10106 renaming.
10107 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10108 * wcsmbs/tst-c16c32-1.c: New file.
10109
10110 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10111 local variable.
10112
c3a87236
UD
10113 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10114
28926a1b
UD
10115 * elf/tst-unique3.cc: Add explicit declaration of gets.
10116 * elf/tst-unique3lib.cc: Likewise.
10117 * elf/tst-unique3lib2.cc: Likewise.
10118 * elf/tst-unique4.cc: Likewise.
10119
df78418a
UD
10120 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10121
8ecd6b2a
JM
101222012-01-06 Joseph Myers <joseph@codesourcery.com>
10123
10124 [BZ #13566]
10125 * assert/assert.h (static_assert): Don't define for C++.
10126 * libio/stdio.h (gets): Do declare for C++ <= C++11.
10127 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10128
9f115170
UD
101292012-01-03 Ulrich Drepper <drepper@gmail.com>
10130
5e0d0300
UD
10131 * iconv/loop.c (single loop): Fix assertion in storing of
10132 remaining bytes.
10133
9f115170
UD
10134 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10135
81fb02b0
UD
101362012-01-01 Ulrich Drepper <drepper@gmail.com>
10137
10138 * posix/getconf.c: Update copyright year.
10139 * nss/getent.c: Likewise.
a316c1f6 10140 * nss/makedb.c: Likewise.
81fb02b0
UD
10141 * iconv/iconvconfig.c: Likewise.
10142 * iconv/iconv_prog.c: Likewise.
10143 * elf/ldconfig.c: Likewise.
a316c1f6
UD
10144 * elf/pldd.c: Likewise.
10145 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
10146 * catgets/gencat.c: Likewise.
10147 * csu/version.c: Likewise.
10148 * elf/ldd.bash.in: Likewise.
10149 * elf/sprof.c (print_version): Likewise.
10150 * locale/programs/locale.c: Likewise.
10151 * locale/programs/localedef.c: Likewise.
a316c1f6 10152 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
10153 * nscd/nscd.c (print_version): Likewise.
10154 * debug/xtrace.sh: Likewise.
10155 * malloc/memusage.sh: Likewise.
10156 * malloc/mtrace.pl: Likewise.
10157 * debug/catchsegv.sh: Likewise.
10158
2ba92745
JJ
101592011-12-30 Jakub Jelinek <jakub@redhat.com>
10160
10161 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10162 pure attribute.
10163
dadebdae
UD
101642011-12-24 Ulrich Drepper <drepper@gmail.com>
10165
d3761ebc 10166 [BZ #13533]
db6af3eb
UD
10167 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10168 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10169 transformations.
10170 * iconv/gconv_int.h: Likewise.
10171 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10172 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10173 from libc for GLIBC_2.16.
10174 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10175 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10176 * wcsmbs/uchar.h: Really define mbstate_t.
10177 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10178 * wcsmbs/c16rtomb.c: New file.
10179 * wcsmbs/mbrtoc16.c: New file.
10180 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10181 for C/POSIX locale.
10182 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10183 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10184
dadebdae
UD
10185 * wcsmbs/wchar.h: Add missing __restrict.
10186
67371b56
UD
101872011-12-23 Ulrich Drepper <drepper@gmail.com>
10188
74033a25
UD
10189 [BZ #13532]
10190 * time/Makefile (routines): Add timespec_get.
10191 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10192 * time/time.h: Define TIME_UTC and declare timespec_get. Define
10193 timespec for ISO C11.
10194 * time/timespec_get.c: New file.
10195 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10196 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10197
380d7e87
UD
10198 [BZ #13531]
10199 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10200 * stdlib/stdlib.h: Declare aligned_alloc.
10201 * Versions.def: Add GLIBC_2.16 for libc.
10202 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10203
4e9e7a35
UD
10204 [BZ 13527]
10205 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10206 ISO C11.
10207
380d7e87 10208 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
10209 code.
10210
03a71829
UD
10211 [BZ #13528]
10212 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10213
839e283e
UD
10214 [BZ #13529]
10215 * assert/assert.h (static_assert): Define.
10216
ce5294e2 10217 * version.h: Update for 2.16 development version.
90fa7312 10218
8d44e150 10219 [BZ #13526]
d7809905
UD
10220 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10221 _ISOC11_SOURCE.
10222
c0da14cd
UD
10223 * version.h (RELEASE): Bump for 2.15 release.
10224 * include/features.h (__GLIBC_MINOR__): Bump to 15.
10225
530a3249
MP
10226 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10227 Patch by Marek Polacek <mpolacek@redhat.com>.
10228
67371b56
UD
10229 * bits/byteswap.h: Protect long long constants with __extension__.
10230 * sysdeps/i386/bits/byteswap.h: Likewise.
10231 * sysdeps/ia64/bits/byteswap.h: Likewise.
10232 * sysdeps/s390/bits/byteswap.h: Likewise.
10233 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10234
15db4de1
LD
102352011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10236
10237 [BZ #13540]
bbe315ea
LD
10238 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
10239 destination buffer.
15db4de1
LD
10240 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10241
2b2596b1
MP
102422011-12-23 Marek Polacek <polacek@redhat.com>
10243
10244 * elf/dl-addr.c (determine_info): Add inline keyword.
10245 * elf/tst-auditmod4b.c (check_avx): Likewise.
10246 * elf/tst-auditmod6b.c (check_avx): Likewise.
10247 * elf/tst-auditmod6c.c (check_avx): Likewise.
10248 * elf/tst-auditmod7b.c (check_avx): Likewise.
10249
70c6c246
UD
102502011-12-23 Ulrich Drepper <drepper@gmail.com>
10251
10252 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10253 !__SSE_MATH__.
10254
c044cf14
LD
102552011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10256
15db4de1 10257 [BZ #13540]
c044cf14
LD
10258 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
10259 processing for last bytes.
10260
6b13d9d9
BH
102612011-08-06 Bruno Haible <bruno@clisp.org>
10262
d455f537
BH
10263 [BZ #13061]
10264 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10265 U+0385, not to U+1FEE.
10266
6b13d9d9
BH
10267 [BZ #13062]
10268 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10269 entry for U+00A5 U+0301.
10270
db910efd
UD
102712011-12-22 Ulrich Drepper <drepper@gmail.com>
10272
27deeafc
UD
10273 [BZ #13166]
10274 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10275 buffer for the output is too small.
10276
aed9d171
UD
10277 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10278 optimization.
10279
db910efd
UD
10280 [BZ #13185]
10281 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10282 SSE flags if possible.
10283
2bd779ae
LD
102842011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10285
e7f9dac3 10286 [BZ #13540]
2bd779ae
LD
10287 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10288 processing for last bytes.
10289
154bfc16
JM
102902011-12-22 Joseph Myers <joseph@codesourcery.com>
10291
10292 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10293 (syscall-list-default-options, syscall-list-default-condition)
10294 (syscall-list-includes): Define.
10295 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10296 list of ABIs and options and #if conditions for each ABI. Do not
10297 handle common syscalls between ABIs specially.
10298 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10299 Remove.
10300 (syscall-list-variants, syscall-list-32bit-options)
10301 (syscall-list-32bit-condition, syscall-list-64bit-options)
10302 (syscall-list-64bit-condition): Define.
10303 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10304 (syscall-list-variants, syscall-list-32bit-options)
10305 (syscall-list-32bit-condition, syscall-list-64bit-options)
10306 (syscall-list-64bit-condition): Define.
10307 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10308 Remove.
10309 (syscall-list-variants, syscall-list-32bit-options)
10310 (syscall-list-32bit-condition, syscall-list-64bit-options)
10311 (syscall-list-64bit-condition): Define.
10312 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10313 Remove.
10314 (syscall-list-variants, syscall-list-32bit-options)
10315 (syscall-list-32bit-condition, syscall-list-64bit-options)
10316 (syscall-list-64bit-condition): Define.
10317
21eaf3a5
UD
103182011-12-22 Ulrich Drepper <drepper@gmail.com>
10319
16c6f992
UD
10320 * locale/iso-639.def: Add brx entry.
10321
41043168
UD
10322 [BZ #13328]
10323 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10324 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10325
21eaf3a5
UD
10326 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10327 __feraiseexcept_renamed.
10328
e3a851a2
UD
103292011-12-21 Ulrich Drepper <drepper@gmail.com>
10330
4920765e
UD
10331 [BZ #13538]
10332 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10333 EPOLLET with unsigned values.
10334 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10335 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10336
e3a851a2
UD
10337 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10338 to large cancellation.
10339 * math/s_cacoshf.c: Likewise.
10340 * math/s_cacoshl.c: Likewise.
10341
b27e24b8
RK
103422011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10343
10344 [BZ #13305]
aebefeee 10345 [BZ #12786]
b27e24b8
RK
10346 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10347 * math/s_cacoshf.c: Likewise.
10348 * math/s_cacoshl.c: Likewise.
10349
ee190f67
UD
103502011-12-21 Ulrich Drepper <drepper@gmail.com>
10351
10352 [BZ #13439]
10353 * iconv/gconv.h: Define __GCONV_SWAP.
10354 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10355 * iconvdata/utf-16.c: Likewise.
10356 * iconvdata/utf-32.c: Likewise.
10357
707f25df
AS
103582011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10359
10360 [BZ #13524]
10361 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10362 numerator after shifting it by one limb.
10363
d2daaa1e
RÁE
103642011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10365
10366 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10367 under [__USE_EXTERN_INLINES].
10368
a4647e72
UD
103692011-12-17 Ulrich Drepper <drepper@gmail.com>
10370
10371 [BZ #13446]
10372 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10373
f0b264f1
AZ
103742011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10375
10376 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10377 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10378 optimized code.
10379 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10380 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10381 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10382 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10383 for strncasecmp/strncasecmp_l compilation.
10384 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10385 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10386
8ef4f244
MP
103872011-12-08 Marek Polacek <mpolacek@redhat.com>
10388
10389 [BZ #13484]
10390 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10391 of __asm__.
10392
97ac2654
UD
103932011-12-17 Ulrich Drepper <drepper@gmail.com>
10394
10395 [BZ #13506]
10396 * time/tzfile.c (__tzfile_read): Check values from file header.
10397
91d2a845
WS
103982011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10399
10400 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10401 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10402 * powerpc/powerpc32/dl-start.S: Likewise.
10403 * powerpc/powerpc32/elf/start.S: Likewise.
10404 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10405 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10406 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10407 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10408 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10409 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10410 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10411 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10412 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10413 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10414 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10415 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10416 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10417 * powerpc/powerpc32/memset.S: Likewise.
10418 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10419 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10420 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10421 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10422 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10423 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10424 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10425 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10426 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10427 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10428 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10429 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10430 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10431
a1267ba1
AZ
104322011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10433
10434 * math/libm-test.inc: Added more nearbyint tests.
10435 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10436 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10437 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10438 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10439
ad8ac1bd
RL
104402011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10441
10442 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10443 FD_CLOEXEC.
10444
1d3e4b61
UD
104452011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10446
10447 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10448 Add wcscpy-ssse3 wcscpy-c.
10449 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10450 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10451 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10452 * sysdeps/x86_64/wcschr.S: New file.
10453 * sysdeps/x86_64/wcsrchr.S: New file.
10454 * string/test-strcmp.c: Remove checking of wcscmp function for
10455 wrong alignments.
10456 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10457 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10458 wcsrchr-sse2 wcsrchr-c.
10459 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10460 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10461 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10462 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10463 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10464 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10465 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10466 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10467 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10468 * wcsmbc/wcschr.c (WCSCHR): New macro.
10469
5b330a2d
UD
104702011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10471
10472 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10473 * wcsmbs/test-wcsrchr.c: New file.
10474 * string/test-strrchr.c: Add wcsrchr support.
10475 (WIDE): New macro.
10476 * wcsmbs/test-wcscpy.c: New file.
10477 * string/test-strcpy.c: Add wcscpy support.
10478 (WIDE): New macro.
26428b7c 10479
f039c043
UD
104802011-12-10 Ulrich Drepper <drepper@gmail.com>
10481
10482 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10483 the inner loop.
10484
850fb039
AS
104852011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10486
10487 [BZ #13472]
10488 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10489
4efbd5cb
UD
104902011-12-04 Ulrich Drepper <drepper@gmail.com>
10491
52ff5dd0 10492 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 10493 Minor optimizations.
52ff5dd0 10494
4efbd5cb
UD
10495 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10496 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10497 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10498
8a426e12
UD
104992011-12-03 Ulrich Drepper <drepper@gmail.com>
10500
aff2453d
UD
10501 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10502 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10503 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10504 for gcc to avoid warnings.
10505 * inet/Makefile (tests): Add tst-checks.
10506 * inet/tst-checks.c: New file.
10507
10508 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10509 warning.
10510
10511 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10512 __wmemcmp_sse2.
10513
10514 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10515 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10516
8a426e12
UD
10517 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10518
9bea3473
UD
105192011-12-02 Ulrich Drepper <drepper@gmail.com>
10520
3a965496
UD
10521 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10522 problem.
10523
9bea3473
UD
10524 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10525
f101631b
UD
105262011-11-29 Joseph Myers <joseph@codesourcery.com>
10527
10528 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10529 conditional on GCC version.
10530 (__arch_compare_and_exchange_val_8_acq)
10531 (__arch_compare_and_exchange_val_16_acq)
10532 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10533 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10534 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10535
a98275aa
UD
105362011-12-02 Joseph Myers <joseph@codesourcery.com>
10537
10538 * sysdeps/sh/backtrace.c: New file.
10539
d4cc29a2
AS
105402011-12-02 Andreas Schwab <schwab@redhat.com>
10541
10542 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10543 parenthesis.
10544
6257af2d
AS
105452011-12-01 Andreas Schwab <schwab@redhat.com>
10546
10547 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10548 falling back to utime.
10549
b5f44c1a
AS
105502011-11-30 Andreas Schwab <schwab@redhat.com>
10551
10552 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10553 expectations for float.
10554
f3a6cc0a
AS
105552011-11-29 Andreas Schwab <schwab@redhat.com>
10556
10557 * locale/weight.h (findidx): Add parameter len.
10558 * locale/weightwc.h (findidx): Likewise.
10559 * posix/fnmatch_loop.c (FCT): Adjust caller.
10560 * posix/regcomp.c (build_equiv_class): Likewise.
10561 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10562 * posix/regexec.c (check_node_accept_bytes): Likewise.
10563 * string/strcoll_l.c (STRCOLL): Likewise.
10564 * string/strxfrm_l.c (STRXFRM): Likewise.
10565
9d65ea3a
UD
105662011-11-17 Ulrich Drepper <drepper@gmail.com>
10567
10568 * Makefile.in: Remove CVSOPT handling.
10569 * configure.in: Remove use of AC_REVISION.
10570 * iconvdata/Makefile (distribute): No need to filter out CVS.
10571 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10572 handling.
10573
5583a086
AS
105742011-11-16 Andreas Schwab <schwab@redhat.com>
10575
10576 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10577 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10578 [USE_AS_STRNCASECMP_L]: Likewise.
10579 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10580 NO_TLS_DIRECT_SEG_REFS.
10581 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10582 Fix argument offsets for non-PIC.
10583 [USE_AS_STRNCASECMP_L]: Likewise.
10584 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10585 NO_TLS_DIRECT_SEG_REFS.
10586
d62a8200
UD
105872011-11-15 Ulrich Drepper <drepper@gmail.com>
10588
9d65ea3a 10589 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
10590 O_CLOEXEC.
10591 * locale/loadlocale.c (_nl_load_locale): Likewise.
10592
09f93bd3
AS
105932011-11-15 Andreas Schwab <schwab@redhat.com>
10594
446514f9
AS
10595 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10596 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10597 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10598 (SYSCALL_GETTIME): Set errno on error.
10599
09f93bd3
AS
10600 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10601 count references to noai6ai_cached.
10602
312be3f9
UD
106032011-11-15 Ulrich Drepper <drepper@gmail.com>
10604
10605 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10606
10607 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10608 FD_CLOEXEC for /proc/self/maps.
10609
10610 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10611 FD_CLOEXEC for /proc/meminfo.
10612
10613 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10614 gai.conf.
10615
10616 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10617 FD_CLOEXEC for given file.
10618
10619 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10620
10621 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10622 FD_CLOEXEC for /etc/hosts.
10623 (_gethtent): Likewise.
10624
10625 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10626
10627 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10628 cancellation and set FD_CLOEXEC for /etc/netgroup.
10629
10630 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10631 reading /etc/publickey.
10632
10633 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10634 allow cancellation when reading /etc/group.
10635
10636 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10637 cancellation.
10638 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10639
10640 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10641 when using data file.
10642
10643 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10644
10645 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10646 (write_nis_obj): Use "c" and "e" in fopen.
10647
10648 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10649
10650 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10651
10652 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10653
10654 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10655
10656 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10657 locale.alias.
10658
10659 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10660
10661 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10662
10663 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10664
10665 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10666 file parsing and set FD_CLOEXEC.
10667
82af0fa8
UD
106682011-11-14 Ulrich Drepper <drepper@gmail.com>
10669
10670 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10671
a5fb313c
AS
106722011-11-14 Andreas Schwab <schwab@redhat.com>
10673
10674 * malloc/arena.c (arena_get2): Don't call reused_arena when
10675 _int_new_arena failed.
10676
6abf3465
UD
106772011-11-14 Ulrich Drepper <drepper@gmail.com>
10678
10679 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10680 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10681 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10682 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10683 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10684 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10685 to compile strcasecmp and strncasecmp.
10686 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10687 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10688
10689 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10690
76e3966e
UD
106912011-11-13 Ulrich Drepper <drepper@gmail.com>
10692
10693 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10694 locale-defines.sym to gen-as-const-headers.
10695 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10696 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10697 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10698 to compile strcasecmp and strncasecmp.
10699 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10700 strcasecmp_l and strncasecmp_l.
10701 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10702 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10703 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10704 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10705 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10706 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10707 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10708 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10709 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10710 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10711 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10712
ab26144e
UD
107132011-11-12 Ulrich Drepper <drepper@gmail.com>
10714
7edb22ef
UD
10715 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10716 result of SYSDEP_GETTIME_CPU to retval.
10717 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10718 parameter list to macro. Remove trailing semicolon. Adjust users.
10719
9694fc44
UD
10720 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10721 variable.
10722
8ad89ef8
UD
10723 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10724 mantissa words.
10725 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10726
0c822ef9
UD
10727 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10728 from unused variable.
10729
874e0564
UD
10730 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10731 DWARF definitions.
10732 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10733 for assembling.
10734
3a2edc79
UD
10735 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10736 over namespaces.
10737
f3c2577f
UD
10738 * sunrpc/rpc_prot.c (rejected): Fix case value.
10739
294ce126
UD
10740 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10741 unsigned long long int to avoid warnings in shift.
10742
5e2b63c6
UD
10743 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10744 of use of trans.
10745 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10746 variable tmp.
10747
e7f4b08e
UD
10748 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10749 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10750 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10751
ab26144e
UD
10752 * nis/nis_table.c (nis_list): Use variable of correct type for
10753 result of __follow_path call.
10754
8a6d5255
AZ
107552011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10756
10757 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10758 of math functions ceil, trunc, floor, round, and sqrt, when
10759 avaliable on the platform.
10760 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10761 name clash.
10762 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10763 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10764 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10765
aaddc98c
MP
107662011-10-30 Marek Polacek <mpolacek@redhat.com>
10767
10768 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10769 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10770
95b7042b
RM
107712011-11-11 Roland McGrath <roland@hack.frob.com>
10772
10773 * include/unistd.h: Fix __readlink return type.
10774 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10775
57769839
UD
107762011-11-11 Ulrich Drepper <drepper@gmail.com>
10777
10778 * stdlib/ucontext.h: Undo last change for makecontext.
10779
edc5984d
AS
107802011-11-11 Andreas Schwab <schwab@redhat.com>
10781
98591e58
AS
10782 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10783
edc5984d
AS
10784 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10785 * setjmp/setjmp.h: Mark functions as non-leaf.
10786 * setjmp/bits/setjmp2.h: Likewise.
10787 * stdlib/ucontext.h: Likewise.
10788
77cdc054
AS
107892011-11-10 Andreas Schwab <schwab@redhat.com>
10790
10791 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10792 (reused_arena): Don't check arena limit.
10793 (arena_get2): Atomically check arena limit.
10794
fe72eebd
UD
107952011-11-08 Ulrich Drepper <drepper@gmail.com>
10796
5f078c32
UD
10797 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10798 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10799
fe72eebd
UD
10800 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10801 instructions.
10802
ae1bc2fa
AS
108032011-11-07 Andreas Schwab <schwab@redhat.com>
10804
7583a88d
AS
10805 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10806 handler when locking.
10807
ae1bc2fa
AS
10808 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10809 Fix size of allocated buffer.
10810
10fb0bfa
AS
108112011-11-04 Andreas Schwab <schwab@redhat.com>
10812
998832a4
AS
10813 [BZ #10103]
10814 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10815 declarations for long double functions.
10816 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10817
10fb0bfa
AS
10818 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10819
3d7ba52b
AS
108202011-11-03 Andreas Schwab <schwab@redhat.com>
10821
a9ae54a1
AS
10822 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10823 installed.
10824
3d7ba52b
AS
10825 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10826 is disabled.
10827
bc8db248
ST
108282011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10829
10830 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10831
45b96dd6
AS
108322011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10833
647776f6
AS
10834 * include/alloca.h (stackinfo_alloca_round): Define.
10835 (extend_alloca): Use it.
10836 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10837 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10838 here.
10839
d91a8b93
AS
10840 * scripts/check-local-headers.sh: Ignore libaudit.h.
10841
45b96dd6
AS
10842 * nscd/Makefile (extra-objs): Make recursively expanded.
10843
432d41ce
UD
108442011-11-01 Ulrich Drepper <drepper@gmail.com>
10845
34372fc6
UD
10846 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10847 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10848
fadb59f8
UD
10849 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10850 * posix/tst-rfc3484-2.c: Likewise.
10851 * posix/tst-rfc3484-3.c: Likewise.
10852
78239589
UD
10853 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10854 process_vm_writev.
10855 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10856 process_vm_writev.
10857 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10858 process_vm_writev from libc using GLIBC_2.15 version.
10859
432d41ce
UD
10860 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10861
02f9c6cf
PP
108622011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10863
10864 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10865 stack usage.
10866
3a2c0242
UD
108672011-10-31 Ulrich Drepper <drepper@gmail.com>
10868
f4ec4833
UD
10869 [BZ #13367]
10870 * nss/getent.c (initgroups_keys): Show error message in case no group
10871 names are given.
10872
3a2c0242
UD
10873 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10874 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10875 __bump_nl_timestamp.
10876 * nscd/connections (nscd_init): When host database is served open
10877 netlink socket and request notification about configuration changes.
10878 (main_loop_poll): Track netlink file descriptor and bump timestamp
10879 in case data becomes available.
10880 (main_loop_epoll): Likewise.
10881 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10882 (database_pers_head): Add extra_data fileds.
10883 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10884 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10885 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10886 Adjust caller.
10887 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10888 in6ai data, call __free_in6ai.
10889 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10890 Add -DHAVE_NETLINK.
10891 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10892 interface information. Reuse previous data if netlink timestamp
10893 is not changed.
10894 (__bump_nl_timestamp): New function.
10895 (__free_in6ai): New function.
10896
636064eb
UD
108972011-10-30 Ulrich Drepper <drepper@gmail.com>
10898
10899 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10900 close_not_cancel_no_status here.
10901 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10902
9beb2334
UD
109032011-10-29 Ulrich Drepper <drepper@gmail.com>
10904
6ef76f3b
UD
10905 [BZ #13276]
10906 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10907 return value.
10908
0ffc4f3e 10909 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10910 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10911 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10912
cb95113e
UD
109132011-07-03 Andreas Jaeger <aj@suse.de>
10914
10915 [BZ #10709]
10916 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10917 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10918 * math/libm-test.inc (sin_test): Add test case.
10919
a1b560ff
UD
109202011-10-29 Ulrich Drepper <drepper@gmail.com>
10921
c9aaface
UD
10922 [BZ #13337]
10923 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10924 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10925
d272e7f1
UD
10926 * elf/chroot_canon.c (chroot_canon): Cleanups.
10927
1bc33071
UD
10928 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10929
1760874d
TJ
10930 [BZ #13335]
10931 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10932 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10933
51d91b18
UD
10934 * string/test-strchr.c: Make usable for strchrnul testing.
10935 * string/test-strchrnul.c: New file.
10936 * string/Makefile (strop-tests): Add strchrnul.
10937
a1b560ff 10938 * po/it.po: Update from translation team.
b611fb81 10939 * po/es.po: Likewise.
a1b560ff 10940
a5b81e1f
UD
109412011-10-28 Ulrich Drepper <drepper@gmail.com>
10942
fd52bc6d
UD
10943 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10944 the three constants needed as parameters. Drop the others.
10945 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10946 __m128i_strloadu_tolower.
52e4b9eb
UD
10947 Create and initialize variable zero and use it in all the places
10948 where _mm_setzero_si128 was used.
fd52bc6d 10949
a5b81e1f
UD
10950 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10951 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10952 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10953 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10954 anymore.
10955 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10956 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10957 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10958 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10959 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10960 __mpranred, __mptan.
10961 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10962 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10963 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10964 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10965 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10966 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10967 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10968 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10969 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10970
b4343346
AS
109712011-10-28 Andreas Schwab <schwab@redhat.com>
10972
0c92d8a8
AS
10973 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10974 redefine if SHARED.
10975 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10976
b4343346
AS
10977 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10978 wide char related routines to wcsmbs subdir.
10979
3871f58f
AS
109802011-10-27 Andreas Schwab <schwab@redhat.com>
10981
10982 [BZ #13344]
10983 * misc/sys/cdefs.h (__THROWNL): Define.
10984 * posix/unistd.h: Use __THREADNL instead of __THREAD
10985 for memory synchronization functions.
10986
94d44d9f
RM
109872011-10-26 Roland McGrath <roland@hack.frob.com>
10988
21b64b15 10989 [BZ #13349]
94d44d9f
RM
10990 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10991 doesn't exist.
10992 * manual/stdio.texi (Obstack Streams): Node removed.
10993
f6ce9294
AS
109942011-10-26 Andreas Schwab <schwab@redhat.com>
10995
80479147
AS
10996 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10997 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10998 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10999
f6ce9294
AS
11000 * math/math_private.h (math_force_eval): Allow non-addressable
11001 arguments.
11002 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11003
618280a1
UD
110042011-10-25 Ulrich Drepper <drepper@gmail.com>
11005
e0016b11
UD
11006 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11007 file is not needed.
11008
11009 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11010 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11011 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11012 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11013 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11014 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11015 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11016 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11017 Add AVX variants.
11018 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11019 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11020 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11021 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11022 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11023 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11024 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11025 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11026 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11027 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11028 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11029 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11030 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11031 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11032 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11033 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11034 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11035 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11036 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11037
11038 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11039 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
11040
618280a1
UD
11041 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11042 place. Use VEX encoding when compiling for AVX.
11043
37822576
AS
110442011-10-25 Andreas Schwab <schwab@redhat.com>
11045
1f1e1947
AS
11046 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11047 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11048
37822576
AS
11049 * string/test-strchr.c (do_test): Don't generate NUL bytes.
11050
31ea014d
UD
110512011-10-25 Ulrich Drepper <drepper@gmail.com>
11052
d7826aa1 11053 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 11054 useless if() expression.
d7826aa1
UD
11055 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11056 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11057 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11058 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11059 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11060 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11061 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11062 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11063 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11064 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11065 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11066 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11067 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11068 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11069 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11070 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11071 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11072 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11073 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11074
31ea014d
UD
11075 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11076
16437fec
AS
110772011-10-25 Andreas Schwab <schwab@redhat.com>
11078
11079 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11080 condition.
11081 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11082
31d3cc00
UD
110832011-10-25 Ulrich Drepper <drepper@gmail.com>
11084
11085 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11086 .text section. Avoid duplicate constants.
11087 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11088 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11089 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11090 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11091 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11092 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11093 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11094 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11095 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11096 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11097 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11098 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11099 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11100 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11101 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11102 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11103 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11104 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11105 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11106 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11107 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11108 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11109 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11110 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11111 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11112 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11113 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11114 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11115 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11116 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11117 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11118 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11119 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11120 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11121 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11122 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11123 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11124 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11125 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11126 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11127 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11128 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11129 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11130 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11131 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11132
58985aa9
UD
111332011-10-24 Ulrich Drepper <drepper@gmail.com>
11134
202c9deb
UD
11135 * sysdeps/x86_64/dla.h: Move to ...
11136 * sysdeps/x86_64/fpu/dla.h: ...here.
11137 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11138 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 11139
af968f62
UD
11140 * config.make.in: Add have-mfma4 entry.
11141 * configure.in: Substitute libc_cv_cc_fma4.
11142 * math/Makefile (dbl-only-routines): Add sincostab.
11143 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11144 Use __sincostab not sincos.
11145 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11146 name is a macro.
11147 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11148 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11149 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11150 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11151 using __copysign.
11152 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11153 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11154 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11155 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11156 and __inv.
11157 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11158 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11159 __copysign.
11160 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
11161 define aliases when function name is a macro.
11162 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11163 sysdeps/ieee754/dbl-64/sincos.tbl.
11164 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11165 fma4-enabled routines.
11166 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11167 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11168 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11169 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11170 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11171 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11172 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11173 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11174 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11175 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11176 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11177 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11178 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11179 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11180 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11181 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11182 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11183 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11184 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11185 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11186 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11187 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11188 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11189 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11190 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11191 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11192 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11193 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11194 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11195 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11196
58985aa9
UD
11197 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11198 rename.
11199 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11200 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11201 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11202 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11203 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11204 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11205 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11206 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11207
a201fbcf
AS
112082011-10-24 Andreas Schwab <schwab@redhat.com>
11209
11210 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11211
fc2ee42a
LD
112122011-10-23 Ulrich Drepper <drepper@gmail.com>
11213
bb3129bd
UD
11214 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11215
0275fff8
UD
11216 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11217 prediction.
11218 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11219
2fa2ae85
UD
11220 * string/strnlen.c: Don't define STRNLEN, reverse logic.
11221 Remove unused variable magic_bits.
11222 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11223
fc2ee42a
LD
11224 * string/strnlen.c: Define and use STRNLEN macro.
11225 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11226 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11227 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11228 * wcsmbs/wcslen.c: Define and use WCSLEN.
11229 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11230 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11231 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11232 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11233 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11234 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11235 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11236
ce7dd29f
LD
112372011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11238
11239 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11240 strnlen-sse2-no-bsf.
11241 Rename strlen-no-bsf to strlen-sse2-no-bsf.
11242 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
11243 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
11244 Add strnlen support.
11245 (USE_AS_STRNLEN): New macro.
11246 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11247 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11248 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11249 * sysdeps/x86_64/wcslen.S: New file.
11250
979c70a3
MZ
112512011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
11252
11253 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11254 XMM-moves are used for copying on small sizes.
11255
2d09f82f
LD
112562011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11257
11258 * wcsmbs/Makefile (strop-tests): Add wcschr.
11259 * wcsmbs/test-wcschr.c: New file.
11260 * string/test-strchr.c: Update.
11261 Add wcschr support.
11262 (WIDE): New macro.
11263
619fccca
LD
112642011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11265
2d09f82f 11266 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
11267 * wcsmbs/test-wcslen.c: New file.
11268 * string/test-strlen.c: Update.
11269 Add wcslen support.
11270 (WIDE): New macro.
11271
09f699ea
UD
112722011-10-23 Ulrich Drepper <drepper@gmail.com>
11273
11274 * po/it.po: Update from translation team.
11275
95584d3b
LD
112762011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11277
11278 * sysdeps/x86_64/wcscmp.S: Update.
11279 Fix wrong comparison semantics.
11280 wcscmp shall use signed comparison not unsigned.
11281 Don't use substraction to avoid overflow bug.
11282 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11283 * wcsmbc/wcscmp.c: Likewise.
11284 * string/test-strcmp.c: Likewise.
11285 Add new tests to check cases with negative values.
11286
c8b3296b
UD
112872011-10-23 Ulrich Drepper <drepper@gmail.com>
11288
11289 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11290 * sysdeps/x86_64/dla.h: ...here. New file.
11291 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11292 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11293 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11294 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11295 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11296 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11297 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11298 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11299 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11300
246ad57a
AS
113012011-10-23 Andreas Schwab <schwab@linux-m68k.org>
11302
11303 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11304 __ynl_finite aliases.
11305
a1a87169
UD
113062011-10-22 Ulrich Drepper <drepper@gmail.com>
11307
0d355eb7
UD
11308 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11309
a1a87169
UD
11310 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11311 define DLA_FMA.
11312 [DLA_FMA] (EMULV): Use DLA_FMA.
11313 [DLA_FMA] (MUL12): Use EMULV.
11314 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11315 that are not needed.
11316 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11317 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11318 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11319 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11320 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11321 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11322 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11323
ee2aafe0
AS
113242011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11325
11326 * math/s_nan.c: Undef __nan.
11327 * math/s_nanf.c: Undef __nanf.
11328 * math/s_nanl.c: Undef __nanl.
11329 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11330 "math_private.h".
11331
bc62c2fb
UD
113322011-10-22 Ulrich Drepper <drepper@gmail.com>
11333
77425c63
UD
11334 * math/s_catan.c: Add branch predictions.
11335 * math/s_catanf.c: Likewise.
11336 * math/s_catanh.c: Likewise.
11337 * math/s_catanhf.c: Likewise.
11338 * math/s_catanhl.c: Likewise.
11339 * math/s_catanl.c: Likewise.
11340 * math/s_cexp.c: Likewise.
11341 * math/s_cexpf.c: Likewise.
11342 * math/s_cexpl.c: Likewise.
11343 * math/s_clog.c: Likewise.
11344 * math/s_clog10.c: Likewise.
11345 * math/s_clog10f.c: Likewise.
11346 * math/s_clog10l.c: Likewise.
11347 * math/s_clogf.c: Likewise.
11348 * math/s_clogl.c: Likewise.
11349 * math/s_csqrt.c: Likewise.
11350 * math/s_csqrtf.c: Likewise.
11351 * math/s_csqrtl.c: Likewise.
11352 * math/s_ctanf.c: Likewise.
11353 * math/s_ctanh.c: Likewise.
11354 * math/s_ctanhf.c: Likewise.
11355 * math/s_ctanhl.c: Likewise.
11356 * math/s_ctanl.c: Likewise.
11357
bc62c2fb
UD
11358 * math/math_private.h: Define __nan, __nanf, __nanl.
11359 * math/s_cacosh.c: Include <math_private.h>.
11360 * math/s_cacoshl.c: Likewise.
11361 * math/s_casinh.c: Likewise.
11362 * math/s_casinhf.c: Likewise.
11363 * math/s_casinhl.c: Likewise.
11364 * math/s_ccos.c: Rely entire on ccosh.
11365 * math/s_ccosf.c: Rely entire on ccoshf.
11366 * math/s_ccosl.c: Rely entirely on ccoshl.
11367 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11368 Remove tests for FE_INVALID.
11369 * math/s_ccoshf.c: Likewise.
11370 * math/s_ccoshl.c: Likewise.
11371 * math/s_csin.c: Likewise.
11372 * math/s_csinf.c: Likewise.
11373 * math/s_csinh.c Likewise.
11374 * math/s_csinhf.c: Likewise.
11375 * math/s_csinhl.c: Likewise.
11376 * math/s_csinl.c: Likewise.
11377 * math/s_ctan.c: Likewise.
11378 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11379 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11380 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11381
8ec250a4
UD
113822011-10-21 Ulrich Drepper <drepper@gmail.com>
11383
c196fed8
UD
11384 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11385 compilation problems.
11386
8ec250a4
UD
11387 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11388 __builtin_expect.
11389
8d4f46c6
UD
113902011-10-20 Ulrich Drepper <drepper@gmail.com>
11391
ed72b654
UD
11392 * sysdeps/i386/configure.in: Test for -mfma4 option.
11393 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11394 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11395 COMMON_CPUID_INDEX_80000001.
11396 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11397 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11398 use it if FMA3 is not supported.
11399 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11400
8d4f46c6
UD
11401 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11402 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11403
d45c60c2
AS
114042011-10-20 Andreas Schwab <schwab@redhat.com>
11405
11406 [BZ #12892]
11407 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11408 it would create a cycle with a link time dependency.
11409
d9a4d2ab
UD
114102011-10-19 Ulrich Drepper <drepper@gmail.com>
11411
855d1560
UD
11412 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11413 instruction.
11414 * string/Makefile (strop-tests): Add rawmemchr.
11415 * string/test-rawmemchr.c: New file.
11416
d9a4d2ab
UD
11417 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11418 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11419 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11420 when compiling str{,n}casecmp and when AVX is available. Hook up
11421 new optimized code in initializers.
11422
8f3b1ffe
AS
114232011-10-19 Andreas Schwab <schwab@redhat.com>
11424
11425 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11426 __feraiseexcept instead of feraiseexcept.
11427
d38f1dba
UD
114282011-10-18 Ulrich Drepper <drepper@gmail.com>
11429
d9a8d0ab
UD
11430 * math/math_private.h: Define defaults for libc_fetestexcept and
11431 libc_feupdateenv.
11432 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11433 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11434 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11435 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11436 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11437 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11438 libc_fetestexcept and libc_feupdateenv.
11439
4855e3dd
UD
11440 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11441 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11442 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11443 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11444 libc_feholdexcept_setround.
11445
581d30e3
UD
11446 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11447 Add s_nearbyint-c and s_nearbyintf-c.
11448 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11449 nearbyintf inlines.
11450 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11451 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11452 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11453 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11454
d38f1dba
UD
11455 * math/math_private.h: Define defaults for libc_fegetround,
11456 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11457 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11458 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11459 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11460 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11461 standard functions.
11462 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11463 Remove comments and hacks for old compiler versions.
11464 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11465 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11466 libc_feholdexceptl.
11467
caa6c9d8
AS
114682011-10-18 Andreas Schwab <schwab@redhat.com>
11469
11470 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
11471 (__feraiseexcept_renamed): Add __NTH.
11472 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
11473 namespace violations.
11474
97c066e6
UD
114752011-10-17 Ulrich Drepper <drepper@gmail.com>
11476
99ce7b04
UD
11477 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11478
1004d182
UD
11479 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11480
228a984d
UD
11481 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11482 recently added interfaces.
11483 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11484
c8553a6a
UD
11485 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11486 about macro parameter expansion.
11487
ed22dcf6
UD
11488 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11489 __NO_MATH_INLINES is defined. Cleanups.
11490
11491 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11492 and __floorf is target has SSE4.1.
11493 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11494 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11495 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11496 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11497
b171c137
UD
11498 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11499 name.
11500 (floorf): Likewise.
11501
97c066e6
UD
11502 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11503
629f62ef
AS
115042011-10-17 Andreas Schwab <schwab@redhat.com>
11505
49a43d80
AS
11506 * misc/sys/cdefs.h: Fix last change.
11507
629f62ef
AS
11508 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11509 database lookup.
11510
e453f6cd
UD
115112011-10-16 Ulrich Drepper <drepper@gmail.com>
11512
aa78043a
UD
11513 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11514
ad0f5cad
UD
11515 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11516 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11517 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11518 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11519 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11520 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11521 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11522 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11523 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11524 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11525 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11526 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11527 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11528 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11529 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11530 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11531 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11532 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11533 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11534 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11535 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11536 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11537
11538 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11539 ceil, ceilf, floor, floorf.
11540
11541 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11542 Perform IRELATIVE relocations last.
11543
e453f6cd
UD
11544 * elf/do-rel.h: Add another parameter nrelative, replacing the
11545 local variable with the same name. Change name of the function
11546 to end in Rel or Rela (uppercase).
11547 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11548 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11549 elf_dynamic_do_##reloc function.
11550
fd5bdc09
UD
115512011-10-15 Ulrich Drepper <drepper@gmail.com>
11552
79b195b5
UD
11553 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11554 is sufficient, at least on modern CPUs.
11555
d4a28569
UD
11556 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11557
b61099b5
UD
11558 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11559 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11560
bcf01e6d
UD
11561 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11562 __expl_finite.
11563 * math/bits/math-finite.h: Add entries for exp.
11564 * math/e_expl.c: Add __*_finite alias.
11565 * sysdeps/i386/fpu/e_exp.S: Likewise.
11566 * sysdeps/i386/fpu/e_expf.S: Likewise.
11567 * sysdeps/i386/fpu/e_expl.c: Likewise.
11568 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11569 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11570 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11571 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11572 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11573 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11574 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11575
ba1a0d59
UD
11576 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11577 is sufficient, at least on modern CPUs.
11578
fd5bdc09
UD
11579 * ctype/ctype-info.c (__ctype_init): Define.
11580 * include/ctype.h (__ctype_init): Declare.
11581 (__ctype_b_loc): The variable is always initialized.
11582 (__ctype_toupper_loc): Likewise.
11583 (__ctype_tolower_loc): Likewise.
11584 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11585 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11586
7872cfb0
AS
115872011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11588
b468825a
AS
11589 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11590
7872cfb0
AS
11591 * configure.in: Also look in $cxxmachine/include for C++ system
11592 headers.
11593
be13f7bf
LD
115942011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11595
11596 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11597 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11598 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11599 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11600 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11601 (USE_AS_WMEMCMP): New macro.
11602 Fixing indents.
11603 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11604 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11605 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11606 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11607 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11608 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11609 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11610 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11611 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11612 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11613 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11614 (USE_AS_WMEMCMP): New macro.
11615 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11616 * sysdeps/string/test-memcmp.c: Update.
11617 Fix simple_wmemcmp.
11618 Add new tests.
11619 * wcsmbs/wmemcmp.c: Update.
11620 (WMEMCMP): New macro.
11621 Fix overflow bug.
11622
556a2007
AJ
116232011-10-12 Andreas Jaeger <aj@suse.de>
11624
11625 [BZ #13268]
11626 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11627
538faaa7
UD
116282011-10-15 Ulrich Drepper <drepper@gmail.com>
11629
ab6737ff
UD
11630 * libio/iofwide.c (do_length): Avoid warning.
11631
538faaa7
UD
11632 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11633
396a21b1
UD
116342011-10-14 Ulrich Drepper <drepper@gmail.com>
11635
cdf2901f
UD
11636 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11637
38ad40ce
UD
11638 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11639 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11640 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11641 * sysdeps/i386/i686/fpu/e_log.S: New file.
11642 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11643 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11644
396a21b1
UD
11645 * ctype/ctype.h: Add support for inlined isXXX functions when
11646 compiling C++ code.
11647
6b1f68c9
AS
116482011-10-14 Andreas Schwab <schwab@redhat.com>
11649
349290c0
AS
11650 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11651
6b1f68c9
AS
11652 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11653
f2282d42
RM
116542011-10-13 Roland McGrath <roland@hack.frob.com>
11655
11656 [BZ #13291]
11657 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11658
5298ffa8
AS
116592011-10-13 Andreas Schwab <schwab@redhat.com>
11660
714fad23
AS
11661 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11662 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11663 feraiseexcept.
11664
81dcc7fb
AS
11665 * sysdeps/x86_64/memrchr.S: Check for zero size.
11666
5298ffa8
AS
11667 * string/stratcliff.c: Add memrchr tests.
11668
951fbcec
LD
116692011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11670
11671 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11672 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11673 rawmemchr-sse2 rawmemchr-sse2-bsf.
11674 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11675 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11676 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11677 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11678 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11679 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11680 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11681 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11682 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11683 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11684 * string/memrchr.c (MEMRCHR): New macro.
11685
0ac5ae23
UD
116862011-10-12 Ulrich Drepper <drepper@gmail.com>
11687
11688 Add integration with gcc's -ffinite-math-only and optimize wrapper
11689 functions in libm.
11690 * Versions.def: Define GLIBC_2.15 version for libm.
11691 * math/Makefile (headers): Add bits/math-finite.h.
11692 * math/bits/math-finite.h: New file.
11693 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11694 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11695 * math/e_acoshl.c: Add __*_finite alias.
11696 * math/e_acosl.c: Likewise.
11697 * math/e_asinl.c: Likewise.
11698 * math/e_atan2l.c: Likewise.
11699 * math/e_atanhl.c: Likewise.
11700 * math/e_coshl.c: Likewise.
11701 * math/e_exp10.c: Likewise.
11702 * math/e_exp10f.c: Likewise.
11703 * math/e_exp10l.c: Likewise.
11704 * math/e_exp2l.c: Likewise.
11705 * math/e_fmodl.c: Likewise.
11706 * math/e_gammal_r.c: Likewise.
11707 * math/e_hypotl.c: Likewise.
11708 * math/e_j0l.c: Likewise.
11709 * math/e_j1l.c: Likewise.
11710 * math/e_jnl.c: Likewise.
11711 * math/e_lgammal_r.c: Likewise.
11712 * math/e_log10l.c: Likewise.
11713 * math/e_log2l.c: Likewise.
11714 * math/e_logl.c: Likewise.
11715 * math/e_powl.c: Likewise.
11716 * math/e_sinhl.c: Likewise.
11717 * math/e_sqrtl.c: Likewise.
11718 * math/e_scalb.c: Completely rewritten and optimized.
11719 * math/e_scalbf.c: Likewise.
11720 * math/e_scalbl.c: Likewise.
11721 * math/w_acos.c: Likewise.
11722 * math/w_acosf.c: Likewise.
11723 * math/w_acosl.c: Likewise.
11724 * math/w_acosh.c: Likewise.
11725 * math/w_acoshf.c: Likewise.
11726 * math/w_acoshl.c: Likewise.
11727 * math/w_asin.c: Likewise.
11728 * math/w_asinf.c: Likewise.
11729 * math/w_asinl.c: Likewise.
11730 * math/w_atan2.c: Likewise.
11731 * math/w_atan2f.c: Likewise.
11732 * math/w_atan2l.c: Likewise.
11733 * math/w_atanh.c: Likewise.
11734 * math/w_atanhf.c: Likewise.
11735 * math/w_atanhl.c: Likewise.
11736 * math/w_exp10.c: Likewise.
11737 * math/w_exp10f.c: Likewise.
11738 * math/w_exp10l.c: Likewise.
11739 * math/w_fmod.c: Likewise.
11740 * math/w_fmodf.c: Likewise.
11741 * math/w_fmodl.c: Likewise.
11742 * math/w_j0.c: Likewise.
11743 * math/w_j0f.c: Likewise.
11744 * math/w_j0l.c: Likewise.
11745 * math/w_j1.c: Likewise.
11746 * math/w_j1f.c: Likewise.
11747 * math/w_j1l.c: Likewise.
11748 * math/w_jn.c: Likewise.
11749 * math/w_jnf.c: Likewise.
11750 * math/w_log.c: Likewise.
11751 * math/w_logf.c: Likewise.
11752 * math/w_logl.c: Likewise.
11753 * math/w_log10.c: Likewise.
11754 * math/w_log10f.c: Likewise.
11755 * math/w_log10l.c: Likewise.
11756 * math/w_log2.c: Likewise.
11757 * math/w_log2f.c: Likewise.
11758 * math/w_log2l.c: Likewise.
11759 * math/w_pow.c: Likewise.
11760 * math/w_powf.c: Likewise.
11761 * math/w_powl.c: Likewise.
11762 * math/w_remainder.c: Likewise.
11763 * math/w_remainderf.c: Likewise.
11764 * math/w_remainderl.c: Likewise.
11765 * math/w_scalb.c: Likewise.
11766 * math/w_scalbf.c: Likewise.
11767 * math/w_scalbl.c: Likewise.
11768 * math/w_sqrt.c: Likewise.
11769 * math/w_sqrtf.c: Likewise.
11770 * math/w_sqrtl.c: Likewise.
11771 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11772 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11773 used.
11774 * math/math_private.h: Declare __kernel_standard_f.
11775 * math/w_cosh.c: Remove cruft and optimize a bit.
11776 * math/w_coshf.c: Likewise.
11777 * math/w_coshl.c: Likewise.
11778 * math/w_exp2.c: Likewise.
11779 * math/w_exp2f.c: Likewise.
11780 * math/w_exp2l.c: Likewise.
11781 * math/w_hypot.c: Likewise.
11782 * math/w_hypotf.c: Likewise.
11783 * math/w_hypotl.c: Likewise.
11784 * math/w_lgamma.c: Likewise.
11785 * math/w_lgamma_r.c: Likewise.
11786 * math/w_lgammaf.c: Likewise.
11787 * math/w_lgammaf_r.c: Likewise.
11788 * math/w_lgammal.c: Likewise.
11789 * math/w_lgammal_r.c: Likewise.
11790 * math/w_sinh.c: Likewise.
11791 * math/w_sinhf.c: Likewise.
11792 * math/w_sinhl.c: Likewise.
11793 * math/w_tgamma.c: Likewise.
11794 * math/w_tgammaf.c: Likewise.
11795 * math/w_tgammal.c: Likewise.
11796 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11797 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11798 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11799 Minor optimizations. Pretty printing. Remove cruft.
11800 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11801 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11802 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11803 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11804 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11805 * sysdeps/i386/fpu/e_asin.S: Likewise.
11806 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11807 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11808 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11809 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11810 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11811 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11812 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11813 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11814 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11815 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11816 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11817 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11818 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11819 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11820 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11821 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11822 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11823 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11824 * sysdeps/i386/fpu/e_log.S: Likewise.
11825 * sysdeps/i386/fpu/e_log10.S: Likewise.
11826 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11827 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11828 * sysdeps/i386/fpu/e_log2.S: Likewise.
11829 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11830 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11831 * sysdeps/i386/fpu/e_logf.S: Likewise.
11832 * sysdeps/i386/fpu/e_logl.S: Likewise.
11833 * sysdeps/i386/fpu/e_pow.S: Likewise.
11834 * sysdeps/i386/fpu/e_powf.S: Likewise.
11835 * sysdeps/i386/fpu/e_powl.S: Likewise.
11836 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11837 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11838 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11839 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11840 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11841 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11842 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11843 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11844 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11845 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11846 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11847 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11848 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11849 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11850 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11851 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11852 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11853 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11854 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11855 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11856 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11857 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11858 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11859 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11860 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11861 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11862 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11863 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11864 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11865 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11866 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11867 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11868 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11869 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11870 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11871 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11872 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11873 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11874 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11875 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11876 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11877 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11878 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11879 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11880 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11881 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11882 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11883 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11884 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11885 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11886 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11887 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11888 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11889 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11890 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11891 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11892 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11893 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11894 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11895 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11896 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11897 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11898 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11899 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11900 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11901 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11902 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11903 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11904 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11905 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11906 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11907 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11908 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11909 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11910 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11911 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11912 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11913 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11914 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11915 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11916 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11917 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11918 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11919 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11920 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11921 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11922 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11923 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11924 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11925 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11926 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11927 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11928 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11929 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11930 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11931 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11932 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11933 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11934 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11935 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11936 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11937 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11938 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11939 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11940 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11941 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11942 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11943 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11944 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11945 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11946 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11947 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11948 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11949 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11950 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11951 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11952 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11953 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11954 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11955 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11956 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11957 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11958 (__isnanf): Likewise.
11959 (__isinf_ns): Likewise.
11960 (__isinf_nsf): Likewise.
11961 (__finite): Likewise.
11962 (__finitef): Likewise.
11963 (__ieee754_sqrt): Define as macro.
11964 (__ieee754_sqrtf): Define as macro.
11965 (__ieee754_sqrtl): Define as macro.
11966 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11967 inlined copy.
11968 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11969 __FINITE_MATH_ONLY__ consistent.
11970 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11971
12cc2fcd
AS
119722011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11973
a843a204
AS
11974 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11975 of rawmemchr.
11976
12cc2fcd
AS
11977 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11978
c853acd5
UD
119792011-10-09 Ulrich Drepper <drepper@gmail.com>
11980
11981 * po/ja.po: Update from translation team.
11982
c658d255
RM
119832011-10-08 Roland McGrath <roland@hack.frob.com>
11984
110946e4
RM
11985 * locale/programs/locarchive.c (prepare_address_space): New function.
11986 (create_archive, enlarge_archive, open_archive): Use it.
11987
50604220
RM
11988 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11989 inside [SHARED], where it is used.
11990
c658d255
RM
11991 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11992
11993 * nss/getent.c (netgroup_keys): Remove unused variable.
11994 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11995
6a621eb7
UD
119962011-10-08 Ulrich Drepper <drepper@gmail.com>
11997
7edb55ce
UD
11998 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11999 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12000 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12001 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12002 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12003 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12004 * math/Makefile (libm-calls): Add s_isinf_ns.
12005 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12006 * math/multc3.c: Likewise.
12007 * math/s_casin.c: Likewise.
12008 * math/s_casinf.c: Likewise.
12009 * math/s_casinl.c: Likewise.
12010 * math/s_ccos.c: Likewise.
12011 * math/s_ccosf.c: Likewise.
12012 * math/s_ccosl.c: Likewise.
12013 * math/s_ctan.c: Likewise.
12014 * math/s_ctanf.c: Likewise.
12015 * math/s_ctanh.c: Likewise.
12016 * math/s_ctanhf.c: Likewise.
12017 * math/s_ctanhl.c: Likewise.
12018 * math/s_ctanl.c: Likewise.
12019 * math/w_fmod.c: Likewise.
12020 * math/w_fmodf.c: Likewise.
12021 * math/w_fmodl.c: Likewise.
12022 * math/w_remainder.c: Likewise.
12023 * math/w_remainderf.c: Likewise.
12024 * math/w_remainderl.c: Likewise.
12025 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12026 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12027 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12028 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12029 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12030 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12031 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12032 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12033
187da0ae
UD
12034 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12035 of the number.
12036 * stdio-common/printf_fphex.c: Likewise.
12037 * stdio-common/printf_size.c: Likewise.
12038
9277c064
UD
12039 * math/e_exp10.c: Include math_private.h using <...> not "...".
12040 * math/e_exp10f.c: Likewise.
12041 * math/e_exp10l.c: Likewise.
12042 * math/e_exp2l.c: Likewise.
12043 * math/e_j0l.c: Likewise.
12044 * math/e_j1l.c: Likewise.
12045 * math/e_jnl.c: Likewise.
12046 * math/e_lgammal_r.c: Likewise.
12047 * math/e_rem_pio2l.c: Likewise.
12048 * math/e_scalb.c: Likewise.
12049 * math/e_scalbf.c: Likewise.
12050 * math/e_scalbl.c: Likewise.
12051 * math/k_cosl.c: Likewise.
12052 * math/k_sinl.c: Likewise.
12053 * math/k_tanl.c: Likewise.
12054 * math/s_cacoshf.c: Likewise.
12055 * math/s_catan.c: Likewise.
12056 * math/s_catanf.c: Likewise.
12057 * math/s_catanh.c: Likewise.
12058 * math/s_catanhf.c: Likewise.
12059 * math/s_catanhl.c: Likewise.
12060 * math/s_catanl.c: Likewise.
12061 * math/s_ccosh.c: Likewise.
12062 * math/s_ccoshf.c: Likewise.
12063 * math/s_ccoshl.c: Likewise.
12064 * math/s_cexp.c: Likewise.
12065 * math/s_cexpf.c: Likewise.
12066 * math/s_cexpl.c: Likewise.
12067 * math/s_clog.c: Likewise.
12068 * math/s_clog10.c: Likewise.
12069 * math/s_clog10f.c: Likewise.
12070 * math/s_clog10l.c: Likewise.
12071 * math/s_clogf.c: Likewise.
12072 * math/s_clogl.c: Likewise.
12073 * math/s_csin.c: Likewise.
12074 * math/s_csinf.c: Likewise.
12075 * math/s_csinh.c: Likewise.
12076 * math/s_csinhf.c: Likewise.
12077 * math/s_csinhl.c: Likewise.
12078 * math/s_csinl.c: Likewise.
12079 * math/s_csqrt.c: Likewise.
12080 * math/s_csqrtf.c: Likewise.
12081 * math/s_csqrtl.c: Likewise.
12082 * math/s_ctan.c: Likewise.
12083 * math/s_ctanf.c: Likewise.
12084 * math/s_ctanh.c: Likewise.
12085 * math/s_ctanhf.c: Likewise.
12086 * math/s_ctanhl.c: Likewise.
12087 * math/s_ctanl.c: Likewise.
12088 * math/s_ldexp.c: Likewise.
12089 * math/s_ldexpf.c: Likewise.
12090 * math/s_ldexpl.c: Likewise.
12091 * math/s_significand.c: Likewise.
12092 * math/s_significandf.c: Likewise.
12093 * math/s_significandl.c: Likewise.
12094 * math/w_acos.c: Likewise.
12095 * math/w_acosf.c: Likewise.
12096 * math/w_acosh.c: Likewise.
12097 * math/w_acoshf.c: Likewise.
12098 * math/w_acoshl.c: Likewise.
12099 * math/w_acosl.c: Likewise.
12100 * math/w_asin.c: Likewise.
12101 * math/w_asinf.c: Likewise.
12102 * math/w_asinl.c: Likewise.
12103 * math/w_atan2.c: Likewise.
12104 * math/w_atan2f.c: Likewise.
12105 * math/w_atan2l.c: Likewise.
12106 * math/w_atanh.c: Likewise.
12107 * math/w_atanhf.c: Likewise.
12108 * math/w_atanhl.c: Likewise.
12109 * math/w_cosh.c: Likewise.
12110 * math/w_coshf.c: Likewise.
12111 * math/w_coshl.c: Likewise.
12112 * math/w_dremf.c: Likewise.
12113 * math/w_exp10.c: Likewise.
12114 * math/w_exp10f.c: Likewise.
12115 * math/w_exp10l.c: Likewise.
12116 * math/w_exp2.c: Likewise.
12117 * math/w_exp2f.c: Likewise.
12118 * math/w_fmod.c: Likewise.
12119 * math/w_fmodf.c: Likewise.
12120 * math/w_fmodl.c: Likewise.
12121 * math/w_hypot.c: Likewise.
12122 * math/w_hypotf.c: Likewise.
12123 * math/w_hypotl.c: Likewise.
12124 * math/w_j0.c: Likewise.
12125 * math/w_j0f.c: Likewise.
12126 * math/w_j0l.c: Likewise.
12127 * math/w_j1.c: Likewise.
12128 * math/w_j1f.c: Likewise.
12129 * math/w_j1l.c: Likewise.
12130 * math/w_jn.c: Likewise.
12131 * math/w_jnf.c: Likewise.
12132 * math/w_jnl.c: Likewise.
12133 * math/w_lgamma.c: Likewise.
12134 * math/w_lgamma_r.c: Likewise.
12135 * math/w_lgammaf.c: Likewise.
12136 * math/w_lgammaf_r.c: Likewise.
12137 * math/w_lgammal.c: Likewise.
12138 * math/w_lgammal_r.c: Likewise.
12139 * math/w_log.c: Likewise.
12140 * math/w_log10.c: Likewise.
12141 * math/w_log10f.c: Likewise.
12142 * math/w_log10l.c: Likewise.
12143 * math/w_log2.c: Likewise.
12144 * math/w_log2f.c: Likewise.
12145 * math/w_log2l.c: Likewise.
12146 * math/w_logf.c: Likewise.
12147 * math/w_logl.c: Likewise.
12148 * math/w_pow.c: Likewise.
12149 * math/w_powf.c: Likewise.
12150 * math/w_powl.c: Likewise.
12151 * math/w_remainder.c: Likewise.
12152 * math/w_remainderf.c: Likewise.
12153 * math/w_remainderl.c: Likewise.
12154 * math/w_scalb.c: Likewise.
12155 * math/w_scalbf.c: Likewise.
12156 * math/w_scalbl.c: Likewise.
12157 * math/w_sinh.c: Likewise.
12158 * math/w_sinhf.c: Likewise.
12159 * math/w_sinhl.c: Likewise.
12160 * math/w_sqrt.c: Likewise.
12161 * math/w_sqrtf.c: Likewise.
12162 * math/w_sqrtl.c: Likewise.
12163 * math/w_tgamma.c: Likewise.
12164 * math/w_tgammaf.c: Likewise.
12165 * math/w_tgammal.c: Likewise.
12166
6a621eb7
UD
12167 * po/ja.po: Update from translation team.
12168
bf582445
AJ
121692011-09-29 Andreas Jaeger <aj@suse.de>
12170
f9efbf3a
AJ
12171 [BZ #13179]
12172 * sunrpc/netname.c (netname2host): Fix logic.
12173
bf582445
AJ
12174 [BZ #6779]
12175 [BZ #6783]
12176 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12177 correctly.
12178 * math/w_remainder.c (__remainder): Likewise.
12179 * math/w_remainderf.c (__remainderf): Likewise.
12180 * math/libm-test.inc (remainder_test): Add test cases.
12181
48693bea
AK
121822011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12183
12184 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
12185 sdiv_qrnnd.
12186
42622229
LD
121872011-10-07 Ulrich Drepper <drepper@gmail.com>
12188
12189 * string/test-memcmp.c: Avoid unncessary #defines.
12190 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12191
093ecf92
LD
121922011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12193
12194 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12195 Use new sse2 version for core i3 - i7 as it's faster
12196 than sse42 version.
12197 (bit_Prefer_PMINUB_for_stringop): New.
12198 * sysdeps/x86_64/rawmemchr.S: Update.
12199 Replace with faster SSE2 version.
12200 * sysdeps/x86_64/memrchr.S: New file.
12201 * sysdeps/x86_64/memchr.S: Update.
12202 Replace with faster SSE2 version.
12203
fde56e5c
MP
122042011-09-12 Marek Polacek <mpolacek@redhat.com>
12205
12206 * elf/dl-load.c (lose): Add cast to avoid warning.
12207
21fd49a9
UD
122082011-10-07 Ulrich Drepper <drepper@gmail.com>
12209
5a06e643
UD
12210 * po/ca.po: Update from translation team.
12211
684ae515
UD
12212 * inet/getnetgrent_r.c: Hook up nscd.
12213 * nscd/Makefile (routines): Add nscd_netgroup.
12214 (nscd-modules): Add netgroupcache.
12215 (CFLAGS-netgroupcache.c): Define.
12216 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12217 (cache_search): Add const to second parameter.
12218 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12219 INNETGR.
12220 (dbs): Add netgrdb entry.
12221 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12222 (verify_persistent_db): Handle netgrdb.
12223 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12224 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12225 GETFDNETGR.
12226 (netgroup_response_header): Define.
12227 (innetgroup_response_header): Define.
12228 (datahead): Add netgroup_response_header and innetgroup_response_header
12229 elements.
12230 * nscd/nscd.conf: Add entries for netgroup cache.
12231 * nscd/nscd.h (dbtype): Add netgrdb.
12232 (_PATH_NSCD_NETGROUP_DB): Define.
12233 (netgroup_iov_disabled): Declare.
12234 (xmalloc, xcalloc, xrealloc): Move declarations here.
12235 (cache_search): Adjust prototype.
12236 Add netgroup-related prototypes.
12237 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
12238 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
12239 (__nscd_innetgr): Declare.
12240 * nscd/selinux.c (perms): Use access_vector_t as element type and
12241 add netgroup-related initializers.
12242 * nscd/netgroupcache.c: New file.
12243 * nscd/nscd_netgroup.c: New file.
12244 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12245 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12246 For four parameters use innetgr.
12247 * nss/nss_files/files-init.c: Add definition and callback for netgr.
12248 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12249 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12250 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12251
21fd49a9
UD
12252 * nscd/connections.c (register_traced_file): Don't register file
12253 for disabled databases.
12254
054c0457
UD
122552011-10-06 Ulrich Drepper <drepper@gmail.com>
12256
32b63198
UD
12257 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
12258
054c0457
UD
12259 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
12260 from tree and freeing node.
12261
64031225
JO
122622011-09-25 Jiri Olsa <jolsa@redhat.com>
12263
12264 * nss/nsswitch.c (__nss_database_lookup): Handle
12265 nss_parse_service_list out of memory case.
12266
0490345c
JO
122672011-09-15 Jiri Olsa <jolsa@redhat.com>
12268
12269 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12270 out of memory case.
12271
3a62d00d
AS
122722011-10-04 Andreas Schwab <schwab@redhat.com>
12273
12274 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12275 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12276 pass it down.
12277 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12278 elf_machine_rela, elf_machine_lazy_rel.
12279 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12280 (ELF_DYNAMIC_DO_REL): Likewise.
12281 (ELF_DYNAMIC_DO_RELA): Likewise.
12282 (ELF_DYNAMIC_RELOCATE): Likewise.
12283 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12284 to ELF_DYNAMIC_DO_REL.
12285 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12286 (dl_main): In trace mode always set __RTLD_NOIFUNC.
12287 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12288 elf_machine_rela.
12289 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12290 skip_ifunc, don't call ifunc function if non-zero.
12291 (elf_machine_rela): Likewise.
12292 (elf_machine_lazy_rel): Likewise.
12293 (elf_machine_lazy_rela): Likewise.
12294 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12295 (elf_machine_lazy_rel): Likewise.
12296 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12297 Likewise.
12298 (elf_machine_lazy_rel): Likewise.
12299 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12300 Likewise.
12301 (elf_machine_lazy_rel): Likewise.
12302 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12303 (elf_machine_lazy_rel): Likewise.
12304 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12305 (elf_machine_lazy_rel): Likewise.
12306 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12307 (elf_machine_lazy_rel): Likewise.
12308 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12309 (elf_machine_lazy_rel): Likewise.
12310 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12311 (elf_machine_lazy_rel): Likewise.
12312 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12313 (elf_machine_lazy_rel): Likewise.
12314
68577918
UD
123152011-09-28 Ulrich Drepper <drepper@gmail.com>
12316
12317 * nss/nss_files/files-init.c (_nss_files_init): Use static
12318 initialization for all the *_traced_file variables.
12319
68822d74
AS
123202011-09-28 Andreas Schwab <schwab@redhat.com>
12321
12322 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12323
2056100b
RM
123242011-09-27 Roland McGrath <roland@hack.frob.com>
12325
12326 [BZ #13226]
12327 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12328
32c76b63
AS
123292011-09-27 Andreas Schwab <schwab@redhat.com>
12330
12331 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12332 Reread the line before reparsing it.
12333
bf972c9d
AS
123342011-09-26 Andreas Schwab <schwab@redhat.com>
12335
12336 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12337
e057a1b5
JM
123382011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12339 Maxim Kuvyrkov <maxim@codesourcery.com>
12340 Joseph Myers <joseph@codesourcery.com>
12341
12342 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12343 if needed for __stack_chk_guard.
12344
bc7e1c36
RM
123452011-09-19 Roland McGrath <roland@hack.frob.com>
12346
ecb1482f
RM
12347 * sysdeps/posix/spawni.c (script_execute): Always define it.
12348 It will be optimized away if unused.
12349 (maybe_script_execute): New function.
12350 (__spawni): Call it.
12351
bc7e1c36
RM
12352 * Makerules: Don't include tls.make.
12353 (config-tls): Always set to thread.
12354 * tls.make.c: File removed.
12355
1c3b002b
MF
123562011-09-19 Mike Frysinger <vapier@gentoo.org>
12357
12358 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12359 * config.make.in (CPPFLAGS-config): New substituted variable.
12360
2840865d
UD
123612011-09-15 Ulrich Drepper <drepper@gmail.com>
12362
88738eb6
UD
12363 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12364
cbf645a6 12365 [BZ #13192]
2840865d
UD
12366 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12367 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12368
b402e91a
RM
123692011-09-15 Roland McGrath <roland@hack.frob.com>
12370
12371 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12372 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12373 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12374 (CALL_FAIL): Likewise.
12375 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12376 (CALL_FAIL): Macro removed.
12377 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12378
4c1a1f71
UD
123792011-09-15 Ulrich Drepper <drepper@gmail.com>
12380
12381 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12382 for __FINITE_MATH_ONLY__ == 1.
12383
edc121be
AS
123842011-09-15 Andreas Schwab <schwab@redhat.com>
12385
12386 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12387 __ieee754_sqrt instead of sqrt.
12388 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12389 __ieee754_sqrtf instead of sqrtf.
12390 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12391 __floorf instead of floorf.
12392 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12393 __floorf, __truncf instead of floorf, truncf.
12394
cd205654
UD
123952011-09-14 Ulrich Drepper <drepper@gmail.com>
12396
ee4d0315
UD
12397 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12398
cd205654
UD
12399 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12400 __extern_always_inline.
12401 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12402 32-bit.
12403
48b67d71
AS
124042011-09-14 Andreas Schwab <schwab@redhat.com>
12405
12406 * elf/rtld.c (dl_main): Also relocate in dependency order when
12407 doing symbol dependency testing.
12408
1ae12c75
AS
124092011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12410
12411 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12412 Always define `refsym'.
12413
995a80df
AS
124142011-09-13 Andreas Schwab <schwab@redhat.com>
12415
e529793b
AS
12416 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12417 (__FD_ELT): Renamed from __FDELT.
12418 * misc/bits/select2.h (__FD_ELT): Likewise.
12419 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12420 __FD_MASK instead of __FDELT, __FDMASK.
12421 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12422 Likewise.
12423 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12424 Likewise.
12425
52d4fef8
AS
12426 * elf/Makefile (gen-ldd): Fix pattern.
12427
995a80df
AS
12428 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12429 (init_tls): Likewise.
12430
8682f8b0
UD
124312011-09-12 Ulrich Drepper <drepper@gmail.com>
12432
12433 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12434
de82006d
AS
124352011-09-12 Andreas Schwab <schwab@redhat.com>
12436
a7c8e6a1
AS
12437 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12438 `struct cmsghdr *' instead of `void *'.
12439 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12440 Likewise.
12441
0f31fe77
AS
124422011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12443
12444 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12445 if non-absolute.
12446 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12447 ldd_rewrite_script.
0f31fe77 12448
32b4c839
UD
124492011-09-11 Ulrich Drepper <drepper@gmail.com>
12450
83cd1420
UD
12451 * configure.in: Remove --with-tls option.
12452 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12453 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12454 out in case it is missing.
12455 * sysdeps/ia64/elf/configure.in: Likewise.
12456 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12457 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12458 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12459 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12460 * sysdeps/sh/elf/configure.in: Likewise.
12461 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12462 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12463 * sysdeps/x86_64/elf/configure.in: Likewise.
12464 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12465 * sysdeps/mach/hurd/tls.h: Likewise.
12466
633f745d
UD
12467 [BZ #13067]
12468 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12469
f318beb8
UD
12470 [BZ #13090]
12471 * configure.in: Fix use of AC_INIT.
12472
32b4c839
UD
12473 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12474
3ce1f295
UD
124752011-09-10 Ulrich Drepper <drepper@gmail.com>
12476
bb016596
UD
12477 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12478 __set_errno.
8e58439c
UD
12479 * malloc/hooks.c: Likewise.
12480
aebae053 12481 [BZ #11929]
02d46fc4
UD
12482 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12483 variables statically.
12484 (narenas): Initialize.
12485 (list_lock): Initialize.
bb016596
UD
12486 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12487 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
12488 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12489 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12490 Add initializers to main_arena and mp_.
12491 (malloc_state): Remove pagesize member. Change all users to use
12492 GLRO(dl_pagesize).
12493
12494 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12495 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12496 is always initialized.
12497
22a89187
UD
12498 * malloc/malloc.c: Removed unused configurations and dead code.
12499 * malloc/arena.c: Likewise.
12500 * malloc/hooks.c: Likewise.
02d46fc4 12501 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 12502
d063d164
UD
12503 * include/tls.h: Removed. USE___THREAD must always be defined.
12504 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12505 * elf/dl-libc.c: Likewise.
12506 * elf/dl-tsd.c: Likewise.
12507 * include/errno.h: Likewise.
12508 * include/netdb.h: Likewise.
12509 * include/resolv.h: Likewise.
12510 * inet/herrno-loc.c: Likewise.
12511 * inet/herrno.c: Likewise.
12512 * malloc/arena.c: Likewise.
12513 * malloc/hooks.c: Likewise.
12514 * malloc/malloc.c: Likewise.
12515 * resolv/res-state.c: Likewise.
12516 * resolv/res_libc.c: Likewise.
12517 * sysdeps/i386/dl-machine.h: Likewise.
12518 * sysdeps/ia64/dl-machine.h: Likewise.
12519 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12520 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12521 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12522 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12523 * sysdeps/sh/dl-machine.h: Likewise.
12524 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12525 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12526 * sysdeps/unix/i386/sysdep.S: Likewise.
12527 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12528 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12529 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12530 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12531 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12532 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12533 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12534 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12535 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12536 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12537 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12538 * sysdeps/x86_64/dl-machine.h: Likewise.
12539 * tls.make.c: Likewise.
12540
3ce1f295
UD
12541 * configure.in: Remove --with-__thread option. Make tests for
12542 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12543 tls_model attribute fail if no support is available. Remove
12544 USE_IN_LIBIO.
12545 * Makeconfig: Adjust for dropped configure option. All features are
12546 now mandatory.
12547 * Makerules: Likewise.
12548 * Versions.def: Likewise.
12549 * argp/argp-fmtstream.c: Likewise.
12550 * argp/argp-fmtstream.h: Likewise.
12551 * argp/argp-help.c: Likewise.
12552 * assert/assert.c: Likewise.
12553 * config.h.in: Likewise.
12554 * config.make.in: Likewise.
12555 * configure: Likewise.
12556 * configure.in: Likewise.
12557 * csu/Versions: Likewise.
12558 * csu/init.c: Likewise.
12559 * elf/tst-audit2.c: Likewise.
12560 * elf/tst-tls10.c: Likewise.
12561 * elf/tst-tls10.h: Likewise.
12562 * elf/tst-tls11.c: Likewise.
12563 * elf/tst-tls12.c: Likewise.
12564 * elf/tst-tls14.c: Likewise.
12565 * elf/tst-tlsmod11.c: Likewise.
12566 * elf/tst-tlsmod12.c: Likewise.
12567 * elf/tst-tlsmod13.c: Likewise.
12568 * elf/tst-tlsmod13a.c: Likewise.
12569 * elf/tst-tlsmod14a.c: Likewise.
12570 * elf/tst-tlsmod15b.c: Likewise.
12571 * elf/tst-tlsmod16a.c: Likewise.
12572 * elf/tst-tlsmod16b.c: Likewise.
12573 * elf/tst-tlsmod7.c: Likewise.
12574 * elf/tst-tlsmod8.c: Likewise.
12575 * elf/tst-tlsmod9.c: Likewise.
12576 * gmon/gmon.c: Likewise.
12577 * grp/fgetgrent_r.c: Likewise.
12578 * grp/putgrent.c: Likewise.
12579 * hurd/fopenport.c: Likewise.
12580 * include/libc-symbols.h: Likewise.
12581 * include/tls.h: Likewise.
12582 * intl/gettextP.h: Likewise.
12583 * intl/loadinfo.h: Likewise.
12584 * locale/global-locale.c: Likewise.
12585 * locale/localeinfo.h: Likewise.
12586 * mach/devstream.c: Likewise.
12587 * malloc/arena.c: Likewise.
12588 * malloc/set-freeres.c: Likewise.
12589 * misc/err.c: Likewise.
12590 * misc/getttyent.c: Likewise.
12591 * misc/mntent_r.c: Likewise.
12592 * posix/getopt.c: Likewise.
12593 * posix/wordexp.c: Likewise.
12594 * pwd/fgetpwent_r.c: Likewise.
12595 * resolv/Versions: Likewise.
12596 * resolv/res_hconf.c: Likewise.
12597 * shadow/fgetspent_r.c: Likewise.
12598 * shadow/putspent.c: Likewise.
12599 * stdio-common/printf_fphex.c: Likewise.
12600 * stdio-common/tmpfile.c: Likewise.
12601 * stdlib/abort.c: Likewise.
12602 * stdlib/fmtmsg.c: Likewise.
12603 * sunrpc/auth_unix.c: Likewise.
12604 * sunrpc/clnt_perr.c: Likewise.
12605 * sunrpc/clnt_tcp.c: Likewise.
12606 * sunrpc/clnt_udp.c: Likewise.
12607 * sunrpc/clnt_unix.c: Likewise.
12608 * sunrpc/openchild.c: Likewise.
12609 * sunrpc/svc_simple.c: Likewise.
12610 * sunrpc/svc_tcp.c: Likewise.
12611 * sunrpc/svc_udp.c: Likewise.
12612 * sunrpc/svc_unix.c: Likewise.
12613 * sunrpc/xdr.c: Likewise.
12614 * sunrpc/xdr_array.c: Likewise.
12615 * sunrpc/xdr_rec.c: Likewise.
12616 * sunrpc/xdr_ref.c: Likewise.
12617 * sunrpc/xdr_stdio.c: Likewise.
12618
1248c1c4
PB
126192011-09-09 Ulrich Drepper <drepper@gmail.com>
12620
12621 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12622
126232011-07-03 Andreas Jaeger <aj@suse.de>
12624
12625 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12626 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12627 regenerate with gen-libm-tests.pl.
12628
126292010-05-12 Petr Baudis <pasky@suse.cz>
12630
12631 [BZ #11589]
12632 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12633 around j0() zero points by switching to j1().
12634 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12635 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12636 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12637 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12638
f22e1074
UD
126392011-09-09 Ulrich Drepper <drepper@gmail.com>
12640
f19009c1
UD
12641 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12642 instead of 0.
12643 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12644 instead of 0. .
12645 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12646 Patch in part by Pavel Roskin <proski@gnu.org>.
12647
3f8cc204
UD
12648 [BZ #13138]
12649 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12650 realloc.
12651 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12652 Free memory block if necessary.
12653
f22e1074
UD
12654 [BZ #12847]
12655 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12656 be NULL. Don't lock in this case.
12657
0a2349f9
RM
126582011-09-09 Roland McGrath <roland@hack.frob.com>
12659
12660 * elf/elf.h (ELFOSABI_GNU): New macro.
12661 (ELFOSABI_LINUX): Define to that.
12662
f3cdd467
DZ
126632011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12664
12665 * string/strncat.c (strncat): Undef the symbol in case it has been
12666 defined in bits/string.h.
12667
74718d13
UD
126682011-09-09 Ulrich Drepper <drepper@gmail.com>
12669
633e9e0f
UD
12670 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12671
0a2349f9 12672 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12673 link map.
12674
f9924780
AJ
126752011-08-17 Andreas Jaeger <aj@suse.de>
12676
12677 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12678
7f5517aa
PP
126792011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12680 Ian Lance Taylor <iant@google.com>
12681
12682 * math/libm-test.inc (lround_test): New testcase.
12683 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12684
762011fe
UD
126852011-09-08 Ulrich Drepper <drepper@gmail.com>
12686
92963737
UD
12687 * Makefile: Remove support for automatic cvs check-ins.
12688 * Makerules: Likewise.
12689 * config.make.in: Likewise.
12690 * configure.in: Likewise.
12691 * intl/Makefile: Likewise.
12692 * locale/Makefile: Likewise.
12693 * po/Makefile: Likewise.
12694 * posix/Makefile: Likewise.
12695 * sysdeps/gnu/Makefile: Likewise.
12696 * sysdeps/mach/hurd/Makefile: Likewise.
12697 * sysdeps/sparc/sparc32/Makefile: Likewise.
12698
b0727fd8
JS
12699 [BZ #13118]
12700 * posix/Makefile (bug-regex32-ENV): Define.
12701 Patch by John Stanley <jpsinthemix@verizon.net>.
12702
a0f33f99
UD
12703 * misc/Makefile (headers): Add bits/select2.h.
12704 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12705 * misc/bits/select2.h: New file.
12706 * include/bits/select2.h: New file.
12707 * debug/Makefile (routines): Add fdelt_chk.
12708 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12709 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12710 FD_ISSET.
12711 * debug/fdelt_chk.c: New file.
12712
762011fe
UD
12713 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12714 * wcsmbs/test-wmemcmp.c: Likewise.
12715 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12716 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12717
127182011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12719
12720 * string/Makefile (strop-tests): Add memcmp.
12721 * string/test-wmemcmp.c: New file.
12722 * string/test-memcmp.c: Add wmemcmp support.
12723
7f513ec8
RM
127242011-09-08 Roland McGrath <roland@hack.frob.com>
12725
0442afb4
RM
12726 [BZ #13153]
12727 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12728 2011-07-19 change.
12729
7f513ec8
RM
12730 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12731 garbage value in a __mach_port_mod_refs call in the cases of the
12732 task-self and thread-self ports.
12733
a12b2239
ST
127342011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12735
12736 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12737
610f9ab4
AS
127382011-09-08 Andreas Schwab <schwab@redhat.com>
12739
7f513ec8 12740 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12741
48882a1a
LD
127422011-09-07 Ulrich Drepper <drepper@gmail.com>
12743
b49865be
UD
12744 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12745
fdc86bc9
UD
12746 * elf/dl-libc.c (dlerror_run): Pass back error code from
12747 dl_catch_error.
12748
c966526a
UD
12749 [BZ #13123]
12750 * elf/dl-load.c (lose): Free l_origin if it is valid.
12751
48882a1a
LD
12752 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12753 names.
12754 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12755 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12756 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12757 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12758 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12759 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12760
77a2a8b4
AZ
127612011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12762
12763 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12764 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12765 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12766 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12767 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12768 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12769 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12770 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12771 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12772 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12773
24f579d8
AM
127742011-08-15 Alan Modra <amodra@gmail.com>
12775
12776 [BZ #13092]
12777 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12778 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12779 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12780 ppc_mcount to static-only-routines.
12781 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12782 __mcount_internal.
12783 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12784 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12785
3d4837df
UD
127862011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12787
12788 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12789 for finite and infinity parameters.
12790
22700377
WS
127912011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12792
12793 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12794 and add nop instructions for throughput optimization.
12795 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12796
5025581e
WS
127972011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12798
12799 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12800 aligned copy for power7 with vector-scalar instructions.
12801 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12802
08a300c9
L
128032011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12804
12805 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12806 AVX check.
12807
59178ef9
AS
128082011-09-07 Andreas Schwab <schwab@redhat.com>
12809
12810 [BZ #13144]
12811 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12812 last change.
12813
e38ba7ab
UD
128142011-09-07 Ulrich Drepper <drepper@gmail.com>
12815
12816 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12817 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12818 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12819 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12820 clock_gettime.
12821
d53a73ac
UD
128222011-09-06 Ulrich Drepper <drepper@gmail.com>
12823
fc8bffcc
UD
12824 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12825 Forgot to demangle the pointer.
12826
ceaa0c5d
UD
12827 * sysdeps/i386/sysdep.h: Define atom_text_section.
12828 * sysdeps/x86_64/sysdep.h: Likewise.
12829 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12830 section with atom_text_section.
12831 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12832 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12833 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12834 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12835 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12836
a77d3c17
UD
12837 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12838 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12839 already be defined. Change to take two parameters and don't assign
12840 result to variable. Adjust all users.
12841 Define INTERNAL_GETTIME if not already defined.
12842 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12843 call.
12844 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12845 HAVE_CLOCK_GETTIME_VSYSCALL.
12846 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12847
d53a73ac
UD
12848 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12849 gettimeofday vsyscall, just use time.
12850
a8f84144
AS
128512011-09-06 Andreas Schwab <schwab@redhat.com>
12852
12853 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12854 <errno.h>.
12855
ef606249
UD
128562011-09-06 Ulrich Drepper <drepper@gmail.com>
12857
12858 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12859 syscall on x86-64.
12860 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12861 syscall.
12862 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12863 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12864 syscall if possible.
12865
6585cb60
UD
128662011-09-05 Ulrich Drepper <drepper@gmail.com>
12867
12868 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12869 e_ident. Don't pass to find_mapsXX.
12870 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12871
a5f524e4
LD
128722011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12873
12874 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12875 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12876 * sysdeps/x86_64/multiarch/strchr.S: Update.
12877 Check bit_slow_BSF bit.
12878 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12879 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12880 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12881
554881ef
UD
128822011-09-05 Ulrich Drepper <drepper@gmail.com>
12883
d96de963
UD
12884 [BZ #13134]
12885 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12886 before glibc 2.15.
12887 (tryshell): Define.
12888 (__spawni): Change last parameter to be flag. Test
12889 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12890 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12891 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12892 * posix/spawni.c: Likewise.
12893 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12894 * posix/spawnp.c: Likewise. Change normal version to use
12895 SPAWN_XFLAGS_USE_PATH.
12896 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12897 SPAWN_XFLAGS_TRY_SHELL.
12898
d48e5868
UD
12899 [BZ #13150]
12900 * posix/glob.h: Remove gcc 1.x support.
12901
554881ef
UD
12902 [BZ #13068]
12903 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12904
693fb948
LD
129052011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12906
12907 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12908 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12909 strrchr-sse2-bsf
12910 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12911 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12912 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12913 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12914 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12915 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12916
1b48c537
UD
129172011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12918
49d42c37
UD
12919 * sysdeps/x86_64/wcscmp.S: New file.
12920
1b48c537
UD
12921 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12922 wcscmp-c wcscmp-sse2
12923 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12924 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12925 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12926 * wcsmbs/wcscmp.c: Allow renaming.
12927
15c95c5d
DM
129282011-09-05 David S. Miller <davem@davemloft.net>
12929
12930 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12931 stack slot, rather than the struct return pointer slot.
12932 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12933 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12935 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12936
2f0ad8f3
UD
129372011-09-05 Ulrich Drepper <drepper@gmail.com>
12938
d88ae418
UD
12939 * po/ja.po: Update from translation team.
12940
2f0ad8f3
UD
12941 [BZ #13144]
12942 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12943 kernel in 64-bit binaries.
12944
5f4318d1
DM
129452011-09-01 David S. Miller <davem@davemloft.net>
12946
12947 * elf/elf.h (HWCAP_SPARC_*): Move to..
12948 * sysdeps/sparc/sysdep.h: this new file and add new values.
12949 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12950 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12951 _DL_HWCAP_COUNT to 24.
12952 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12953 entries.
12954 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12955 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12956 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12957 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12958 instead of magic constants.
12959 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12960
3ba57516
DM
129612011-08-31 David S. Miller <davem@davemloft.net>
12962
12963 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12964 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12965 Reimplement to do errno handling inline.
12966 (SYSCALL_ERROR_HANDLER): New macro.
12967 (__SYSCALL_STRING): Do not do errno handling in asm.
12968 (__CLONE_SYSCALL_STRING): Delete.
12969 (__INTERNAL_SYSCALL_STRING): Delete.
12970 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12971 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12972 (PSEUDO): Reimplement to do errno handling inline.
12973 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12974 (SYSCALL_ERROR_HANDLER): New macro.
12975 (__SYSCALL_STRING): Do not do errno handling in asm.
12976 (__CLONE_SYSCALL_STRING): Delete.
12977 (__INTERNAL_SYSCALL_STRING): Delete.
12978 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12979 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12980 i386.
12981 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12982 (inline_syscall*): Add 'err' argument.
12983 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12984 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12985 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12986 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12987
12988 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12989 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12990
2bc17433
AS
129912011-08-30 Andreas Schwab <schwab@redhat.com>
12992
12993 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12994
fbeb5f4d
JO
129952011-08-29 Jiri Olsa <jolsa@redhat.com>
12996
12997 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12998 directive.
12999
ad69cc26
DM
130002011-08-24 David S. Miller <davem@davemloft.net>
13001
13002 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13003
39dd69df
AS
130042011-08-24 Andreas Schwab <schwab@redhat.com>
13005
13006 * elf/Makefile: Add rules to build and run unload8 test.
13007 * elf/unload8.c: New file.
13008 * elf/unload8mod1.c: New file.
13009 * elf/unload8mod1x.c: New file.
13010 * elf/unload8mod2.c: New file.
13011 * elf/unload8mod3.c: New file.
13012
13013 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13014 it wasn't used.
13015
2c0b250a
DM
130162011-08-23 David S. Miller <davem@davemloft.net>
13017
13018 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13019 subtract stack bias.
13020 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13021 %sp not %fp in calculations.
13022 (_JMPBUF_UNWINDS_ADJ): Likewise.
13023
22044b48
DM
13024 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13025 (aio_suspend): Call it to force an exception region around the
13026 AIO_MISC_WAIT() invocation.
13027
2cae4995
AS
130282011-08-23 Andreas Schwab <schwab@redhat.com>
13029
13030 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13031 backslash.
13032
873a772e
AJ
130332011-07-04 Aurelien Jarno <aurelien@aurel32.net>
13034
13035 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13036 protection macro.
13037 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13038 and <dl-machine.h>.
13039 (Elf64_FuncDesc): Remove.
13040
25ad0df1
DM
130412011-08-22 David S. Miller <davem@davemloft.net>
13042
13043 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13044 sigaltstack check, add missing cfi directives.
13045 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13046 missing cfi directives, and sigaltstack handling.
13047
e888bcbe
AS
130482011-08-16 Andreas Schwab <schwab@redhat.com>
13049
13050 [BZ #11724]
13051 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13052 object is seen twice.
13053 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13054
13055 * elf/Makefile (distribute): Add tst-initorder2.c.
13056 (tests): Add tst-initorder2.
13057 (modules-names): Add tst-initorder2a tst-initorder2b
13058 tst-initorder2c tst-initorder2d. Add rules to build them.
13059 ($(objpfx)tst-initorder2.out): New rule.
13060 * elf/tst-initorder2.c: New file.
13061 * elf/tst-initorder2.exp: New file.
13062
87162f46
AS
130632011-08-22 Andreas Schwab <schwab@redhat.com>
13064
70538b7f
AS
13065 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13066
f55ffe58
AS
13067 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13068 dependencies back to end of function.
13069
87162f46
AS
13070 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13071 $(elfobjdir)/ld.so.
13072
91b392a4
UD
130732011-08-21 Ulrich Drepper <drepper@gmail.com>
13074
13075 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13076 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13077 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13078 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13079 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13080 of __vdso_gettimeofday.
13081 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13082 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
13083 attribute_hidden.
13084 (_libc_vdso_platform_setup): Remove initialization of
13085 __vdso_gettimeofday and __vdso_time.
13086
5c43483f
UD
130872011-08-20 Ulrich Drepper <drepper@gmail.com>
13088
775a77e7
UD
13089 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13090 and fgetc_unlocked.
13091 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13092 getc_unlocked.
89f447ed 13093
49c74ba9
UD
13094 * elf/dl-open.c (add_to_global): Report additions to the global scope
13095 for LD_DEBUG=scopes.
13096 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 13097 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 13098
5c43483f
UD
13099 [BZ #13114]
13100 * stdio-common/Makefile (tests): Add bug24.
13101 * stdio-common/bug24.c: New file.
13102
a101b025
AJ
131032011-08-19 Andreas Jaeger <aj@suse.de>
13104
13105 [BZ #13114]
13106 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13107 non-existant file when using close-on-exec mode.
13108
c88f1766
UD
131092011-08-20 Ulrich Drepper <drepper@gmail.com>
13110
0276a718
UD
13111 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13112 the very first instruction.
13113
c88f1766
UD
13114 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13115 the CFI state in the end.
13116 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13117 inclusion of dl-trampoline.h.
13118 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13119
51ccffa0
AS
131202011-08-19 Andreas Schwab <schwab@redhat.com>
13121
94d7165f
AS
13122 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13123 expectations for long double.
13124
51ccffa0
AS
13125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13126 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13127
fd708658 131282011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
13129
13130 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13131 artificual limit depends upon the system page size.
13132
44f0a71e
UD
131332011-08-17 Ulrich Drepper <drepper@gmail.com>
13134
13135 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13136 * resolv/Makefile: Define CFLAGS-libresolv.
13137
8de79a24
AS
131382011-08-17 Andreas Schwab <schwab@redhat.com>
13139
13140 * nss/makedb.c (compute_tables): Make variables used in nested
13141 function static.
13142
27724598
UD
131432011-08-17 Ulrich Drepper <drepper@gmail.com>
13144
c5305d88
UD
13145 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13146 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13147 if buffer was too small.
13148
27724598
UD
13149 * elf/pldd.c (main): Attach to all threads in the process.
13150 Rewrite /proc handling to use *at functions.
13151
076fe015
UD
131522011-08-16 Ulrich Drepper <drepper@gmail.com>
13153
174baab3
UD
13154 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13155 specifies first scope to show.
13156 (dl_open_worker): Update callers. Move printing scope of new
13157 object to before the relocation.
44f0a71e 13158 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
13159 * sysdeps/generic/ldsodefs.h: Update declaration.
13160
076fe015
UD
13161 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13162 string for the scope number.
13163
a60df2c3
UD
131642011-08-14 Ulrich Drepper <drepper@gmail.com>
13165
13166 * nscd/servicescache.c (cache_addserv): Make sure written is always
13167 initialized.
13168
5e4287d1
RM
131692011-08-14 Roland McGrath <roland@hack.frob.com>
13170
85ae0589
RM
13171 * sysdeps/i386/i486/bits/atomic.h
13172 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13173 statement expression, so as to suppress "set but not used" warning.
13174 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13175
69f63097
RM
13176 * string/strncat.c (STRNCAT): Use prototype definition.
13177
675456ef
RM
13178 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13179 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13180 -Iprograms here.
13181 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13182 (localedef-modules): Add localedef.
13183 (locale-modules): Add locale.
13184
5e4287d1
RM
13185 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13186 * elf/rtld.c (dl_main): Invert order of assignment in last change,
13187 to avoid a warning.
13188
9c96ff23
DM
131892011-08-14 David S. Miller <davem@davemloft.net>
13190
13191 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13192 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13193
f9ddf089
UD
131942011-08-13 Ulrich Drepper <drepper@gmail.com>
13195
44f0a71e 13196 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
13197 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13198 * elf/rtld.c (dl_main): Set l_name of vDSO.
13199 Call _dl_show_scope when DL_DEBUG_SCOPES.
13200 (process_dl_debug): Recognize scopes flag and also set it for all.
13201 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13202 Declare _dl_show_scope.
13203
1dc27704
UD
13204 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13205 (do_dlopen): Pass caller_dlopen to dl_open.
13206 (__libc_dlopen_mode): Initialize caller_dlopen.
13207
f9ddf089
UD
13208 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13209 of libc. Make tolower call locale-independent. Optimize a bit by
13210 using isdigit instead of isalnum.
13211 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13212
9ac533d3
UD
132132011-08-12 Ulrich Drepper <drepper@gmail.com>
13214
13215 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13216 was a dependency or dynamically loaded.
13217
89edf2e9
UD
132182011-08-11 Ulrich Drepper <drepper@gmail.com>
13219
8e999d29
UD
13220 * intl/l10nflist.c: Allow architecture-specific pop function.
13221 * sysdeps/x86_64/l10nflist.c: New file.
13222
89edf2e9
UD
13223 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13224 classification.
13225
14d96785
AS
132262011-08-10 Andreas Schwab <schwab@redhat.com>
13227
13228 * include/dirent.h: Add libc_hidden_proto for scandirat and
13229 scandirat64. Don't declare __scandirat64.
13230 * dirent/scandirat.c: Add libc_hidden_def.
13231 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13232 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13233
6761ac04
DM
132342011-08-10 David S. Miller <davem@davemloft.net>
13235
13236 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
13237 enum.
13238 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13239 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13240 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13241
c55fbd1e
UD
132422011-08-09 Ulrich Drepper <drepper@gmail.com>
13243
13244 * Versions.def [libc]: Add GLIBC_2.15.
13245 * dirent/Makefile (routines): Add scandirat and scandirat64.
13246 * dirent/Versions [libc]: Export scandirat and scandirat64 for
13247 GLIBC_2.15.
13248 * dirent/dirent.h: Declare scandirat and scandirat64.
13249 * dirent/scandirat.c: New file.
13250 * dirent/scandirat64.c: New file.
13251 * sysdeps/wordsize-64/scandirat.c: New file.
13252 * sysdeps/wordsize-64/scandirat64.c: New file.
13253 * dirent/opendir.c: Define opendirat.
13254 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
13255 using scandirat.
13256 * dirent/scandir64.c: Adjust for scandir.c change.
13257 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
13258 __scandirat64, and __scandir_cancel_handler.
13259 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
13260 additional parameter and use openat instead of open (outside of ld.so).
13261 Add new __opendir as wrapper around __opendirat.
13262 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13263 here without requiring old scandirat implementation.
13264
879165f2
UD
132652011-08-08 Ulrich Drepper <drepper@gmail.com>
13266
13267 * dirent/scandir.c (cancel_handler): Renamed to
13268 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
13269 defined. Adjust users.
13270 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13271 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13272
cb7e923b
UD
132732011-08-04 Ulrich Drepper <drepper@gmail.com>
13274
16292edd
UD
13275 * string/test-string.h (IMPL): Use __STRING to expand name and then
13276 stringify it.
13277
cb7e923b
UD
13278 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
13279 of cleanups.
13280
cff82933
LD
132812011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13282
13283 * string/Makefile: Update.
13284 (strop-tests): Append strncat.
13285 * string/test-wcscmp.c: New file.
13286 New comprehensive test for wcscmp.
13287 * string/test-strcmp.c: Update.
13288 (WIDE): New define.
13289
9be9bfcc
AS
132902011-07-22 Andreas Schwab <schwab@redhat.com>
13291
13292 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13293 line.
13294
2e96f1c7
AS
132952011-07-26 Andreas Schwab <schwab@redhat.com>
13296
13297 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13298 encoding to ACE if AI_IDN.
13299
85188888
JJ
133002011-08-01 Jakub Jelinek <jakub@redhat.com>
13301
13302 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13303 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13304
5fa16e9b
LD
133052011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13306
13307 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13308 Fix overflow bug in strncat.
13309 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13310
13311 * string/test-strncat.c: Update.
13312 Add new tests for checking overflow bugs.
13313
133142011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13315
13316 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13317 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13318 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13319 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13320 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13321 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13322 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13323 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13324 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13325
13326 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13327 (USE_AS_STRCAT): Define.
13328 Add strcat and strncat support.
13329 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13330
8c1a459f
AS
133312011-07-25 Andreas Schwab <schwab@redhat.com>
13332
13333 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13334 __n bigger than INT_MAX+1.
13335 (__strncmp_g): Likewise.
13336
bba33c28
UD
133372011-07-23 Ulrich Drepper <drepper@gmail.com>
13338
798be72d
UD
13339 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13340 * libio/stido.h: Likewise.
13341
8accd4dc
UD
13342 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13343 (AF_NFC): Define.
13344 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13345 (AF_NFC): Define.
13346
cbff0d96
UD
13347 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13348 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13349 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13350 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13351 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13352
9191c04a
UD
13353 [BZ #13021]
13354 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13355 installed.
13356
bba33c28
UD
13357 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13358 typo.
13359 (_dl_x86_64_save_sse): Likewise.
13360
90f139dd
UD
133612011-07-22 Ulrich Drepper <drepper@gmail.com>
13362
1aae088a
UD
13363 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13364 OSXSAVE.
13365 (_dl_x86_64_save_sse): Likewise.
13366
8e2045f5
UD
13367 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13368
90f139dd
UD
13369 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13370
1d002f25
AS
133712011-07-21 Andreas Schwab <schwab@redhat.com>
13372
13373 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13374 change.
13375 (_dl_x86_64_save_sse): Use correct AVX check.
13376
21137f89
UD
133772011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13378
13379 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13380 bug in strncpy/strncat.
13381 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13382
a65c0b7a
UD
133832011-07-21 Ulrich Drepper <drepper@gmail.com>
13384
13385 * string/tester.c (test_strcat): Add tests for different alignments
13386 of source and destination.
13387 (test_strncat): Likewise.
13388
6986b98a
UD
133892011-07-20 Ulrich Drepper <drepper@gmail.com>
13390
90bb2039
UD
13391 [BZ #12852]
13392 * posix/glob.c (glob): Check passed in values before using them in
13393 expressions to avoid some overflows.
13394 (glob_in_dir): Likewise.
13395
5644ef54
UD
13396 [BZ #13007]
13397 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13398 check for AVX enablement so that we don't crash with old kernels and
13399 new hardware.
13400 * elf/tst-audit4.c: Add same checks here.
13401 * elf/tst-audit6.c: Likewise.
13402
13403 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 13404
bfc9dc9b
AS
134052011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13406
13407 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13408
702e64bb
UD
134092011-07-20 Ulrich Drepper <drepper@gmail.com>
13410
13411 * po/cs.po: Update from translation team.
13412 * po/bg.po: Likewise.
13413
295e904f
MP
134142011-07-12 Marek Polacek <mpolacek@redhat.com>
13415
13416 * misc/sys/cdefs.h: Add support for const attribute.
13417 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13418 to gnu_dev_{major,minor,makedev} functions.
13419
3ff94596
MP
134202011-07-20 Marek Polacek <mpolacek@redhat.com>
13421
13422 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13423
28b59fca
AS
134242011-07-20 Andreas Schwab <schwab@redhat.com>
13425
13426 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13427 strlen results.
13428
19df733e
AK
134292011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13430
13431 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13432 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13433 register in order to avoid conflicts with the soft frame pointer
13434 being held in r11 when necessary.
13435 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13436 (INTERNAL_VSYSCALL_NCS): Likewise.
13437
c8835729
MP
134382011-07-14 Marek Polacek <mpolacek@redhat.com>
13439
13440 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13441 * elf/dl-fini.c (_dl_fini): Adjust caller.
13442 * elf/dl-close.c (_dl_close_worker): Likewise.
13443 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13444
b902330c
MP
134452011-07-15 Marek Polacek <mpolacek@redhat.com>
13446
8991e135
MP
13447 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13448 "aux_cache->nlibs < 0".
13449
b902330c
MP
13450 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13451 in the reload-count case.
13452
99710781
LD
134532011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13454
13455 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13456 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13457 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13458 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13459 * sysdeps/x86_64/multiarch/strcat.S: New file.
13460 * sysdeps/x86_64/multiarch/strncat.S: New file.
13461 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13462 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13463 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13464 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13465 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13466 (USE_AS_STRCAT): Define.
13467 Add strcat and strncat support.
13468 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13469 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13470 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13471 * string/strncat.c: Update.
13472 (USE_AS_STRNCAT): Define.
13473 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13474 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13475 and i7.
13476 * sysdeps/x86_64/multiarch/init-arch.h
13477 (bit_Prefer_PMINUB_for_stringop): New.
13478 (index_Prefer_PMINUB_for_stringop): Likewise.
13479 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13480 bit_Prefer_PMINUB_for_stringop.
13481
7dc6bd90
UD
134822011-07-19 Ulrich Drepper <drepper@gmail.com>
13483
13484 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13485 buffer64.
13486 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13487 of casting of buffer.
13488 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13489 buffer32 and buffer64.
13490 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13491 writes instead of casting of buffer.
13492 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13493 buffer32.
13494 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13495 casting of buffer.
13496
e0e72284
AS
134972011-07-19 Andreas Schwab <schwab@redhat.com>
13498
13499 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13500
feb1eb0b
UD
135012011-07-19 Ulrich Drepper <drepper@gmail.com>
13502
13503 * nscd/nscd.c (termination_handler): Don't do anything for a database
13504 if it has not yet been initialized.
13505
298711ff
UD
135062011-07-18 Ulrich Drepper <drepper@gmail.com>
13507
13508 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13509
135102011-07-15 Marek Polacek <mpolacek@redhat.com>
13511
13512 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13513
f9d68389
UD
135142011-07-18 Ulrich Drepper <drepper@gmail.com>
13515
13516 * po/nl.po: Update from translation team.
13517 * po/sv.po: Likewise.
13518
db290cf5
RM
135192011-07-16 Roland McGrath <roland@hack.frob.com>
13520
13521 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13522 now disallowed by GCC.
5c550700 13523
fd5e21c7
RM
13524 * configure.in (use-default-link): Default to yes if a test -shared
13525 link meets our qualifications.
13526 * configure: Regenerated.
13527
5c550700
RM
13528 * config.make.in (output-format): New variable.
13529 * configure.in: Check for ld --print-output-format support.
13530 * configure: Regenerated.
13531 * Makerules ($(common-objpfx)format.lds)
13532 [$(output-format) != unknown]: Just use $(output-format),
13533 instead of the linker-script munging.
13534
9fa2c032
RM
135352011-07-14 Roland McGrath <roland@hack.frob.com>
13536
a6928d51
RM
13537 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13538 of $(common-objpfx)shlib.lds.
13539 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13540
661607b3
RM
13541 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13542 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13543
9fa2c032
RM
13544 * configure.in (-z relro check): Adjust test code to add a large
13545 writable data section after it.
13546 * configure: Regenerated.
13547
defe9061
RM
135482011-07-11 Roland McGrath <roland@hack.frob.com>
13549
13550 * configure.in (-z relro check): Fix test code to make the variable
13551 truly const.
13552 * configure: Regenerated.
13553
319b9ad4
UD
135542011-07-11 Ulrich Drepper <drepper@gmail.com>
13555
13556 * nscd/nscd.h (struct traced_file): Define.
13557 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13558 elements. Add traced_files.
13559 (inotify_fd): Declare.
13560 (register_traced_file): Declare.
13561 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13562 (inotify_fd): Export.
13563 (resolv_conf_descr): Remove.
13564 (nscd_init): Move inotify descriptor creation to main.
13565 Don't register files for notification here.
13566 (register_traced_file): New function.
13567 (invalidate_cache): Don't use reset_res to determine whether to call
13568 res_init, go through the list of registered files.
13569 (main_loop_poll): The inotify descriptors are now stored in the
13570 structures for the traced files.
13571 (main_loop_epoll): Likewise
13572 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13573 to __nss_disable_nscd.
13574 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13575 for a database anymore. Check the records for all the registered
13576 files instead.
13577 * nss/Makefile (libnss_files-routines): Add files-init.
13578 (libnss_db-routines): Add db-init.
13579 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13580 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13581 * nss/nss_db/db-init.c: New file.
13582 * nss/nss_files/files-init.c: New file.
13583 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13584 __nss_lookup_function.
13585 (__nss_lookup_function): Call nss_load_library.
13586 (nss_load_all_libraries): New function.
13587 (__nss_disable_nscd): Take parameter with callback function for files
13588 to register. Set is_nscd. Load all the DSOs for the NSS modules
13589 used for the cached services.
13590 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13591 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13592 options for features to all the files in nscd.
13593
13594 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13595
23bee3e8
RM
135962011-07-10 Roland McGrath <roland@hack.frob.com>
13597
13598 * csu/elf-init.c (__libc_csu_init): Comment typo.
13599
46a5b7f0
UD
136002011-07-09 Ulrich Drepper <drepper@gmail.com>
13601
13602 * po/pl.po: Update from translation team.
13603 * po/ja.po: Likewise.
13604 * po/ru.po: Likewise.
13605 * po/ko.po: Likewise.
13606 * po/fr.po: Likewise.
13607
d30cf5bb
RM
136082011-07-09 Roland McGrath <roland@hack.frob.com>
13609
113ddea4
RM
13610 * configure.in (.ctors/.dtors header and trailer check):
13611 Use an empirical test on a built program.
13612 * configure: Regenerated.
13613
574920b4
RM
13614 * configure.in (-z relro check): Use an empirical test on a built DSO.
13615 Detect, but do not require, on ia64.
13616 * configure: Regenerated.
13617
d30cf5bb
RM
13618 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13619 Update tests that use readelf to use $READELF instead.
13620 * configure: Regenerated.
13621
8538fdb3
UD
136222011-07-08 Ulrich Drepper <drepper@gmail.com>
13623
13624 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13625 if the result is not used.
13626
04d08991
AJ
136272011-07-05 Andreas Jaeger <aj@suse.de>
13628
13629 [BZ#9696]
13630 * stdlib/tst-strtod.c: Add testcase.
13631
de283087
AD
136322011-07-07 Ulrich Drepper <drepper@gmail.com>
13633
4e5f31c8 13634 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 13635 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13636 The latter has a higher limit. Take additional parameter to pass to
13637 the new function.
13638 (__pathconf): Pass file to __statfs_link_max.
13639 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13640 __statfs_link_max.
13641 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13642 __statfs_link_max.
13643
de283087
AD
13644 [BZ #12868]
13645 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13646 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13647 Handle Lustre.
13648 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13649 (__statfs_filesize_max): Likewise.
13650 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13651
c75fa153
AJ
136522011-07-05 Andreas Jaeger <aj@suse.de>
13653
13654 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13655
1a544854
UD
136562011-07-06 Marek Polacek <mpolacek@redhat.com>
13657
13658 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13659 `status' variable.
13660 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13661 Likewise.
13662
6f0eec67
UD
136632011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13664
13665 * Makefile (strop-tests): Add strncat.
13666 * string/test-strncat.c: New file.
13667
aae30307
UD
136682011-06-30 Marek Polacek <mpolacek@redhat.com>
13669
13670 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13671
c0cfb5eb
UD
136722011-06-21 Andreas Jaeger <aj@suse.de>
13673
13674 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13675 Copy rule from iconvdata/Makefile.
13676
01636b21
UD
136772011-07-06 Ulrich Drepper <drepper@gmail.com>
13678
13679 [BZ #12922]
13680 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13681 but no long options are defined, just return 'W'.
13682
9895c8bc
UD
136832011-06-22 Marek Polacek <mpolacek@redhat.com>
13684
13685 [BZ #9696]
13686 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13687
5d4cf042
UD
136882011-07-06 Ulrich Drepper <drepper@gmail.com>
13689
13690 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13691 netgroups to read.
960e5535 13692 (innetgr): Likewise.
5d4cf042 13693
751eb97e
RM
136942011-07-05 Roland McGrath <roland@hack.frob.com>
13695
13696 * config.make.in (install_root): Default to $(DESTDIR).
13697
f15f1e45
UD
136982011-07-05 Ulrich Drepper <drepper@gmail.com>
13699
13700 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13701
4e34ac6a
RM
137022011-07-02 Roland McGrath <roland@hack.frob.com>
13703
5e9b6af4
RM
13704 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13705
84f9ea0f
RM
13706 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13707 containing directory rather than embedding absolute directory names.
13708
ea5ee9f7
RM
13709 * scripts/check-local-headers.sh: Rewritten using awk.
13710 Match by word, not by line. Print error messages for matches.
13711 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13712
1b74661a
RM
13713 * Makerules [shlib-lds-flags empty]:
13714 ($(common-objpfx)libc_pic.opts): New target.
13715 ($(common-objpfx)libc_pic.os.clean): New target.
13716 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13717
13718 * config.make.in (OBJCOPY): New variable.
13719 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13720 * configure: Regenerated.
13721
f781ef40
RM
13722 * config.make.in (use-default-link): New variable.
13723 * configure.in (use_default_link): Grok --with-default-link to set it.
13724 * configure: Regenerated.
13725 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13726 (shlib-lds, shlib-lds-flags): Define to empty.
13727
2d4fa81e
RM
13728 * Makerules (shlib-lds): New variable.
13729 (shlib-lds-flags): New variable.
13730 (build-shlib, build-moduile, build-module-asneeded): Use it.
13731 ($(common-objpfx)libc.so): Use $(shlib-lds).
13732 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13733 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13734
31fffa6b
RM
13735 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13736 DT_FLAGS/DT_FLAGS_1 with zero flags.
13737
4e34ac6a
RM
13738 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13739 linker script munging.
13740
fcfc776b
UD
137412011-07-02 Ulrich Drepper <drepper@gmail.com>
13742
13743 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13744 as 128-bit value.
13745 * crypt/sha512.c (sha512_process_block): Perform total addition using
13746 128-bit if possible.
13747 (__sha512_finish_ctx): Likewise.
13748 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13749 as 64-bit value.
13750 * crypt/sha256.c (SWAP64): Define.
13751 (sha256_process_block): Perform total addition using 64-bit if
13752 possible.
13753 (__sha256_finish_ctx): Likewise.
13754
99231d9a
UD
137552011-07-01 Ulrich Drepper <drepper@gmail.com>
13756
13757 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13758 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13759 * nscd/hstcache.c (cache_addhst): Likewise.
13760 * nscd/grpcache.c (cache_addgr): Likewise.
13761 * nscd/aicache.c (addhstaiX): Likewise
13762 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13763
445b4a53
TK
137642011-07-01 Thorsten Kukuk <kukuk@suse.de>
13765
13766 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13767 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13768 * nscd/hstcache.c (cache_addhst): Likewise.
13769 * nscd/grpcache.c (cache_addgr): Likewise.
13770 * nscd/aicache.c (addhstaiX): Likewise
13771
6d4d8e8e
AS
137722011-07-01 Andreas Schwab <schwab@redhat.com>
13773
13774 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13775 domain only when needed.
13776
89f654c5
AS
137772011-06-30 Andreas Schwab <schwab@redhat.com>
13778
13779 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13780 is always restored.
13781
cf3b23ff
UD
137822011-06-29 Ulrich Drepper <drepper@gmail.com>
13783
13784 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13785 are re-adding the entry.
13786 * nscd/servicescache.c (cache_addserv): Likewise.
13787
751626f9
AJ
137882011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13789
13790 * sysdeps/generic/dl-irel.h: fix protection against multiple
13791 inclusions.
13792 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13793
9113ea1f
UD
137942011-06-28 Ulrich Drepper <drepper@gmail.com>
13795
5c0b8d90
UD
13796 [BZ #12935]
13797 * malloc/memusage.sh: Fix quoting in message.
13798 * debug/xtrace.sh: Likewise.
13799
9113ea1f
UD
13800 * configure.in: Remove support for --experimental-malloc option, make
13801 it the default.
13802 * config.make.in: Likewise.
13803 * malloc/Makefile: Likewise.
13804
a4172181
AS
138052011-06-27 Andreas Schwab <schwab@redhat.com>
13806
13807 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13808 two-byte characters.
13809
78a7eee7
RM
138102011-06-27 Roland McGrath <roland@hack.frob.com>
13811
62bede13
RM
13812 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13813 AC_CACHE_CHECK invocation.
13814 * configure: Regenerated.
13815
78a7eee7
RM
13816 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13817
5ce33a62
UD
138182011-06-27 Ulrich Drepper <drepper@gmail.com>
13819
034807a9
UD
13820 [BZ #12350]
13821 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13822 bit from old_res_options.
13823
4902da17
UD
13824 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13825
5ce33a62
UD
13826 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13827 value type for setfct.
13828
c2344f56
L
138292011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13830
13831 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13832 __gettimeofday instead of gettimeofday.
13833
68468076
UD
138342011-06-26 Ulrich Drepper <drepper@gmail.com>
13835
13836 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13837
acb0d739
L
138382011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13839
13840 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13841
13842 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13843 info.
13844
8912479f
L
138452011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13846
13847 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13848 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13849 strcpy-sse2-unaligned strncpy-sse2-unaligned
13850 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13851 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13852 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13853 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13854 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13855 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13856 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13857 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13858 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13859 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13860 (STRCPY): Support SSE2 and SSSE3 versions.
13861
d5495a11
UD
138622011-06-24 Ulrich Drepper <drepper@gmail.com>
13863
13864 [BZ #12874]
13865 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13866 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13867 kernels which artificially limit size of requests.
13868
0b1cbaae
L
138692011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13870
13871 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13872 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13873 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13874 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13875 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13876 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13877 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13878 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13879 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13880 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13881 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13882 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13883 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13884 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13885 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13886 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13887 Enable unaligned load optimization for Intel Core i3, i5 and i7
13888 processors.
13889 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13890 Define.
13891 (index_Fast_Unaligned_Load): Define.
13892 (HAS_FAST_UNALIGNED_LOAD): Define.
13893
07f494a0
MP
138942011-06-23 Marek Polacek <mpolacek@redhat.com>
13895
13896 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13897
fa3fc0fe
UD
138982011-06-22 Ulrich Drepper <drepper@gmail.com>
13899
13900 [BZ #12907]
13901 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13902 until it is clear that the information is realy needed.
13903 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13904
e12df166
AS
139052011-06-22 Andreas Schwab <schwab@redhat.com>
13906
13907 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13908
852eb34d
UD
139092011-06-22 Ulrich Drepper <drepper@gmail.com>
13910
84e2a551
UD
13911 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13912 /sys/devices/system/cpu/online if it is usable.
13913
852eb34d
UD
13914 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13915 reading the information from the /proc filesystem to once a second.
13916
6e502e19
UD
139172011-06-21 Andreas Jaeger <aj@suse.de>
13918
13919 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13920 NULL after inclusion of kernel headers.
13921
75d39ff2
UD
139222011-06-21 Ulrich Drepper <drepper@gmail.com>
13923
51f9aa6a
UD
13924 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13925 calls to internal_setent.
13926
c0244a9d
UD
13927 [BZ #12885]
13928 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13929 addresses using gethostbyname4_r ignore IPv4 addresses.
13930
c5e3c2ae
UD
13931 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13932 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13933
75d39ff2
UD
13934 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13935
42675c6f
DM
139362011-06-20 David S. Miller <davem@davemloft.net>
13937
13938 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13939 inclusions.
13940 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13941
13942 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13943 (elf_irel): Use it.
13944 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13945 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13946 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13947 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13948 * sysdeps/x86_64/dl-irel.h: Likewise.
13949
13950 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13951 * elf/dl-sym.c: Likewise.
13952
57912a71
UD
139532011-06-15 Ulrich Drepper <drepper@gmail.com>
13954
13955 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13956 need to dereference resplen2.
13957
ee22793d
AS
139582011-06-14 Andreas Schwab <schwab@redhat.com>
13959
13960 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13961
a9e836b0
UD
139622011-06-15 Ulrich Drepper <drepper@gmail.com>
13963
77fb9117
UD
13964 * Makeconfig: Define vardbdir and inst_vardbdir.
13965 * nss/Makefile: Add rules to install db-Makefile.
13966
40c1b22c
UD
13967 * nss/nss_db/db-XXX.c: Cleanup.
13968
9f2da732
UD
13969 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13970 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13971 GLIBC_PRIVATE.
13972 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13973 * nss/makedb.c: Implement -g option to specify that value strings
13974 are generated and should not be added to table iterated over for
13975 get*ent calls.
13976 * nss/nss_db/db-initgroups.c: New file.
13977
82e9a1f7
UD
13978 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13979 interface.
13980
c41af17e
UD
13981 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13982 (internal_getgrouplist): Adjust to name change.
13983 Update use_initgroups_entry if this is not the first call.
13984 * nss/databases.def: Add initgroups entry.
13985
a9e836b0
UD
13986 * nss/makedb.c (compute_tables): Check result of multiple hash table
13987 sizes to minimize maximum chain length.
13988
2666d441
UD
139892011-06-14 Ulrich Drepper <drepper@gmail.com>
13990
13991 * Versions.def: Add entry for libnss_db.
13992 * shlib-versions: Likewise.
13993 * nss/Makefile: Add rules to build libnss_db.
13994 * nss/Versions: Add libnss_db information. Organize libnss_files
13995 entries better.
13996 * nss/db-Makefile: Add gshadow support. Change rules for the new
13997 makedb progra. Some minor improvements to generate smaller files.
13998 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13999 here from...
14000 * nss/makedb.c: ...here.
14001 Improve database format to be smaller and require less memory at
14002 runtime.
14003 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14004 db anymore.
14005 * nss/nss_db/db-netgrp.c: Likewise.
14006 * nss/nss_db/db-open.c: Likewise.
14007 * nss/nss_files/flies-XXX.x: Adjust comments.
14008 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14009 * nss/nss_files/files-grp.c: Likewise.
14010 * nss/nss_files/files-hosts.c: Likewise.
14011 * nss/nss_files/files-network.c: Likewise.
14012 * nss/nss_files/files-proto.c: Likewise.
14013 * nss/nss_files/files-pwd.c: Likewise.
14014 * nss/nss_files/files-rpc.c: Likewise.
14015 * nss/nss_files/files-service.c: Likewise.
14016 * nss/nss_files/files-sgrp.c: Likewise.
14017 * nss/nss_files/files-spwd.c: Likewise.
14018 * nss/nss_db/db-alias.c: Removed.
14019 * nss/nss_db/dummy-db.h: Removed.
14020
9ee76b5a
UD
140212011-06-02 Ulrich Drepper <drepper@gmail.com>
14022
14023 * nss/makedb.c: Rewritten to not use database library.
14024 * nss/Makefile: Update to build new makedb program.
14025
c71ca1f8
AJ
140262011-06-14 Andreas Jaeger <aj@suse.de>
14027
14028 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14029 memset declaration.
14030
3154bfb8
UD
140312011-06-10 Andreas Schwab <schwab@redhat.com>
14032
14033 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14034 tmpbuf.
14035
b350afab
RM
140362011-06-10 Roland McGrath <roland@hack.frob.com>
14037
decd4e50
RM
14038 * Makerules (shlib.lds): Fail if the linker script comes out empty.
14039 * elf/Makefile ($(objpfx)ld.so): Likewise.
14040
5615eaf2
RM
14041 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14042 Don't list ld.so twice in dependencies.
14043
14044 * posix/bug-regex31.c: Include <stdlib.h>.
14045
14046 * nscd/hstcache.c (cache_addhst): Remove unused variable.
14047
14048 * nis/nss_compat/compat-spwd.c
14049 (getspent_next_nss_netgr): Remove unused variable.
14050 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14051
14052 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14053 nonmembers" output to use the right array.
14054
14055 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14056
14057 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14058
14059 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14060 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14061 * catgets/gencat.c (read_input_file): Likewise.
14062 * locale/programs/locarchive.c (enlarge_archive): Likewise.
14063
14064 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14065 variable definition inside #if's controlling its use.
14066
14067 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14068
14069 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14070
14071 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14072
14073 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14074 unreachable code.
14075
14076 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14077
b68e08db
RM
14078 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14079 * configure: Regenerated.
14080
b350afab
RM
14081 * Makerules: Revert last change.
14082 * elf/Makefile: Likewise.
14083
28368601
RM
140842011-06-09 Roland McGrath <roland@hack.frob.com>
14085
14086 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14087 * elf/Makefile ($(objpfx)librtld.os): Likewise.
14088 (reloc-link): Likewise.
14089
11988f8f
UD
140902011-06-09 Ulrich Drepper <drepper@gmail.com>
14091
14092 * elf/Makefile: Add rules to build pldd.
14093 * elf/pldd.c: New file.
14094 * elf/pldd-xx.c: New file.
14095
e80fab37
UD
140962011-06-07 Ulrich Drepper <drepper@gmail.com>
14097
14098 * version.h: Update for 2.15 development version.
14099
9b849836
DM
141002011-06-07 David S. Miller <davem@davemloft.net>
14101
14102 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14103 ifuncs.
14104 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14105 elf_machine_lazy_rel): Likewise.
14106 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14107 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14108 elf_machine_lazy_rel): Likewise.
14109 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14110 dl_hwcap via passed in argument.
14111 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14112 Likewise.
14113
5a31b283
AK
141142011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14115
14116 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
14117
069e52f8
RM
141182011-06-06 Roland McGrath <roland@hack.frob.com>
14119
14120 [BZ #12849]
14121 * manual/fdl-1.1.texi: New file, verbatim from:
14122 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14123 * manual/lgpl-2.1.texi: New file, verbatim from:
14124 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14125 * manual/Makefile (licenses): New variable, list those new file names.
14126 (texis): Use it.
14127 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14128
14129 * manual/fdl.texi: File removed.
14130 * manual/lesser.texi: File removed.
14131 * manual/libc.texinfo (Copying, Documentation License):
14132 Use new @include file names, put @appendix directive before @include.
14133
f16846a5
JJ
141342011-06-04 Jakub Jelinek <jakub@redhat.com>
14135
14136 [BZ #12841]
14137 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14138 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14139 (mq_open): Add __NTH.
14140
3d29045b
L
141412011-06-02 H.J. Lu <hongjiu.lu@intel.com>
14142
14143 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14144 Assume Intel Core i3/i5/i7 processor if AVX is available.
14145
8c297311
UD
141462011-05-31 Ulrich Drepper <drepper@gmail.com>
14147
14148 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14149 typo.
14150
c8fc0c91
UD
141512011-05-31 Andreas Schwab <schwab@redhat.com>
14152
14153 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14154 memory. Use alloca_account. Fix memory leak when retrying.
14155
5b27a807
UD
141562011-05-31 Ulrich Drepper <drepper@gmail.com>
14157
356f8bc6
UD
14158 * version.h (RELEASE): Bump for 2.14 release.
14159 * include/features.h (__GLIBC_MINOR__): Bump to 14.
14160
5b27a807
UD
14161 * config.make.in (RANLIB): Remove entry.
14162
01f16ab0
UD
141632011-05-30 Ulrich Drepper <drepper@gmail.com>
14164
41fce8bd
UD
14165 * po/Makefile (po-sed-cmd): Add ksh to extensions.
14166 (libc.pot): Work around missing support for .ksh extension in xgettext.
14167
4769ae77
UD
14168 [BZ #12684]
14169 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14170 if both request failed.
14171 (send_dg): In case of server errors clear resplen or *resplen2.
14172
6b1e7d19
UD
14173 [BZ #12454]
14174 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14175 when there are multiple maps.
14176 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14177 (_dl_fini): Remove test here.
14178
01f16ab0
UD
14179 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14180
b1ebd700
UD
141812011-05-29 Ulrich Drepper <drepper@gmail.com>
14182
7ae22829
UD
14183 [BZ #12350]
14184 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14185 bit from old_res_options.
14186 (gaih_inet): Likewise.
14187
553149f6 14188 [BZ #11099]
18a84741 14189 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
14190 as signed.
14191
652ffab1
UD
14192 * resolv/res_init.c (res_setoptions): Make the code more compact.
14193
16985fd0
UD
14194 [BZ #11558]
14195 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14196 set RES_USEVC.
14197
0464f746
UD
14198 [BZ #11634]
14199 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14200
7d17596c
UD
14201 * malloc/malloc.h: Mark malloc hook variables as deprecated.
14202
cf6bbbd7
UD
14203 [BZ #11781]
14204 * malloc/malloc.h: Declare malloc hook variables as volatile.
14205
13f1ab36
UD
14206 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14207 in last patch.
14208
b1ebd700
UD
14209 [BZ #11799]
14210 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 14211 raise in the comment.
80e2212d
UD
14212 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14213 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14214 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 14215
ce67228d
UD
142162011-05-28 Ulrich Drepper <drepper@gmail.com>
14217
8887a920
UD
14218 [BZ #12811]
14219 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14220 grow the buffers more if it already has to be sufficient.
14221 (build_wcs_upper_buffer): Likewise.
14222 * posix/regexec.c (check_matching): Likewise.
14223 (clean_state_log_if_needed): Likewise.
14224 (extend_buffers): Don't enlarge buffers beyond size of the input
14225 buffer.
14226 Patches mostly by Emil Wojak <emil@wojak.eu>.
14227 * posix/bug-regex32.c: New file.
14228 * posix/Makefile (tests): Add bug-regex32.
14229
4f031072
UD
14230 * locale/findlocale.c (_nl_find_locale): Return right away if
14231 _nl_explode_name failed.
14232 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14233
d0478f0c
UD
14234 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14235
de81b246
UD
14236 * debug/xtrace.sh: Unify messages.
14237 * malloc/memusage.sh: Likewise.
14238
c738465a
UD
14239 [BZ #12813]
14240 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
14241 time symbol from vDSO. Substitute with vsyscall if not available.
14242 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
14243 __vdso_time.
14244
f1f929d7
UD
14245 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14246 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14247 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14248 Add sendmmsg and internal_sendmmsg.
14249 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14250 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14251 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14252
ce67228d
UD
14253 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14254 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14255 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14256
e57420c6
UD
142572011-05-27 Ulrich Drepper <drepper@gmail.com>
14258
a8509ca5
UD
14259 [BZ #12813]
14260 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
14261 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
14262 available.
14263 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14264 __vdso_getcpu.
14265
e57420c6
UD
14266 [BZ #12814]
14267 * iconvdata/Makefile (tests): Add bug-iconv9.
14268 * iconvdata/bug-iconv9.c: New file.
14269
4d07db15
AS
142702011-05-27 Andreas Schwab <schwab@redhat.com>
14271
14272 [BZ #12814]
14273 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14274
ea486f69
JJ
142752011-05-25 Jakub Jelinek <jakub@redhat.com>
14276
14277 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14278 (struct user_regs_struct): Change intcs field back to cs.
14279
6f038433
UD
142802011-05-25 Ulrich Drepper <drepper@gmail.com>
14281
14282 * po/ja.po: Update from translation team.
14283
67f86a25
UD
142842011-05-23 Ulrich Drepper <drepper@gmail.com>
14285
14286 [BZ #12795]
14287 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14288 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14289
def7fbd6
AS
142902011-05-20 Andreas Schwab <schwab@redhat.com>
14291
14292 * stdlib/longlong.h: Update from GCC.
14293
f50ef8f1
AS
142942011-05-23 Andreas Schwab <schwab@redhat.com>
14295
14296 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14297 parameter name.
14298 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14299 Add parameter name.
14300 (__sysconf): Pass it down.
14301
de7ce8f1
UD
143022011-05-22 Ulrich Drepper <drepper@gmail.com>
14303
f2962a71
UD
14304 [BZ #12671]
14305 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14306 some situations.
14307 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14308 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14309 add in in __libc_use_alloca calls. Adjust callers.
14310 (glob): Use malloc in some situations.
14311
de7ce8f1
UD
14312 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14313 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14314 pltexit.
14315
aec84f53
UD
143162011-05-21 Ulrich Drepper <drepper@gmail.com>
14317
05bb4a68
UD
14318 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14319 and CLOCK_BOOTTIME_ALARM.
14320
7ea72f99
UD
14321 [BZ #12782]
14322 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14323 is returned.
14324
7e4afad5
UD
14325 * string/_strerror.c (__strerror_r): Print negative errors as signed
14326 numbers.
14327
8e211fec
UD
14328 [BZ #12777]
14329 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14330 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14331 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14332
f7d82dc9
UD
14333 * configure.in: Fix typo in redirection and correct removal of test
14334 files in two cases.
14335
cc9e536d
UD
14336 [BZ #12788]
14337 * locale/setlocale.c (new_composite_name): Fix test to check for
14338 identical name of all categories.
14339
aec84f53
UD
14340 [BZ #12792]
14341 * libio/filedoalloc.c (local_isatty): New function.
14342 (_IO_file_doallocate): Use local_isatty.
14343 * stdio-common/perror.c (perror): In case a new stream is used
14344 forward the stream error.
14345 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14346 error flag.
14347
78e64fdc
RT
143482011-05-20 Ulrich Drepper <drepper@gmail.com>
14349
34a9094f
UD
14350 [BZ #11869]
14351 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14352 alloca.
14353 * include/alloca.h (extend_alloca_account): Define.
14354
78e64fdc
RT
14355 [BZ #11857]
14356 * posix/regex.h: Fix comments with documentation of user-accessible
14357 fields after compilation and describe correct free'ing of pattern
14358 after re_compile_pattern.
14359 Patch by Reuben Thomas <rrt@sc3d.org>.
14360
457bddfc
RA
143612011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14362
14363 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14364 and -mno-altivec to prevent the compiler from using Altivec and/or
14365 VSX instructions when the corresponding registers are not available.
14366
a4527b51
AS
143672011-05-19 Andreas Schwab <schwab@redhat.com>
14368
14369 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14370
ed690b2f
UD
143712011-05-19 Ulrich Drepper <drepper@gmail.com>
14372
14373 * libio/freopen.c (freopen): Use __dup2, not dup2.
14374 * libio/freopen64.c (freopen64): Likewise.
14375
8db73634
L
143762011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14377
14378 [BZ #12775]
14379 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14380 * math/Makefile (tests): Add test-powl.
14381 (CFLAGS-test-powl.c): Define.
14382 * math/test-powl.c: New file.
14383
0a197a9d
L
143842011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14385
14386 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14387
ee30c380
UD
143882011-05-17 Ulrich Drepper <drepper@gmail.com>
14389
14390 [BZ #11837]
14391 * iconvdata/gb18030.c: Update to GB18020-2005.
14392
6ce75379
UD
143932011-05-16 Ulrich Drepper <drepper@gmail.com>
14394
a4b89fd8
AR
14395 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14396 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14397 Patch by Aharon Robbins <arnold@skeeve.com>.
14398
ea389b12
UD
14399 [BZ #11892]
14400 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14401 on the stack.
14402
68a3f91f
UD
14403 [BZ #11895]
14404 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14405 through underflows.
14406
15cc7dd1
UD
14407 [BZ #12766]
14408 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14409 point to strings before performing equality test for error_one_per_line
14410 mode.
14411
f3799213
UD
14412 [BZ #11697]
14413 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14414
d79a9c94
UD
14415 [BZ #11820]
14416 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14417 (struct user_fpregs_struct): Avoid __uint*_t types.
14418
56e5eb46
UD
14419 [BZ #6420]
14420 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14421 symbol info. Use it instead of calling _dl_addr locally.
14422 (lock_and_info): New function.
14423 (tr_freehook): Call lock_and_info and pass symbol info as additional
14424 parameter to tr_where.
14425 (tr_mallochook): Likewise.
14426 (tr_reallochook): Likewise.
14427 (tr_memalignhook): Likewise.
14428
6ce75379
UD
14429 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14430 used and couldn't be at all thread-safe.
14431
f8a3b5bf
UD
144322011-05-15 Ulrich Drepper <drepper@gmail.com>
14433
94b7cc37
UD
14434 * libio/freopen.c (freopen): Don't close old file descriptor
14435 before the new one is opened. Instead dup the new file descriptor
14436 to the old one after the new stream is created.
14437 * libio/freopen64.c (freopen64): Likewise.
14438 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14439 * libio/fileops.c (_IO_new_file_close_it): Handle new
14440 _IO_FLAGS2_NOCLOSE flag.
14441 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14442 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14443 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14444 _IO_FLAGS2_NOCLOSE flag.
14445 * include/unistd.h: Add hidden_proto for dup3.
14446 Define __have_dup3.
14447 * io/dup3.c: Define hidden symbol.
14448 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14449
bd25564e
UD
14450 [BZ #7101]
14451 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14452 when an incomplete long option is used.
14453 * posix/tst-getopt_long1.c: New file.
14454 * posix/Makefile (tests): Add tst-getopt_long1.
14455
c84cfef4
UD
14456 [BZ #10138]
14457 * scripts/config.guess: Update from autoconf-2.68.
14458 * scripts/config.sub: Likewise.
14459
3b85df27
UD
14460 [BZ #10157]
14461 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14462 tests into ...
14463 (has_cpuclock): ...this. New function.
14464 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14465 macro here based on has_cpuclock code.
14466
15a856b1
UD
14467 [BZ #10149]
14468 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14469 First byte (not low byte) is now always NUL.
14470 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14471
05f399e6
UD
14472 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14473 Use non-cancelable interfaces.
14474
10a52685 14475 [BZ #9809]
94ecc67d
UD
14476 * locale/iso-639.def: Add entry for Sorani.
14477
f8a3b5bf
UD
14478 [BZ #11901]
14479 * include/stdlib.h: Move include protection to the right place.
14480 Define abort_msg_s. Declare __abort_msg with it.
14481 * stdlib/abort.c (__abort_msg): Adjust type.
14482 * assert/assert.c (__assert_fail_base): New function. Majority
14483 of code from __assert_fail. Allocate memory for __abort_msg with
14484 mmap.
14485 (__assert_fail): Now call __assert_fail_base.
14486 * assert/assert-perr.c: Remove bulk of implementation. Use
14487 __assert_fail_base.
14488 * include/assert.hL Declare __assert_fail_base.
14489 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14490 mmap.
14491 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14492
1af4e298
UD
144932011-05-14 Ulrich Drepper <drepper@gmail.com>
14494
f8a3b5bf 14495 [BZ #11952]
d26dfc60
MG
14496 [BZ #12453]
14497 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14498 until all modules are registered in the DTV.
14499 * elf/Makefile: Add rules to build and run tst-tls19.
14500 * elf/tst-tls19.c: New file.
14501 * elf/tst-tls19mod1.c: New file.
14502 * elf/tst-tls19mod2.c: New file.
14503 * elf/tst-tls19mod3.c: New file.
14504 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14505
2fc54d6f
UD
14506 [BZ #12083]
14507 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14508 correctly.
14509
98d76b46
UD
14510 [BZ #12601]
14511 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14512 two-byte sequence errors.
14513 * iconvdata/Makefile (tests): Add bug-iconv8.
14514 * iconvdata/bug-iconv8.c: New file.
14515
da3c19ef
UD
14516 [BZ #12626]
14517 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14518 buf2 definition.
14519
ca408c15
UD
14520 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14521
d6f67f7d
UD
14522 [BZ #12432]
14523 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14524 (dummy_getcfa): New function.
14525 (init): Get _Unwind_GetCFA address, use dummy if not found.
14526 (backtrace_helper): In recursion check, also check whether CFA changes.
14527 (__backtrace): Completely initialize arg.
14528
1af4e298 14529 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
14530 storing incomplete byte sequence in state object. Avoid testing for
14531 guaranteed too small input if we know there is enough data available.
1af4e298 14532
da62f81b
AS
145332011-05-11 Andreas Schwab <schwab@redhat.com>
14534
14535 * Makeconfig (+link-pie): Indent.
14536 * Rules (binaries-pie): Define if $(have-fpie) and
14537 $(build-shared).
14538 (binaries-shared): Also filter out $(binaries-pie).
14539 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14540 * nscd/Makefile (others-pie): Add nscd.
14541 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14542 ($(objpfx)nscd): Remove command override.
14543 * login/Makefile (others-pie): Add pt_chown.
14544 ($(objpfx)pt_chown): Remove command override.
14545 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14546 remove command overrides.
14547
fcabc0f8
UD
145482011-05-13 Ulrich Drepper <drepper@gmail.com>
14549
20030ae6
UD
14550 * libio/tst_putwc.c: Fix error messages.
14551
fcabc0f8
UD
14552 [BZ #12724]
14553 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14554 currently writing and seek to current position when not.
14555 * libio/Makefile (tests): Add bug-fclose1.
14556 * libio/bug-fclose1.c: New file.
14557
320a5dc0
PB
145582011-05-12 Ulrich Drepper <drepper@gmail.com>
14559
14560 [BZ #12511]
14561 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14562 don't set DF_1_NODELETE here.
14563 (do_lookup_x): When entering new entry test for copy relocation
14564 and if necessary set DF_1_NODELETE flag.
14565 * elf/tst-unique4.cc: New file.
14566 * elf/tst-unique4.h: New file.
14567 * elf/tst-unique4lib.cc: New file.
14568 * elf/Makefile: Add rules to build and run tst-unique4.
14569 Patch by Piotr Bury <pbury@goahead.com>.
14570
22836f52
UD
145712011-05-11 Ulrich Drepper <drepper@gmail.com>
14572
f574184a
UD
14573 [BZ #12052]
14574 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14575
e1fb097f
UD
14576 [BZ #12625]
14577 * misc/mntent_r.c (addmntent): Flush the stream after the output
14578
22836f52
UD
14579 [BZ #12393]
14580 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14581 (is_trusted_path_normalize): Skip initial colon. Append slash
14582 to empty buffer. Duplicate is_trusted_path code but allow
14583 constructed patch to be prefix.
14584 (is_dst): Allow $ORIGIN followed by /.
14585 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14586 Correct testing of result of is_trusted_path_normalize
14587 (decompose_rpath): Fix warning.
14588
7b3b0b2a
UD
145892011-05-10 Ulrich Drepper <drepper@gmail.com>
14590
14591 [BZ #11257]
14592 * grp/initgroups.c (internal_getgrouplist): When we found the service
14593 list through the initgroups entry in nsswitch.conf do not always
14594 continue on a successful lookup. Don't always use the
eac80ce2 14595 __nss_group_database value if it is set.
7b3b0b2a
UD
14596 * nss/nsswitch.conf (initgroups): Change action for successful db
14597 lookup to continue for compatibility.
14598
2a81eaa5
UD
145992011-05-09 Ulrich Drepper <drepper@gmail.com>
14600
be97a69e
UD
14601 [BZ #11532]
14602 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14603 and CP774 modules.
14604 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14605 and CP774 modules.
14606 * iconvdata/tst-tables.sh: Likewise.
14607 * iconvdata/cp770.c: New file.
14608 * iconvdata/cp771.c: New file.
14609 * iconvdata/cp772.c: New file.
14610 * iconvdata/cp773.c: New file.
14611 * iconvdata/cp774.c: New file.
14612 * iconvdata/testdata/CP770: New file.
14613 * iconvdata/testdata/CP770..UTF8: New file.
14614 * iconvdata/testdata/CP771: New file.
14615 * iconvdata/testdata/CP771..UTF8: New file.
14616 * iconvdata/testdata/CP772: New file.
14617 * iconvdata/testdata/CP772..UTF8: New file.
14618 * iconvdata/testdata/CP773: New file.
14619 * iconvdata/testdata/CP773..UTF8: New file.
14620 * iconvdata/testdata/CP774: New file.
14621 * iconvdata/testdata/CP774..UTF8: New file.
14622
14623 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14624 END CHARMAP line.
14625 * iconvdata/gen-8bit-gap.sh: Likewise.
14626 * iconvdata/gen-8bit.sh: Likewise.
14627
c1e9e399
UD
14628 * locale/iso-639.def: Add ary entry.
14629
24c55fb3 14630 [BZ #11258]
96b4b1b0
UD
14631 * locale/C-translit.h.in: Add U20A1 transliteration.
14632
bdc2f971
KB
14633 [BZ #12178]
14634 * locale/iso-639.def: Add wae entry.
14635 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14636
2952b117
UD
14637 [BZ #12545]
14638 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14639 for n.
14640
2a81eaa5
UD
14641 [BZ #12711]
14642 * locale/C-translit.h.in: Add entry for U20B9.
14643 Patch by pravin.d.s@gmail.com.
14644
28377d1b
UD
146452011-05-08 Ulrich Drepper <drepper@gmail.com>
14646
7fb90fb8
UD
14647 [BZ #12713]
14648 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14649 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14650 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14651 in rtld. Use *stat64.
7fb90fb8 14652 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14653 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14654 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14655 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14656 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14657 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14658 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14659 __fstatat64 macros.
7fb90fb8
UD
14660 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14661 * dirent/rewinddir.c: Add libc_hidden_def.
14662 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14663 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14664
28377d1b
UD
14665 * include/dirent.h (__alloc_dir): Add flags parameter.
14666 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14667 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14668 __alloc_dir.
14669 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14670 from fdopendir if O_CLOEXEC is already set.
14671
66bdbaa4
AM
146722011-03-15 Alan Modra <amodra@gmail.com>
14673
14674 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14675 l_tls_firstbyte_offset non-zero. Save padding offset in
14676 l_tls_firstbyte_offset for later use.
14677 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14678 freeing static tls block.
14679
95721191
JN
146802011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14681
14682 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14683 where #ifdef was intended. The intent is to prevent ARG_MAX from
14684 being defined by the kernel headers.
14685
f87dfb1f
UD
146862011-05-07 Ulrich Drepper <drepper@gmail.com>
14687
14688 [BZ #12734]
14689 * resolv/resolv.h: Define RES_NOTLDQUERY.
14690 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14691 no-tld-query and set RES_NOTLDQUERY.
14692 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14693 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14694 modern BIND to search name as TLD unless forbidden.
14695
47c3cd7a
UD
146962011-05-07 Petr Baudis <pasky@suse.cz>
14697 Ulrich Drepper <drepper@gmail.com>
14698
14699 [BZ #12393]
14700 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14701 (is_trusted_path): ...to here.
c1e9ea35 14702 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14703 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14704 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14705
8a35c912
PP
147062011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14707
14708 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14709 __BEGIN/__END_DECLS.
14710
acd41f47
UD
147112011-05-06 Ulrich Drepper <drepper@gmail.com>
14712
14713 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14714 NSS_STATUS_NOTFOUND if no record was found.
14715
597df647
AS
147162011-05-05 Andreas Schwab <schwab@redhat.com>
14717
14718 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14719 (headers-not-in-tirpc): Remove rpc/netdb.h
14720 * resolv/netdb.h: Revert last change.
14721
b9af1301
PP
147222011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14723
14724 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14725 circular dependency between libgcc.a and libc.a.
14726
4e34d5f5
AS
147272011-05-05 Andreas Schwab <schwab@redhat.com>
14728
14729 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14730 * nis/Makefile: Don't install rpcsvc/*.
14731 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14732 instead of <rpc/types.h>.
14733 (MAXHOSTNAMELEN): Define.
14734
00ee369c
AS
147352011-05-03 Andreas Schwab <schwab@redhat.com>
14736
14737 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14738
0b592a30
MB
147392011-04-28 Maciej Babinski <mbabinski@google.com>
14740
14741 [BZ #12714]
14742 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14743 gethostbyname4_r when IPv6 results are possible.
14744
6e04cbbe
UD
147452011-05-02 Ulrich Drepper <drepper@gmail.com>
14746
14747 [BZ #12723]
14748 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14749 _PC_PIPE_BUF handling.
14750
e4ecafe0
BH
147512011-04-30 Bruno Haible <bruno@clisp.org>
14752
14753 [BZ #12717]
14754 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14755 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14756 to 'int'.
14757 * inet/getnameinfo.c (getnameinfo): Likewise.
14758
125ee683
UD
147592011-04-29 Ulrich Drepper <drepper@gmail.com>
14760
14761 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14762 to groups setting in database lookup.
14763 * nss/nsswitch.conf: Add initgroups entry.
14764
b722481a
EB
147652011-04-22 Ulrich Drepper <drepper@gmail.com>
14766
14767 [BZ #12685]
14768 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14769 mode string.
14770 Patch by Eric Blake <eblake@redhat.com>.
14771
4df46dbd
L
147722011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14773
14774 * sunrpc/Makefile (need-export-routines): Add svc_run.
14775 (routines): Remove svc_run.
14776 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14777 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14778 * sunrpc/svc_run.c (svc_run): Likewise.
14779 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14780
e84142d2
UD
147812011-04-21 Ulrich Drepper <drepper@gmail.com>
14782
14783 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14784 problem in reallocation in last patch.
14785
877175d8
UD
147862011-04-20 Ulrich Drepper <drepper@gmail.com>
14787
14788 * sunrpc/Makefile: Move inclusion of Rules.
14789
ab8eed78
UD
147902011-04-19 Ulrich Drepper <drepper@gmail.com>
14791
14792 * nss/nss_files/files-initgroups.c: New file.
14793 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14794 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14795 _nss_files_initgroups_dyn.
14796
e3d8f584
RS
147972011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14798
14799 * elf/elf.h (R_ARM_IRELATIVE): Define.
14800
af190f45
UD
148012011-04-19 Ulrich Drepper <drepper@gmail.com>
14802
14803 * po/ru.po: Update from translation team.
14804
53cf59ef
UD
148052011-04-17 Ulrich Drepper <drepper@gmail.com>
14806
14807 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14808 dependencies.
14809
4c559bcd
MF
148102011-02-06 Mike Frysinger <vapier@gentoo.org>
14811
14812 [BZ #12653]
14813 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14814 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14815 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14816 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14817 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14818
4420675c
AS
148192011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14820
14821 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14822 differing bytes.
14823 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14824 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14825 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14826
75ea32ab
UD
148272011-04-17 Ulrich Drepper <drepper@gmail.com>
14828
14829 [BZ #12420]
14830 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14831 storing it.
14832 * stdlib/bug-getcontext.c: New file.
14833 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14834
27390476
AK
148352011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14836
14837 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14838 instructions into .machine "z9-109".
14839 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14840 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14841
10442705
AK
148422011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14843
14844 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14845 between environment variables and auxiliary vector.
14846
7b57bfe5
UD
148472011-04-16 Ulrich Drepper <drepper@gmail.com>
14848
14849 * Makefile: Add rules to build linkobj/libc.so.
14850 * include/libc-symbols.h: Define libc_hidden_nolink.
14851 * include/rpc/auth.h: Mark functions which are to be hidden.
14852 * include/rpc/auth_des.h: Likewise.
14853 * include/rpc/auth_unix.h: Likewise.
14854 * include/rpc/clnt.h: Likewise.
14855 * include/rpc/des_crypt.h: Likewise.
14856 * include/rpc/key_prot.h: Likewise.
14857 * include/rpc/pmap_clnt.h: Likewise.
14858 * include/rpc/pmap_prot.h: Likewise.
14859 * include/rpc/pmap_rmt.h: Likewise.
14860 * include/rpc/rpc_msg.h: Likewise.
14861 * include/rpc/svc.h: Likewise.
14862 * include/rpc/svc_auth.h: Likewise.
14863 * include/rpc/xdr.h: Likewise.
14864 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14865 * nss/Makefile: Likewise.
14866 * sunrpc/Makefile: Don't install headers. Build library with normal
14867 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14868 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14869 for the compat linking library. Remove use of INTDEF/INTUSE.
14870 * sunrpc/auth_none.c: Likewise.
14871 * sunrpc/auth_unix.c: Likewise.
14872 * sunrpc/authdes_prot.c: Likewise.
14873 * sunrpc/authuxprot.c: Likewise.
14874 * sunrpc/clnt_gen.c: Likewise.
14875 * sunrpc/clnt_perr.c: Likewise.
14876 * sunrpc/clnt_raw.c: Likewise.
14877 * sunrpc/clnt_simp.c: Likewise.
14878 * sunrpc/clnt_tcp.c: Likewise.
14879 * sunrpc/clnt_udp.c: Likewise.
14880 * sunrpc/clnt_unix.c: Likewise.
14881 * sunrpc/des_crypt.c: Likewise.
14882 * sunrpc/des_soft.c: Likewise.
14883 * sunrpc/get_myaddr.c: Likewise.
14884 * sunrpc/key_call.c: Likewise.
14885 * sunrpc/key_prot.c: Likewise.
14886 * sunrpc/netname.c: Likewise.
14887 * sunrpc/pm_getmaps.c: Likewise.
14888 * sunrpc/pm_getport.c: Likewise.
14889 * sunrpc/pmap_clnt.c: Likewise.
14890 * sunrpc/pmap_prot.c: Likewise.
14891 * sunrpc/pmap_prot2.c: Likewise.
14892 * sunrpc/pmap_rmt.c: Likewise.
14893 * sunrpc/publickey.c: Likewise.
14894 * sunrpc/rpc_cmsg.c: Likewise.
14895 * sunrpc/rpc_common.c: Likewise.
14896 * sunrpc/rpc_dtable.c: Likewise.
14897 * sunrpc/rpc_prot.c: Likewise.
14898 * sunrpc/rpc_thread.c: Likewise.
14899 * sunrpc/rtime.c: Likewise.
14900 * sunrpc/svc.c: Likewise.
14901 * sunrpc/svc_auth.c: Likewise.
14902 * sunrpc/svc_authux.c: Likewise.
14903 * sunrpc/svc_raw.c: Likewise.
14904 * sunrpc/svc_run.c: Likewise.
14905 * sunrpc/svc_simple.c: Likewise.
14906 * sunrpc/svc_tcp.c: Likewise.
14907 * sunrpc/svc_udp.c: Likewise.
14908 * sunrpc/svc_unix.c: Likewise.
14909 * sunrpc/svcauth_des.c: Likewise.
14910 * sunrpc/xcrypt.c: Likewise.
14911 * sunrpc/xdr.c: Likewise.
14912 * sunrpc/xdr_array.c: Likewise.
14913 * sunrpc/xdr_float.c: Likewise.
14914 * sunrpc/xdr_intXX_t.c: Likewise.
14915 * sunrpc/xdr_mem.c: Likewise.
14916 * sunrpc/xdr_rec.c: Likewise.
14917 * sunrpc/xdr_ref.c: Likewise.
14918 * sunrpc/xdr_sizeof.c: Likewise.
14919 * sunrpc/xdr_stdio.c: Likewise.
14920
e6c61494
UD
149212011-04-10 Ulrich Drepper <drepper@gmail.com>
14922
14923 [BZ #12650]
14924 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14925 * sysdeps/ia64/dl-tls.h: Likewise.
14926 * sysdeps/powerpc/dl-tls.h: Likewise.
14927 * sysdeps/s390/dl-tls.h: Likewise.
14928 * sysdeps/sh/dl-tls.h: Likewise.
14929 * sysdeps/sparc/dl-tls.h: Likewise.
14930 * sysdeps/x86_64/dl-tls.h: Likewise.
14931 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14932
34fe483e
AS
149332011-03-14 Andreas Schwab <schwab@redhat.com>
14934
14935 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14936 rpath element also skip the following colon.
14937 (expand_dynamic_string_token): Add is_path parameter and pass
14938 down to DL_DST_REQUIRED and _dl_dst_substitute.
14939 (decompose_rpath): Call expand_dynamic_string_token with
14940 non-zero is_path. Ignore empty rpaths.
14941 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14942 with zero is_path.
14943
f12a32e6
AS
149442011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14945
14946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14947 Make cancelable.
14948
38a7d692
UD
149492011-04-09 Ulrich Drepper <drepper@gmail.com>
14950
14951 [BZ #12655]
14952 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14953 Patch by Filipe David Manana <fdmanana@apache.org>.
14954
e451d22b
AS
149552011-04-07 Andreas Schwab <schwab@redhat.com>
14956
14957 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14958 Maintain aligned stack.
14959 (CHECK_RSP): Remove unused macro.
14960
dedc7c7b
UD
149612011-04-03 Ulrich Drepper <drepper@gmail.com>
14962
14963 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14964 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14965
94521213
UD
149662011-04-02 Ulrich Drepper <drepper@gmail.com>
14967
14968 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14969
8cb700c0 14970 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14971
0354e355
L
149722011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14973
14974 [BZ #12518]
14975 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14976 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14977 * sysdeps/x86_64/memmove.c: New file.
14978 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14979 (memcpy): Renamed to ...
14980 (__new_memcpy): This.
14981 (memcpy): Provide GLIBC_2_14 memcpy.
14982 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14983 (memcpy): Provide GLIBC_2_2_5 memcpy.
14984
8593482f
UD
149852011-04-01 Ulrich Drepper <drepper@gmail.com>
14986
14987 [BZ #12631]
14988 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14989
81a5726b
AS
149902011-03-30 Andreas Schwab <schwab@redhat.com>
14991
14992 * misc/syncfs.c: New file.
14993 * misc/Makefile (routines): Add syncfs.
14994 * posix/unistd.h: Declare syncfs.
14995 * sysdeps/unix/syscalls.list: Add syncfs.
14996
00e5419f
AS
149972011-04-01 Andreas Schwab <schwab@redhat.com>
14998
14999 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15000 open_by_handle_at.
15001 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15002 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15003 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15004 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15005 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15006 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15007 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15008
748876bf
UD
150092011-04-01 Ulrich Drepper <drepper@gmail.com>
15010
658e451d
UD
15011 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15012 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15013 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15014 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15015 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15016 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15017 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15018
748876bf
UD
15019 * io/Makefile: Compile fallocate.c, fallocate64.c, and
15020 sync_file_range.c with -fexceptions.
15021 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15022 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15023 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15024 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15025 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15026 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15027 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
15028 sync_file_range as cancellation point
15029 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
15030 now a wrapper around __call_sync_file_range with cancellation handling.
15031 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15032 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
15033 function name to __call_sync_file_range.
15034 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15035 Add call_sync_file_range.
748876bf 15036
6e63d5e1
AS
150372011-04-01 Andreas Schwab <schwab@redhat.com>
15038
15039 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 15040 bits/timex.h.
6e63d5e1 15041
46998f74
UD
150422011-04-01 Ulrich Drepper <drepper@gmail.com>
15043
4c1423ed
UD
15044 * iconv/iconv.h: Fix typo in comment.
15045 * io/fcntl.h: Likewise.
15046 * libio/stdio.h: Likewise.
15047 * posix/spawn.h: Likewise.
15048 * posix/unistd.h: Likewise.
15049 * stdlib/stdlib.h: Likewise.
15050 * time/time.h: Likewise.
15051 * wcsmbs/wchar.h: Likewise.
15052
158648c0
UD
15053 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15054 open_by_handle): Add.
15055 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15056 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
15057 Augment a few comments.
15058 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15059 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15060 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15061 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15062 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15063 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15064 open_by_handle.
15065
46998f74
UD
15066 * io/fcntl.h (AT_EMPTY_PATH): Define.
15067
83fe108b
UD
150682011-03-30 Ulrich Drepper <drepper@gmail.com>
15069
15070 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15071 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15072 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15073 to...
15074 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
15075 * Versions.def: Add GLIBC_2.14.
15076 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15077 Export.
83fe108b 15078
bb242059
UD
150792011-03-22 Ulrich Drepper <drepper@gmail.com>
15080
15081 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15082 round counter.
15083 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15084
c97a1282
L
150852011-03-20 H.J. Lu <hongjiu.lu@intel.com>
15086
15087 [BZ #12597]
15088 * string/test-strncmp.c (do_page_test): New function.
15089 (check2): Likewise.
15090 (test_main): Call check2.
15091 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15092
2a115601
UD
150932011-03-20 Ulrich Drepper <drepper@gmail.com>
15094
15095 [BZ #12587]
15096 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15097 Handle cache information in CPU leaf 4.
15098 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15099
8126d904
UD
151002011-03-18 Ulrich Drepper <drepper@gmail.com>
15101
042c49c6 15102 [BZ #12583]
8126d904
UD
15103 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15104 character representation.
15105 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15106
ccfe366e
RA
151072011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
15108
15109 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15110 END(__isnan) to END(__isnanf) to match function entry point/label
15111 EALIGN(__isnanf,...).
15112
c6e13027
JJ
151132011-03-10 Jakub Jelinek <jakub@redhat.com>
15114
15115 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15116
33f85a3f
UD
151172011-03-10 Ulrich Drepper <drepper@gmail.com>
15118
028478fa
UD
15119 [BZ #12510]
15120 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15121 copy from the symbol referenced in the relocation to initialize the
15122 used variable.
15123 Patch by Piotr Bury <pbury@goahead.com>.
15124 * elf/Makefile: Add rules to build and tst-unique3.
15125 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15126 * elf/tst-unique3.cc: New file.
15127 * elf/tst-unique3.h: New file.
15128 * elf/tst-unique3lib.cc: New file.
15129 * elf/tst-unique3lib2.cc: New file.
15130
33f85a3f
UD
15131 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15132
03592fc7
MF
151332011-03-10 Mike Frysinger <vapier@gentoo.org>
15134
15135 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15136 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
15137 to _start.
03592fc7 15138
6a5ee102
UD
151392011-03-06 Ulrich Drepper <drepper@gmail.com>
15140
15141 * elf/dl-load.c (_dl_map_object): If we are looking for the first
15142 to-be-loaded object along a path to loader is ld.so.
15143
7e4ba49c
HJ
151442011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15145 Ulrich Drepper <drepper@gmail.com>
15146
15147 * sysdeps/x86_64/memset.S: After aligning destination, code
15148 branches to different locations depending on the value of
15149 misalignment, when multiarch is enabled. Fix this.
15150
151512011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15152
15153 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15154 Set _x86_64_preferred_memory_instruction for AMD processsors.
15155 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15156 Set bit_Prefer_SSE_for_memop for AMD processors.
15157
13a804de
UD
151582011-03-04 Ulrich Drepper <drepper@gmail.com>
15159
15160 * libio/fmemopen.c (fmemopen): Optimize a bit.
15161
9d25c392
AS
151622011-03-03 Andreas Schwab <schwab@redhat.com>
15163
15164 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15165
a5543c6a
RM
151662011-03-03 Roland McGrath <roland@redhat.com>
15167
15168 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15169
012d35f7
DM
151702011-02-28 Aurelien Jarno <aurelien@aurel32.net>
15171
7e4ba49c 15172 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
15173 __bzero_ultra1 instead of __memset_ultra1.
15174
4bff6e01
AS
151752011-02-23 Andreas Schwab <schwab@redhat.com>
15176 Ulrich Drepper <drepper@gmail.com>
15177
15178 [BZ #12509]
15179 * include/link.h (struct link_map): Add l_orig_initfini.
15180 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15181 returning unsuccessfully.
15182 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15183 close of a file loaded at startup, restore the original l_initfini
15184 list.
15185 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15186 list, store the pointer.
15187 * elf/Makefile ($(objpfx)noload-mem): New rule.
15188 (noload-ENV): Define.
15189 (tests): Add $(objpfx)noload-mem.
15190 * elf/noload.c: Include <memcheck.h>.
15191 (main): Call mtrace. Close all opened handles.
15192
f2092faf
AS
151932011-02-17 Andreas Schwab <schwab@redhat.com>
15194
15195 [BZ #12454]
15196 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15197 dependencies are missing.
15198
6c8a2e88
ST
151992011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15200
f2092faf 15201 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
15202 Hurd needs munmap.
15203 * sysdeps/mach/hurd/ifreq.h: New file.
15204
84a42118
PB
152052011-01-27 Petr Baudis <pasky@suse.cz>
15206 Ulrich Drepper <drepper@gmail.com>
15207
071f805e 15208 [BZ 12445]#
84a42118
PB
15209 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15210 to extend_alloca().
15211 * stdio-common/bug23.c: New file.
15212 * stdio-common/Makefile (tests): Add bug23.
15213
e23fe25b
AS
152142010-09-28 Andreas Schwab <schwab@redhat.com>
15215 Ulrich Drepper <drepper@gmail.com>
15216
15217 [BZ #12489]
15218 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15219 before performing relro protection. At old place add assertion
15220 to make sure nothing changed.
15221
d3f02e10
NS
152222011-02-17 Nathan Sidwell <nathan@codesourcery.com>
15223 Glauber de Oliveira Costa <glommer@gmail.com>
15224
15225 * elf/elf.h: Add new ARM TLS relocs.
15226
d55fd7a5
RA
152272011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
15228
15229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15230 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15231 cast from r3.
15232 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
15233 'tests' variable.
15234 * sysdeps/wordsize-64/tst-writev.c: New file.
15235
2206397e
RA
152362011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
15237
15238 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
15239 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
15240 insns in _dl_start to prevent a TOC reference before relocs are
15241 resolved.
15242
e9433893
UD
152432011-02-15 Ulrich Drepper <drepper@gmail.com>
15244
15245 [BZ #12469]
15246 * Makeconfig: Remove RANLIB definition.
15247 * Makerules: Don't use RANLIB.
15248 * aclocal.m4: Remove ranlib test.
15249 * configure.in: No need to check for ranlib.
15250 * elf/rtld-Rules: Don't use RANLIB.
15251
f75286c6
ST
152522011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15253
8e31c82d
ST
15254 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15255 protection macro.
15256 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15257 inclusion protection macro.
15258
f75286c6
ST
15259 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
15260 SIGRTMIN and SIGRTMAX and print information in that case only when
15261 SIGRTMIN is defined.
15262
c1d0e639
JJ
152632011-02-11 Jakub Jelinek <jakub@redhat.com>
15264
15265 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15266 arginfo fn returning -1.
15267
15268 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15269 and thousands string is zero terminated.
15270
edf9294e
AS
152712011-02-03 Andreas Schwab <schwab@redhat.com>
15272
15273 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15274 sysdeps/unix/sysv/linux/bits/socket.h.
15275
2b7e92df
ST
152762011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15277
edf9294e
AS
15278 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15279 (__CPU_COUNT): Remove old macros.
15280 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15281 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15282 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
15283 (__sched_cpualloc, __sched_cpufree): Add declarations.
15284
a4c7ea7b
UD
152852011-02-05 Ulrich Drepper <drepper@gmail.com>
15286
15287 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15288 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15289 * nscd/aicache.c (addhstaiX): Return timeout of added value.
15290 (readdhstai): Return value of addhstaiX call.
15291 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15292 (addgrbyX): Return value returned by cache_addgr.
15293 (readdgrbyname): Return value returned by addgrbyX.
15294 (readdgrbygid): Likewise.
15295 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15296 (addpwbyX): Return value returned by cache_addpw.
15297 (readdpwbyname): Return value returned by addhstbyX.
15298 (readdpwbyuid): Likewise.
15299 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15300 (addservbyX): Return value returned by cache_addserv.
15301 (readdservbyname): Return value returned by addservbyX:
15302 (readdservbyport): Likewise.
15303 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15304 (addhstbyX): Return value returned by cache_addhst.
15305 (readdhstbyname): Return value returned by addhstbyX.
15306 (readdhstbyaddr): Likewise.
15307 (readdhstbynamev6): Likewise.
15308 (readdhstbyaddrv6): Likewise.
15309 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15310 (readdinitgroups): Return value returned by addinitgroupsX.
15311 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15312 (prune_cache): Keep track of timeout value of re-added entries.
15313 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15314 * nscd/nscd.h: Adjust prototypes of readd* functions.
15315
a0bf67cc
RM
153162011-02-04 Roland McGrath <roland@redhat.com>
15317
15318 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15319 (nis_stats): Likewise.
15320 * nis/nis_modify.c (nis_modify): Likewise.
15321 * nis/nis_remove.c (nis_remove): Likewise.
15322 * nis/nis_add.c (nis_add): Likewise.
15323
15324 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15325
15326 * posix/fnmatch_loop.c: Add some consts.
15327
15328 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15329
435b95eb
L
153302011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15331
15332 [BZ #12460]
15333 * config.make.in (config-cflags-novzeroupper): Define.
15334 * configure.in: Substitute libc_cv_cc_novzeroupper.
15335 * elf/Makefile (AVX-CFLAGS): Define.
15336 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15337 (CFLAGS-tst-auditmod4a.c): Likewise.
15338 (CFLAGS-tst-auditmod4b.c): Likewise.
15339 (CFLAGS-tst-auditmod6b.c): Likewise.
15340 (CFLAGS-tst-auditmod6c.c): Likewise.
15341 (CFLAGS-tst-auditmod7b.c): Likewise.
15342 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15343
8517b15e
UD
153442011-02-02 Ulrich Drepper <drepper@gmail.com>
15345
15346 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15347 function to the callback.
15348 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15349
10a656fe
AS
153502011-02-02 Andreas Schwab <schwab@redhat.com>
15351
15352 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15353 of errno.
15354
968dad0a
UD
153552011-01-19 Ulrich Drepper <drepper@gmail.com>
15356
9f94d2ea 15357 [BZ #11724]
968dad0a
UD
15358 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15359 of constructors.
15360 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15361 of destructors.
15362 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15363
15364 [BZ #11724]
15365 * elf/Makefile: Add rules to build and run new test.
15366 * elf/tst-initorder.c: New file.
15367 * elf/tst-initorder.exp: New file.
15368 * elf/tst-initordera1.c: New file.
15369 * elf/tst-initordera2.c: New file.
15370 * elf/tst-initordera3.c: New file.
15371 * elf/tst-initordera4.c: New file.
15372 * elf/tst-initorderb1.c: New file.
15373 * elf/tst-initorderb2.c: New file.
15374 * elf/tst-order-a1.c: New file.
15375 * elf/tst-order-a2.c: New file.
15376 * elf/tst-order-a3.c: New file.
15377 * elf/tst-order-a4.c: New file.
15378 * elf/tst-order-b1.c: New file.
15379 * elf/tst-order-b2.c: New file.
15380 * elf/tst-order-main.c: New file.
15381 New test case by George Gensure <werkt0@gmail.com>.
15382
86e92359
UD
153832010-10-01 Andreas Schwab <schwab@redhat.com>
15384
15385 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15386 decoding ACE if AI_CANONIDN.
15387
5d5732b0
UD
153882011-01-18 Ulrich Drepper <drepper@gmail.com>
15389
15390 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15391
a77e8cbc
UD
153922011-01-17 Ulrich Drepper <drepper@gmail.com>
15393
6392473f
UD
15394 * version.h (RELEASE): Bump for 2.13 release.
15395 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15396
620a0529
UD
15397 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15398
18ba70a5
UD
15399 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15400 MADV_NOHUGEPAGE.
32465c3e
UD
15401 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15402 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15403 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15404 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15405 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15406 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15407
c0dafcf1
UD
15408 * posix/getconf.c: Update copyright year.
15409 * catgets/gencat.c: Likewise.
15410 * csu/version.c: Likewise.
15411 * debug/catchsegv.sh: Likewise.
15412 * debug/xtrace.sh: Likewise.
15413 * elf/ldconfig.c: Likewise.
15414 * elf/ldd.bash.in: Likewise.
15415 * elf/sprof.c (print_version): Likewise.
15416 * iconv/iconv_prog.c: Likewise.
15417 * iconv/iconvconfig.c: Likewise.
15418 * locale/programs/locale.c: Likewise.
15419 * locale/programs/localedef.c: Likewise.
15420 * malloc/memusage.sh: Likewise.
15421 * malloc/mtrace.pl: Likewise.
15422 * nscd/nscd.c (print_version): Likewise.
15423 * nss/getent.c: Likewise.
15424
a77e8cbc
UD
15425 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15426 PF_CAIF, and PF_ALG.
15427 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15428
77e8bddf
AS
154292011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15430
1f20b93a
AS
15431 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15432 (modules-names): Use them.
15433 (ifunc-test-modules, ifunc-pie-tests): Define.
15434 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15435 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15436 (test-extras): Likewise.
15437 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15438 $(compile-command.c).
15439 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15440 (all-built-dso): Define.
15441 (check-textrel.out, check-execstack.out): Depend on it.
15442
77e8bddf
AS
15443 * configure.in: Don't override --enable-multi-arch.
15444
bc425b33
UD
154452011-01-15 Ulrich Drepper <drepper@gmail.com>
15446
15447 [BZ #6812]
15448 * nscd/hstcache.c (tryagain): Define.
15449 (cache_addhst): Return tryagain not notfound for temporary errors.
15450 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15451 failed.
15452
794c3ad3
UD
154532011-01-14 Ulrich Drepper <drepper@gmail.com>
15454
70181fdd
UD
15455 [BZ #10563]
15456 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15457 to make the syscall.
15458 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15459
794c3ad3
UD
15460 [BZ #12378]
15461 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15462 and fall back to matching as normal character if the string ends before
15463 the matching ']' is found. This is what POSIX requires.
15464 * posix/testfnm.c: Adjust test result.
15465 * posix/globtest.sh: Adjust test result. Add new test.
15466 * posix/tst-fnmatch.input: Likewise.
15467 * posix/tst-fnmatch2.c: Add new test.
15468
68dc9497
AS
154692010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15470
15471 * elf/Makefile (check-execstack): Revert last change. Depend on
15472 check-execstack.h.
15473 (check-execstack.h): New target.
15474 (generated): Add check-execstack.h.
15475 * elf/check-execstack.c: Include "check-execstack.h".
15476 (main): Revert last change.
15477 (handle_file): Return zero if GNU_STACK is absent and
15478 DEFAULT_STACK_PERMS doesn't include PF_X.
15479
451f001b
UD
154802011-01-13 Ulrich Drepper <drepper@gmail.com>
15481
cfa28e56
UD
15482 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15483 in child fails because the descriptor is already closed.
8cf8ce17
UD
15484 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15485 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15486 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 15487
1086d70d
UD
15488 [BZ #12397]
15489 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15490 syscall.
15491
451f001b
UD
15492 [BZ #10484]
15493 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15494 temporary buffer used to handle multi lookups locally.
a85b5cb4 15495 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 15496
08769175
UD
154972011-01-12 Ulrich Drepper <drepper@gmail.com>
15498
15499 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15500 loader is ld.so.
15501
5e49c52e
UD
155022011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15503
15504 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15505 alignment for SSE2.
15506
60522a5f
UD
155072011-01-12 Ulrich Drepper <drepper@gmail.com>
15508
15509 [BZ #12394]
15510 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15511 characters. When rounding increased number of integer digits recompute
15512 number of groups.
15513 * stdio-common/tst-grouping.c: New file.
15514 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15515
f257bbd7
UD
155162011-01-09 Ulrich Drepper <drepper@gmail.com>
15517
15518 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15519 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15520
15521 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15522 void.
15523 * bits/select.h: Likewise.
15524
fa9c15cb
UD
155252011-01-08 Ulrich Drepper <drepper@gmail.com>
15526
15527 * po/ja.po: Update from translation team.
15528
16c2895f
DM
155292011-01-04 David S. Miller <davem@sunset.davemloft.net>
15530
15531 [BZ #11155]
15532 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15533 implementation just like for lxstat, fxstatat, et al.
15534
2543fef2
JM
155352010-12-27 Jim Meyering <meyering@redhat.com>
15536
15537 [BZ #12348]
15538 * posix/regexec.c (build_trtable): Return failure indication upon
15539 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15540
98727dbe
UD
155412010-12-25 Ulrich Drepper <drepper@gmail.com>
15542
5bd6dc5c
UD
15543 [BZ #12201]
15544 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15545 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15546 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15547 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15548
97983464
UD
15549 [BZ #12207]
15550 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15551
98727dbe
UD
15552 [BZ #12204]
15553 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15554 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15555
4a531bb0
L
155562010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15557
15558 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15559 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15560 script has SORT_BY_INIT_PRIORITY.
15561 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15562 NO_CTORS_DTORS_SECTIONS is defined.
15563 * elf/soinit.c: Likewise.
15564 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15565 NO_CTORS_DTORS_SECTIONS is defined.
15566 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15567 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15568 * sysdeps/sh/init-first.c: Likewise.
15569 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15570
07eb4b71
UD
155712010-12-24 Ulrich Drepper <drepper@gmail.com>
15572
15573 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15574 always use the slow path.
15575
30950a5f
RA
155762010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15577
15578 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15579 similar rule which adds the sysdep directories to the header search in
15580 order to pick up the correct platform stackinfo.h.
15581 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15582 perform test if it is, otherwise return successfully without testing.
15583 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15584 DEFAULT_STACK_PERMS define in stackinfo.h.
15585 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15586 defined in stackinfo.h.
15587 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15588 DEFAULT_STACK_PERMS defined in stackinfo.h.
15589 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15590 * sysdeps/ia64/stackinfo.h: Likewise.
15591 * sysdeps/s390/stackinfo.h: Likewise.
15592 * sysdeps/sh/stackinfo.h: Likewise.
15593 * sysdeps/sparc/stackinfo.h: Likewise.
15594 * sysdeps/x86_64/stackinfo.h: Likewise.
15595 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15596 PF_X for powerpc64. Retain PF_X for powerpc32.
15597
db753e2c
UD
155982010-12-19 Ulrich Drepper <drepper@gmail.com>
15599
14b697f7
UD
15600 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15601 accurately.
db753e2c
UD
15602 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15603 GETDENTS_64BIT_ALIGNED.
15604
28300719
UD
156052010-12-14 Ulrich Drepper <dreper@gmail.com>
15606
14b697f7 15607 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15608
4f197237
AS
156092010-12-10 Andreas Schwab <schwab@redhat.com>
15610
dbb0472f
AS
15611 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15612 _GNU_SOURCE.
15613
4f197237
AS
15614 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15615 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15616 Remove __restrict.
15617 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15618 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15619
fb88ac72
UD
156202010-12-09 Ulrich Drepper <drepper@gmail.com>
15621
15622 [BZ #11655]
15623 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15624 are initialized.
15625
42acbb92
JJ
156262010-12-09 Jakub Jelinek <jakub@redhat.com>
15627
15628 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15629
c038d98d
UD
156302010-12-03 Ulrich Drepper <drepper@gmail.com>
15631
15632 * po/it.po: Update from translation team.
15633
3a4a2499
L
156342010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15635
15636 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15637 unused codes.
15638
1e24cf6e
UD
156392010-11-30 Ulrich Drepper <drepper@gmail.com>
15640
15641 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15642
a7690819
AS
156432010-11-24 Andreas Schwab <schwab@redhat.com>
15644
15645 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15646 specially.
15647 (gaih_getanswer_slice): Likewise.
15648
3bf8d1b1
JJ
156492010-10-20 Jakub Jelinek <jakub@redhat.com>
15650
15651 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15652
6db52fbb
PB
156532010-05-31 Petr Baudis <pasky@suse.cz>
15654
15655 [BZ #11149]
15656 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15657 silently even in the chroot mode.
15658
eaca7569
UD
156592010-11-22 Ulrich Drepper <drepper@gmail.com>
15660
15661 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15662 last patch a bit. Pretty printing
15663
3056dcdb
UD
156642010-05-31 Petr Baudis <pasky@suse.cz>
15665
15666 [BZ #10085]
15667 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15668 initialization of skip_initgroups_dyn.
15669
cf7c9078
UD
156702010-11-19 Ulrich Drepper <drepper@gmail.com>
15671
15672 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15673 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15674
a1fb5e3e
UD
156752010-11-16 Ulrich Drepper <drepper@gmail.com>
15676
15677 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15678
3540d66b
AS
156792010-11-11 Andreas Schwab <schwab@redhat.com>
15680
15681 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15682 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15683 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15684 ($(objpfx)tst-fnmatch-mem): New rule.
15685 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15686 * posix/tst-fnmatch.c (main): Call mtrace.
15687
13b69574
L
156882010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15689
15690 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15691 Support Intel processor model 6 and model 0x2c.
15692
da93d214
LM
156932010-11-10 Luis Machado <luisgpm@br.ibm.com>
15694
15695 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15696 signed comparison.
15697
8ca52c6e
L
156982010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15699
15700 [BZ #12205]
15701 * string/test-strncasecmp.c (check_result): New function.
15702 (do_one_test): Use it.
15703 (check1): New function.
15704 (test_main): Use it.
15705 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15706 Support strcasecmp and strncasecmp.
15707
69da074d
UD
157082010-11-08 Ulrich Drepper <drepper@gmail.com>
15709
15710 [BZ #12194]
15711 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15712 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15713
ff02d528
L
157142010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15715
15716 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15717 IFUNC support.
15718 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15719 memset-x86-64.
15720 * sysdeps/x86_64/multiarch/bzero.S: New file.
15721 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15722 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15723 * sysdeps/x86_64/multiarch/memset.S: New file.
15724 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15725 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15726 Set bit_Prefer_SSE_for_memop for Intel processors.
15727 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15728 Define.
15729 (index_Prefer_SSE_for_memop): Define.
15730 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15731
344d0b54
LM
157322010-11-04 Luis Machado <luisgpm@br.ibm.com>
15733
15734 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15735 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15736
c0dde15b
UD
157372010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15738
15739 [BZ #12191]
15740 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15741 (__x86_64_raw_data_cache_size_half): Likewise.
15742 (__x86_64_raw_shared_cache_size): Likewise.
15743 (__x86_64_raw_shared_cache_size_half): Likewise.
15744
15745 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15746 (__x86_64_raw_data_cache_size_half): Likewise.
15747 (__x86_64_raw_shared_cache_size): Likewise.
15748 (__x86_64_raw_shared_cache_size_half): Likewise.
15749 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15750 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15751 and __x86_64_raw_shared_cache_size_half. Round
15752 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15753 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15754 to multiple of 256 bytes.
15755
0e516e0e
MS
157562010-11-03 Ulrich Drepper <drepper@gmail.com>
15757
15758 [BZ #12167]
15759 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15760 of inacessible symlinks. Verify result of symlink before returning it.
15761 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15762 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15763
0e012e87
ER
157642010-10-28 Erich Ritz <erichritz@gmail.com>
15765
15766 * math/math.h (isinf): Fix typo in comment.
15767
de0ff7bc
UD
157682010-11-01 Ulrich Drepper <drepper@gmail.com>
15769
15770 * po/da.po: Update from translation team.
15771
fa41c84d
UD
157722010-10-26 Ulrich Drepper <drepper@gmail.com>
15773
15774 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15775 is added to the list.
15776
f0967738
AK
157772010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15778 Ulrich Drepper <drepper@gmail.com>
15779
15780 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15781 the global list here. Move code to...
15782 (_dl_add_to_namespace_list): ...here. New function.
15783 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15784 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15785 * elf/dl-load.c (lose): Don't remove the element from the list.
15786 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15787 (_dl_map_object): Likewise.
15788
157892010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15790
15791 [BZ #12159]
15792 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15793 into all bytes of SSE register.
15794 Patch by Richard Li <richardpku@gmail.com>.
15795
f0967738 157962010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15797
15798 [BZ #12140]
15799 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15800 perturbing.
15801
d0b9e94f
MB
158022010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15803
15804 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15805 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15806 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15807 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15809 submachine.
15810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15811
8e9f92e9
AS
158122010-10-22 Andreas Schwab <schwab@redhat.com>
15813
15814 * include/dlfcn.h (__RTLD_SECURE): Define.
15815 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15816 mode & __RTLD_SECURE instead.
15817 (open_path): Rename preloaded parameter to secure.
15818 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15819 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15820 * elf/dl-deps.c (openaux): Likewise.
15821 * elf/rtld.c (struct map_args): Remove is_preloaded.
15822 (map_doit): Don't use it.
15823 (dl_main): Likewise.
15824 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15825 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15826
bc96fbda
AS
158272010-09-09 Andreas Schwab <schwab@redhat.com>
15828
15829 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15830 (sysd-rules-targets): Remove duplicates.
15831 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15832 rtld-%.$o dependency.
15833
22cd1c9b
AS
158342010-10-18 Andreas Schwab <schwab@redhat.com>
15835
15836 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15837 _dl_map_object do it.
15838
18edac48
UD
158392010-10-19 Ulrich Drepper <drepper@gmail.com>
15840
15841 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15842 fast fma builtins, define the macros in the C99 standard.
15843 (FP_FAST_FMAF): Likewise.
15844 (FP_FAST_FMAL): Likewise.
15845 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15846
15847 * bits/mathdef.h: Update copyright year.
15848 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15849
d2050124
MM
158502010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15851
15852 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15853 builtins, define the macros in the C99 standard.
15854 (FP_FAST_FMAF): Likewise.
15855 (FP_FAST_FMAL): Likewise.
15856 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15857 multiply/add.
15858 (FP_FAST_FMAF): Likewise.
15859
475facd1
JJ
158602010-10-15 Jakub Jelinek <jakub@redhat.com>
15861
15862 [BZ #3268]
15863 * math/libm-test.inc (fma_test): Some new testcases.
15864 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15865 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15866 y and infinite z. Do multiplication by C already in long double.
15867 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15868 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15869 y and infinite z. Do bitwise or of inexact bit into u.d.
15870 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15871 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15872 * sysdeps/i386/fpu/s_fma.S: Removed.
15873 * sysdeps/i386/fpu/s_fmal.S: Removed.
15874
7c08a05c
JJ
158752010-10-16 Jakub Jelinek <jakub@redhat.com>
15876
15877 [BZ #3268]
15878 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15879 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15880 computation is not scheduled after fetestexcept. Fix value
15881 of minimum denormal long double.
15882
f3f7372d
JJ
158832010-10-14 Jakub Jelinek <jakub@redhat.com>
15884
15885 [BZ #3268]
15886 * math/libm-test.inc (fma_test): Add some more tests.
15887 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15888 correctly.
15889
14d43591
AS
158902010-10-15 Andreas Schwab <schwab@redhat.com>
15891
15892 * scripts/data/localplt-s390-linux-gnu.data: New file.
15893 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15894
5e908464
JJ
158952010-10-13 Jakub Jelinek <jakub@redhat.com>
15896
15897 [BZ #3268]
15898 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15899 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15900 instead of dbl-64.
15901 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15902 inlines.
15903 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15904 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15905 if one of x and y is very large and the other is subnormal.
15906 * sysdeps/s390/fpu/s_fmaf.c: New file.
15907 * sysdeps/s390/fpu/s_fma.c: New file.
15908 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15909 * sysdeps/powerpc/fpu/s_fma.S: New file.
15910 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15911 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15912 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15913
159142010-10-12 Jakub Jelinek <jakub@redhat.com>
15915
15916 [BZ #3268]
15917 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15918 fma tests.
15919 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15920 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15921 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15922 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15923 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15924 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15925 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15926
b833d51f
UD
159272010-10-12 Ulrich Drepper <drepper@redhat.com>
15928
15929 [BZ #12078]
15930 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15931 * posix/bug-regex31.input: Add test case.
15932
1751705d
UD
159332010-10-11 Ulrich Drepper <drepper@gmail.com>
15934
e9b9cbf5
UD
15935 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15936 * posix/bug-regex31.input: New file.
15937
15938 [BZ #12078]
15939 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15940 (parse_sub_exp): Fix last change, use postorder.
15941
ef06edbe
UD
15942 * posix/bug-regex31.c: New file.
15943 * posix/Makefile: Add rules to build and run bug-regex31.
15944
a129c80d
UD
15945 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15946
15947 [BZ #12078]
15948 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15949
b76b818e
UD
15950 [BZ #12108]
15951 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15952 to have entries in sys_siglist.
15953
1751705d
UD
15954 [BZ #12093]
15955 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15956 be NULL.
15957
9ff8d36f
JJ
159582010-10-07 Jakub Jelinek <jakub@redhat.com>
15959
15960 [BZ #3268]
15961 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15962 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15963 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15964 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15965 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15966 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15967 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15968 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15969 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15970 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15971 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15972 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15973 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15974 * math/ftestexcept.c (fetestexcept): Likewise.
15975 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15976 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15977 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15978 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15979 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15980 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15981 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15982
af325969
UD
159832010-10-11 Ulrich Drepper <drepper@gmail.com>
15984
c579b202 15985 [BZ #12107]
af325969
UD
15986 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15987 newline.
15988
67a67b95
UD
159892010-10-06 Ulrich Drepper <drepper@gmail.com>
15990
15991 * string/bug-strstr1.c: New file.
15992 * string/Makefile: Add rules to build and run bug-strstr1.
15993
5fb308bc
EB
159942010-10-05 Eric Blake <eblake@redhat.com>
15995
15996 [BZ #12092]
15997 * string/str-two-way.h (two_way_long_needle): Always clear memory
15998 when skipping input due to the shift table.
15999
45db99c7
UD
160002010-10-03 Ulrich Drepper <drepper@gmail.com>
16001
3b111893
UD
16002 [BZ #12005]
16003 * malloc/mcheck.c: Handle large requests.
16004
45db99c7
UD
16005 [BZ #12077]
16006 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16007 for strncmp and strncasecmp.
16008 * string/stratcliff.c: Add tests for strcmp and strncmp.
16009 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16010
cf7a1eb8
NI
160112010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16012
16013 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16014 __set_fpscr.
16015
6484ba5e
AJ
160162010-09-30 Andreas Jaeger <aj@suse.de>
16017
16018 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16019 (CGROUP_SUPER_MAGIC): Define.
16020 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16021 Handle btrfs and cgroup file systems.
16022 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16023 Likewise.
16024
91c42559
LM
160252010-09-27 Luis Machado <luisgpm@br.ibm.com>
16026
16027 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16028 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16029
87a97932
AK
160302010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16031
16032 [BZ #12067]
16033 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16034 trying to locate the ELF header.
16035
c21cc9bc
AS
160362010-09-27 Andreas Schwab <schwab@redhat.com>
16037
16038 [BZ #11611]
16039 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16040 Mask out sign-bit copies when constructing f_fsid.
16041
315970f6
PB
160422010-09-24 Petr Baudis <pasky@suse.cz>
16043
16044 * debug/stack_chk_fail_local.c: Add missing licence exception.
16045 * debug/warning-nop.c: Likewise.
16046
1ac7a2c7
JM
160472010-09-15 Joseph Myers <joseph@codesourcery.com>
16048
16049 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16050 implementing getdents64 using getdents syscall, set d_type if
16051 __ASSUME_GETDENTS32_D_TYPE.
16052
56801c50
AS
160532010-09-16 Andreas Schwab <schwab@redhat.com>
16054
16055 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16056 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16057
dda51327
UD
160582010-09-21 Ulrich Drepper <drepper@redhat.com>
16059
16060 [BZ #12037]
16061 * posix/unistd.h: Undo change of feature selection for ftruncate from
16062 2010-01-11.
16063
8ffcee4a
UD
160642010-09-20 Ulrich Drepper <drepper@redhat.com>
16065
a545ecd9 16066 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
16067 detection.
16068
e24f0a8b
AS
160692010-09-20 Andreas Schwab <schwab@redhat.com>
16070
16071 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16072 fanotify_mark.
16073 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16074
7291c56f
AS
160752010-09-14 Andreas Schwab <schwab@redhat.com>
16076
16077 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16078 variables after CHECK_SP call.
16079 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16080
bc5fb037
AS
160812010-09-13 Andreas Schwab <schwab@redhat.com>
16082 Ulrich Drepper <drepper@redhat.com>
16083
16084 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16085 re-relocationg ld.so.
16086 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16087 _dl_init_paths call.
16088 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
16089 here anymore.
16090
e66e7419
UD
160912010-09-14 Ulrich Drepper <drepper@redhat.com>
16092
16093 * resolv/res_init.c (__res_vinit): Count the default server we added.
16094
c044aa75
CLT
160952010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
16096 Ulrich Drepper <drepper@redhat.com>
16097
16098 [BZ #11968]
16099 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16100 (____longjmp_chk): Use %ebx for saving value across system call.
16101 Add unwind info.
16102
32cf4069
AS
161032010-09-06 Andreas Schwab <schwab@redhat.com>
16104
16105 * manual/Makefile: Don't mix pattern rules with normal rules.
16106
817328ee
AS
161072010-09-05 Andreas Schwab <schwab@linux-m68k.org>
16108
16109 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16110 operation.
16111 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16112 * libio/iofopncook.c (_IO_cookie_init): Likewise.
16113 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16114 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16115 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16116 Likewise.
16117
29fddf61
UD
161182010-09-04 Ulrich Drepper <drepper@redhat.com>
16119
16120 [BZ #11979]
16121 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16122 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16123
0959ffc9
UD
161242010-09-02 Ulrich Drepper <drepper@redhat.com>
16125
16126 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16127 * sysdeps/x86_64/addmul_1.S: Likewise.
16128 * sysdeps/x86_64/lshift.S: Likewise.
16129 * sysdeps/x86_64/mul_1.S: Likewise.
16130 * sysdeps/x86_64/rshift.S: Likewise.
16131 * sysdeps/x86_64/sub_n.S: Likewise.
16132 * sysdeps/x86_64/submul_1.S: Likewise.
16133
ece29840
ST
161342010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
16135
0959ffc9
UD
16136 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16137 Define __sched_param instead of SCHED_* and sched_param when
ece29840 16138 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 16139 * bits/sched.h [__need_schedparam]
ece29840 16140 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
16141 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16142 (__defined_schedparam): Define to 1.
ece29840
ST
16143 (__sched_param): New structure, identical to sched_param.
16144 (__need_schedparam): Undefine.
16145
e53a31fe
MF
161462010-08-31 Mike Frysinger <vapier@gentoo.org>
16147
fdc0c10d
MF
16148 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16149 (epoll_create1): Declare.
16150
e53a31fe
MF
16151 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16152
a726d796
AS
161532010-08-31 Andreas Schwab <schwab@redhat.com>
16154
16155 [BZ #7066]
16156 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16157 shifting retval into place.
16158
2f3e3dc7
UD
161592010-09-01 Ulrich Drepper <drepper@redhat.com>
16160
f2933da9
UD
16161 * nis/rpcsvc/nis.h: Update copyright notice.
16162 * nis/rpcsvc/nis.x: Likewise.
16163 * nis/rpcsvc/nis_callback.h: Likewise.
16164 * nis/rpcsvc/nis_callback.x: Likewise.
16165 * nis/rpcsvc/nis_object.x: Likewise.
16166 * nis/rpcsvc/nis_tags.h: Likewise.
16167 * nis/rpcsvc/yp.h: Likewise.
16168 * nis/rpcsvc/yp.x: Likewise.
16169 * nis/rpcsvc/ypupd.h: Likewise.
16170 * nis/yp_xdr.c: Likewise.
16171 * nis/ypupdate_xdr.c: Likewise.
16172
2f3e3dc7
UD
16173 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
16174 mainly the body of pmap_getport. Add parameters to specify timeouts.
16175 (pmap_getport): Use __libc_rpc_getport.
16176 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16177 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16178 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16179
f3dcc2f9
AS
161802010-08-31 Andreas Schwab <schwab@linux-m68k.org>
16181
16182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16183 fanotify_mark.
16184
6d34eb5b
RM
161852010-08-27 Roland McGrath <roland@redhat.com>
16186
16187 * sysdeps/i386/i686/multiarch/Makefile
16188 (CFLAGS-varshift.c): New variable.
16189
9ea3de11
UD
161902010-08-27 Ulrich Drepper <drepper@redhat.com>
16191
c96d23fc
UD
16192 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16193 * sysdeps/i386/i686/multiarch/varshift.c: New file.
16194
9ea3de11
UD
16195 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16196
16197 * sysdeps/x86_64/strlen.S: Minimal code improvement.
16198
623aac7f
L
161992010-08-26 H.J. Lu <hongjiu.lu@intel.com>
16200
16201 * sysdeps/x86_64/strlen.S: Unroll the loop.
16202 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16203 strlen-sse2 strlen-sse2-bsf.
16204 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16205 __strlen_no_bsf if bit_Slow_BSF is set.
16206 (__strlen_sse42): Removed.
16207 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16208 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16209
8b2b7715
RM
162102010-08-25 Roland McGrath <roland@redhat.com>
16211
16212 * sysdeps/x86_64/multiarch/varshift.S: File removed.
16213 * sysdeps/x86_64/multiarch/varshift.c: New file.
16214 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16215 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16216 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16217 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16218
e73015f2
L
162192010-08-25 H.J. Lu <hongjiu.lu@intel.com>
16220
16221 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16222 strlen-sse2 strlen-sse2-bsf.
16223 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16224 __strlen_sse2_bsf if bit_Slow_BSF is unset.
16225 (__strlen_sse2): Removed.
16226 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16227 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16228 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16229 bit_Slow_BSF for Atom.
16230 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16231 (index_Slow_BSF): Define.
16232 (HAS_SLOW_BSF): Define.
16233
df24a73e
UD
162342010-08-25 Ulrich Drepper <drepper@redhat.com>
16235
16236 [BZ #10851]
16237 * resolv/res_init.c (__res_vinit): When no server address at all
16238 is given default to loopback.
16239
f2ac4868
RM
162402010-08-24 Roland McGrath <roland@redhat.com>
16241
09055553
RM
16242 * configure.in: Remove config-name.h generation.
16243 * configure: Regenerated.
16244 * config-name.in: File removed.
16245 * scripts/config-uname.sh: New file.
16246 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16247 ($(objdir)config-name.h): New target.
16248
f2ac4868
RM
16249 * sunrpc/rpc_parse.h: Avoid nested comment.
16250
73f27d5e
RH
162512010-08-24 Richard Henderson <rth@redhat.com>
16252 Ulrich Drepper <drepper@redhat.com>
16253 H.J. Lu <hongjiu.lu@intel.com>
16254
16255 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16256 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16257 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16258 Replace _mm_srli_si128 with __m128i_shift_right. Replace
16259 _mm_alignr_epi8 with _mm_loadu_si128.
16260 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
16261 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
16262 (__m128i_shift_right): Removed.
16263 * sysdeps/i386/i686/multiarch/varshift.h: New file.
16264 * sysdeps/i386/i686/multiarch/varshift.S: New file.
16265 * sysdeps/x86_64/multiarch/varshift.h: New file.
16266 * sysdeps/x86_64/multiarch/varshift.S: New file.
16267
84b9230c
MF
162682010-08-21 Mike Frysinger <vapier@gentoo.org>
16269
16270 * configure.in: Move assembler checks to before sysdep dir checking.
16271
9bbd0ddc
PB
162722010-08-20 Petr Baudis <pasky@suse.cz>
16273
16274 * LICENSES: Sync the sunrpc license.
16275
9da4bb31
UD
162762010-08-19 Ulrich Drepper <drepper@redhat.com>
16277
a7ab6ec8
UD
16278 * sunrpc/auth_des.c: Update copyright notice once again.
16279 * sunrpc/auth_none.c: Likewise.
16280 * sunrpc/auth_unix.c: Likewise.
16281 * sunrpc/authdes_prot.c: Likewise.
16282 * sunrpc/authuxprot.c: Likewise.
16283 * sunrpc/bindrsvprt.c: Likewise.
16284 * sunrpc/clnt_gen.c: Likewise.
16285 * sunrpc/clnt_perr.c: Likewise.
16286 * sunrpc/clnt_raw.c: Likewise.
16287 * sunrpc/clnt_simp.c: Likewise.
16288 * sunrpc/clnt_tcp.c: Likewise.
16289 * sunrpc/clnt_udp.c: Likewise.
16290 * sunrpc/clnt_unix.c: Likewise.
16291 * sunrpc/des_crypt.c: Likewise.
16292 * sunrpc/des_soft.c: Likewise.
16293 * sunrpc/get_myaddr.c: Likewise.
16294 * sunrpc/getrpcport.c: Likewise.
16295 * sunrpc/key_call.c: Likewise.
16296 * sunrpc/key_prot.c: Likewise.
16297 * sunrpc/openchild.c: Likewise.
16298 * sunrpc/pm_getmaps.c: Likewise.
16299 * sunrpc/pm_getport.c: Likewise.
16300 * sunrpc/pmap_clnt.c: Likewise.
16301 * sunrpc/pmap_prot.c: Likewise.
16302 * sunrpc/pmap_prot2.c: Likewise.
16303 * sunrpc/pmap_rmt.c: Likewise.
16304 * sunrpc/rpc/auth.h: Likewise.
16305 * sunrpc/rpc/auth_unix.h: Likewise.
16306 * sunrpc/rpc/clnt.h: Likewise.
16307 * sunrpc/rpc/des_crypt.h: Likewise.
16308 * sunrpc/rpc/key_prot.h: Likewise.
16309 * sunrpc/rpc/netdb.h: Likewise.
16310 * sunrpc/rpc/pmap_clnt.h: Likewise.
16311 * sunrpc/rpc/pmap_prot.h: Likewise.
16312 * sunrpc/rpc/pmap_rmt.h: Likewise.
16313 * sunrpc/rpc/rpc.h: Likewise.
16314 * sunrpc/rpc/rpc_des.h: Likewise.
16315 * sunrpc/rpc/rpc_msg.h: Likewise.
16316 * sunrpc/rpc/svc.h: Likewise.
16317 * sunrpc/rpc/svc_auth.h: Likewise.
16318 * sunrpc/rpc/types.h: Likewise.
16319 * sunrpc/rpc/xdr.h: Likewise.
16320 * sunrpc/rpc_clntout.c: Likewise.
16321 * sunrpc/rpc_cmsg.c: Likewise.
16322 * sunrpc/rpc_common.c: Likewise.
16323 * sunrpc/rpc_cout.c: Likewise.
16324 * sunrpc/rpc_dtable.c: Likewise.
16325 * sunrpc/rpc_hout.c: Likewise.
16326 * sunrpc/rpc_main.c: Likewise.
16327 * sunrpc/rpc_parse.c: Likewise.
16328 * sunrpc/rpc_parse.h: Likewise.
16329 * sunrpc/rpc_prot.c: Likewise.
16330 * sunrpc/rpc_sample.c: Likewise.
16331 * sunrpc/rpc_scan.c: Likewise.
16332 * sunrpc/rpc_scan.h: Likewise.
16333 * sunrpc/rpc_svcout.c: Likewise.
16334 * sunrpc/rpc_tblout.c: Likewise.
16335 * sunrpc/rpc_util.c: Likewise.
16336 * sunrpc/rpc_util.h: Likewise.
16337 * sunrpc/rpcinfo.c: Likewise.
16338 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16339 * sunrpc/rpcsvc/key_prot.x: Likewise.
16340 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16341 * sunrpc/rpcsvc/mount.x: Likewise.
16342 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16343 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16344 * sunrpc/rpcsvc/rex.x: Likewise.
16345 * sunrpc/rpcsvc/rstat.x: Likewise.
16346 * sunrpc/rpcsvc/rusers.x: Likewise.
16347 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16348 * sunrpc/rpcsvc/spray.x: Likewise.
16349 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16350 * sunrpc/rtime.c: Likewise.
16351 * sunrpc/svc.c: Likewise.
16352 * sunrpc/svc_auth.c: Likewise.
16353 * sunrpc/svc_authux.c: Likewise.
16354 * sunrpc/svc_raw.c: Likewise.
16355 * sunrpc/svc_run.c: Likewise.
16356 * sunrpc/svc_simple.c: Likewise.
16357 * sunrpc/svc_tcp.c: Likewise.
16358 * sunrpc/svc_udp.c: Likewise.
16359 * sunrpc/svc_unix.c: Likewise.
16360 * sunrpc/svcauth_des.c: Likewise.
16361 * sunrpc/xcrypt.c: Likewise.
16362 * sunrpc/xdr.c: Likewise.
16363 * sunrpc/xdr_array.c: Likewise.
16364 * sunrpc/xdr_float.c: Likewise.
16365 * sunrpc/xdr_mem.c: Likewise.
16366 * sunrpc/xdr_rec.c: Likewise.
16367 * sunrpc/xdr_ref.c: Likewise.
16368 * sunrpc/xdr_sizeof.c: Likewise.
16369 * sunrpc/xdr_stdio.c: Likewise.
16370
9da4bb31
UD
16371 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16372 handling.
16373
bdaa77bc
AS
163742010-08-19 Andreas Schwab <schwab@redhat.com>
16375
16376 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16377
fe2f79db
LM
163782010-08-19 Luis Machado <luisgpm@br.ibm.com>
16379
16380 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16381 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16382 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16383 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16384 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16385 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16386 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16387 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16388 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16389 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16390 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16391 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16392 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16393 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16394
b9b42ee0
AB
163952010-07-26 Anton Blanchard <anton@samba.org>
16396
16397 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16398 * malloc/arena.c (heap_trim): Likewise.
16399
1c06ba31
UD
164002010-08-16 Ulrich Drepper <drepper@redhat.com>
16401
16402 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16403 here. Not...
16404 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16405 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16406
f8392f40
L
164072010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16408
16409 * sysdeps/i386/elf/Makefile: New file.
16410
3162f12e
AS
164112010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16412
16413 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16414 from fanotify_init.
16415 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16416 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16417
28c90b2c
UD
164182010-08-15 Ulrich Drepper <drepper@redhat.com>
16419
16420 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16421 of strncasecmp_l.
1feccb6c 16422 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 16423
ca6bb004
UD
164242010-08-14 Ulrich Drepper <drepper@redhat.com>
16425
e9f82e0d
UD
16426 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16427 strncase_l-nonascii.
16428 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16429 Add strncase_l-ssse3.
16430 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16431 * sysdeps/x86_64/strcmp.S: Likewise.
16432 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16433 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16434 * sysdeps/x86_64/strncase.S: New file.
16435 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16436 * sysdeps/x86_64/strncase_l.S: New file.
16437 * string/Makefile (strop-tests): Add strncasecmp.
16438 * string/test-strncasecmp.c: New file.
16439
16440 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16441 warning.
16442
ca6bb004
UD
16443 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16444 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16445
052fa7b3
AS
164462010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16447
16448 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16449
962dba78
UD
164502010-08-12 Ulrich Drepper <drepper@redhat.com>
16451
16452 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16453 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16454 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16455
bebff237
AM
164562010-05-01 Alan Modra <amodra@gmail.com>
16457
16458 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16459 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16460 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16461 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16462 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16463 tidying. Don't tail-call __sigjmp_save for static lib.
16464 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16465 save location.
16466 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16467 (CALL_MCOUNT): Add eh info, and nop after bl.
16468 (TAIL_CALL_SYSCALL_ERROR): New macro.
16469 (PSEUDO_RET): Use it.
16470 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16471 Correct save location of integer regs and cr.
16472 (_dl_profile_resolve): Correct cr save location. Delete nops
16473 after bl when SHARED. Reduce cfi size a little by better
16474 placement of cfi directives.
16475 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16476 make a stack frame. Instead use parm save area as a temp.
16477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16478 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16480 Don't make a stack frame for parent, use parm save area.
16481 Increase child stack frame to 112 bytes. Don't save unused reg,
16482 and adjust reg usage. Set up cfi on error recovery and
16483 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16485 (__makecontext): Add dummy nop after jump to exit.
16486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16487 Use correct parm save area and cr save, reduce stack frame.
16488 Correct cfi for possible PSEUDO_RET frame setup.
16489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16490 Branch to local label emitted by PSEUDO_RET rather than
16491 __syscall_error.
16492
02637374
AS
164932010-08-12 Andreas Schwab <schwab@redhat.com>
16494
16495 [BZ #11904]
16496 * locale/programs/locale.c (print_assignment): New function.
16497 (show_locale_vars): Use it.
16498
c3e2f19b
UD
164992010-08-11 Ulrich Drepper <drepper@redhat.com>
16500
3cdaa6ad
UD
16501 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16502 field.
16503 (struct statfs64): Likewise.
16504 (_STATFS_F_FLAGS): Define.
16505 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16506 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16507 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16508 (ST_VALID): Define locally.
16509 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16510 __statvfs_getflags, use the provided value.
16511 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16512 __ASSUME_STATFS_F_FLAGS.
16513
754f7da3
UD
16514 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16515
10b3bedc
UD
16516 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16517 Add sys/fanotify.h.
16518 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16519 fanotify_mask for GLIBC_2.13.
16520 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16521 fanotify_init and fanotify_mark.
16522 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16523 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16524
c08fb0d7
UD
16525 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16526 Add prlimit.
16527 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16528 prlimit64 for GLIBC_2.13.
16529 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16530 prlimit64.
16531 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16532 syscall.
16533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16534 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16535 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16536 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16537 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16538 add prlimit alias.
16539 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16540
15bac72b
UD
16541 [BZ #11903]
16542 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16543 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16544
c3e2f19b
UD
16545 * nss/Makefile: Add rules to build and run tst-nss-test1.
16546 * shlib-versions: Add entry for libnss_test1.
16547 * nss/nss_test1.c: New file.
16548 * nss/tst-nss-test1.c: New file.
16549
16550 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16551 (__nss_configure_lookup): Set appropriate entry in
16552 __nss_configure_lookup to true.
16553 * nss/nsswitch.h: Define enum with indeces of databases in
16554 databases and __nss_database_custom arrays. Declare
16555 __nss_database_custom.
16556 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16557 to avoid using nscd when custom rules are installed.
16558 * nss/getXXbyYY_r.c: Likewise.
16559 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16560
16561 * nss/nss_files/files-parse.c: Whitespace fixes.
16562
f15ce4d8
UD
165632010-08-09 Ulrich Drepper <drepper@redhat.com>
16564
16565 [BZ #11883]
16566 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16567 * posix/fnmatch_loop.c: Likewise.
16568
d22e4cc9
AK
165692010-07-17 Andi Kleen <ak@linux.intel.com>
16570
16571 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16572 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16573 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16574 * Versions.def [GLIBC_2.13]: Add.
16575
805bc17d
UD
165762010-08-06 Ulrich Drepper <drepper@redhat.com>
16577
16578 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16579 Also fail if tpwd after pwuid call is NULL.
16580
5a42321d
ST
165812010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16582
16583 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16584 when converting to ms.
16585
fd3ebeda
ST
165862010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16587
16588 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16589 EOPNOTSUPP errors with ENOTTY.
16590 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16591 EOPNOTSUPP errors with ENOTTY.
16592
73507d3a
UD
165932010-07-31 Ulrich Drepper <drepper@redhat.com>
16594
16595 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16596 Add strcasecmp_l-ssse3.
16597 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16598 strcasecmp.
16599 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16600 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16601 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16602
fe36dd02
UD
166032010-07-30 Ulrich Drepper <drepper@redhat.com>
16604
66f6765a
UD
16605 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16606
42e08a54
UD
16607 * string/Makefile (strop-tests): Add strcasecmp.
16608 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16609 strcasecmp_l-nonascii.
16610 (gen-as-const-headers): Add locale-defines.sym.
16611 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16612 * sysdeps/x86_64/strcasecmp.S: New file.
16613 * sysdeps/x86_64/strcasecmp_l.S: New file.
16614 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16615 * sysdeps/x86_64/locale-defines.sym: New file.
16616 * string/test-strcasecmp.c: New file.
16617
fe36dd02
UD
16618 * string/test-strcasestr.c: Test both ends of the range of characters.
16619 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16620
48cbc0d6
RM
166212010-07-29 Roland McGrath <roland@redhat.com>
16622
76e6d6bc 16623 [BZ #11856]
48cbc0d6
RM
16624 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16625
880113d9
UD
166262010-07-27 Ulrich Drepper <drepper@redhat.com>
16627
16628 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16629 for ld.so.
16630
deb9cabb
AS
166312010-07-27 Andreas Schwab <schwab@redhat.com>
16632
16633 * manual/memory.texi (Malloc Tunable Parameters): Document
16634 M_PERTURB.
16635
1c7570ff
RM
166362010-07-26 Roland McGrath <roland@redhat.com>
16637
16638 [BZ #11840]
16639 * configure.in (-fgnu89-inline check): Set and substitute
16640 gnu89_inline, not libc_cv_gnu89_inline.
16641 * configure: Regenerated.
16642 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16643
24fb0f88
UD
166442010-07-26 Ulrich Drepper <drepper@redhat.com>
16645
16646 * string/test-strnlen.c: New file.
16647 * string/Makefile (strop-tests): Add strnlen.
16648 * string/tester.c (test_strnlen): Add a few more test cases.
16649 * string/tst-strlen.c: Better error reporting.
16650
16651 * sysdeps/x86_64/strnlen.S: New file.
16652
8e96b93a
UD
166532010-07-24 Ulrich Drepper <drepper@redhat.com>
16654
16655 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16656 lower-latency instructions.
16657
dbc676d4
UD
166582010-07-23 Ulrich Drepper <drepper@redhat.com>
16659
16660 * string/test-strcasestr.c: New file.
16661 * string/test-strstr.c: New file.
16662 * string/Makefile (strop-tests): Add strstr and strcasestr.
16663 * string/str-two-way.h: Don't undefine MAX.
16664 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16665
f6a31e0e
AS
166662010-07-21 Andreas Schwab <schwab@redhat.com>
16667
16668 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16669 strcasestr-nonascii.
16670 (CFLAGS-strcasestr-nonascii.c): Define.
16671 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16672 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16673 Remove unused attribute.
16674
5dbc3b6c
RM
166752010-07-20 Roland McGrath <roland@redhat.com>
16676
16677 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16678 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16679 ld.so.cache was broken. With it, there is no way to disable dsocaps
16680 like LD_HWCAP_MASK can disable hwcaps.
16681
23d101d8
EPM
166822010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16683
16684 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16685
cc9f2e47
UD
166862010-07-16 Ulrich Drepper <drepper@redhat.com>
16687
16688 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16689 call in strcasestr.
16690 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16691 __strcasestr_sse42_nonascii.
16692 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16693 strcasestr-nonascii.c.
16694 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16695
77c1b069
LM
166962010-06-15 Luis Machado <luisgpm@br.ibm.com>
16697
16698 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16699 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16700 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16701 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16702
440566c3
UD
167032010-07-09 Ulrich Drepper <drepper@redhat.com>
16704
16705 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16706 fcntl.
16707
5be9d05d
AS
167082010-07-06 Andreas Schwab <schwab@redhat.com>
16709
c30b7ee2 16710 [BZ #11577]
5be9d05d
AS
16711 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16712 dl_signal_cerror.
16713
8a492a67
UD
167142010-07-06 Ulrich Drepper <drepper@redhat.com>
16715
16716 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16717 _PC_PIPE_BUF using F_GETPIPE_SZ.
16718
713df3d5
RM
167192010-07-05 Roland McGrath <roland@redhat.com>
16720
16721 * manual/arith.texi (Rounding Functions): Fix rint description
16722 implicit in round description.
16723
702e8f14
UD
167242010-07-02 Ulrich Drepper <drepper@redhat.com>
16725
16726 * elf/Makefile: Fix linking for a few tests to make recent linker
16727 happy.
16728
52ed8be9
AS
167292010-06-30 Andreas Schwab <schwab@redhat.com>
16730
16731 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16732 $(common-objpfx)libc_nonshared.a.
16733
f47c9a11
LM
167342010-06-21 Luis Machado <luisgpm@br.ibm.com>
16735
16736 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16737 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16738 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16739 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16740 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16741 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16742 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16743 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16758 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16759 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16760 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16761 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16762 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16763 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16764 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16765 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16766 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16767 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16768 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16769 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16784
6fb8cbcb
L
167852010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16786
16787 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16788 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16789 * string/memmove.c (memmove): Renamed to ...
16790 (MEMMOVE): ...this. Default to memmove.
16791 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16792 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16793 (END_CHK): Define.
16794 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16795 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16796 mempcpy-ssse3-back memmove-ssse3-back.
16797 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16798 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16799 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16800 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16801 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16802 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16803 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16804 * sysdeps/x86_64/multiarch/memmove.c: New file.
16805 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16806 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16807 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16808 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16809 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16810 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16811 Define.
16812 (index_Fast_Copy_Backward): Define.
16813 (HAS_ARCH_FEATURE): Define.
16814 (HAS_FAST_REP_STRING): Define.
16815 (HAS_FAST_COPY_BACKWARD): Define.
16816
4e733bac 168172010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16818
16819 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16820 Restore proper fallback handling.
16821
63c4ed22
UD
168222010-06-19 Ulrich Drepper <drepper@redhat.com>
16823
ac2b484c
UD
16824 [BZ #11701]
16825 * posix/group_member.c (__group_member): Correct checking loop.
16826
63c4ed22
UD
16827 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16828 OOM in getpwuid_r correctly. Return error number when the caller
16829 should return, otherwise -1.
16830 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16831 call returning > 0 value.
16832 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16833
765ade4b
AS
168342010-06-07 Andreas Schwab <schwab@redhat.com>
16835
16836 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16837 libc_nonshared.a from targets in modules-names.
16838
80da2e09
KS
168392010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16840
16841 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16842 requires it.
16843
158db122
LM
168442010-06-10 Luis Machado <luisgpm@br.ibm.com>
16845
16846 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16847 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16848 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16849 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16850
caa78cf8
AS
168512010-06-02 Andreas Schwab <schwab@redhat.com>
16852
16853 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16854
b2ef2c01
UD
168552010-06-14 Ulrich Drepper <drepper@redhat.com>
16856
16857 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16858 and F_GETPIPE_SZ.
16859 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16860 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16861 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16862 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16863 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16864 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16865
fbd643b6
RM
168662010-06-14 Roland McGrath <roland@redhat.com>
16867
16868 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16869
f32f2869
JJ
168702010-06-07 Jakub Jelinek <jakub@redhat.com>
16871
16872 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16873 __REDIRECT followed by __THROW.
16874 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16875 * posix/getopt.h (getopt): Likewise.
16876
2a50c078
EPM
168772010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16878
16879 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16880 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16881 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16882 in AT_FLAGS.
16883 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16884 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16885
eb5ad2eb
LM
168862010-05-28 Luis Machado <luisgpm@br.ibm.com>
16887
16888 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16889
3c88fe1e
L
168902010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16891
16892 [BZ #11640]
16893 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16894 Properly check family and model.
16895
d2f73151
TY
168962010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16897
16898 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16899
ebd2e13d
LM
169002010-05-24 Luis Machado <luisgpm@br.ibm.com>
16901
16902 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16903
b32b8b45
UD
169042010-05-21 Ulrich Drepper <drepper@redhat.com>
16905
16906 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16907 symbol reference.
16908
9acbe24d
AS
169092010-05-19 Andreas Schwab <schwab@redhat.com>
16910
16911 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16912 symbol reference.
16913
f0ccf6ea
AS
169142010-05-21 Andreas Schwab <schwab@redhat.com>
16915
3d04ff3a
AS
16916 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16917 and internal_recvmmsg.
16918 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16919 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16920 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16921 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16922
f0ccf6ea
AS
16923 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16924 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16925 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16926
5b08ac57
AS
169272010-05-20 Andreas Schwab <schwab@redhat.com>
16928
16929 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16930
4828935d
LM
169312010-05-17 Luis Machado <luisgpm@br.ibm.com>
16932
16933 POWER7 optimizations.
16934 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16935 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16936
373d545e
UD
169372010-05-19 Ulrich Drepper <drepper@redhat.com>
16938
16939 * version.h: Update for 2.13 development version.
16940
21a2b1ae
AS
169412010-05-12 Andrew Stubbs <ams@codesourcery.com>
16942
16943 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16944 exceptions. Return 0.
16945
3f7dcb2b
RM
169462010-05-07 Roland McGrath <roland@redhat.com>
16947
16948 * elf/ldconfig.c (main): Add a const.
16949
5f24d53a 169502010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16951
a160f8d8
UD
16952 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16953 (args_options): Add no-idn option.
16954 (ahosts_keys_int): Add idn_flags to ai_flags.
16955 (parse_option): Handle 'i' option to clear idn_flags.
16956
5f24d53a
UD
16957 * malloc/malloc.c (_int_free): Possible race in the most recently
16958 added check. Only act on the data if no current modification
16959 happened.
265bb1ce
UD
16960
16961See ChangeLog.17 for earlier changes.