]> sourceware.org Git - glibc.git/blame - ChangeLog
Update from translation team
[glibc.git] / ChangeLog
CommitLineData
dd318934
AJ
12012-07-16 Andreas Jaeger <aj@suse.de>
2
3 * po/ru.po: Update from translation team.
4
8048311a
JM
52012-07-15 Joseph Myers <joseph@codesourcery.com>
6
7 * conform/data/string.h-data (NULL): Use macro-constant. Require
8 equal to 0.
9 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
12 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
13 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14
b637d46e
AJ
152012-07-13 Andreas Jaeger <aj@suse.de>
16
17 * po/fr.po: Update from translation team.
18
541428fe
MP
192012-07-12 Marek Polacek <polacek@redhat.com>
20
21 [BZ #14173]
22 * math/libm-test.inc (yn_test): Add test for BZ #14173.
23 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
24 loop condition.
25
ec332e94
JM
262012-07-12 Joseph Myers <joseph@codesourcery.com>
27
28 [BZ #13717]
29 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30 Change to 2.4.1 where previously 2.4.0.
31 * sysdeps/unix/sysv/linux/configure: Regenerated.
32 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
34 version.
35 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
36 (__ASSUME_AT_CLKTCK): Remove.
37 (__ASSUME_AT_PAGESIZE): Likewise.
38 (__ASSUME_AT_XID): Likewise.
39 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
42 unconditionally.
43 (HAVE_AUX_PAGESIZE): Likewise.
44 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
45 [__ASSUME_AT_CLKTCK]: Make code unconditional.
46 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
47
7b6e99be
JB
482012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
49
50 [BZ #14307]
51 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
52 the temporary buffer used to invoke __gethostbyname2_r,
53 __gethostbyaddr_r and gethostbyname4_r to make room for struct
54 host_data / struct gaih_addrtuple.
55 * resolv/nss_dns/dns-host.c (global scope): Move definition of
56 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
57 header file nss/nsswitch.h.
58 * nss/nsswitch.h (global scope): Add definition of implementation
59 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
60 resolv/nss_dns/dns-host.c).
61
608404eb
AJ
622012-07-11 Andreas Jaeger <aj@suse.de>
63
64 * po/fr.po: Update from translation team.
65
71220aca
AJ
66 * po/sv.po: Update from translation team
67 * po/fr.po: Another update from translation team.
68
28cfe843
AZ
692012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70
71 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
72 for subnormals or multiply small sinh result by itself.
73 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
74 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75
6b90f981
DM
762012-07-11 David S. Miller <davem@davemloft.net>
77
78 * sysdeps/sparc/fpu/libm-test-ulps: Update.
79
c6825772
AS
802012-07-10 Andreas Schwab <schwab@linux-m68k.org>
81
82 [BZ #14347]
83 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
84 (INTERNAL_MARK): Shift it here.
85
7b8e0d49
MP
862012-07-10 Marek Polacek <polacek@redhat.com>
87
88 [BZ #14151]
89 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
90 libc_cv_asm_global_directive with .globl.
91 * configure: Regenerated.
92 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
93 with .globl.
94 * sysdeps/i386/configure: Regenerated.
95 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
96 with .globl.
97 * sysdeps/x86_64/configure: Regenerated.
98 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
99 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
100 * elf/tst-unique2mod2.c: Likewise.
101 * elf/tst-unique2mod1.c: Likewise.
102 * elf/tst-unique1mod2.c: Likewise.
103 * elf/tst-unique1mod1.c: Likewise.
104 * sysdeps/s390/s390-32/sysdep.h: Likewise.
105 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
106 * sysdeps/s390/s390-64/sysdep.h: Likewise.
107 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
108 * sysdeps/mach/sysdep.h: Likewise.
109 * sysdeps/i386/sysdep.h: Likewise.
110 * sysdeps/i386/i386-mcount.S: Likewise.
111 * sysdeps/x86_64/_mcount.S: Likewise.
112 * sysdeps/x86_64/sysdep.h: Likewise.
113 * sysdeps/sh/_mcount.S: Likewise.
114 * sysdeps/sh/sysdep.h: Likewise.
115 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
116 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
117 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
118 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
119 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
120 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
121 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
122 * locale/localeinfo.h: Likewise.
123 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
124 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
125
6c55cda3
RM
1262012-07-09 Roland McGrath <roland@hack.frob.com>
127
128 [BZ #14336]
129 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
130 system".
131 * manual/message.texi (The Uniforum approach): Likewise.
132 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
133 (glibc iconv Implementation): Likewise.
134
638a572e
JM
1352012-07-09 Joseph Myers <joseph@codesourcery.com>
136
137 [BZ #14337]
138 * math/s_clog.c (__clog): Avoid scaling a value down where that
139 could result in underflow.
140 * math/s_clog10.c (__clog10): Likewise.
141 * math/s_clog10f.c (__clog10f): Likewise.
142 * math/s_clog10l.c (__clog10l): Likewise.
143 * math/s_clogf.c (__clogf): Likewise.
144 * math/s_clogl.c (__clogl): Likewise.
145 * math/libm-test.inc (clog_test): Add more tests.
146 (clog10_test): Likewise.
147 * sysdeps/i386/fpu/libm-test-ulps: Update.
148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
149
261f4859
AS
1502012-07-06 Andreas Schwab <schwab@linux-m68k.org>
151
0abaf3e4
AS
152 [BZ #14283]
153 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
154 by 7 not 8 to examine high bit of fractional part.
155
261f4859
AS
156 [BZ #14042]
157 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
158 for call to __mcount_internal.
159 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
160 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
161 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
162
f17ac40d
JM
1632012-07-06 Joseph Myers <joseph@codesourcery.com>
164
9ad63c23
JM
165 [BZ #14154]
166 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
167 approximation for values within 0x1p-13f of an odd multiple of
168 pi/4.
169 * math/libm-test.inc (tan_test): Do not allow spurious underflow
170 exception. Add more tests.
171 * sysdeps/i386/fpu/libm-test-ulps: Update.
172
f17ac40d
JM
173 [BZ #6778]
174 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
175 inputs and return -1 for them. Do not check for +Inf in case not
176 reachable for +Inf.
177 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
178 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
179 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
180 and return -1 for them. Do not check for +Inf in case not
181 reachable for +Inf.
182 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
183 define.
184 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
185 and return -1 for them. Do not check for +Inf in case not
186 reachable for +Inf.
187 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
188 spurious underflow.
189 * sysdeps/i386/fpu/libm-test-ulps: Update.
190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
191
fb21f89b
MF
1922012-07-06 Mike Frysinger <vapier@gentoo.org>
193
194 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
195
cdfe2c5e
JM
1962012-07-05 Joseph Myers <joseph@codesourcery.com>
197
198 [BZ #14157]
199 [BZ #14331]
200 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
201 could result in spurious underflow. Scale down values above
202 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
203 * math/s_csqrtf.c (__csqrtf): Likewise.
204 * math/s_csqrtl.c (__csqrtl): Likewise.
205 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
206 spurious underflow.
207 * sysdeps/i386/fpu/libm-test-ulps: Update.
208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
209
70d35b67
AS
2102012-07-04 Andreas Schwab <schwab@linux-m68k.org>
211
704bc459
AS
212 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
213 xopen-msg.sed.
214 * catgets/xopen-msg.awk: New file.
215 * catgets/xopen-msg.sed: Removed.
216
70d35b67
AS
217 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
218 po2text.sed.
219 * intl/po2test.awk: New file.
220 * intl/po2test.sed: Removed.
221
ca61cf32
JM
2222012-07-04 Joseph Myers <joseph@codesourcery.com>
223
224 [BZ #14328]
225 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
226 or multiply small sinh result by itself.
227 * math/s_ctanf.c (__ctanf): Likewise.
228 * math/s_ctanh.c (__ctanh): Likewise.
229 * math/s_ctanhf.c (__ctanhf): Likewise.
230 * math/s_ctanhl.c (__ctanhl): Likewise.
231 * math/s_ctanl.c (__ctanl): Likewise.
232 * math/libm-test.inc (ctan_test_tonearest): New function.
233 (ctan_test_towardzero): Likewise.
234 (ctan_test_downward): Likewise.
235 (ctan_test_upward): Likewise.
236 (ctanh_test_tonearest): Likewise.
237 (ctanh_test_towardzero): Likewise.
238 (ctanh_test_downward): Likewise.
239 (ctanh_test_upward): Likewise.
240 (main): Call these new functions.
241 * sysdeps/i386/fpu/libm-test-ulps: Update.
242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
243
ca48a46a
MF
2442012-07-03 Mike Frysinger <vapier@gentoo.org>
245
246 * .gitignore: Delete /ports entry.
247
9d63d37d
AJ
2482012-07-03 Andreas Jaeger <aj@suse.de>
249
250 * po/bg.po: Update from translation team.
251 * po/cs.po: Likewise.
252 * po/de.po: Likewise.
253 * po/hr.po: Likewise.
254 * po/nl.pl: Likewise.
255 * po/pl.po: Likewise.
256 * po/vi.po: Likewise.
257
370ca3d2
JM
2582012-07-03 Joseph Myers <joseph@codesourcery.com>
259
95f5a9a8
JM
260 * Makeconfig [!+link] (+link-before-libc): New variable.
261 [!+link] (+link-after-libc): Likewise.
262 [!+link] (+link-tests): Likewise.
263 [!+link] (+link): Define in terms of $(+link-before-libc) and
264 $(+link-after-libc).
265 [!+link-static] (+link-static-before-libc): New variable.
266 [!+link-static] (+link-static-after-libc): Likewise.
267 [!+link-static] (+link-static-tests): Likewise.
268 [!+link-static] (+link-static): Define in terms of
269 $(+link-static-before-libc) and $(+link-static-after-libc).
270 [build-shared] (link-libc-before-gnulib): New variable.
271 [build-shared] (link-libc-tests): Likewise.
272 [build-shared] (link-libc): Define in terms of
273 $(link-libc-before-gnulib).
274 [!build-shared] (link-libc-tests): New variable.
275 (link-libc-static-tests): New variable.
276 [!gnulib] (gnulib-arch): New variable.
277 [!gnulib] (gnulib-tests): Likewise.
278 [!gnulib] (static-gnulib-arch): Likewise.
279 [!gnulib] (static-gnulib-tests): Likewise.
280 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
281 Define with "=" instead of ":=".
282 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
283 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
284 * Rules (binaries-all-notests): New variable.
285 (binaries-all-tests): Likewise.
286 (binaries-static-notests): Likewise.
287 (binaries-static-tests): Likewise.
288 (binaries-all): Define using $(binaries-all-notests) and
289 $(binaries-all-tests).
290 (binaries-static): Define using $(binaries-static-notests) and
291 $(binaries-static-tests).
292 (binaries-shared-tests): New variable.
293 (binaries-shared-notests): Likewise.
294 (binaries-shared): Remove variable.
295 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
296 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
297 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
298 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
299 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
300 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
301 * elf/Makefile (sln-modules): New variable.
302 (extra-objs): Add $(sln-modules:=.o).
303 (ldconfig-modules): Add static-stubs.
304 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
305 * elf/static-stubs.c: New file.
306
7a845b2c
JM
307 [BZ #14283]
308 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
309 by 7 not 8 to examine high bit of fractional part. Use volatile
310 variables when splitting into final array of floats if
311 __FLT_EVAL_METHOD__ != 0.
312 * math/libm-test.inc (cos_test): Add another test.
313 (sin_test): Likewise.
314 * sysdeps/i386/fpu/libm-test-ulps: Update.
315
e2283f38
JM
316 [BZ #14273]
317 * math/libm-test.inc (cosh_test): Add more tests.
318
370ca3d2
JM
319 * version.h (RELEASE): Set to "development".
320 (VERSION): Set to "2.16.90".
321
ee9247c3
CD
3222012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
323
324 * NEWS: Update copyright. Remove last-updated date.
325 Mention math library bug fixes and timezone data changes.
326 * README: Mention GNU/Hurd, x32, and HPPA support status.
327
4648c381
TS
3282012-06-28 Thomas Schwinge <thomas@codesourcery.com>
329
330 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
331
aac78a43
AJ
3322012-06-27 Andreas Jaeger <aj@suse.de>
333
334 * manual/contrib.texi (Contributors): Add Samuel Thibault.
335
ed3dbfad
AJ
3362012-06-25 Andreas Jaeger <aj@suse.de>
337
338 * sysdeps/s390/fpu/libm-test-ulps: Update.
339
4d0ee855
AS
3402012-06-23 Andreas Schwab <schwab@linux-m68k.org>
341 Thomas Schwinge <thomas@codesourcery.com>
342
343 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
344 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
345 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
346 fanotify_mark.
347
af1bce34
TS
3482012-06-23 Thomas Schwinge <thomas@codesourcery.com>
349
a9fa33ba
TS
350 * sysdeps/mach/start.c: Remove file.
351 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
352 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
353 * sysdeps/sh/init-first.c: Likewise.
354
58f902b8
TS
355 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
356 registers for frame unwinding purposes, add CFI directives.
357 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
358 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
359 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
360 Likewise.
361
1518f58b
TS
362 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
363 __fortify_fail returning.
364 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
365
db9b5059
TS
366 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
367 sysdeps/sh/____longjmp_chk.S.
368 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
369 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
370 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
371 (gen-as-const-headers): Append sigaltstack-offsets.sym.
372
967705fe
TS
373 * sysdeps/sh/abort-instr.h: New file.
374 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
375 process in case exit returns.
376
a9def8c4
TS
377 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
378 initialize the GOT register before use.
379
2a649725
TS
380 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
381 calculation of ARGC > 4.
382
af1bce34
TS
383 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
384 meaningful names to some local labels.
385
d230f50a
KK
3862012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
387 Kaz Kojima <kkojima@rr.iij4u.or.jp>
388
389 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
390 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
391 (__arch_compare_and_exchange_val_16_acq): Likewise.
392 (__arch_compare_and_exchange_val_32_acq): Likewise.
393 (atomic_exchange_and_add): Fix gUSA sequence.
394 (atomic_add): Likewise.
395 (atomic_add_negative): Likewise.
396 (atomic_add_zero): Likewise.
397 (atomic_bit_test_set): Likewise.
398
0479b305
AS
3992012-06-22 Andreas Schwab <schwab@redhat.com>
400
401 [BZ #13579]
402 * include/link.h (struct link_map): Add l_free_initfini.
403 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
404 l_initfini.
405 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
406 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
407 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
408 set.
409
0e3933b9
CD
4102012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
411
412 * configure.in: Use AC_LANG_SOURCE.
413 * configure: Regenerate.
414
4248b1b1
RM
4152012-06-22 Roland McGrath <roland@hack.frob.com>
416
417 * configure.in (libc_cv_localstatedir): New substituted variable.
418 * configure: Regenerated.
419 * config.make.in (localstatedir): New variable, substituted from
420 libc_cv_localstatedir.
421 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
422 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
423 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
424 * sysdeps/gnu/configure: Regenerated.
425
006dd861
JL
4262012-06-21 Jeff Law <law@redhat.com>
427
428 [BZ #14277]
429 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
430 free. Simplify list management for _LIBC case.
431
79662d42
JM
4322012-06-21 Joseph Myers <joseph@codesourcery.com>
433
b7abb4bf
JM
434 [BZ #14273]
435 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
436 Clear sign bit of 64-bit integer value before comparing against
437 overflow value.
438
79662d42
JM
439 * sysdeps/mach/configure: Regenerated.
440
1f150908
L
4412012-06-21 H.J. Lu <hongjiu.lu@intel.com>
442
443 [BZ #14278]
444 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
445
28363bbf
JL
4462012-06-21 Jeff Law <law@redhat.com>
447
448 [BZ #13882]
449 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
450 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 451 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
452 * elf/dl-open.c (dl_open_worker): Likewise.
453
09615db4
CD
4542012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
455
456 * scripts/list-sources.sh: Scan PORTS for translations.
457 * po/libc.pot: Regenerated.
458
2174c6dd
AJ
4592012-06-21 Andreas Jaeger <aj@suse.de>
460
461 [BZ #12194]
462 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
463 warning.
464 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
465 * bits/byteswap-16.h (__bswap_16): Likewise.
466 * bits/byteswap.h (__bswap_constant_16): Likewise.
467
3ee947b1
L
4682012-06-18 H.J. Lu <hongjiu.lu@intel.com>
469
470 [BZ #14117]
a2f34833
L
471 * sysdeps/i386/fpu_control.h: Removed.
472 * sysdeps/x86_64/fpu_control.h: Moved to ...
473 * sysdeps/x86/fpu_control.h: Here.
474
3ee947b1
L
475 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
476 (_FPU_SETCW): Likewise.
477
ed1825f8
L
4782012-06-15 H.J. Lu <hongjiu.lu@intel.com>
479
25f1282a
L
480 [BZ #14117]
481 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
482 * sysdeps/x86/fpu/bits/mathinline.h: This.
483 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
484
ed1825f8
L
485 [BZ #14050]
486 [BZ #14117]
487 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
488 functions if __x86_64__ is defined.
489
36d54b74
CLT
4902012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
491
492 * string/endian.h: Add !__ASSEMBLER__ condition for including
493 conversion interfaces.
494
10285c21
JM
4952012-06-15 Joseph Myers <joseph@codesourcery.com>
496
497 [BZ #14241]
498 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
499 of ABS(x) in calculating zero to negative powers other than odd
500 integers.
501 * math/libm-test.inc (pow_test): Add more tests.
502
06c5abbd
AJ
5032012-06-15 Andreas Jaeger <aj@suse.de>
504
505 * manual/contrib.texi (Contributors): Update entry of Liubov
506 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
507 Machado Filho.
508
a3aeac40
CH
5092012-06-15 Cyril Hrubis <metan@ucw.cz>
510
511 * string/string.h: Add __wur to GNU version of strerror_r.
512
49bdf4c1
L
5132012-06-14 H.J. Lu <hongjiu.lu@intel.com>
514
515 [BZ #14229]
516 * string/Makefile (tests): Add tst-strtok_r.
517 * string/tst-strtok_r.c: New file.
518 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
519 RAX_LP/RDX_LP on SAVE_PTR.
520
834f9b8d
RM
5212012-06-14 Roland McGrath <roland@hack.frob.com>
522
523 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
524
75fa1921
JM
5252012-06-14 Joseph Myers <joseph@codesourcery.com>
526
527 * libm_test.inc (csqrt_test): Allow more spurious underflow
528 exceptions.
529 (j0_test): Likewise.
530 (j1_test): Likewise.
531 (y0_test): Likewise.
532 (y1_test): Likewise.
533
771766df
CD
5342012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
535
536 * po/Makefile (libc.pot): Use UTF-8 charset.
537
ceb9e56b
PP
5382012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
539
540 [BZ #14210]
541 Suppress sign-conversion warning from FD_SET.
542 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
543 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
544 not unsigned long int.
545 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
546
ddb28975
L
5472012-06-12 H.J. Lu <hongjiu.lu@intel.com>
548
549 [BZ #14050]
550 [BZ #14117]
551 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
552 __extern_always_inline instead of __extern_inline.
553 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
554 (__signbit): Likewise.
555 (__signbitl): Support C++ namespace.
556 (lrintf): New inline function.
557 (lrint): Likewise.
558 (llrintf): Likewise.
559 (llrint): Likewise.
560 (fmaxf): Likewise.
561 (fmax): Likewise.
562 (fminf): Likewise.
563 (fmin): Likewise.
564 (rint): Likewise.
565 (rintf): Likewise.
566 (ceil): Likewise.
567 (ceilf): Likewise.
568 (floor): Likewise.
569 (floorf): Likewise.
570 (nearbyint): Likewise.
571 (nearbyintf): Likewise.
572
d7b4fb26
TS
5732012-06-12 Thomas Schwinge <thomas@codesourcery.com>
574
575 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
576 non-default versions.
577
eb55f5c2
RM
5782012-06-11 Roland McGrath <roland@hack.frob.com>
579
580 [BZ #14218]
581 * manual/argp.texi (Argp): Reword argp_parse description slightly.
582
366af02c
TS
5832012-06-09 Thomas Schwinge <thomas@codesourcery.com>
584
99ff6e5c
TS
585 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
586 (FE_UPWARD, FE_DOWNWARD): Don't define.
587 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
588 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
589
366af02c
TS
590 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
591 reading it.
592 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
593 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
594
793ea851
KK
5952012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
596
597 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
598 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
599 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
600 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
601
a728a38f
L
6022012-06-06 H.J. Lu <hongjiu.lu@intel.com>
603
604 [BZ #14117]
c08010c7
L
605 * sysdeps/i386/fpu/bits/fenv.h: Removed.
606 * sysdeps/i386/fpu/Implies: New file.
607 * sysdeps/x86_64/fpu/Implies: Likewise.
608 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
609 * sysdeps/x86/fpu/bits/fenv.h: This.
610
a728a38f
L
611 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
612 __SSE_MATH__.
613
6e230d11
SP
6142012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
615
616 [BZ #14134]
617 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
618 character 0xffff that matches the last element of the
619 conversion table.
620
1b671feb
AZ
6212012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
622
623 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
624 fmodl commit.
625
6043738b
AZ
6262012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
627
628 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
629 values higher than 25.6283.
630
34ae0b32
AZ
6312012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
632
633 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
634 subnormal exponent extraction and add some __builtin_expect.
635 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
636 Fix for subnormal mantissa calculation.
637
1214ec8f
MF
6382012-06-04 Mike Frysinger <vapier@gentoo.org>
639
640 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
641 cpu2 is -1 and errno is not ENOSYS.
642
f3d1f93c
L
6432012-06-04 H.J. Lu <hongjiu.lu@intel.com>
644
645 [BZ #14117]
0e4a3cd7
L
646 * sysdeps/i386/i486/bits/string.h: Renamed to ...
647 * sysdeps/x86/bits/string.h: This.
648 * sysdeps/x86_64/bits/string.h: Removed.
649
6704c645
L
650 * sysdeps/i386/i486/bits/string.h: Define inline functions only
651 if not compiling for x86-64, but compiling for >= i486.
652
48495318
L
653 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
654 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
655
14adcbfc
L
656 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
657 New macro from Linux kernel 3.4.0.
658 (FP_XSTATE_MAGIC2): Likewise.
659 (FP_XSTATE_MAGIC2_SIZE): Likewise.
660 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
661 (struct _fpx_sw_bytes): New struct.
662 (struct _xsave_hdr): Likewise.
663 (struct _ymmh_state): Likewise.
664 (struct _xstate): Likewise.
665
68e408ab
L
666 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
667 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
668 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
669 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
670 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
671 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
672
f3d1f93c
L
673 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
674 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
675 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
676 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
677 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
678 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
679
d9dc34cd
TMQMF
6802012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
681
682 [BZ #13743]
683 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
684 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
685 (sysdep_headers): Include sys/platform/ppc.h.
686 * sysdeps/powerpc/test-gettimebase.c: Test for
687 __ppc_get_timebase() to catch future ISA opcode/insn changes.
688 * manual/Makefile (appendices): Include platform.texi.
689 * manual/contrib.texi (Contributors): Update @node pointers.
690 * manual/maint.texi (Maintenance): Likewise.
691 (Platform): New node.
692 * manual/platform.texi: New file. Document the new features.
693
4af3879c
SP
6942012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
695 Jakub Jelinek <jakub@redhat.com>
696
697 [BZ #14188]
698 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
699 where __builtin_expect is unavailable.
700
2fd6ff13
DM
7012012-06-03 David S. Miller <davem@davemloft.net>
702
703 * stdlib/longlong.h: Updated from GCC.
704
173f7220
AS
7052012-06-02 Andreas Schwab <schwab@linux-m68k.org>
706
707 [BZ #14042]
708 * sysdeps/powerpc/powerpc32/mcount.c: New file.
709 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
710 __mcount_internal.
711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
712 (GLIBC_2.16): Likewise.
713
f34a1c6f
L
7142012-06-01 H.J. Lu <hongjiu.lu@intel.com>
715
716 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
717
88a4576f
JM
7182012-06-01 Joseph Myers <joseph@codesourcery.com>
719
ea32bcdd
JM
720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
721 (default-abi): New variable.
722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
723 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
724 variable.
725 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
726 Likewise.
727 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
728 Likewise.
729 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
730 Likewise.
731
88a4576f
JM
732 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
733 definition. Document in comment.
734
402fe938
DM
7352012-06-01 David S. Miller <davem@davemloft.net>
736
737 * stdlib/longlong.h: Updated from GCC.
738
3553723f
L
7392012-06-01 H.J. Lu <hongjiu.lu@intel.com>
740
741 [BZ #14117]
3bd872c4
L
742 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
743 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
744 sys/debugreg.h sys/io.h here.
745 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
746 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
747 sys/io.h.
748 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
749 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
750 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
751 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
752 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
753 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
754
3553723f
L
755 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
756 Define only if __x86_64__ is defined.
757
4842e4fe
JM
7582012-06-01 Joseph Myers <joseph@codesourcery.com>
759
c5bfe3d5
JM
760 [BZ #14048]
761 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
762 Use int64_t for variable i.
763 * math/libm-test.inc (fmod_test): Add more tests.
764
4842e4fe
JM
765 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
766 z computation is not scheduled after fetestexcept.
767 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
768 Use math_force_eval instead of asm to ensure calculation scheduled
769 before exception test.
770 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
771 Ensure a1 + u.d computation is not scheduled after fetestexcept.
772
efb73488
AJ
7732012-06-01 Aurelien Jarno <aurelien@aurel32.net>
774
775 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
776 computation is not scheduled after fetestexcept.
777
29bcce7c
L
7782012-06-01 H.J. Lu <hongjiu.lu@intel.com>
779
780 [BZ #14117]
781 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
782 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
783
73a68f94
AZ
7842012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
785
786 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
787 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
788
67b6df78
L
7892012-05-31 H.J. Lu <hongjiu.lu@intel.com>
790
edf2933a 791 [BZ #14117]
ebc64a18
L
792 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
793 <bits/wordsize.h>.
794 (__WCHAR_MIN): Support __WORDSIZE == 64.
795 (__WCHAR_MAX): Likewise.
796
edf2933a
L
797 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
798 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
799
57c6cf40
L
800 [BZ #14183]
801 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
802 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
803
67b6df78 804 [BZ #14117]
8eb6281e
L
805 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
806 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
807
aac639f4
L
808 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
809 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
810
67b6df78
L
811 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
812 Defined to 1 if __x86_64__ isn't defined.
813 (_STAT_VER_LINUX_OLD): New.
814 (st_atime): Remove duplicate.
815 (st_mtime): Likewise.
816 (st_ctime): Likewise.
817
1c2cfe81
DM
8182012-05-31 David S. Miller <davem@davemloft.net>
819
820 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
821 entries.
822
5be8418c
AS
8232012-06-01 Andreas Schwab <schwab@linux-m68k.org>
824
e7725326
AS
825 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
826 gen-libm-test.pl.
827
5be8418c
AS
828 [BZ #14132]
829 * elf/dl-reloc.c: Include <_itoa.h>.
830 (_dl_reloc_bad_type): Remove use of INTUSE.
831 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
832 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
833 * stdio-common/psiginfo.c (psiginfo): Likewise.
834 * stdio-common/psignal.c (psignal): Likewise.
835 * string/strsignal.c (strsignal): Likewise.
836 * include/signal.h (_sys_siglist): Declare hidden proto.
837 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
838 INTVARDEF with libc_hidden_data_def.
839 * stdio-common/itoa-udigits.c: Likewise.
840 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
841 (_itoa_lower_digits_internal): Remove declaration.
842 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
843 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
844 (_sys_sigabbrev_internal): Remove aliases.
845 (_sys_siglist): Define hidden alias.
846
507352f1
MT
8472012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
848
849 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
850 bits/sysctl.h.
851
42bbb1c3
L
8522012-05-31 H.J. Lu <hongjiu.lu@intel.com>
853
854 [BZ #14117]
6bd784b6
L
855 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
856 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
857
8bca20f0
L
858 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
859 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
860 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
861 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
862 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
863 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
864
f9e890a9
L
865 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
866 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
867 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
868
471101a1
L
869 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
870 with __addr.
871 (insw): Likewise.
872 (insl): Likewise.
873 (outsb): Likewise.
874 (outsw): Likewise.
875 (outsl): Likewise.
876
6451c862
L
877 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
878 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
879 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
880
a254b8c9
L
881 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
882 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
883 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
884 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
885 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
886 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
887
b8dfdd92
L
888 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
889 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
890
578cd270
L
891 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
892 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
893
de662f5f
L
894 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
895 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
896 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
897
25653439
L
898 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
899 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
900 to ...
901 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
902
6bad24a0
L
903 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
904 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
905 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
906
42bbb1c3
L
907 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
908 for x86-64.
909 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
910
2d10d547
JM
9112012-05-31 Joseph Myers <joseph@codesourcery.com>
912
913 * math/math.h (M_El): Use two more decimal places.
914 (M_LOG2El): Likewise.
915 (M_LOG10El): Likewise.
916 (M_LN2l): Likewise.
917 (M_LN10l): Likewise.
918 (M_PIl): Likewise.
919 (M_PI_2l): Likewise.
920 (M_PI_4l): Likewise.
921 (M_1_PIl): Likewise.
922 (M_2_PIl): Likewise.
923 (M_2_SQRTPIl): Likewise.
924 (M_SQRT2l): Likewise.
925 (M_SQRT1_2l): Likewise.
926
f230c29b
DM
9272012-05-31 David S. Miller <davem@davemloft.net>
928
929 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
930 values between float registers.
931 * sysdeps/sparc/sparc64/memset.S: Likewise.
932 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
933
fed806c3
MF
9342012-05-31 Mike Frysinger <vapier@gentoo.org>
935
936 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
937 -D_FORTIFY_SOURCE=1.
938 (CPPFLAGS-tst-longjmp_chk.c): Define.
939 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
940 (CPPFLAGS-tst-longjmp_chk2.c): Define.
941 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
942 CFLAGS-tst-wchar-h.c.
943
30917259
MP
9442012-05-31 Marek Polacek <polacek@redhat.com>
945
946 [BZ #14132]
947 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
948 __endmntent_internal): Remove declaration.
949 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
950 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
951 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
952
1c58d5dc
DM
9532012-05-30 David S. Miller <davem@davemloft.net>
954
955 * sysdeps/sparc/sparc32/soft-fp/q_util.c
956 (___Q_simulate_exceptions): Use real FP ops rather than writing
957 into the %fsr.
958 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
959 Likewise.
960
7dc00e0d
L
9612012-05-30 H.J. Lu <hongjiu.lu@intel.com>
962
963 [BZ #14117]
0bd53985
L
964 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
965 * sysdeps/x86/bits/xtitypes.h: This.
966
3a257e66
L
967 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
968 * sysdeps/x86/bits/wordsize.h: This.
969
62f62904
L
970 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
971 * sysdeps/x86/bits/huge_vall.h: This.
972
404fe9d9
L
973 * sysdeps/i386/bits/select.h: Removed.
974 * sysdeps/x86_64/bits/select.h: Renamed to ...
975 * sysdeps/x86/bits/select.h: This.
976
d48d0446
L
977 * sysdeps/i386/bits/setjmp.h: Removed.
978 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
979 * sysdeps/x86/bits/setjmp.h: This.
980
7dc00e0d
L
981 * sysdeps/i386/bits/mathdef.h: Removed.
982 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
983 * sysdeps/x86/bits/mathdef.h: This.
984
03277f8f
AS
9852012-05-30 Andreas Schwab <schwab@linux-m68k.org>
986
987 [BZ #14132]
988 * include/sys/socket.h (__connect_internal)
989 (__libc_sa_len_internal): Remove declaration.
990 (__connect, __libc_sa_len): Declare hidden_proto.
991 (SA_LEN): Remove use of INTUSE.
992 * socket/connect.c: Add libc_hidden_def.
993 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
994 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
995 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
996 alias.
997 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
998 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
999 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1000 of adding _internal alias.
1001
13764867
L
10022012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1003
1004 [BZ #14117]
6bd97696
L
1005 * sysdeps/i386/bits/link.h: Removed.
1006 * sysdeps/i386/bits/linkmap.h: Likewise.
1007 * sysdeps/x86_64/bits/link.h: Renamed to ...
1008 * sysdeps/x86/bits/link.h: This.
1009 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1010 * sysdeps/x86/bits/linkmap.h: This.
1011
f726f0bb
L
1012 * sysdeps/i386/bits/endian.h: Removed.
1013 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1014 * sysdeps/x86/bits/endian.h: This.
1015
13764867
L
1016 * sysdeps/i386/bits/byteswap.h: Removed.
1017 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1018 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1019 * sysdeps/x86/bits/byteswap.h: This.
1020 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1021 * sysdeps/x86/bits/byteswap-16.h: This.
1022 * sysdeps/i386/Implies: Add x86.
1023 * sysdeps/x86_64/Implies: Likewise.
1024
ae251b0b
DM
10252012-05-30 David S. Miller <davem@davemloft.net>
1026
1027 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1028 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1029 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1030 (FP_TRAPPING_EXCEPTIONS): Define.
1031 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1032 (FP_TRAPPING_EXCEPTIONS): Define.
1033 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1034 subnormals only when inexact has been signalled or underflow
1035 exceptions are enabled.
1036 (_FP_PACK_CANONICAL): Likewise.
1037
d5c90867
L
10382012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1039
1040 [BZ #14183]
1041 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1042 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1043
63f1549e
RH
10442012-05-30 Richard Henderson <rth@twiddle.net>
1045
8d8f2279
RH
1046 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1047 with #ifndef NOT_IN_libc.
1048
63f1549e
RH
1049 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1050 marked to avoid plt entry.
1051
0ab0291b
L
10522012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1053
1054 [BZ #14112]
1055 * Makeconfig (default-abi): New macro.
1056 (abi-includes): Likewise.
1057 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1058 $(abi-$(default-abi)-lib-soname) for soname if defined.
1059 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1060 abi-variants.
1061 * Makefile (installed-stubs): Likewise.
1062 * include/stubs-biarch.h: Removed.
1063 * scripts/lib-names.awk: Only handle one library at a time.
1064 * scripts/soversions.awk: Remove WORDSIZE support.
1065 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1066 entries.
1067 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1068 Removed.
1069 (syscall-list-default-condition): Likewise.
1070 (syscall-list-default-condition): Likewise.
1071 (syscall-list-includes): Likewise.
1072 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1073 syscall-list-* with abi-*. Handle undefined abi-variants.
1074 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1075 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1076 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1077 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1078 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1079 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1080 Removed.
1081 (syscall-list-32-options): Likewise.
1082 (syscall-list-32-condition): Likewise.
1083 (syscall-list-64-options): Likewise.
1084 (syscall-list-64-condition): Likewise.
1085 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1086 macro.
1087 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1088 Renamed to ...
1089 (abi-*): This.
1090 (abi-64-ld-soname): New macro.
1091 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1092 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1093 Renamed to ...
1094 (abi-*): This.
1095 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1096 * sysdeps/x86_64/x32/shlib-versions: Likewise.
1097
4da0431d
JM
10982012-05-30 Joseph Myers <joseph@codesourcery.com>
1099
3a85279c
JM
1100 * sysdeps/unix/sysv/linux/kernel-features.h
1101 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1102 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1103 include <kernel-features.h>.
1104 [!__NR_ftruncate64]: Remove conditional code.
1105 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1106 [__NR_ftruncate64]: Make code unconditional.
1107 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1108 * sysdeps/unix/sysv/linux/truncate64.c: Do not
1109 include <kernel-features.h>.
1110 [!__NR_ftruncate64]: Remove conditional code.
1111 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1112 [__NR_ftruncate64]: Make code unconditional.
1113 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1115 include <kernel-features.h>.
1116 [!__NR_ftruncate64]: Remove conditional code.
1117 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1118 [__NR_ftruncate64]: Make code unconditional.
1119 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1121 include <kernel-features.h>.
1122 [!__NR_ftruncate64]: Remove conditional code.
1123 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1124 [__NR_ftruncate64]: Make code unconditional.
1125 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1126
4da0431d
JM
1127 * configure.in (libc_cv_fpie): Weaken to a compile test using
1128 LIBC_TRY_CC_OPTION.
1129 * configure: Regenerated.
1130
11ef492c
AK
11312012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1132
1133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1137 Refreshed.
1138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1144 Refreshed.
1145
d66ef399
DM
11462012-05-27 David S. Miller <davem@davemloft.net>
1147
1148 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1149 (___Q_zero): New.
1150 (__Q_simulate_exceptions): Return void. Change to simulate
1151 exceptions by writing into the %fsr.
1152 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1153 (__Qp_handle_exceptions): Likewise.
1154 (numbers): Delete.
1155 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1156 __Qp_handle_exceptions.
1157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1158 __Qp_handle_exceptions.
1159 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1160 as unused and give dummy FP_RND_NEAREST initializer.
1161 (FP_INHIBIT_RESULTS): Define.
1162 (___Q_simulate_exceptions): Update declaration.
1163 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1164 formatting.
1165 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1166 as unused and give dummy FP_RND_NEAREST initializer.
1167 (__Qp_handle_exceptions): Update declaration.
1168 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1169 formatting.
1170
04fb54b5
TS
11712012-05-27 Thomas Schwinge <thomas@codesourcery.com>
1172
1173 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1174 the temporary FPU control word.
1175 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1176 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1177 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1178 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1179 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1180 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1181 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1182 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1183 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1184 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1185 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1186
3f99608f
KK
11872012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1188
1189 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1190 fields.
1191
65a4de4e
CLT
11922012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
1193
1194 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1195 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1196 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1197 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1198 Likewise.
1199 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1200 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1201 Likewise.
1202
15749d40
UD
12032012-05-27 Ulrich Drepper <drepper@gmail.com>
1204
1205 * po/h.po: Update from translation team.
1206
25dbcb27
AS
12072012-05-26 Andreas Schwab <schwab@linux-m68k.org>
1208
3d3f8e55
AS
1209 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1210
25dbcb27
AS
1211 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1212 handling of denormals.
1213 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1214 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1215 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1216 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1217 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1218 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1219 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1220 Likewise.
1221
7ad47a80 12222012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
1223
1224 [BZ #14152]
1225 * math/libm-test.inc (fma_test): Don't always expect underflow
1226 exception.
1227
9c6ea9fa
SP
12282012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1229
1230 [BZ #12416]
1231 * elf/tst-execstack.c: Include stackinfo.h.
1232 (do_test): Adjust test case to ensure that pthread_getattr_np
1233 behaviour remains the same after marking stack executable.
1234
a8239222
JM
12352012-05-25 Joseph Myers <joseph@codesourcery.com>
1236
1237 * sysdeps/unix/sysv/linux/kernel-features.h
1238 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1239 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1240 kernel-features.h.
1241 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1242 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1243 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1244 kernel-features.h.
1245 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1246 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1247
918b5606
L
12482012-05-25 H.J. Lu <hongjiu.lu@intel.com>
1249
1250 * configure.in: Define the default includes to being none.
1251 * configure: Regenerated.
1252
3a097cc7
RM
12532012-05-25 Roland McGrath <roland@hack.frob.com>
1254
8422c9a5
RM
1255 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1256 * sysdeps/x86_64/setjmp.S: Likewise.
1257 * sysdeps/i386/bsd-setjmp.S: Likewise.
1258 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1259 * sysdeps/i386/setjmp.S: Likewise.
1260 * sysdeps/i386/__longjmp.S: Likewise.
1261 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1262 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1263
3a097cc7
RM
1264 * include/stap-probe.h: New file.
1265 * configure.in: Handle --enable-systemtap.
1266 * configure: Regenerated.
1267 * config.h.in (USE_STAP_PROBE): New #undef.
1268 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1269 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1270 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1271
21708942
JM
12722012-05-25 Joseph Myers <joseph@codesourcery.com>
1273
1274 [BZ #13717]
1275 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1276 to 2.4.0 where earlier.
1277 * sysdeps/unix/sysv/linux/configure: Regenerated.
1278 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1279 <kernel-features.h>.
1280 [__ASSUME_32BITUIDS]: Make code unconditional.
1281 [!__ASSUME_32BITUIDS]: Remove conditional code.
1282 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1283 <kernel-features.h>.
1284 [__ASSUME_32BITUIDS]: Make code unconditional.
1285 [!__ASSUME_32BITUIDS]: Remove conditional code.
1286 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
1287 [__ASSUME_32BITUIDS]: Make code unconditional.
1288 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1289 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
1290 <kernel-features.h>.
1291 [__ASSUME_32BITUIDS]: Make code unconditional.
1292 [!__ASSUME_32BITUIDS]: Remove conditional code.
1293 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
1294 <kernel-features.h>.
1295 [__ASSUME_32BITUIDS]: Make code unconditional.
1296 [!__ASSUME_32BITUIDS]: Remove conditional code.
1297 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
1298 <kernel-features.h>.
1299 [__ASSUME_32BITUIDS]: Make code unconditional.
1300 [!__ASSUME_32BITUIDS]: Remove conditional code.
1301 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
1302 <kernel-features.h>.
1303 [__ASSUME_32BITUIDS]: Make code unconditional.
1304 [!__ASSUME_32BITUIDS]: Remove conditional code.
1305 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1306 <kernel-features.h>.
1307 [__ASSUME_32BITUIDS]: Make code unconditional.
1308 [!__ASSUME_32BITUIDS]: Remove conditional code.
1309 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1310 <kernel-features.h>.
1311 [__ASSUME_32BITUIDS]: Make code unconditional.
1312 [!__ASSUME_32BITUIDS]: Remove conditional code.
1313 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
1314 <kernel-features.h>.
1315 [__ASSUME_32BITUIDS]: Make code unconditional.
1316 [!__ASSUME_32BITUIDS]: Remove conditional code.
1317 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1318 <kernel-features.h>.
1319 [__ASSUME_32BITUIDS]: Make code unconditional.
1320 [!__ASSUME_32BITUIDS]: Remove conditional code.
1321 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1322 <kernel-features.h>.
1323 [__ASSUME_32BITUIDS]: Make code unconditional.
1324 [!__ASSUME_32BITUIDS]: Remove conditional code.
1325 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
1326 <kernel-features.h>.
1327 [__ASSUME_32BITUIDS]: Make code unconditional.
1328 [!__ASSUME_32BITUIDS]: Remove conditional code.
1329 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
1330 <kernel-features.h>.
1331 [__NR_setresgid] (__setresgid): Do not declare.
1332 [__ASSUME_32BITUIDS]: Make code unconditional.
1333 [!__ASSUME_32BITUIDS]: Remove conditional code.
1334 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1335 <kernel-features.h>.
1336 [__NR_setresuid] (__setresuid): Do not declare.
1337 [__ASSUME_32BITUIDS]: Make code unconditional.
1338 [!__ASSUME_32BITUIDS]: Remove conditional code.
1339 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
1340 <kernel-features.h>.
1341 [__ASSUME_32BITUIDS]: Make code unconditional.
1342 [!__ASSUME_32BITUIDS]: Remove conditional code.
1343 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
1344 <kernel-features.h>.
1345 [__ASSUME_32BITUIDS]: Make code unconditional.
1346 [!__ASSUME_32BITUIDS]: Remove conditional code.
1347 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
1348 <kernel-features.h>.
1349 [__ASSUME_32BITUIDS]: Make code unconditional.
1350 [!__ASSUME_32BITUIDS]: Remove conditional code.
1351 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
1352 <kernel-features.h>.
1353 [__ASSUME_32BITUIDS]: Make code unconditional.
1354 [!__ASSUME_32BITUIDS]: Remove conditional code.
1355 * sysdeps/unix/sysv/linux/i386/setregid.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/i386/setresgid.c: Do not include
1360 <kernel-features.h>.
1361 [__ASSUME_32BITUIDS]: Make code unconditional.
1362 [!__ASSUME_32BITUIDS]: Remove conditional code.
1363 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
1364 <kernel-features.h>.
1365 [__ASSUME_32BITUIDS]: Make code unconditional.
1366 [!__ASSUME_32BITUIDS]: Remove conditional code.
1367 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
1368 <kernel-features.h>.
1369 [__ASSUME_32BITUIDS]: Make code unconditional.
1370 [!__ASSUME_32BITUIDS]: Remove conditional code.
1371 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
1372 <kernel-features.h>.
1373 [__ASSUME_32BITUIDS]: Make code unconditional.
1374 [!__ASSUME_32BITUIDS]: Remove conditional code.
1375 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1376 <kernel-features.h>.
1377 [__ASSUME_32BITUIDS]: Make code unconditional.
1378 [!__ASSUME_32BITUIDS]: Remove conditional code.
1379 * sysdeps/unix/sysv/linux/kernel-features.h
1380 (__ASSUME_SETRESUID_SYSCALL): Remove.
1381 (__ASSUME_SETRESGID_SYSCALL): Likewise.
1382 (__ASSUME_32BITUIDS): Likewise.
1383 (__ASSUME_LDT_WORKS): Likewise.
1384 (__ASSUME_O_DIRECTORY): Likewise.
1385 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1386 architecture but not kernel version.
1387 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1388 (__ASSUME_MMAP2_SYSCALL): Likewise.
1389 (__ASSUME_STAT64_SYSCALL): Likewise.
1390 (__ASSUME_IPC64): Likewise.
1391 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1392 <kernel-features.h>.
1393 [__ASSUME_32BITUIDS]: Make code unconditional.
1394 [!__ASSUME_32BITUIDS]: Remove conditional code.
1395 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1396 <kernel-features.h>.
1397 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1398 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1399 132096]: Remove conditional code.
1400 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1401 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1402 <kernel-features.h>.
1403 [__ASSUME_32BITUIDS]: Make code unconditional.
1404 [!__ASSUME_32BITUIDS]: Remove conditional code.
1405 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1406 <kernel-features.h>.
1407 [__ASSUME_32BITUIDS]: Make code unconditional.
1408 [!__ASSUME_32BITUIDS]: Remove conditional code.
1409 * sysdeps/unix/sysv/linux/setegid.c: Do not include
1410 <kernel-features.h>.
1411 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1412 unconditional.
1413 (__setresgid): Do not declare.
1414 [__ASSUME_32BITUIDS]: Make code unconditional.
1415 [!__ASSUME_32BITUIDS]: Remove conditional code.
1416 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1417 <kernel-features.h>.
1418 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1419 unconditional.
1420 (__setresuid): Do not declare.
1421 [__ASSUME_32BITUIDS]: Make code unconditional.
1422 [!__ASSUME_32BITUIDS]: Remove conditional code.
1423 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1424 <kernel-features.h>.
1425 [__ASSUME_32BITUIDS]: Make code unconditional.
1426 [!__ASSUME_32BITUIDS]: Remove conditional code.
1427 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1428 <kernel-features.h>.
1429 [__ASSUME_32BITUIDS]: Make code unconditional.
1430 [!__ASSUME_32BITUIDS]: Remove conditional code.
1431
a386f1cc
RH
14322012-05-25 Richard Henderson <rth@twiddle.net>
1433
1434 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1435 dl_hwcap to ifunc resolver.
1436 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1437 elf_ifunc_invoke.
1438 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1439 dl_hwcap to ifunc resolver.
1440 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1441
b6550497
JM
14422012-05-24 Joseph Myers <joseph@codesourcery.com>
1443
1444 [BZ #14153]
1445 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1446 for |x| <= 2**-26, not 2**-57.
1447 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1448 exception.
1449
b0bc23a1
JL
14502012-05-24 Jeff Law <law@redhat.com>
1451
1452 * stdio-common/Makefile (tests): Add bug25.
1453 * stdio-common/bug25.c: New test.
1454
347c92e9
L
14552012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1456
1457 [BZ #13576]
1458 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1459 multiple of MALLOC_ALIGNMENT in size.
1460 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1461
6bcc8b3f
JM
14622012-05-24 Joseph Myers <joseph@codesourcery.com>
1463
1464 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1465 Require >= 256.
1466 (FILENAME_MAX): Use macro-int-constant.
1467 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1468 (_IOFBF): Use macro-int-constant.
1469 (_IOLBF): Likewise.
1470 (_IONBF): Likewise.
1471 (SEEK_CUR): Likewise.
1472 (SEEK_END): Likewise.
1473 (SEEK_SET): Likewise.
1474 (TMP_MAX): Likewise.
1475 (EOF): Use macro-int-constant. Require < 0.
1476 (NULL): Use macro-constant. Require == 0.
1477 (stdin): Require type to be FILE *.
1478 (stdout): Likewise.
1479 (stderr): Likewise.
1480 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1481 macro-int-constant.
1482 (EXIT_SUCCESS): Likewise.
1483 (NULL): Use macro-constant. Require == 0.
1484 (RAND_MAX): Use macro-int-constant.
1485 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1486 [C99-based standards] (strtof): Require function.
1487 [C99-based standards] (strtold): Likewise.
1488 [C99-based standards] (strtoll): Likewise.
1489 [C99-based standards] (strtoull): Likewise.
1490 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1491 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1492 [ISO || ISO99 || ISO11] (math.h): Likewise.
1493 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1494 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1495 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1496
d18ea0c5
AS
14972012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1498
1499 [BZ #14132]
56d25bb8
AS
1500 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1501 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1502 * intl/dgettext.c (DCGETTEXT): Likewise.
1503 * intl/gettext.c (DCGETTEXT): Likewise.
1504 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1505 * posix/regex_internal.h (gettext): Likewise.
1506 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1507 Remove declaration.
1508 * include/argz.h (__argz_count_internal)
1509 (__argz_stringify_internal): Remove declaration.
1510 (__argz_count, __argz_stringify): Declare hidden proto.
1511 * intl/dcgettext.c: Remove use of INTDEF.
1512 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1513 * string/argz-stringify.c: Likewise.
1514 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1515 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1516 Declare hidden proto.
d18ea0c5
AS
1517 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1518 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1519 Declare hidden proto.
1520 * include/stdio.h (__asprintf_internal): Don't declare.
1521 (__asprintf): Don't define as macro. Declare hidden proto.
1522 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1523 (__fsetlocking): Declare hidden proto.
1524 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1525 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1526 hidden proto.
1527 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1528 (_IO_setlinebuf): Remove use of INTUSE.
1529 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1530 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1531 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1532 Remove declaration.
1533 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1534 (_IO_do_flush): Remove use of INTUSE.
1535 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1536 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1537 (_IO_adjust_column, _IO_least_wmarker)
1538 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1539 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1540 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1541 (_IO_default_doallocate, _IO_wdefault_doallocate)
1542 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1543 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1544 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1545 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1546 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1547 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1548 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1549 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1550 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1551 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1552 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1553 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1554 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1555 proto.
1556 (_IO_flush_all_internal, _IO_adjust_column_internal)
1557 (_IO_default_uflow_internal, _IO_default_finish_internal)
1558 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1559 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1560 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1561 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1562 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1563 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1564 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1565 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1566 (_IO_file_close_internal, _IO_file_close_it_internal)
1567 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1568 (_IO_file_init_internal, _IO_file_attach_internal)
1569 (_IO_file_fopen_internal, _IO_file_read_internal)
1570 (_IO_file_sync_internal, _IO_file_seek_internal)
1571 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1572 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1573 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1574 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1575 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1576 (_IO_list_all_internal, _IO_link_in_internal)
1577 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1578 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1579 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1580 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1581 (_IO_do_write_internal, _IO_padn_internal)
1582 (_IO_getline_info_internal, _IO_getline_internal)
1583 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1584 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1585 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1586 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1587 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1588 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1589 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1590 with libc_hidden_ver, remove use of INTUSE.
1591 * libio/genops.c: Likewise.
1592 * libio/freopen.c: Likewise.
1593 * libio/freopen64.c: Likewise.
1594 * libio/iofclose.c: Likewise.
1595 * libio/iofdopen.c: Likewise.
1596 * libio/iofflush.c: Likewise.
1597 * libio/iofflush_u.c: Likewise.
1598 * libio/iofgets.c: Likewise.
1599 * libio/iofgets_u.c: Likewise.
1600 * libio/iofopen.c: Likewise.
1601 * libio/iofopncook.c: Likewise.
1602 * libio/iofread.c: Likewise.
1603 * libio/iofread_u.c: Likewise.
1604 * libio/ioftell.c: Likewise.
1605 * libio/iofwrite.c: Likewise.
1606 * libio/iogetline.c: Likewise.
1607 * libio/iogets.c: Likewise.
1608 * libio/iogetwline.c: Likewise.
1609 * libio/iopadn.c: Likewise.
1610 * libio/iopopen.c: Likewise.
1611 * libio/ioseekoff.c: Likewise.
1612 * libio/ioseekpos.c: Likewise.
1613 * libio/iosetbuffer.c: Likewise.
1614 * libio/iosetvbuf.c: Likewise.
1615 * libio/ioungetc.c: Likewise.
1616 * libio/ioungetwc.c: Likewise.
1617 * libio/iovdprintf.c: Likewise.
1618 * libio/iovsprintf.c: Likewise.
1619 * libio/iovsscanf.c: Likewise.
1620 * libio/memstream.c: Likewise.
1621 * libio/obprintf.c: Likewise.
1622 * libio/oldfileops.c: Likewise.
1623 * libio/oldiofclose.c: Likewise.
1624 * libio/oldiofdopen.c: Likewise.
1625 * libio/oldiofopen.c: Likewise.
1626 * libio/oldiopopen.c: Likewise.
1627 * libio/oldstdfiles.c: Likewise.
1628 * libio/putc.c: Likewise.
1629 * libio/setbuf.c: Likewise.
1630 * libio/setlinebuf.c: Likewise.
1631 * libio/stdfiles.c: Likewise.
1632 * libio/strops.c: Likewise.
1633 * libio/vasprintf.c: Likewise.
1634 * libio/vscanf.c: Likewise.
1635 * libio/vsnprintf.c: Likewise.
1636 * libio/vswprintf.c: Likewise.
1637 * libio/wfiledoalloc.c: Likewise.
1638 * libio/wfileops.c: Likewise.
1639 * libio/wgenops.c: Likewise.
1640 * libio/wmemstream.c: Likewise.
1641 * libio/wstrops.c: Likewise.
1642 * libio/__fpurge.c: Likewise.
1643 * libio/__fsetlocking.c: Likewise.
1644 * assert/assert.c: Likewise.
1645 * debug/fgets_chk.c: Likewise.
1646 * debug/fgets_u_chk.c: Likewise.
1647 * debug/fread_chk.c: Likewise.
1648 * debug/fread_u_chk.c: Likewise.
1649 * debug/gets_chk.c: Likewise.
1650 * debug/obprintf_chk.c: Likewise.
1651 * debug/vasprintf_chk.c: Likewise.
1652 * debug/vdprintf_chk.c: Likewise.
1653 * debug/vsnprintf_chk.c: Likewise.
1654 * debug/vsprintf_chk.c: Likewise.
1655 * malloc/mtrace.c: Likewise.
1656 * misc/error.c: Likewise.
1657 * misc/syslog.c: Likewise.
1658 * stdio-common/asprintf.c: Likewise.
1659 * stdio-common/fxprintf.c: Likewise.
1660 * stdio-common/getw.c: Likewise.
1661 * stdio-common/isoc99_fscanf.c: Likewise.
1662 * stdio-common/isoc99_scanf.c: Likewise.
1663 * stdio-common/isoc99_vfscanf.c: Likewise.
1664 * stdio-common/isoc99_vscanf.c: Likewise.
1665 * stdio-common/isoc99_vsscanf.c: Likewise.
1666 * stdio-common/printf-prs.c: Likewise.
1667 * stdio-common/printf_fp.c: Likewise.
1668 * stdio-common/printf_fphex.c: Likewise.
1669 * stdio-common/printf_size.c: Likewise.
1670 * stdio-common/putw.c: Likewise.
1671 * stdio-common/scanf.c: Likewise.
1672 * stdio-common/sprintf.c: Likewise.
1673 * stdio-common/tmpfile.c: Likewise.
1674 * stdio-common/vfprintf.c: Likewise.
1675 * stdio-common/vfscanf.c: Likewise.
1676 * stdlib/strfmon_l.c: Likewise.
1677 * sunrpc/openchild.c: Likewise.
1678 * sunrpc/xdr_stdio.c: Likewise.
1679 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1680 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1681
d6c33fda
RM
16822012-05-24 Roland McGrath <roland@hack.frob.com>
1683
c1487492
RM
1684 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1685
1686 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1687 in the third column, to generate for the shared library an IFUNC
1688 that uses _dl_vdso_vsym.
1689 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1690 * Makeconfig (object-suffixes-noshared): New variable.
1691
1692 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1693 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1694 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1695 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1696
d6c33fda
RM
1697 [BZ #14132]
1698 * include/sys/time.h (__gettimeofday): Remove macro.
1699 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1700 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1701 Remove INTDEF.
1702 (__gettimeofday): Add libc_hidden_def.
1703 (gettimeofday): Add libc_hidden_weak.
1704 * sysdeps/mach/gettimeofday.c: Likewise.
1705 * sysdeps/posix/gettimeofday.c: Likewise.
1706 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1707 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1708 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1709 (__gettimeofday_internal): Remove strong_alias.
1710 (__gettimeofday): Add libc_hidden_def.
1711 (gettimeofday): Add libc_hidden_weak.
1712 * sysdeps/unix/syscalls.list (gettimeofday):
1713 Remove __gettimeofday_internal alias.
1714
b5a2bbe6
L
17152012-05-24 Daniel Jacobowitz <drow@false.org>
1716 H.J. Lu <hongjiu.lu@intel.com>
1717
1718 [BZ #12495]
1719 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1720 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1721 (largebin_index_32_big): New.
1722 (largebin_index): Use it for 16-byte alignment.
1723 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1724 correction with front_misalign.
1725
cfba4fda
L
17262012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1727
7f907421
L
1728 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1730 Likewise.
1731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1732 Likewise.
1733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1734 Likewise.
1735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1736 Likewise.
1737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1738 Likewise.
1739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1740 Likewise.
1741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1742 Likewise.
1743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1744 Likewise.
1745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1746 Likewise.
1747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1748 Likewise.
1749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1750 Likewise.
1751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1752 Likewise.
1753
cfba4fda
L
1754 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1755 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1756
80bad0cc
JM
17572012-05-24 Joseph Myers <joseph@codesourcery.com>
1758
7a25eb06
JM
1759 [BZ #10846]
1760 [BZ #14036]
1761 * math/libm-test.inc (exp_test): Add test from bug 14036.
1762 (pow_test): Add test from bug 10846.
1763
795405f9
JM
1764 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1765 and other flags.
1766 (special_function): Do not include flags in test name.
1767 (parse_args): Likewise.
1768 * sysdeps/i386/fpu/libm-test-ulps: Update.
1769 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1770 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1771 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1773
80bad0cc
JM
1774 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1775 exceptions.
1776 * math/libm-test.inc ("Philosophy"): Update comment about
1777 exception testing.
1778 (UNDERFLOW_EXCEPTION): New macro.
1779 (UNDERFLOW_EXCEPTION_OK): Likewise.
1780 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1781 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1782 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1783 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1784 (INVALID_EXCEPTION_OK): Update value.
1785 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1786 (OVERFLOW_EXCEPTION_OK): Likewise.
1787 (IGNORE_ZERO_INF_SIGN): Likewise.
1788 (test_exceptions): Handle underflow exceptions.
1789 (acos_test): Update for underflow exception expectations.
1790 (cexp_test): Likewise.
1791 (clog_test): Likewise.
1792 (clog10_test): Likewise.
1793 (csqrt_test): Likewise.
1794 (ctan_test): Likewise.
1795 (ctanh_test): Likewise.
1796 (exp_test): Likewise.
1797 (exp10_test): Likewise.
1798 (exp2_test): Likewise.
1799 (expm1_test): Likewise.
1800 (fma_test): Likewise.
1801 (j0_test): Likewise.
1802 (jn_test): Likewise.
1803 (nexttoward_test): Likewise.
1804 (pow_test): Likewise.
1805 (scalbn_test): Likewise.
1806 (scalbln_test): Likewise.
1807 (tan_test): Likewise.
1808 (y1_test): Likewise.
1809 * sysdeps/i386/fpu/libm-test-ulps: Update.
1810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1811
9e0e3d0b
DM
18122012-05-23 David S. Miller <davem@davemloft.net>
1813
1814 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1815 (__libc_sigaction): Remove unused local variables.
1816
ccd0a08f
L
18172012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1818
1819 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1820
62bdf9a6
PE
18212012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1822
f8591f80
PE
1823 mktime: avoid signed integer overflow
1824 * time/mktime.c (__mktime_internal): Do not mishandle the case
1825 where diff == INT_MIN.
1826
94c7d826
PE
1827 mktime: simplify computation of average
1828 * time/mktime.c (ranged_convert): Use new time_t_avg function
1829 instead of rolling our own (probably-slower) code.
1830
ce73d683
PE
1831 mktime: do not assume signed right shift propagates sign bit
1832 * time/mktime.c (isdst_differ): New static function.
1833 (__mktime_internal): No need to normalize tm_isdst now.
1834 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1835 tm_isdst values.
1836
72a22e59
PE
1837 mktime: merge another wrapv change from gnulib
1838 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1839 from some compilers.
1840
68605433
PE
1841 mktime: remove incorrect attempt at unusual arithmetics
1842 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1843 The code didn't really work on such machines anyway.
1844 (TYPE_MINIMUM): Assume two's complement.
1845 (twos_complement_arithmetic): Verify that long_int and time_t
1846 are two's complement (or unsigned, in the latter case).
1847
03cf7fe3
PE
1848 mktime: check signed shifts on long_int and time_t, too
1849 * time/mktime.c (SHR): Check that shifts work as desired
1850 on the types long_int and time_t too, as SHR is used on
1851 such types.
1852
f04dfbc2
PE
1853 mktime: do not assume 'long' is wide enough
1854 * time/mktime.c (verify): Move decl up.
1855 (long_int): New type.
1856 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1857 to remove assumption in the code that 'long' is wide enough to
1858 store year values. This assumption is not true on x32 and on
1859 some non-glibc platforms.
1860
62bdf9a6
PE
1861 mktime: merge wrapv change from gnulib
1862 * time/mktime.c (WRAPV): New macro.
1863 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1864 (guess_time_tm, __mktime_internal): Do not assume that signed
1865 integer overflow wraps around; modern compilers generate code
1866 where this assumption is no longer valid.
1867
5e292e4f
L
18682012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1869
1870 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1871 Replace "jmp L(pseudo_end)" with "ret".
1872 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1873 Likewise.
1874
8caf8c87
AJ
18752012-05-23 Andreas Jaeger <aj@suse.de>
1876
1877 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1878 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1879
1a09dc56
AJ
18802012-05-23 Andreas Jaeger <aj@suse.de>
1881 Maximilian Attems <max@stro.at>
1882
1883 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1884 New macros.
1885
1c87aba0
L
18862012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1887
1888 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1889 code so that pseudo_end is just ret and the stack pointer is
1890 correct also for static library in error case.
1891
40e45bd5
JM
18922012-05-23 Joseph Myers <joseph@codesourcery.com>
1893
c2670533
JM
1894 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1895 move to syscalls.list.
1896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1900
40e45bd5
JM
1901 * manual/install.texi (Running make install): Do not mention Linux
1902 kernel version for which pt_chown is not needed.
1903 (Linux): Do not mention problems with nscd with 2.0 kernels.
1904 * INSTALL: Regenerated.
1905
be08eda5
AJ
19062012-05-23 Andreas Jaeger <aj@suse.de>
1907
1908 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1909 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1910 macro.
1911 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1912 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1913 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1914 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1915 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1916 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1917 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1918 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1919 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1920 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1921 * sysdeps/unix/sysv/linux/bits/in.h
1922 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1923
a6a056bb
RM
19242012-05-22 Roland McGrath <roland@hack.frob.com>
1925
1926 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1927 (PREPARE_VERSION): Just use assert instead, it will be elided
1928 under [NDEBUG] anyway.
1929
c9009328
L
19302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1931
1932 * sysdeps/unix/sysv/linux/Makefile: Include
1933 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1934 (sysdep_routines): Remove sysctl.
c9009328
L
1935 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1936 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1937 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1938 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1939 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1940
73338355
AJ
19412012-05-22 Andreas Jaeger <aj@suse.de>
1942
1943 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1944 that pseudo_end is just ret and the stack pointer is correct also
1945 for static library in error case.
1946
d44638b0
PP
19472012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1948
1949 [BZ #14122]
1950 * nss/nsswitch.c (defconfig_entries): New variable.
1951 (__nss_database_lookup): Don't leak defconfig entries.
1952 (nss_parse_service_list): Don't leak on error paths.
1953 (free_database_entries): New function.
1954 (free_defconfig): New function.
1955 (free_mem): Move common code to free_database_entries.
1956
31a39bd8
L
19572012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1958
da0331a8
L
1959 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1960 Add arch_prctl.
1961 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1962
31a39bd8
L
1963 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1964 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1965 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1966 New macro.
1967 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1968 (INTERNAL_SYSCALL_TYPES): Likewise.
1969 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1970 (LOAD_REGS_TYPES_[1-6]): Likewise.
1971 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1972 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1973
45470df3
AZ
19742012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1975
1976 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1977 copysignl for GLIBC_2_0.
1978 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1979 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1980 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1981 logbl for GLIBC_2_0.
1982 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1983 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1984
98a61bcb
L
19852012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1986
a4f6e481
L
1987 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1988 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1989
f63d5db6
L
1990 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1991 Use "neg %eax".
1992
98a61bcb
L
1993 * time/mktime.c: Update copyright years.
1994
95770f14
PE
19952012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1996
6226efbd
PE
1997 mktime: merge comment-quoting-style change from gnulib
1998 * time/mktime.c: Quote 'like this' in comments.
1999 The GNU coding standards suggest that we no longer quote `like this',
2000 as "`" and "'" are typically rendered asymmetrically nowadays.
2001 The typical gnulib style is to quote 'like this' when quoting
2002 code, and "like this" when quoting English.
2003
b99e4f78
PE
2004 * time/mktime.c (compile-command): Add "-I.".
2005
643e01e6
PE
2006 mktime: merge mktime-internal.h change from gnulib
2007 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2008
2554247d
PE
2009 mktime: merge time_r change from gnulib
2010 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2011
826dd0ab
PE
2012 mktime: merge DEBUG change from gnulib
2013 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2014 case system <time.h> has a #define.
2015
bd83aabe
PE
2016 mktime: merge <sys/types.h> change from gnulib
2017 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2018 since <time.t> is now guaranteed to define time_t.
2019
95770f14
PE
2020 mktime: merge HAVE_CONFIG_H change from gnulib
2021 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2022
5e1a27a9
L
20232012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2024
0e44a77e
L
2025 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2026 Use "neg %eax".
2027
5e1a27a9
L
2028 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2029 __rlim_t cast.
2030 (struct rusage): Use anonymous union to pad each field to
2031 __syscall_slong_t.
2032
46259bec
DM
20332012-05-21 David S. Miller <davem@davemloft.net>
2034
2035 * Makefules (o-iterator): Remove .s cases.
2036 (compile-command.s): Delete.
2037 (COMPILE.s): Delete.
2038 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2039
59f0c22e
JM
20402012-05-21 Joseph Myers <joseph@codesourcery.com>
2041
2042 * configure.in (libc_cv_predef_stack_protector): Only consider
2043 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2044 * configure: Regenerated.
2045
20c07380
L
20462012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2047
bbb3154b
L
2048 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2049 New macro. Use R*LP on int and pointer.
2050 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
2051 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2052 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
2053 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2054
20c07380
L
2055 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2056 [__WORDSIZE_TIME64_COMPAT32] instead of
2057 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2058 (struct utmp): Likewise.
2059 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2060 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2061 Renamed to ...
2062 (__WORDSIZE_TIME64_COMPAT32): This.
2063 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2064 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2065 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2066 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2067 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2068 (__WORDSIZE_TIME64_COMPAT32): New macro.
2069
d8d1017e
AJ
20702012-05-21 Andreas Jaeger <aj@suse.de>
2071
2072 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2073 only if [SHARED]. Add prototype for __wcschr_ia32.
2074
6c7fb145
RM
20752012-05-21 Roland McGrath <roland@hack.frob.com>
2076
2077 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2078 of %rbp unmolested in the jmp_buf while mangling the low bits.
2079 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2080 unmolested high bits of %rbp while demangling the low bits.
2081 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2082
66274218
AJ
20832012-05-21 Andreas Jaeger <aj@suse.de>
2084
07c58f8f
AJ
2085 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2086 * sunrpc/svc_simple.c: Use it for registerrpc.
2087 * sunrpc/xcrypt.c: Use it for passwd2des.
2088
66274218
AJ
2089 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2090
61f65140
L
20912012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2092
2093 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2094 Don't define if [__SYSCALL_WORDSIZE != 32].
2095 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2096 New macro.
2097
5fefb436
AJ
20982012-05-21 Bruno Haible <bruno@clisp.org>
2099 Andreas Jaeger <aj@suse.de>
2100
2101 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2102 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2103 inptr and inend for must_buffer_ch.
2104 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2105 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2106 * stdio-common/Makefile (tests): Remove bug15.
2107 (bug15-ENV): Remove macro.
2108 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2109 anymore.
2110
d8e272ab
AJ
21112012-05-19 Andreas Jaeger <aj@suse.de>
2112 Roland McGrath <roland@hack.frob.com>
2113
2114 * manual/contrib.texi: Completely rewritten. It contains now an
2115 alphabetical list of contributors and their contributions.
2116
4a56a162
RH
21172012-05-21 Richard Henderson <rth@twiddle.net>
2118
2119 * misc/getauxval.c (__getauxval): Use unsigned long int.
2120 * misc/sys/auxv.h: Include <sys/cdefs.h>.
2121 (getauxval): Use unsigned long int.
2122
d024d23c
L
21232012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2124
2125 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2126
cbc00a03
RM
21272012-05-21 Roland McGrath <roland@hack.frob.com>
2128
2129 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2130 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2131 __alignof__ (long double).
2132
478143fa
AZ
21332012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2134
2135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2136
c7683a6d
RH
21372012-05-20 Richard Henderson <rth@twiddle.net>
2138
2139 * misc/getauxval.c: New file.
2140 * misc/sys/auxv.h: New file.
2141 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2142 (routines): Add getauxval.
2143 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2144 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2145 * elf/dl-sysdep.c (_dl_auxv): Remove.
2146 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2147 * elf/dl-support.c (_dl_auxv): New variable.
2148 (_dl_aux_init): Initialize it.
2149 * manual/startup.texi (Auxiliary Vector): New node.
2150 * sysdeps/generic/bits/hwcap.h: New file.
2151 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2152 * sysdeps/powerpc/sysdep.h: ... here. Include it.
2153 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2154 * sysdeps/sparc/sysdep.h: ... here. Include it.
2155 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2156 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
2157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2158 Update.
c7683a6d
RH
2159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2162 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2167
a6f1845d
AZ
21682012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2169
2170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2171
cbcbe830
DM
21722012-05-19 David S. Miller <davem@davemloft.net>
2173
2174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2175
e0b16cc2
JM
21762012-05-19 Joseph Myers <joseph@codesourcery.com>
2177
2178 [BZ #14123]
2179 * math/s_ccosh.c: Include <float.h>
2180 (__ccosh): Avoid internal overflow calculating sinh and cosh
2181 values before multiplying by sin and cos values.
2182 * math/s_ccoshf.c: Likewise.
2183 * math/s_ccoshl.c: Likewise.
2184 * math/s_csin.c: Likewise.
2185 * math/s_csinf.c: Likewise.
2186 * math/s_csinl.c: Likewise.
2187 * math/s_csinh.c: Likewise.
2188 * math/s_csinhf.c: Likewise.
2189 * math/s_csinhl.c: Likewise.
2190 * math/libm-test.inc (ccos_test): Add more tests.
2191 (ccosh_test): Likewise.
2192 (csin_test): Likewise.
2193 (csinh_test): Likewise.
2194 * sysdeps/i386/fpu/libm-test-ulps: Update.
2195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2196
6ad13e08
L
21972012-05-19 H.J. Lu <hongjiu.lu@intel.com>
2198
f66f0ce8
L
2199 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2200 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2201
6ad13e08
L
2202 * sysdeps/x86_64/x32/_itoa.h: Add comment.
2203
b1d072a7
JM
22042012-05-19 Joseph Myers <joseph@codesourcery.com>
2205
2206 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2207 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2208 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2209 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2210 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2211 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2212 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2213 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2214 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2215 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2216 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2217 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2218 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2219 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2220 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2221 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2222 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2223 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2224 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2225 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2226 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2227 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2228 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2229 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2230 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2231 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2232 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2233 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2234 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2235 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2236 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2237
9eae47cb
AJ
22382012-05-18 Andreas Jaeger <aj@suse.de>
2239
2240 * csu/.gitignore: Delete.
2241
bb07f69f
L
22422012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2243
2244 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2245 (timex): Use __syscall_slong_t.
2246
e6bdb741
AJ
22472012-05-18 Andreas Jaeger <aj@suse.de>
2248 Carlos O'Donell <carlos_odonell@mentor.com>
2249
2250 * manual/install.texi (Configuring and compiling): Update
2251 description about files modified in the source directory.
d6c33fda 2252 * INSTALL: Regenerated.
e6bdb741 2253
1b74487e
L
22542012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2255
2256 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2257 value. Use "or" to set return value to -1.
2258 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2259 negate return value.
2260
a88b64b9
TMQMF
22612012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2262
2263 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2264 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2265 failure if the compiler has Graphite support disabled.
2266 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2267 Likewise.
2268 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2269 CFLAGS-memmove.c): Likewise.
2270 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2271 Likewise.
2272
3707636e
L
22732012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2274
610b8622
L
2275 * sysdeps/x86_64/x32/_itoa.h: New file.
2276
7cd195df
L
2277 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2278 getdents system call only if kernel and user dirents have the
2279 same d_ino and d_off.
2280
94b07d20
L
2281 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2282 LLONG_MAX != LONG_MAX.
2283 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2284 (_fitoa_word): Likewise.
2285
18298070
L
2286 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2287 years.
2288 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2289 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2290 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2291
553c7ea4
L
2292 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2293 include <bits/wordsize.h>. Check __x86_64__ instead of
2294 __WORDSIZE.
2295 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2296 if __x86_64__ is defined. Use anonymous union on fpstate.
2297
3707636e
L
2298 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2299 anonymous union.
2300
b53ef01a
AS
23012012-05-18 Andreas Schwab <schwab@linux-m68k.org>
2302
37fb1dc0
AS
2303 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2304 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
2305 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
2306 Refer to _rtld_local_ro instead of _rtld_global_ro.
2307 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
2308 Likewise.
2309 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
2310 Likewise.
2311 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
2312 Likewise.
2313 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2314 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2315 of _rtld_global, and rtld_progname instead of _dl_argv[0].
2316
b53ef01a
AS
2317 * sysdeps/powerpc/powerpc32/dl-machine.c
2318 (__elf_machine_runtime_setup) [PROF]: Don't reference
2319 _dl_prof_resolve.
2320
7a185db2
AJ
23212012-05-18 Andreas Jaeger <aj@suse.de>
2322
2323 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2324 function only available for GCCs before 3.4 since GCC 3.4
2325 introduced a builtin.
2326 (lrint): Likewise.
2327 (llrintf): Likewise.
2328 (llrint): Likewise.
2329 (fmaxf): Likewise.
2330 (fmax): Likewise.
2331 (fminf): Likewise.
2332 (fmin): Likewise.
2333 (rint): Likewise.
2334 (rintf): Likewise.
2335 (nearbyint): Likewise.
2336 (nearbyintf): Likewise.
2337 (ceil): Likewise.
2338 (ceilf): Likewise.
2339 (floor): Likewise.
2340 (floorf): Likewise.
2341
3e5aef87
L
23422012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2343
428bd707
L
2344 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2345 on both fields and cast pointer to __syscall_ulong_t.
2346
3e5aef87
L
2347 * bits/types.h (__fsword_t): New type.
2348 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2349 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2350 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2351 (__FSWORD_T_TYPE): Likewise.
2352 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2353 (__FSWORD_T_TYPE): Likewise.
2354 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2355 (__FSWORD_T_TYPE): Likewise.
2356 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2357 (__FSWORD_T_TYPE): Likewise.
2358 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2359 __SWORD_TYPE with __fsword_t.
2360 (statfs64): Likewise.
2361
1ba7c3dc
DM
23622012-05-17 David S. Miller <davem@davemloft.net>
2363
2364 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2365
59910343
AJ
23662012-05-17 Andreas Jaeger <aj@suse.de>
2367
2368 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2369 warning.
2370
2e4c1e9e
L
23712012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2372
2373 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2374
de7f5ce7
AJ
23752012-05-17 Andreas Jaeger <aj@suse.de>
2376
2377 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2378 when it is used.
2379
286abc3d
CM
23802012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2381
2382 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2383
477cc68e
L
23842012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2385
2386 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2387 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2388
1a0994f5
CD
23892012-05-17 Andreas Jaeger <aj@suse.de>
2390 Carlos O'Donell <carlos_odonell@mentor.com>
2391
2392 [BZ #14059]
2393 * sysdeps/x86_64/multiarch/init-arch.h
2394 (bit_YMM_Usable): Rename to...
2395 (bit_AVX_Usable): ... this.
2396 (bit_FMA4_Usable): New macro.
2397 (bit_XMM_state): New macro.
2398 (bit_YMM_state): New macro.
2399 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2400 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2401 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2402 (CPUID_OSXSAVE): New macro.
2403 (CPUID_AVX): New macro.
2404 (CPUID_FMA4): New macro.
2405 (index_YMM_Usable): Rename to...
2406 (index_AVX_Usable): ... this.
2407 (HAS_AVX): Use HAS_ARCH_FEATURE.
2408 (HAS_FMA4): Likewise.
2409 (HAS_YMM_USABLE): Remove.
2410 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2411 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2412 are present.
2413 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2414 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2415 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2416 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2417 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2418
0af797de
CM
24192012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2420
2421 * math/libm-test.c: Support platforms without multiple rounding modes.
2422 * math/bug-nextafter.c: Support platforms without FP exceptions.
2423 * math/bug-nexttoward.c: Likewise.
2424 * math/test-fenv.c: Likewise.
2425 * math/test-misc.c: Likewise.
2426 * stdlib/bug-getcontext.c: Likewise.
2427
e39745ff
AJ
24282012-05-17 Andreas Jaeger <aj@suse.de>
2429
2430 * manual/examples/search.c (critter_cmp): Change signature to
2431 avoid warnings.
2432 * manual/string.texi (Collation Functions): Likewise.
2433
48970aba
L
24342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2435
2436 * bits/types.h: Fold copyright years.
2437 * bits/typesizes.h: Likewise.
2438 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2439 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2440 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2441 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2442 * time/time.h: Likewise.
2443
bedee953
PP
24442012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2445
2446 [BZ #208]
2447 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2448 in instead of returning them. Return void.
2449 (__libc_mallinfo): Accumulate over all arenas.
2450 (__malloc_stats): Adjust for change in int_mallinfo interface.
2451
61653dfb
RM
24522012-05-16 Roland McGrath <roland@hack.frob.com>
2453
30b99d79
RM
2454 [BZ #10375]
2455 * configure.in (NM): Add AC_CHECK_TOOL for it.
2456 (libc_extra_cflags): New substituted variable.
2457 Check for -fstack-protector being used implicitly.
2458 * configure: Regenerated.
2459 * config.make.in (config-extra-cflags): New variable,
2460 gets @libc_extra_cflags@.
2461 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2462
61653dfb
RM
2463 [BZ #10375]
2464 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2465 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2466 * configure: Regenerated.
2467 * config.make.in (CPPUNDEFS): New substituted variable.
2468 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2469 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2470 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2471
661768bb
L
24722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2473
2474 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2475 (mq_attr): Use __syscall_slong_t.
2476
d4261567
L
24772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2478
2479 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2480 Check __x86_64__ instead of __WORDSIZE.
2481 (_STAT_VER_LINUX): Likewise.
2482 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2483 __syscall_ulong_t and __syscall_slong_t.
2484 (stat64): Likewise.
2485
cf3ff365
L
24862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2487
2488 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2489
76cf3e4d
L
24902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2491
2492 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2493
a637753a
L
24942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2495
2496 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2497 __syscall_ulong_t.
2498
d5e05119
L
2499 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2500 include <bits/wordsize.h>. Check __x86_64__ instead of
2501 __WORDSIZE.
2502 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2503 defined.
2504 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2505
f62ee380
L
2506 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2507 include <bits/wordsize.h>. Check __x86_64__ instead of
2508 __WORDSIZE.
2509 (user_regs_struct): Use "__extension__ unsigned long long"
2510 instead of "unsigned long" if __x86_64__ is defined.
2511 (user): Likewise. Pad after pointer field if __ILP32__ is
2512 defined.
2513
4e124ced
JM
25142012-05-16 Joseph Myers <joseph@codesourcery.com>
2515
6a3951a0
JM
2516 * configure.in (makeinfo): Require version 4.5 or later. Allow
2517 versions 5 to 9.
2518 * configure: Regenerated.
2519 * manual/install.texi (texinfo): Increase version requirement to
2520 4.5 or later.
2521 * INSTALL: Regenerated.
2522
4e124ced
JM
2523 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2524
953ca31a
L
25252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2526
2527 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2528
617aca05
L
2529 * sysdeps/x86_64/x32/ffs.c: New file.
2530
5762f7ae
L
2531 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2532 __syscall_ulong_t.
2533 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2534 defined. Use __syscall_ulong_t.
2535 (shminfo): Use __syscall_ulong_t.
2536 (shm_info): Likewise.
2537
a26b6856
L
2538 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2539 __syscall_ulong_t.
2540
cb2b9ef7
L
2541 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2542 <bits/wordsize.h>.
2543 (msgqnum_t): Use __syscall_ulong_t.
2544 (msglen_t): Likewise.
2545 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2546 __syscall_ulong_t.
2547
34683bb0
L
2548 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2549 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2550
84a68786
L
2551 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2552
48baa5f1
L
2553 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2554 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2555
180be88b
L
2556 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2557 __syscall_slong_t.
2558
5e90c8ad
L
2559 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2560 include <bits/wordsize.h>. Check __x86_64__ instead of
2561 __WORDSIZE.
2562
23dfb58b
L
2563 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2564 "unsigned long long int" if __x86_64__ is defined.
2565 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2566
ce5d54b0
L
2567 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2568 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2569 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2570
13dc9eac
L
2571 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2572 <stdint.h>.
2573 (GET_PC): Cast to uintptr_t first.
2574 (GET_FRAME): Likewise.
2575 (GET_STACK): Likewise.
2576
a7895d15
L
2577 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2578 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2579 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2580 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2581 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2582 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2583 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2584 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2585 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2586 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2587 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2588 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2589 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2590 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2591 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2592 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2593 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2594 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2595 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2596 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2597 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2598 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2599 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2600 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2601 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2602 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2603 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2604 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2605 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2606
656416c9
AS
26072012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2608
5bd66283
AS
2609 * Makerules (+depfiles): Also collect depfiles from .oS in
2610 $(extra-objs).
2611 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2612 .oS, $(libnldbl-routines)).
2613
656416c9
AS
2614 * Makerules (native-compile-mkdep-flags): Define.
2615 * sunrpc/Makefile (extra-objs): Add $(addprefix
2616 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2617 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2618 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2619 calling $(make-target-directory).
2620
a46f2169
L
26212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2622
2623 * bits/types.h (__snseconds_t): Removed.
2624 * time/time.h (struct timespec): Replace __snseconds_t with
2625 __syscall_slong_t.
2626 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2627 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2628 Likewise.
2629 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2630 (__SNSECONDS_T_TYPE): Likewise.
2631 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2632 (__SNSECONDS_T_TYPE): Likewise.
2633 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2634 (__SNSECONDS_T_TYPE): Likewise.
2635
6af6528b
L
26362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2637
2638 * sysdeps/mach/hurd/bits/typesizes.h
2639 (__SYSCALL_SLONG_TYPE): New macro.
2640 (__SYSCALL_ULONG_TYPE): Likewise.
2641
de986b56
L
26422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2643
2644 * bits/types.h (__syscall_slong_t): New type.
2645 (__syscall_ulong_t): Likewise.
2646
2647 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2648 (__SYSCALL_ULONG_TYPE): Likewise.
2649 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2650 (__SYSCALL_SLONG_TYPE): Likewise.
2651 (__SYSCALL_ULONG_TYPE): Likewise.
2652 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2653 (__SYSCALL_SLONG_TYPE): Likewise.
2654 (__SYSCALL_ULONG_TYPE): Likewise.
2655 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2656 (__SYSCALL_SLONG_TYPE): Likewise.
2657 (__SYSCALL_ULONG_TYPE): Likewise.
2658
85736dc7
L
26592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2660
2661 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2662 Add sigaltstack-offsets.sym.
2663 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2664 <sigaltstack-offsets.h>.
2665 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2666 longjmp_msg pointer.
2667 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2668 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2669 signal stack.
2670 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2671
cc03b296
JM
26722012-05-15 Joseph Myers <joseph@codesourcery.com>
2673
a9538892
JM
2674 * elf/stackguard-macros.h: Remove file.
2675 * sysdeps/generic/stackguard-macros.h: New file.
2676 * sysdeps/i386/stackguard-macros.h: Likewise.
2677 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2678 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2679 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2680 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2681 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2682 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2683 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2684 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2685 <elf/stackguard-macros.h>.
2686
cc03b296
JM
2687 [BZ #14109]
2688 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2689 __aligned__ in attribute.
2690 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2691 (gregset_t): Likewise.
2692
93171016
L
26932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2694
2695 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2696 * sysdeps/x86_64/64/Implies-after: Here. New file.
2697 * sysdeps/x86_64/x32/Implies-after: New file.
2698
d86813a0
L
26992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2700
2701 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2702 and access return value for _dl_profile_fixup. Use R10_LP to
2703 load frame size.
2704
2953ec75
L
27052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2706
2707 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2708
3b550e9e
L
27092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2710
2711 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2712 * sysdeps/x86_64/x32/sysdep.h: New file.
2713
eda41706
L
27142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2715
2716 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2717 * sysdeps/x86_64/setjmp.S: Likewise.
2718
9ea01d93
AZ
27192012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2720
2721 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2722 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2723 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2724 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2725 remove unused global constant.
2726
02a91938
CM
27272012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2728
2729 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2730 include of <not-cancel.h>.
2731
6540185f
RM
27322012-05-15 Roland McGrath <roland@hack.frob.com>
2733
2734 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2735
509072a0
AJ
27362012-05-15 Jeff Law <law@redhat.com>
2737 Andreas Jaeger <aj@suse.de>
2738
2739 [BZ #13594]
2740 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2741 out from...
2742 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2743 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2744 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2745 code changing __hst_map_handle.map.
2746
ba75122d
RM
27472012-05-15 Roland McGrath <roland@hack.frob.com>
2748
2749 * configure.in (sysnames): Look for Implies-before and Implies-after
2750 files.
2751 * configure: Regenerated.
2752
890d8bd8
L
27532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2754
2755 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2756 8-byte data alignment with LP_SIZE alignment.
2757
f6ee6623
L
27582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2759
2760 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2761 into R10_LP.
2762
ea2626f6
L
27632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2764
2765 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2766
085f715e
L
27672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2768
2769 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2770 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2771 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2772 Likewise.
2773 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2774
be8498fc
L
27752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2776
2777 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2778 (stackinfo_sub_sp): Likewise.
2779
70bc83b9
L
27802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2781
2782 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2783 RAX_LP.
2784
9bc0b730
L
27852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2786
2787 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2788 into R*_LP.
2789
6d2850e7
L
27902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2791
2792 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2793 sizes into R*_LP.
2794
3cb84561
L
27952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2796
2797 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2798
54e2ed81
L
27992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2800
2801 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2802 into R11_LP and load __x86_64_shared_cache_size_half into
2803 R8_LP.
2804
8a17f349
L
28052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2806
2807 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2808 R8_LP.
2809
777b1eea
AZ
28102012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2811
2812 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2813 logb for POWER7.
2814 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2815 logbf for POWER7.
2816 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2817 logbl for POWER7.
2818 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2819 powerpc32/power7/fpu/s_logb.c via #include.
2820 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2821 powerpc32/power7/fpu/s_logbf.c via #include.
2822 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2823 powerpc32/power7/fpu/s_logbl.c via #include.
2824
d20d4ac2
JM
28252012-05-15 Joseph Myers <joseph@codesourcery.com>
2826
2827 * README.libm: Remove file.
2828
6cdef1ab
L
28292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2830
2831 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2832 count for x32. Use R*_LP and omit operand-size suffix.
2833
0b254d8f
L
28342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2835
2836 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2837 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2838 * sysdeps/x86_64/x32/shlib-versions: New file.
2839
ceb809dc
RM
28402012-05-14 Roland McGrath <roland@hack.frob.com>
2841
2842 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2843 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2844 Use _dl_fatal_printf instead.
2845
37f1abd4
JM
28462012-05-14 Joseph Myers <joseph@codesourcery.com>
2847
2848 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2849 set if not set by the user. Do not allow for being unset.
2850 * sysdeps/unix/sysv/linux/configure: Regenerated.
2851
11de3a33
L
28522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2853
2854 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2855 the `q' suffix from lea and replace .quad with ASM_ADDR.
2856
e02f153a
L
28572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2858
2859 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2860 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2861 instead of $17.
2862 (PTR_DEMANGLE): Likewise.
2863
520ae0fd
L
28642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2865
2866 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2867 (LP_OP): Likewise.
2868 (ASM_ADDR): Likewise.
2869 (RAX_LP): Likewise.
2870 (RBP_LP): Likewise.
2871 (RBX_LP): Likewise.
2872 (RCX_LP): Likewise.
2873 (RDI_LP): Likewise.
2874 (RSI_LP): Likewise.
2875 (RSP_LP): Likewise.
2876 (R8_LP): Likewise.
2877 (R9_LP): Likewise.
2878 (R10_LP): Likewise.
2879 (R10_LP): Likewise.
2880 (R11_LP): Likewise.
2881 (R12_LP): Likewise.
2882 (R13_LP): Likewise.
2883 (R14_LP): Likewise.
2884 (R15_LP): Likewise.
2885
b985be81
L
28862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2887
2888 * sysdeps/x86_64/x32/dl-machine.h: New file.
2889
6a4888ff
AJ
28902012-05-14 Andreas Jaeger <aj@suse.de>
2891
2892 * manual/Makefile (subdir): Remove export of subdir.
2893 (all): Remove target.
2894 (.PHONY): Remove all from list.
2895 (mkinstalldirs): Remove.
2896 (.PHONY): Remove installdirs from list.
2897 ($(inst_infodir)/libc.info): Use make-target-directory.
2898 (installdirs): Remove.
2899 (subdir_%): Remove.
2900 (glibc-targets): Remove.
2901 (lib): Remove.
2902 (stubs): Remove.
2903 ($(objpfx)stubs ../po/manual.pot): Remove.
2904 ($(objpfx)stamp%): Remove.
2905 (make-target-directory): Remove.
2906 (subdir_install): Remove.
2907 (routines): Remove.
2908 (aux): Remove.
2909 (sources): Remove.
2910 (objects): Remove.
2911 (headers): Remove.
2912
2913 [BZ #13750]
2914 * manual/.gitignore: Remove, it's not needed anymore.
2915 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2916 all files in it.
2917 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2918 directory.
2919 (texis): Renamed to $(objpfx)texis.
2920 (texis-path): New, contains path to generated files.
2921 (chapters.%): Use texis-path for complete path, add extra argument
2922 libc-texinfo.sh.
2923 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2924 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2925 (summary,texi, stamp-summary): Use complete path of
2926 files. Generate files in build dir.
2927 (dir-add.texi): Build in build dir.
2928 (libm-err.texi,stamp-libm-err): Likewise.
2929 (version.texi, stamp-version): Likewise.
2930 (.%c.texi): Likewise.
2931 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2932 (mostlyclean): Remove target.
2933 (realclean): Remove target.
2934 (generated): Add new variable with contents from mostlyclean and
2935 realclean, remove entries duplicated in common-mostlyclean, add
2936 stamp-libm-err and stamp-version.
2937 (generated-dirs): Add libc directory.
2938 ($(inst_infodir)/libc.info): Install files from build dir.
2939
2940 * manual/install.texi (Configuring and compiling): Adjust since
2941 the info files are not part of the tar ball anymore.
2942
7ac77294
AJ
29432012-05-14 Andreas Jaeger <aj@suse.de>
2944
2945 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2946 variable.
2947
ffb7875d
JM
29482012-05-14 Joseph Myers <joseph@codesourcery.com>
2949
2950 [BZ #13717]
2951 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2952 to 2.2.0 where earlier.
2953 * sysdeps/unix/sysv/linux/configure: Regenerated.
2954 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2955 Remove conditional code.
2956 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2957 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2958 Remove conditional code.
2959 [!__NR_lchown]: Likewise.
2960 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2961 [__NR_lchown]: Likewise.
2962 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2963 comment referencing __ASSUME_LCHOWN_SYSCALL.
2964 * sysdeps/unix/sysv/linux/i386/sigaction.c
2965 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2966 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2967 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2968 Remove conditional code.
2969 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2970 (__protocol_available): Remove #if 0 code.
2971 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2972 conditional code.
2973 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2974 * sysdeps/unix/sysv/linux/kernel-features.h
2975 (__ASSUME_GETCWD_SYSCALL): Don't define.
2976 (__ASSUME_REALTIME_SIGNALS): Likewise.
2977 (__ASSUME_PREAD_SYSCALL): Likewise.
2978 (__ASSUME_PWRITE_SYSCALL): Likewise.
2979 (__ASSUME_POLL_SYSCALL): Likewise.
2980 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2981 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2982 non-SPARC.
2983 (__ASSUME_SIOCGIFNAME): Don't define.
2984 (__ASSUME_MSG_NOSIGNAL): Likewise.
2985 (__ASSUME_SENDFILE): Define unconditionally.
2986 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2987 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2988 conditional code.
2989 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2990 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2991 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2992 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2993 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2994 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2995 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2997 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2998 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3000 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3001 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3003 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3004 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3006 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3007 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3009 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3010 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3012 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3013 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3015 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3016 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3018 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3019 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3020 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3021 Remove conditional code.
3022 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3023 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3024 Remove conditional code.
3025 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3026 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3027 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3028 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3029 Remove conditional code.
3030 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3031 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3032 Remove conditional code.
3033 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3034 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3035 Remove conditional code.
3036 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3037 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3038 Remove conditional code.
3039 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3040 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3041 Remove conditional code.
3042 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3043 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3044 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3045 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3046 * sysdeps/unix/sysv/linux/sigaction.c
3047 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3048 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3049 * sysdeps/unix/sysv/linux/sigpending.c
3050 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3051 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3052 * sysdeps/unix/sysv/linux/sigprocmask.c
3053 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3054 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3055 * sysdeps/unix/sysv/linux/sigsuspend.c
3056 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3057 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3058 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3059 (__libc_missing_rt_sigs): Remove.
3060 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3061 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3062 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3063 Remove conditional code.
3064 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3065 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3066 return 1.
3067 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3068 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3069 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3070 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3071
1bfb7291
AJ
30722012-05-14 Andreas Jaeger <aj@suse.de>
3073
caae5a81
AJ
3074 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3075 it's not used in glibc.
3076 (__coshm1): Likewise.
3077 (__acosh1p): Likewise.
3078 (__sgn): Likewise.
3079
1bfb7291
AJ
3080 * manual/string.texi (Copying and Concatenation): Add missing
3081 variable in concat example.
3082 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3083
c044d724
L
30842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3085
144c5467 3086 [BZ #14103]
c044d724
L
3087 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3088 __builtin_clzl with __builtin_clzll.
3089
2523c62b
L
30902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3091
3092 [BZ #14104]
3093 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3094 libc_freeres_ptr.
3095
d7bb4c42
LD
30962012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3097
3098 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3099 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3100 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3101 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3102
9dc4e1fb
MF
31032012-05-14 Mike Frysinger <vapier@gentoo.org>
3104
3105 * NEWS: Update ia64 info.
3106
c7df0112
AS
31072012-05-12 Andreas Schwab <schwab@linux-m68k.org>
3108
3109 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3110 used as bcopy.
3111
dc70356c
TS
31122012-05-12 Thomas Schwinge <thomas@codesourcery.com>
3113
3114 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3115 * sysdeps/unix/syscalls.list (dup3): Likewise.
3116 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3117 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3118
9fb1a21f
L
31192012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3120
3121 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3122 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3123
4822a2a5
L
31242012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3125
3126 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3127 thread pointer.
3128 (TLS_IE): Use mov/add instead of movq/addq to load thread
3129 pointer.
3130 (TLS_GD_PREFIX): New.
3131 (TLS_GD): Use it.
3132
842b81d6
DM
31332012-05-11 David S. Miller <davem@davemloft.net>
3134
3135 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3136 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3137 (_FPU_SETCW): Likewise.
3138
1cf463cd
L
31392012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3140
3141 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3142 is 32-byte aligned.
3143
60cc4a18
AS
31442012-05-11 Andreas Schwab <schwab@linux-m68k.org>
3145
3146 [BZ #11837]
3147 * iconvdata/gb18030.c: Update tables.
3148 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
3149 characters specially.
3150 (BODY for TO_LOOP): Add encoding of missing ranges.
3151
febb44a4
TS
31522012-05-11 Thomas Schwinge <thomas@codesourcery.com>
3153
3154 [BZ #13673]
3155 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3156 * sysdeps/mach/hurd/dup3.c: Likewise.
3157 * sysdeps/mach/hurd/readlinkat.c: Likewise.
3158 * sysdeps/powerpc/memmove.c:: Likewise.
3159
0a10fb9e
L
31602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3161
3162 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3163 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3164
df8a552f
L
31652012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3166
3167 * elf/elf.h (R_X86_64_RELATIVE64): New.
3168 (R_X86_64_NUM): Updated.
3169 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3170 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
3171 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3172 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3173 tst-quad1pie tst-quad2pie
3174 (modules-names): Add tst-quadmod1 tst-quadmod2.
3175 ($(objpfx)tst-quad1): New dependency.
3176 ($(objpfx)tst-quad2): Likewise.
3177 ($(objpfx)tst-quad1pie): Likewise.
3178 ($(objpfx)tst-quad2pie): Likewise.
3179 * sysdeps/x86_64/tst-quad1.c: New file.
3180 * sysdeps/x86_64/tst-quad1pie.c: New file.
3181 * sysdeps/x86_64/tst-quad2.c: Likewise.
3182 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3183 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3184 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3185 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3186 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3187
f34d6f84
ST
31882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3189
f42d41d1
ST
3190 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3191 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3192 * streams/stropts.h (t_scalar_t): Define type.
3193
3c3571fc
ST
3194 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3195 (_PATH_PRESERVE): Set to "/var/lib".
3196 (_PATH_RWHODIR): Set to "/var/spool/rwho".
3197
61f06bd3
ST
3198 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3199 instead of int.
3200
918d4d71
ST
3201 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3202 if __dir_mkfile succeeded.
3203
f34d6f84
ST
3204 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3205 checking for _hurd_dtablesize. Unlock it right after having
3206 finished _hurd_dtable allocation.
3207
10589b4a
TS
32082012-05-10 Thomas Schwinge <thomas@schwinge.name>
3209
674cdbc7
TS
3210 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3211 * sysdeps/mach/hurd/configure: Regenerated.
3212 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3213 special-casing to...
3214 * sysdeps/gnu/configure.in: ... this new file.
3215 * sysdeps/unix/sysv/linux/configure: Regenerated.
3216 * sysdeps/gnu/configure: New generated file.
3217
8e41b99f
TS
3218 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3219 for Linux: use nsec instead of usec, as well as:
3220 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3221 members of type struct timespec.
3222 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3223 New macros.
3224 (struct stat64): Likewise.
3225 (_STATBUF_ST_NSEC): New macro.
3226 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3227
10589b4a
TS
3228 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3229 __strtoul_internal rather than strtoul.
3230
63643c85
PT
32312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3232
3233 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3234 and reject them.
3235
3faebe6a
ST
32362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3237
3238 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3239 which preserves existing values.
3240 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3241
c6474b07
PT
32422012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3243
3244 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3245 TIMEOUT values. Return EINVAL for NFDS values either negative or
3246 greater than FD_SETSIZE.
3247
1043890b
ST
32482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3249
3250 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3251 allocated, call __vm_protect to finish enabling the existing space, and
3252 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3253 allocate the remainder.
3254
37ed8b9b
PT
32552012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3256
3257 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3258 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
3259
db653660
ST
32602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3261
37ed8b9b
PT
3262 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3263 sysdeps/mach/hurd/readlink.c.
b29d4053 3264
db653660
ST
3265 * posix/tst-sysconf.c (posix_options): Only use
3266 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3267 _POSIX_SYNCHRONIZED_IO when they are defined
3268 * sysdeps/mach/hurd/bits/posix_opt.h:
3269 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3270 (_XOPEN_REALTIME): Undefine macro.
3271 (_XOPEN_REALTIME_THREADS): Undefine macro.
3272 (_XOPEN_SHM): Undefine macro.
3273 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3274 macro to -1.
3275 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3276 macro to -1.
3277 (_POSIX_ASYNC_IO): Undefine macro.
3278 (_POSIX_PRIORITIZED_IO): Undefine macro.
3279 (_POSIX_SPIN_LOCKS): Define macro to -1.
3280
ee16e894
ST
3281 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3282 SA_NODEFER, SA_RESETHAND.
3283 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3284 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3285 F_DUPFD_CLOEXEC.
3286
6103ae3b
TS
32872012-05-10 Thomas Schwinge <thomas@schwinge.name>
3288
3289 * elf/Makefile (pldd-modules): Define unconditionally.
3290
80b4e5f3
TS
32912012-05-10 Thomas Schwinge <thomas@schwinge.name>
3292
3293 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3294
edadcbd6
ST
32952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3296
3297 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3298 Return ENOENT when name is empty.
3299 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3300
80694780
TS
33012012-05-10 Thomas Schwinge <thomas@schwinge.name>
3302
1792c087
TS
3303 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
3304
80694780
TS
3305 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
3306
6b645f0d
ST
33072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3308
80694780
TS
3309 Fix mlock in all cases except non-readable pages.
3310 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
3311 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 3312
6b645f0d
ST
3313 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3314 (__mkdir): When path is `/', just fail with EEXIST.
3315 * sysdeps/mach/hurd/mkdirat.c: Likewise.
3316
e468f8a3
TS
33172012-05-10 Thomas Schwinge <thomas@schwinge.name>
3318
3319 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3320 <sys/uio.h> (for writev).
3321 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3322 and <sys/param.h> (for MIN).
3323
a4186cff
PT
33242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3325
3326 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
3327 REQUESTED_TIME. Properly set the remaining time and return EINTR
3328 if interrupted.
3329
510bbf14
TS
33302012-05-10 Thomas Schwinge <thomas@schwinge.name>
3331
3332 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3333 Depend on against $(link-rpcuserlibs).
3334
5d5722e8
ST
33352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3336
a4186cff
PT
3337 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3338 (__libc_stack_end): Do not use attribute_relro.
3339 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3340 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 3341 to libthread-provided value.
a4186cff
PT
3342 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3343 attribute_relro.
5d5722e8 3344
37233df9
TS
33452012-05-10 Thomas Schwinge <thomas@schwinge.name>
3346
be971a2b
TS
3347 [BZ #3748]
3348 * bits/libc-lock.h (__libc_once_get): New macro.
3349 * sysdeps/mach/bits/libc-lock.h: Likewise.
3350 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3351 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3352 instead of using implementation details.
3353
37233df9
TS
3354 * libio/fileops.c: Unconditionally include <kernel-features.h>.
3355 * libio/freopen.c: Likewise.
3356 * libio/freopen64.c: Likewise.
3357 * misc/syslog.c: Likewise.
3358 * nscd/connections.c: Likewise.
3359 * nscd/netgroupcache.c: Likewise.
3360 * sysdeps/posix/getcwd.c: Likewise.
3361
38de94a5
RM
33622012-05-10 Roland McGrath <roland@hack.frob.com>
3363
3364 * math/w_ilogbf.c: Add #include <limits.h>.
3365
67530489
ST
33662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3367
a4186cff 3368 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
3369 path instead of returning without unlocking.
3370
67530489
ST
3371 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3372 immediate-write ioctls.
3373 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3374
5aa3a74a
TS
33752012-05-10 Thomas Schwinge <thomas@schwinge.name>
3376
18bad2ae
TS
3377 * sysdeps/mach/hurd/i386/init-first.c (init): Use
3378 __builtin_frame_address instead of making assumptions about the
3379 location of the return address relative to DATA. Force early load of
3380 the return address.
3381 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3382 __builtin_frame_address.
3383
5aa3a74a
TS
3384 dup3 for GNU Hurd.
3385 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3386 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3387 implement dup3 and do some further code clean-ups.
3388 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3389 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3390
ecd0de9a
ST
33912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3392
cd9fa985
ST
3393 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3394
a4186cff
PT
3395 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3396 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3397 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3398 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3399 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3400 d->port.lock.
802ca5a5 3401
a4186cff
PT
3402 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3403 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3404 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 3405
bcf55240
TS
34062012-05-10 Thomas Schwinge <thomas@schwinge.name>
3407
6960eb42
TS
3408 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3409 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3410 definitions.
3411
eb43375f
TS
3412 accept4 for GNU Hurd.
3413 * include/sys/socket.h (__libc_accept4): New prototype.
3414 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3415 to implement __libc_accept4.
3416 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3417 __libc_accept4.
3418 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3419
bcf55240
TS
3420 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3421 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3422 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3423 signal-defines.sym.
3424
6178c55b
ST
34252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3426
a4186cff 3427 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 3428
6f080c2f
TS
34292012-05-10 Thomas Schwinge <thomas@schwinge.name>
3430
3431 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3432 assertion on O_CLOEXEC flag.
3433 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3434 * hurd/intern-fd.c: Likewise.
3435 * hurd/port2fd.c: Likewise.
3436
bcfe3a54
ST
34372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3438
3439 [BZ #3906]
3440 * bits/in.h (IPV6_PKTINFO): Define new macro.
3441 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3442
89c9aa49
AZ
34432012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3444
3445 [BZ #13954]
3446 [BZ #13955]
3447 [BZ #13956]
3448 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3449 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3450 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3451 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3452 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3453 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3454 * math/libm-test.inc (logb_test) : Additional logb tests.
3455
021db4be
AJ
34562012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3457 Andreas Jaeger <aj@suse.de>
3458
3459 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3460 * configure: Regenerated.
3461 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3462 * config.make.in (link-obsolete-rpc): New substituted variable.
3463 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3464 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3465 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3466 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3467 so that libc.a contains the symbols.
3468 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3469 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3470 * sunrpc/auth_none.c: Likewise.
3471 * sunrpc/auth_unix.c: Likewise.
3472 * sunrpc/authdes_prot.c: Likewise.
3473 * sunrpc/authuxprot.c: Likewise.
3474 * sunrpc/clnt_gen.c: Likewise.
3475 * sunrpc/clnt_perr.c: Likewise.
3476 * sunrpc/clnt_raw.c: Likewise.
3477 * sunrpc/clnt_simp.c: Likewise.
3478 * sunrpc/clnt_tcp.c: Likewise.
3479 * sunrpc/clnt_udp.c: Likewise.
3480 * sunrpc/clnt_unix.c: Likewise.
3481 * sunrpc/des_crypt.c: Likewise.
3482 * sunrpc/des_soft.c: Likewise.
3483 * sunrpc/get_myaddr.c: Likewise.
3484 * sunrpc/key_call.c: Likewise.
3485 * sunrpc/key_prot.c: Likewise.
3486 * sunrpc/netname.c: Likewise.
3487 * sunrpc/pm_getmaps.c: Likewise.
3488 * sunrpc/pm_getport.c: Likewise.
3489 * sunrpc/pmap_clnt.c: Likewise.
3490 * sunrpc/pmap_prot.c: Likewise.
3491 * sunrpc/pmap_prot2.c: Likewise.
3492 * sunrpc/pmap_rmt.c: Likewise.
3493 * sunrpc/publickey.c: Likewise.
3494 * sunrpc/rpc_cmsg.c: Likewise.
3495 * sunrpc/rpc_common.c: Likewise.
3496 * sunrpc/rpc_dtable.c: Likewise.
3497 * sunrpc/rpc_prot.c: Likewise.
3498 * sunrpc/rpc_thread.c: Likewise.
3499 * sunrpc/rtime.c: Likewise.
3500 * sunrpc/svc.c: Likewise.
3501 * sunrpc/svc_auth.c: Likewise.
3502 * sunrpc/svc_raw.c: Likewise.
3503 * sunrpc/svc_run.c: Likewise.
3504 * sunrpc/svc_tcp.c: Likewise.
3505 * sunrpc/svc_udp.c: Likewise.
3506 * sunrpc/svc_unix.c: Likewise.
3507 * sunrpc/svcauth_des.c: Likewise.
3508 * sunrpc/xcrypt.c: Likewise.
3509 * sunrpc/xdr.c: Likewise.
3510 * sunrpc/xdr_array.c: Likewise.
3511 * sunrpc/xdr_float.c: Likewise.
3512 * sunrpc/xdr_intXX_t.c: Likewise.
3513 * sunrpc/xdr_mem.c: Likewise.
3514 * sunrpc/xdr_rec.c: Likewise.
3515 * sunrpc/xdr_ref.c: Likewise.
3516 * sunrpc/xdr_sizeof.c: Likewise.
3517 * sunrpc/xdr_stdio.c: Likewise.
3518
b5c086a2
RM
35192012-05-10 Roland McGrath <roland@hack.frob.com>
3520
3521 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3522 change. Update copyright years.
3523
6d74dd09
JM
35242012-05-10 Joseph Myers <joseph@codesourcery.com>
3525
3526 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3527
28e72501
MK
35282012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3529 Joseph Myers <joseph@codesourcery.com>
3530 Paul Pluzhnikov <ppluzhnikov@google.com>
3531
3532 [BZ #14012]
3533 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3534 requiring rpcgen.
3535 [cross-compiling] (extra-libs): Likewise.
3536 [cross-compiling] (extra-libs-others): Likewise.
3537 [cross-compiling] (librpcsvc-routines): Likewise.
3538 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3539 [cross-compiling] (omit-deps): Likewise.
3540 (sunrpc-CPPFLAGS): New variable.
3541 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3542 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3543 (cross-rpcgen-objs): New variable.
3544 (extra-objs): Append $(cross-rpcgen-objs).
3545 ($(cross-rpcgen-objs)): New rule.
3546 ($(objpfx)cross-rpcgen): Likewise.
3547 (rpcgen-cmd): Define to use $(built-program-file). Expand
3548 comment.
3549 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3550 ($(objpfx)x%.stmp): Likewise.
3551 * sunrpc/proto.h [IS_IN_build] (_): Define.
3552 [IS_IN_build] (_libc_intl_domainname): Likewise.
3553
c8c59454
L
35542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3555
3556 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3557 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3558 and R_X86_64_TPOFF64.
3559
6f27cd16
JM
35602012-05-10 Joseph Myers <joseph@codesourcery.com>
3561
3562 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3563 sysdeps/unix/sysv/syscalls.list.
3564 (stime): Likewise.
3565 (utime): Likewise.
3566 * sysdeps/unix/sysv/syscalls.list: Remove file.
3567
02467e1c
PE
35682012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3569
3570 [BZ #3440]
3571 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3572 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3573 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3574 (__LC_IDENTIFICATION): Make these macros useful in #if
3575 expressions, as required by C99.
3576
da392631
AS
35772012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3578
3579 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3580 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3581 after this.
3582
8115f29b
L
35832012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3584
3585 * stdlib/longlong.h: Updated from GCC.
3586
bdd74070
AJ
35872012-05-09 Andreas Jaeger <aj@suse.de>
3588
edfe0dbe
AJ
3589 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3590 default is first entry.
3591 (run_mode): Set type.
3592 (main): Remove informal message about syslog.
3593 (options): Fix typo.
3594
bcfe3a54
ST
3595 [BZ #14053]
3596 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 3597 to asm.
bcfe3a54
ST
3598 (lrint): Likewise.
3599 (llrintf): Likewise.
3600 (llrint): Likewise.
3601 (rint): Likewise.
3602 (rintf): Likewise.
3603 (nearbyint): Likewise.
3604 (nearbyintf): Likewise.
bdd74070 3605
91d8d69e
AJ
36062012-05-09 Andreas Jaeger <aj@suse.de>
3607 Pedro Alves <palves@redhat.com>
3608
3609 * nscd/nscd.c (run_mode): Use enum.
3610 (main): Cleanup coding style issue.
3611
bb90b80b
AJ
36122012-05-09 Alexandre Oliva <aoliva@redhat.com>
3613 Andreas Jaeger <aj@suse.de>
3614
bcfe3a54
ST
3615 * nscd/nscd.c (go_background): Replaced with...
3616 (run_mode): ... this.
bb90b80b 3617 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
3618 (options): Add -F --foreground.
3619 (main): Implement it.
3620 (parse_opt): Parse it.
bb90b80b 3621
1a4b75a1
AJ
36222012-05-09 Andreas Jaeger <aj@suse.de>
3623
3624 [BZ #14083]
3625 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3626 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3627 -Wconversion warning.
3628 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3629 Likewise.
3630
b1cc2472
JM
36312012-05-09 Joseph Myers <joseph@codesourcery.com>
3632
3633 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3634 == 0.
3635 (LC_ALL): Use macro-int-constant.
3636 (LC_COLLATE): Likewise.
3637 (LC_CTYPE): Likewise.
3638 (LC_MESSAGES): Likewise.
3639 (LC_MONETARY): Likewise.
3640 (LC_NUMERIC): Likewise.
3641 (LC_TIME): Likewise.
3642 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3643 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3644 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3645 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3646 Specify type.
3647 [C99-based standards] (float_t): Expect type.
3648 [C99-based standards] (double_t): Expect type.
3649 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3650 type.
3651 [C99-based standards] (HUGE_VALL): Likewise.
3652 [C99-based standards] (INFINITY): Likewise.
3653 [C99-based standards] (NAN): Likewise.
3654 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3655 [C99-based standards] (FP_NAN): Likewise.
3656 [C99-based standards] (FP_NORMAL): Likewise.
3657 [C99-based standards] (FP_SUBNORMAL): Likewise.
3658 [C99-based standards] (FP_ZERO): Likewise.
3659 [C99-based standards] (FP_FAST_FMA): Use
3660 optional-macro-int-constant. Specify type. Require == 1.
3661 [C99-based standards] (FP_FAST_FMAF): Likewise.
3662 [C99-based standards] (FP_FAST_FMAL): Likewise.
3663 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3664 [C99-based standards] (FP_ILOGBNAN): Likewise.
3665 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3666 Specify type.
3667 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3668 [C99-based standards] (math_errhandling): Specify type.
3669 [ISO99 || ISO11] (signgam): Do not allow.
3670 [non-C99-based standards] (copysignf): Do not allow.
3671 [non-C99-based standards] (exp2f): Likewise.
3672 [non-C99-based standards] (log2f): Likewise.
3673 [non-C99-based standards] (modff): Allow.
3674 [non-C99-based standards] (erff): Do not allow.
3675 [non-C99-based standards] (erfcf): Likewise.
3676 [non-C99-based standards] (gammaf): Likewise.
3677 [non-C99-based standards] (hypotf): Likewise.
3678 [non-C99-based standards] (j0f): Likewise.
3679 [non-C99-based standards] (j1f): Likewise.
3680 [non-C99-based standards] (jnf): Likewise.
3681 [non-C99-based standards] (lgammaf): Likewise.
3682 [non-C99-based standards] (tgammaf): Likewise.
3683 [non-C99-based standards] (y0f): Likewise.
3684 [non-C99-based standards] (y1f): Likewise.
3685 [non-C99-based standards] (ynf): Likewise.
3686 [non-C99-based standards] (isnanf): Likewise.
3687 [non-C99-based standards] (acoshf): Likewise.
3688 [non-C99-based standards] (asinhf): Likewise.
3689 [non-C99-based standards] (atanhf): Likewise.
3690 [non-C99-based standards] (cbrtf): Likewise.
3691 [non-C99-based standards] (expm1f): Likewise.
3692 [non-C99-based standards] (ilogbf): Likewise.
3693 [non-C99-based standards] (log1pf): Likewise.
3694 [non-C99-based standards] (logbf): Likewise.
3695 [non-C99-based standards] (nextafterf): Likewise.
3696 [non-C99-based standards] (remainderf): Likewise.
3697 [non-C99-based standards] (rintf): Likewise.
3698 [non-C99-based standards] (scalbf): Likewise.
3699 [non-C99-based standards] (copysignl): Likewise.
3700 [non-C99-based standards] (exp2l): Likewise.
3701 [non-C99-based standards] (log2l): Likewise.
3702 [non-C99-based standards] (modfl): Allow.
3703 [non-C99-based standards] (erfl): Do not allow.
3704 [non-C99-based standards] (erfcl): Likewise.
3705 [non-C99-based standards] (gammal): Likewise.
3706 [non-C99-based standards] (hypotl): Likewise.
3707 [non-C99-based standards] (j0l): Likewise.
3708 [non-C99-based standards] (j1l): Likewise.
3709 [non-C99-based standards] (jnl): Likewise.
3710 [non-C99-based standards] (lgammal): Likewise.
3711 [non-C99-based standards] (tgammal): Likewise.
3712 [non-C99-based standards] (y0l): Likewise.
3713 [non-C99-based standards] (y1l): Likewise.
3714 [non-C99-based standards] (ynl): Likewise.
3715 [non-C99-based standards] (isnanl): Likewise.
3716 [non-C99-based standards] (acoshl): Likewise.
3717 [non-C99-based standards] (asinhl): Likewise.
3718 [non-C99-based standards] (atanhl): Likewise.
3719 [non-C99-based standards] (cbrtl): Likewise.
3720 [non-C99-based standards] (expm1l): Likewise.
3721 [non-C99-based standards] (ilogbl): Likewise.
3722 [non-C99-based standards] (log1pl): Likewise.
3723 [non-C99-based standards] (logbl): Likewise.
3724 [non-C99-based standards] (nextafterl): Likewise.
3725 [non-C99-based standards] (remainderl): Likewise.
3726 [non-C99-based standards] (rintl): Likewise.
3727 [non-C99-based standards] (scalbl): Likewise.
3728 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3729 [non-C99-based standards] (FP_*): Do not allow.
3730 [C99-based standards] (FP_*): Change to
3731 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3732 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3733 allow.
3734 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3735 (SIG_ERR): Likewise.
3736 [X/Open-based standards] (SIG_HOLD): Likewise.
3737 (SIG_IGN): Likewise.
3738 (SIGABRT): Use macro-int-constant. Specify type. Require
3739 positive value.
3740 (SIGFPE): Likewise.
3741 (SIGILL): Likewise.
3742 (SIGINT): Likewise.
3743 (SIGSEGV): Likewise.
3744 (SIGTER): Likewise.
3745 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3746 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3747 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3748 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3749 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3750 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3751 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3752 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3753 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3754 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3755 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3756 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3757 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3758 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3759 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3760 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3761 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3762 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3763 [X/Open-based standards] (SIGTRAP): Likewise.
3764 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3765 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3766 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3767 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3768 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3769 allow.
3770
b9f1922d
IW
37712012-05-08 Ian Wienand <ianw@vmware.com>
3772
3773 [BZ #14080]
3774 * time/tzset.c (__tzset_parse_tz): Update default rules for
3775 daylight time changes in the Energy Policy Act of 2005.
3776
1db86e88
AJ
37772012-05-09 Andreas Jaeger <aj@suse.de>
3778
3779 [BZ #13983]
3780 * elf/ldconfig.c (parse_conf): Change string to make clear that
3781 ldconfig only issued a warning if ld.so.conf does not exist.
3782
dee4a4e3
DM
37832012-05-08 David S. Miller <davem@davemloft.net>
3784
ee0db190
DM
3785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3786 movxtod instead of popping the value on the stack.
3787
dee4a4e3
DM
3788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3789
6a43ec98
CD
37902012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3791
3792 * config.h.in: Add HAVE_ARM_PCS_VFP.
3793
05c2c961
RMG
37942012-05-08 Roland Mc Grath <roland@hack.frob.com>
3795
bcfe3a54
ST
3796 [BZ #13979]
3797 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3798 checking but the checks are disabled for any reason.
05c2c961 3799
4b30f61a
L
38002012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3801
3802 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3803 and ELF64_R_TYPE with ELFW(R_TYPE).
3804
eee2bc67
JM
38052012-05-08 Joseph Myers <joseph@codesourcery.com>
3806
7ea5391a
JM
3807 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3808 (ulimit): Likewise.
3809
eee2bc67
JM
3810 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3811 (settimeofday): Likewise.
3812
abb66a67
MF
38132012-05-08 Mike Frysinger <vapier@gentoo.org>
3814
3815 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3816 a struct th_u2 inside the union, and move tu_block/tu_code into
3817 a new th_u3 union of tu_block/tu_code inside of that. Move
3818 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3819 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3820 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3821 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3822 (th_stuff): Change to th_u1.tu_stuff.
3823 (th_data): Define.
3824 (th_msg): Change to th_u1.th_u2.tu_data.
3825
7f18b530
DM
38262012-05-07 David S. Miller <davem@davemloft.net>
3827
05760585
DM
3828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3829
7f18b530
DM
3830 [BZ #14074]
3831 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3832 (SETUP_PIC_REG): Use it.
3833 (SETUP_PIC_REG_LEAF): Use it.
3834
495fd99f
JM
38352012-05-07 Joseph Myers <joseph@codesourcery.com>
3836
3837 [BZ #13885]
3838 [BZ #13923]
3839 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3840 USE_AS_EXPM1L.
3841 (EXPL_FINITE): Likewise.
3842 (FLDLOG): Likewise.
3843 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3844 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3845 e_expl.S.
3846 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3847 USE_AS_EXPM1L.
3848 (EXPL_FINITE): Likewise.
3849 (FLDLOG): Likewise.
3850 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3851 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3852 e_expl.S.
3853 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3854 test of -max_value argument for long double.
3855 * sysdeps/i386/fpu/libm-test-ulps: Update.
3856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3857
6693d694
DM
38582012-05-06 David S. Miller <davem@davemloft.net>
3859
3860 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3861 quad soft-float symbols whose references which are compiler
3862 generated.
3863 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3864
6c23e11c
JM
38652012-05-06 Joseph Myers <joseph@codesourcery.com>
3866
d8b82cad
JM
3867 [BZ #13884]
3868 [BZ #13914]
3869 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3870 USE_AS_EXP10L.
3871 (EXPL_FINITE): Likewise.
3872 (FLDLOG): Likewise.
3873 (c0): Likewise.
3874 (c1): Likewise.
3875 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3876 Adjust comments for base varying.
3877 (__expl_finite): Change alias to EXPL_FINITE.
3878 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3879 e_expl.S.
3880 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3881 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3882 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3883 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3884 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3885 USE_AS_EXP10L.
3886 (EXPL_FINITE): Likewise.
3887 (FLDLOG): Likewise.
3888 (c0): Likewise.
3889 (c1): Likewise.
3890 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3891 Adjust comments for base varying.
3892 (__expl_finite): Change alias to EXPL_FINITE.
3893 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3894 tests for bugs.
3895 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3896
6c23e11c
JM
3897 [BZ #14064]
3898 * math/libm-test.inc (check_float_internal): Correct ulp
3899 calculation for subnormal expected results.
3900
29ba805c
AJ
39012012-05-06 Andreas Jaeger <aj@suse.de>
3902
3903 * Makeconfig (+math-flags): New, set to -frounding-math.
3904 (+cflags): Add +math-flags so that all of glibc gets compiled with
3905 it.
3906
3907 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3908
7b17aeda
JM
39092012-05-05 Joseph Myers <joseph@codesourcery.com>
3910
5779f134
JM
3911 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3912 Disable one test.
3913
41498f4d
JM
3914 [BZ #13787]
3915 [BZ #13922]
3916 [BZ #14036]
3917 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3918 (__ieee754_expl): Allow for and saturate large arguments.
3919 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3920 (u_threshold): Likewise.
3921 (__exp): Call __ieee754_exp before checking for overflow and
3922 underflow.
3923 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3924 (u_threshold): Likewise.
3925 (__expf): Call __ieee754_expf before checking for overflow and
3926 underflow.
3927 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3928 (u_threshold): Likewise.
3929 (__expl): Call __ieee754_expl before checking for overflow and
3930 underflow.
3931 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3932 (__ieee754_expl): Allow for and saturate large arguments.
3933 * math/libm-test.inc (exp_test): Add another test. Do not allow
3934 missing overflow exception on overflow.
3935 (expm1_test): Do not allow missing overflow exception on overflow.
3936
6698b8bf
JM
3937 * sysdeps/i386/fpu/e_expl.c: Move to ...
3938 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3939 rather than using inline asm.
3940 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3941 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3942 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3943
7b17aeda
JM
3944 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3945 (nice): Likewise.
3946 (poll): Likewise.
3947 (signal): Likewise.
3948 (time): Likewise.
3949 (times): Likewise.
3950
f7c85819
JM
39512012-05-04 Joseph Myers <joseph@codesourcery.com>
3952
3953 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3954 sysdeps/unix/common/syscalls.list.
3955 (fchmod): Likewise.
3956 (fchown): Likewise.
3957 (ftruncate): Likewise.
3958 (getrusage): Likewise.
3959 (gettimeofday): Likewise.
3960 (setpgid): Likewise.
3961 (setregid): Likewise.
3962 (setreuid): Likewise.
3963 (sigaction): Likewise.
3964 (truncate): Likewise.
3965 (vhangup): Likewise.
3966 * sysdeps/unix/common/syscalls.list: Remove file.
3967 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3968 * sysdeps/unix/sysv/linux/Implies: Likewise.
3969
336270d0
L
39702012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3971
3972 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3973 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3974 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3975 Moved to ...
3976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3977 Here.
3978 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3979 to ...
3980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3981 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3982 to ...
3983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3984 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3985 to ...
3986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3987 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3988 to ...
3989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3990 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3991 to ...
3992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3993 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3994 to ...
3995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3996 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3997 to ...
3998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3999 Here.
4000 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4001 to ...
4002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4003 Here.
4004 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4005 to ...
4006 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4007 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4008 Moved to ...
4009 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4010 Here.
4011 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4012 to ...
4013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4014
d128e450
JM
40152012-05-04 Joseph Myers <joseph@codesourcery.com>
4016
fa8ee516
JM
4017 * sysdeps/unix/common/bits/dirent.h: Remove file.
4018 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4019
d128e450
JM
4020 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4021 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4022 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4023 * sysdeps/unix/bsd/isatty.c: Likewise.
4024 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4025 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4026 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4027
ff8faaf0 40282012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 4029
62881be4 4030 [BZ #13563]
31dc8730
AZ
4031 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4032 long double comparison inaccuracies.
4033 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4035
6fef930c
AS
40362012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4037
4038 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4039 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4040
8f203e6c
JM
40412012-05-04 Joseph Myers <joseph@codesourcery.com>
4042
4043 [BZ #14049]
4044 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4045 nonzero digits before rounding a hex value.
4046 * stdlib/tst-strtod.c (tests): Add another test.
4047
5197d9c2
AK
40482012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4049
4050 * sysdeps/s390/fpu/libm-test-ulps: Update.
4051
f0c1dedf
AJ
40522012-05-03 Andreas Jaeger <aj@suse.de>
4053
4054 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4055 does not get optimized out.
4056 (malloc_opt_barrier): New.
4057
a65ef2ae 40582012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 4059 Roland McGrath <roland@hack.frob.com>
a65ef2ae 4060
2b942cb7 4061 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 4062 intermediate file deletion.
2b942cb7 4063 (generated): Add .symlist files.
a65ef2ae 4064
54b71e02
JM
40652012-05-03 Joseph Myers <joseph@codesourcery.com>
4066
4067 [BZ #13775]
4068 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4069 Redirect under this condition.
4070 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4071 [__USE_GNU] (__dprintf_chk): Not under this condition.
4072 [__USE_GNU] (__vdprintf_chk): Likewise.
4073 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4074 under this condition.
4075 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4076 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4077 [__USE_XOPEN2K8] (vdprintf): Likewise.
4078 [__USE_GNU] (__dprintf_chk): Not under this condition.
4079 [__USE_GNU] (__vdprintf_chk): Likewise.
4080 [__USE_GNU] (dprintf): Likewise.
4081 [__USE_GNU] (vdprintf): Likewise.
4082
d3dfcc41
RM
40832012-05-03 Roland McGrath <roland@hack.frob.com>
4084
4085 * elf/Makefile (common-generated): Set this instead of generated for
4086 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
4087 $(all-built-dso)-derived lists.
4088
7ac30cc5
AJ
40892012-05-03 Andreas Jaeger <aj@suse.de>
4090
0c51e550
AJ
4091 * sysdeps/i386/fpu/libm-test-ulps: Update.
4092
7ac30cc5
AJ
4093 * FAQ: Removed.
4094 * FAQ.in: Likewise.
4095 * scripts/gen-FAQ.pl: Likewise.
4096 * manual/install.texi (Installation): Point to online location of
4097 FAQ.
4098 * Makefile (files-for-dist): Remove FAQ.
4099 (FAQ): Remove.
4100
d4c2917f
AM
41012012-05-02 Allan McRae <allan@archlinux.org>
4102
4103 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4104 (LDFLAGS-reldepmod5.so): Likewise.
4105 (LDFLAGS-reldep6mod1.so): Likewise.
4106 (LDFLAGS-reldep6mod4.so): Likewise.
4107 (LDFLAGS-reldep8mod3.so): Likewise.
4108 (LDFLAGS-unload4mod1.so): Likewise.
4109 (LDFLAGS-unload4mod2.so): Likewise.
4110 (LDFLAGS-tst-initorder): Likewise.
4111 (LDFLAGS-tst-initordera2.so): Likewise.
4112 (LDFLAGS-tst-initordera3.so): Likewise.
4113 (LDFLAGS-tst-initordera4.so): Likewise.
4114 (LDFLAGS-tst-initorderb2.so): Likewise.
4115 (LDFLAGS-noload): Likewise.
4116 (LDFLAGS-next): Likewise.
4117 (LDFLAGS-order2mod1.so): Likewise.
4118 (LDFLAGS-order2mod2.so): Likewise.
4119 (LDFLAGS-tst-initorder2): Likewise.
4120 (LDFLAGS-tst-initorder2a.so): Likewise.
4121 (LDFLAGS-tst-initorder2b.so): Likewise.
4122 (LDFLAGS-tst-initorder2c.so): Likewise.
4123 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4124
d77f993f
DM
41252012-05-02 David S. Miller <davem@davemloft.net>
4126
4127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4128
171a70b4
PP
41292012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4130
4131 [BZ #14055]
4132 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4133
0be196ad
AJ
41342012-05-02 Andreas Jaeger <aj@suse.de>
4135
4136 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4137 since we manipulate rounding mode.
4138 (CPPFLAGS-test-idouble.c): Likewise.
4139 (CPPFLAGS-test-ifloat.c): Likewise.
4140 (CFLAGS-test-ldouble.c): Likewise.
4141 (CFLAGS-test-double.c): Likewise.
4142 (CFLAGS-test-float.c): Likewise.
4143 (CFLAGS-test-misc.c): Likewise.
4144 (CFLAGS-test-test-fenv.c): Likewise.
4145
4f9d04aa
AZ
41462012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4147
2b942cb7
RM
4148 [BZ #2550]
4149 [BZ #2570]
4150 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4151 comparisons to determine direction to adjust input.
4f9d04aa 4152
82a79e7d
RM
41532012-05-01 Roland McGrath <roland@hack.frob.com>
4154
f5a01ca9
RM
4155 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4156 output to the target.
4157
90fe4186
RM
4158 * scripts/localplt.awk: New file.
4159 * elf/Makefile ($(objpfx)check-localplt): Target removed.
4160 (check-localplt-CFLAGS): Variable removed.
4161 ($(all-built-dso:=.jmprel)): New static pattern rule.
4162 (generated): Add those targets.
4163 (localplt-built-dso): New variable.
4164 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4165
4166 * elf/check-localplt.c: File removed.
4167
82397ed6
RM
4168 * scripts/check-execstack.awk: New file.
4169 * elf/Makefile ($(objpfx)check-execstack): Target removed.
4170 (check-execstack-CFLAGS): Variable removed.
4171 ($(objpfx)check-execstack.h): Target removed.
4172 ($(objpfx)execstack-default): New target.
4173 (generated): Add that instead of check-execstack.h.
4174 ($(all-built-dso:=.phdr)): New static pattern rule.
4175 (generated): Add those targets.
4176 * elf/check-execstack.c: File removed.
4177
82a79e7d
RM
4178 * scripts/check-textrel.awk: New file.
4179 * elf/Makefile ($(objpfx)check-textrel): Target removed.
4180 (check-textrel-CFLAGS): Variable removed.
4181 (all-built-dso): Use := to define.o
4182 ($(all-built-dso:=.dyn)): New static pattern rule.
4183 (generated): Add those targets.
4184 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4185 * config.make.in (READELF): New substituted variable.
4186 * elf/check-textrel.c: File removed.
4187
62fde54f 41882012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 4189
615605c9
JM
4190 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4191 allow.
4192 * conform/data/ctype.h-data [C99-based standards] (isblank):
4193 Expect function.
4194 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4195 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4196 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4197 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4198 Specify type. Require positive value.
4199 (EILSEQ): Likewise.
4200 (ERANGE): Likewise.
4201 [ISO || POSIX] (EILSEQ): Do not expect.
4202 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4203 Specify type. Require positive value.
4204 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4205 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4206 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4207 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4208 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4209 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4210 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4211 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4212 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4213 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4214 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4215 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4216 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4217 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4218 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4219 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4220 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4221 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4222 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4223 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4224 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4225 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4226 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4227 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4228 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4229 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4230 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4231 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4232 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4233 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4234 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4235 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4236 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4237 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4238 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4239 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4240 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4241 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4242 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4243 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4244 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4245 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4246 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4247 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4248 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4249 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4250 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4251 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4252 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4253 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4254 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4255 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4256 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4257 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4258 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4259 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4260 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4261 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4262 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4263 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4264 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4265 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4266 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4267 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4268 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4269 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4270 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4271 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4272 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4273 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4274 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4275 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4276 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4277 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4278 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4279 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4280 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4281 Require >= 2.
4282 (FLT_ROUNDS): Expect as macro, not constant.
4283 (FLT_MANT_DIG): Use macro-int-constant.
4284 (DBL_MANT_DIG): Likewise.
4285 (LDBL_MANT_DIG): Likewise.
4286 (FLT_DIG): Likewise.
4287 (DBL_DIG): Likewise.
4288 (LDBL_DIG): Likewise.
4289 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
4290 (DBL_MIN_EXP): Likewise.
4291 (LDBL_MIN_EXP): Likewise.
4292 (FLT_MAX_EXP): Use macro-int-constant.
4293 (DBL_MAX_EXP): Likewise.
4294 (LDBL_MAX_EXP): Likewise.
4295 (FLT_MAX_10_EXP): Likewise.
4296 (DBL_MAX_10_EXP): Likewise.
4297 (LDBL_MAX_10_EXP): Likewise.
4298 (FLT_MAX): Use macro-constant.
4299 (DBL_MAX): Likewise.
4300 (LDBL_MAX): Likewise.
4301 (FLT_EPSILON): Use macro-constant. Give upper bound.
4302 (DBL_EPSILON): Likewise.
4303 (LDBL_EPSILON): Likewise.
4304 (FLT_MIN): Likewise.
4305 (DBL_MIN): Likewise.
4306 (LDBL_MIN): Likewise.
4307 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
4308 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
4309 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
4310 [ISO11] (FLT_HAS_SUBNORM): Likewise.
4311 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
4312 [ISO11] (DBL_DECIMAL_DIG): Likewise.
4313 [ISO11] (FLT_DECIMAL_DIG): Likewise.
4314 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4315 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4316 [ISO11] (FLT_TRUE_MIN): Likewise.
4317 [ISO11] (LDBL_TRUE_MIN): Likewise.
4318 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4319 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4320 (SCHAR_MIN): Use macro-int-constant. Specify type.
4321 (SCHAR_MAX): Likewise.
4322 (UCHAR_MAX): Likewise.
4323 (CHAR_MIN): Likewise.
4324 (CHAR_MAX): Likewise.
4325 (MB_LEN_MAX): Use macro-int-constant.
4326 (SHRT_MIN): Use macro-int-constant. Specify type.
4327 (SHRT_MAX): Likewise.
4328 (USHRT_MAX): Likewise.
4329 (INT_MAX): Likewise.
4330 (INT_MIN): Use macro-int-constant. Specify type. Make upper
4331 bound negative.
4332 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
4333 bound with "U".
4334 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4335 bound with "L".
4336 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
4337 bound negative. Suffix upper bound with "L".
4338 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4339 bound with "UL".
4340 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4341 Specify type.
4342 [C99-based standards] (LLONG_MAX): Likewise.
4343 [C99-based standards] (ULLONG_MAX): Likewise.
4344 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
4345 == 0.
4346 [ISO11] (max_align_t): Require type.
4347 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4348
c9140a62
JM
4349 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4350 from $CFLAGS, without defining away __attribute__ calls.
4351 (checknamespace): Use $CFLAGS_namespace.
4352
9af0bf29
JM
4353 * conform/conformtest.pl (@keywords): Only include C99 keywords
4354 for standards based on C99 or C11.
4355
343222a2
JM
4356 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4357 Disable tests.
4358 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4359 UNIX98]: Likewise.
4360
661f8cf0
JM
4361 * conform/conformtest.pl: Handle "macro-int-constant" and test for
4362 usability of symbols in #if.
4363
ee74b9cb
JM
4364 * conform/conformtest.pl: If macro or constant types start
4365 "promoted:", expect the symbol to be of the following type
4366 promoted by the integer promotions.
62fde54f 4367
aafc49b3
JM
4368 * conform/conformtest.pl: Parse all "constant" and "macro" lines
4369 in one place. Also handle "macro-constant".
4370
fefdf574
JM
4371 * conform/conformtest.pl: Only accept expected macro values with
4372 "==". Parse all "macro" lines in one place.
4373 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4374
f2d922fe
JM
4375 * conform/conformtest.pl: Handle braced types on "constant" lines
4376 instead of handling "typed-constant".
4377 * conform/data/signal.h-data: Use "constant" instead of
4378 "typed-constant".
4379
d22956c9
JM
4380 * conform/conformtest.pl: Handle "optional-" at start of lines in
4381 one place rather than duplicating several cases. Handle each
4382 format of "macro" line with initial "optional-".
4383
028e2e38
JM
4384 * conform/conformtest.pl: Only accept expected constant or
4385 optional-constant values with "==". Parse all "constant" lines in
4386 one place. Parse all "optional-constant" lines in one place.
4387 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4388 * conform/data/fmtmsg.h-data: Likewise.
4389 * conform/data/netinet/in.h-data: Likewise.
4390 * conform/data/tar.h-data: Likewise.
4391 * conform/data/limits.h-data: Use "==" form on "constant" and
4392 "optional-constant" lines.
4393
1b8f2850
JM
4394 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4395 Use -std=c99 for XOPEN2K.
4396 (@knownproblems): Remove.
4397 (newtoken): Don't check %isknown.
4398
a05a144b
JM
4399 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4400 Do not expect macro.
4401 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4402 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4403 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4404 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4405 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4406 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4407 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4408 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4409 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4410 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4411 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4412 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4413 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4414 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4415 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4416 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4417 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4418 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4419 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4420 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4421 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4422 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4423 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4424 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4425 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4426 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4427 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4428 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4429 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4430 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4431 [XPG3] (acosh): Likewise.
4432 [XPG3] (asinh): Likewise.
4433 [XPG3] (atanh): Likewise.
4434 [XPG3] (cbrt): Likewise.
4435 [XPG3] (expm1): Likewise.
4436 [XPG3] (ilogb): Likewise.
4437 [XPG3] (log1p): Likewise.
4438 [XPG3] (logb): Likewise.
4439 [XPG3] (nextafter): Likewise.
4440 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4441 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4442 [XPG3] (remainder): Likewise.
4443 [XPG3] (rint): Likewise.
4444 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4445 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4446 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4447 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4448 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4449 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4450 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4451 [UNIX98 || XOPEN2K] (scalb): Expect.
4452 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4453 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4454 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4455 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4456 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4457 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4458 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4459 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4460 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4461 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4462 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4463 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4464 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4465 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4466 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4467 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4468 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4469 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4470 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4471 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4472 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4473 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4474 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4475 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4476 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4477 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4478 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4479 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4480 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4481 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4482 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4483 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4484 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4485 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4486 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4487 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4488 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4489 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4490 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4491 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4492 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4493 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4494 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4495 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4496 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4497 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4498 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4499 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4500 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4501 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4502 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4503 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4504 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4505 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4506 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4507 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4508 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4509 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4510 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4511 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4512 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4513 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4514 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4515 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4516 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4517 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4518 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4519 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4520 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4521 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4522 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4523 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4524 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4525 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4526 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4527 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4528 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4529 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4530 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4531 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4532 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4533 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4534 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4535 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4536 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4537 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4538 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4539 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4540 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4541 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4542 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4543 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4544 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4545 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4546 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4547 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4548 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4549 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4550 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4551 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4552 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4553 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4554 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4555 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4556 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4557 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4558 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4559 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4560 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4561 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4562 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4563 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4564 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4565 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4566 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4567 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4568 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4569 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4570 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4571 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4572 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4573 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4574 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4575 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4576 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4577 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4578 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4579 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4580 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4581 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4582 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4583 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4584 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4585 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4586 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4587 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4588 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4589
73c5ebe3
JM
4590 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4591 _XOPEN_SOURCE_EXTENDED for XPG4.
4592
39c33b6c
JM
4593 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4594
62fde54f
JM
4595 * Makeconfig (localtime): Remove variable.
4596 (inst_localtime-file): Likewise.
4597
0741d64c
AS
45982012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4599
4600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4601 Update.
4602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4603 Update.
4604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4605 Update.
4606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4607 Update.
4608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4609 Update.
4610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4611 Update.
4612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4613 Update.
4614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4615 Update.
4616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4617 Update.
4618
7cb029ee
JM
46192012-05-01 Joseph Myers <joseph@codesourcery.com>
4620
4621 [BZ #2550]
4622 [BZ #2570]
4623 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4624 comparisons to determine direction to adjust input.
4625 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4626 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4627 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4628 Likewise.
4629 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4630 Likewise.
4631 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4632 Likewise.
4633 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4634 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4635 Likewise.
4636 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4637 Likewise.
4638 * math/libm-test.inc (nexttoward_test): Add more tests.
4639
412bd966
AS
46402012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4641
4642 [BZ #14040]
4643 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4644 in version GLIBC_2.1, not GLIBC_2.0.
4645 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4646 Likewise.
4647
9568c0c2
JM
46482012-04-30 Joseph Myers <joseph@codesourcery.com>
4649
adfbc8ac
JM
4650 [BZ #13942]
4651 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4652 (1 - x) * (1 + x).
4653 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4654 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4655 * math/libm-test.inc (acos_test): Add more tests.
4656 (asin_test): Likewise.
4657 * sysdeps/i386/fpu/libm-test-ulps: Update.
4658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4659
5ba3cc69
JM
4660 [BZ #14034]
4661 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4662 of square root.
4663 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4664 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4665 * math/libm-test.inc (acos_test_tonearest): New function.
4666 (acos_test_towardzero): Likewise.
4667 (acos_test_downward): Likewise.
4668 (acos_test_upward): Likewise.
4669 (asin_test_tonearest): Likewise.
4670 (asin_test_towardzero): Likewise.
4671 (asin_test_downward): Likewise.
4672 (asin_test_upward): Likewise.
4673 (main): Call the new functions.
4674 * sysdeps/i386/fpu/libm-test-ulps: Update.
4675 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4676
9568c0c2
JM
4677 [BZ #13884]
4678 [BZ #13924]
4679 * math/e_exp10.c: Include <float.h>.
4680 (__ieee754_exp10): Handle underflow here rather than multiplying
4681 large negative argument by M_LN10.
4682 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4683 of __ieee754_expf.
4684 * math/e_exp10l.c: Include <float.h>.
4685 (__ieee754_exp10l): Handle underflow here rather than multiplying
4686 large negative argument by M_LN10l.
4687 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4688 spurious overflow exception on underflow.
4689
5ac3ea17
MP
46902012-04-29 Marek Polacek <polacek@redhat.com>
4691
4692 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4693 (__fortify_function): New macro.
4694 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4695 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4696 __extern_always_inline.
4697 * libio/bits/stdio2.h: Likewise.
4698 * libio/bits/stdio.h: Likewise.
4699 * string/string.h: Likewise.
4700 * string/bits/string3.h: Likewise.
4701 * include/stdio.h: Likewise.
4702 * stdlib/bits/stdlib.h: Likewise.
4703 * stdlib/stdlib.h: Likewise.
4704 * rt/bits/mqueue2.h: Likewise.
4705 * rt/mqueue.h: Likewise.
4706 * posix/bits/unistd.h: Likewise.
4707 * posix/unistd.h: Likewise.
4708 * io/bits/poll2.h: Likewise.
4709 * io/bits/fcntl2.h: Likewise.
4710 * io/fcntl.h: Likewise.
4711 * io/sys/poll.h: Likewise.
4712 * misc/bits/syslog.h: Likewise.
4713 * misc/bits/syslog-ldbl.h: Likewise.
4714 * misc/sys/syslog.h: Likewise.
4715 * socket/bits/socket2.h: Likewise.
4716 * socket/sys/socket.h: Likewise.
4717 * debug/tst-chk1.c: Likewise.
4718 * wcsmbs/bits/wchar2.h: Likewise.
4719 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4720 * wcsmbs/wchar.h: Likewise.
4721
ecf0ebfb
AJ
47222012-04-29 Andreas Jaeger <aj@suse.de>
4723
4724 * Makerules (tests): Remove enable-check-abi protection.
4725 (check-abi-warn): Remove.
4726 (check-abi-%): Remove check-abi-warn usage.
4727
4728 * configure.in: Remove check-abi configure option.
4729 * configure: Regenerated.
4730 * config.make.in (enable-check-abi): Remove.
4731
6d5c57fa
AS
47322012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4733
24c5d07e 4734 [BZ #14033]
ded5180a
AS
4735 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4736 double functions to double *_finite functions.
4737
7e0d315d
AS
4738 [BZ #13941]
4739 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4740 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4741 LDBL_MIN_EXP.
4742 * stdio-common/Makefile (tests): Add tst-sprintf3.
4743 * stdio-common/tst-sprintf3.c: New file.
4744
6d5c57fa
AS
4745 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4746 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4747
0749ff8b
JM
47482012-04-28 Joseph Myers <joseph@codesourcery.com>
4749
4750 * conform/conformtest.pl: Remove duplicate typed-constant
4751 handling.
4752
8dbd5d7b
DM
47532012-04-28 David S. Miller <davem@davemloft.net>
4754
4755 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4756 (check-abi-%): Remove AWK script prerequisite and explicit
4757 abilist directory.
4758 (check-abi): Rewrite to just diff the symlist with the abilist.
4759 (config-tls, config-abi-config): Delete, no longer used.
4760 (update-abi-%): Remove AWK script and explicit abilist directory.
4761 (update-abi): Rewrite to simply compare and conditionally copy the
4762 symlist and the sysdep abilist file. Remove update-abi-config
4763 checks.
4764 * abilist/ld.abilist: Remove.
4765 * abilist/libBrokenLocale.abilist: Remove.
4766 * abilist/libanl.abilist: Remove.
4767 * abilist/libcrypt.abilist: Remove.
4768 * abilist/libdl.abilist: Remove.
4769 * abilist/librt.abilist: Remove.
4770 * abilist/libthread_db.abilist: Remove.
4771 * abilist/libutil.abilist: Remove.
4772 * scripts/extract-abilist.awk: Remove.
4773 * scripts/merge-abilist.awk: Remove.
4774 * sysdeps/generic/libcidn.abilist: New file.
4775 * sysdeps/generic/libnss_compat.abilist: New file.
4776 * sysdeps/generic/libnss_db.abilist: New file.
4777 * sysdeps/generic/libnss_dns.abilist: New file.
4778 * sysdeps/generic/libnss_files.abilist: New file.
4779 * sysdeps/generic/libnss_hesiod.abilist: New file.
4780 * sysdeps/generic/libnss_nis.abilist: New file.
4781 * sysdeps/generic/libnss_nisplus.abilist: New file.
4782 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4783 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4784 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4785 file.
4786 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4787 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4788 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4789 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4790 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4791 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4792 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4793 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4794 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4795 file.
4796 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4797 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4798 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4799 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4800 file.
4801 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4802 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4803 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4804 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4805 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4806 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4807 file.
4808 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4809 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4810 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4811 file.
4812 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4813 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4814 New file.
4815 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4816 New file.
4817 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4818 New file.
4819 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4820 New file.
4821 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4822 New file.
4823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4824 New file.
4825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4826 New file.
4827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4828 New file.
4829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4830 New file.
4831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4832 New file.
4833 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4834 New file.
4835 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4836 New file.
4837 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4838 New file.
4839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4840 file.
4841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4842 New file.
4843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4844 New file.
4845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4846 file.
4847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4848 New file.
4849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4850 New file.
4851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4852 file.
4853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4854 New file.
4855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4856 New file.
4857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4858 New file.
4859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4860 New file.
4861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4862 New file.
4863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4864 New file.
4865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4867 file.
4868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4869 New file.
4870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4871 file.
4872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4873 file.
4874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4875 file.
4876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4877 file.
4878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4879 file.
4880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4881 New file.
4882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4883 file.
4884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4885 file.
4886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4887 New file.
4888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4889 file.
4890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4892 file.
4893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4894 New file.
4895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4896 file.
4897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4898 file.
4899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4900 file.
4901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4902 file.
4903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4904 file.
4905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4906 New file.
4907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4908 file.
4909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4910 file.
4911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4912 New file.
4913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4914 file.
4915 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4916 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4917 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4918 file.
4919 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4920 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4921 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4922 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4923 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4924 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4925 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4926 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4927 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4928 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4931 file.
4932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4933 New file.
4934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4935 file.
4936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4937 file.
4938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4939 file.
4940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4941 file.
4942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4943 file.
4944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4945 New file.
4946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4947 New file.
4948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4949 file.
4950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4951 New file.
4952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4953 file.
4954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4956 file.
4957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4958 New file.
4959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4960 file.
4961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4962 file.
4963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4964 file.
4965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4966 file.
4967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4968 file.
4969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4970 New file.
4971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4972 New file.
4973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4974 file.
4975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4976 New file.
4977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4978 file.
4979
41d73a1b
JM
49802012-04-28 Joseph Myers <joseph@codesourcery.com>
4981
4982 * conform/conformtest.pl: Fix typo in handling typed-constant from
4983 allow-header.
4984
28aeeda4
JM
49852012-04-27 Joseph Myers <joseph@codesourcery.com>
4986
adae8f5e
JM
4987 * README: Cut down references to pre-2.6 Linux kernels and
4988 Linuxthreads. Update lists of configurations in libc and ports
4989 and sort alphabetically. Say "or newer" with Linux kernel version
4990 requirements.
4991
28aeeda4
JM
4992 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4993
a462cb63
RA
49942012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4995
4996 [BZ #887]
4997 * math/libm-test.inc (logb_test_downward): New test to expose
4998 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4999 rounding mode.
5000
6ad3493e
JM
50012012-04-27 Joseph Myers <joseph@codesourcery.com>
5002
5003 [BZ #14027]
5004 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5005 to be done.
5006 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5007 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5008
2ce4f015
JM
50092012-04-26 Joseph Myers <joseph@codesourcery.com>
5010
5aeb141a
JM
5011 * sysdeps/unix/i386/brk.S: Remove file.
5012 * sysdeps/unix/i386/dl-brk.S: Likewise.
5013 * sysdeps/unix/i386/pipe.S: Likewise.
5014 * sysdeps/unix/i386/sigreturn.S: Likewise.
5015 * sysdeps/unix/i386/syscall.S: Likewise.
5016 * sysdeps/unix/i386/vfork.S: Likewise.
5017 * sysdeps/unix/i386/wait.S: Likewise.
5018
7143acae
JM
5019 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5020 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5021
2ce4f015
JM
5022 * configure.in (arm*-none*): Do not allow without
5023 --enable-hacker-mode.
5024 (netbsd*): Remove case setting base_os.
5025 (386bsd*): Likewise.
5026 (freebsd*): Likewise.
5027 (bsdi*): Likewise.
5028 (osf*): Likewise.
5029 (sunos*): Likewise.
5030 (ultrix*): Likewise.
5031 (newsos*): Likewise.
5032 (dynix*): Likewise.
5033 (*bsd*): Likewise.
5034 (sysv*): Likewise.
5035 (isc*): Likewise.
5036 (esix*): Likewise.
5037 (sco*): Likewise.
5038 (minix*): Likewise.
5039 (irix4*): Likewise.
5040 (irix6*): Likewise.
5041 (solaris[2-9]*): Likewise.
5042 (none): Likewise.
5043 * configure: Regenerated.
5044
0ac229c8
AZ
50452012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5046
5047 [BZ #11521]
5048 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5049 overflow or cancellation in calculating denominator.
5050 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5051 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5052 down expression to avoid unexpected rounding in newer GCCs.
5053 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5054
33f244f4
DM
50552012-04-26 David S. Miller <davem@davemloft.net>
5056
5057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5058 long-double compat symbols.
5059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5072
cfa1f3e8
DM
50732012-04-25 David S. Miller <davem@davemloft.net>
5074
5075 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5076 HWCAP_* values only after the memory barriers have been defined.
5077 (atomic_full_barrier): Define.
5078 (atomic_read_barrier): Define.
5079 (atomic_write_barrier): Define.
5080
6e236b92
SP
50812012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5082
5083 * shlib-versions: Add libgcc_s version information.
5084 * sysdeps/generic/libgcc_s.h: Remove.
5085 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5086 libgcc_s.h.
5087 * sysdeps/gnu/unwind-resume.c: Likewise.
5088 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5089
aab39a09
DM
50902012-04-25 David S. Miller <davem@davemloft.net>
5091
5092 * sysdeps/unix/sparc/brk.S: Delete.
5093 * sysdeps/unix/sparc/dl-brk.S: Delete.
5094 * sysdeps/unix/sparc/pipe.S: Delete.
5095 * sysdeps/unix/sparc/sysdep.S: Delete.
5096 * sysdeps/unix/sparc/sysdep.h: Delete.
5097 * sysdeps/unix/sparc/vfork.S: Delete.
5098 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5099 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5100 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5101 ret_ERRVAL, r0, r1, MOVE): Define.
5102 (JUMPTARGET): Remove.
5103 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5104 sysdeps/unix/sparc/sysdep.h
5105 (ENTRY, END): Remove.
5106 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5107
a3cc4f48
JM
51082012-04-25 Joseph Myers <joseph@codesourcery.com>
5109
2ed8cda2
JM
5110 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5111 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5112 -DIS_IN_build.
5113
35d76d59
JM
5114 * timezone/README: Update upstream location and email address for
5115 tzcode and tzdata.
5116 * timezone/zdump.c: Update from tzcode 2012b.
5117 * timezone/zic.c: Likewise.
5118
a3cc4f48
JM
5119 * configure.in (libc_cv_as_needed): Remove test.
5120 * configure: Regenerated.
5121 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5122 conditional definition.
5123 [$(have-as-needed) != yes] (no-as-needed): Likewise.
5124 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5125 * config.make.in (have-as-needed): Remove variable.
5126
ceab42c3
SP
51272012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5128 Paul Pluzhnikov <ppluzhnikov@google.com>
5129
5130 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5131 strings correctly.
5132
3ce2865f
CLT
51332012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5134
5135 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5136 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5137 * sysdeps/sh/strlen.S: Likewise.
5138
f37e0d68
JM
51392012-04-24 Joseph Myers <joseph@codesourcery.com>
5140
ae186e9a
JM
5141 * sysdeps/unix/fork.S: Remove file.
5142 * sysdeps/unix/i386/fork.S: Likewise.
5143 * sysdeps/unix/sparc/fork.S: Likewise.
5144
b96914af
JM
5145 * sysdeps/unix/system.c: Remove file.
5146 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5147
f37e0d68
JM
5148 * sysdeps/unix/getegid.S: Remove file.
5149 * sysdeps/unix/geteuid.S: Likewise.
5150
87ef29ca
RM
51512012-04-24 Roland McGrath <roland@hack.frob.com>
5152
83bcd236
RM
5153 * scripts/check-localplt.awk: New file.
5154 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5155 of diff.
5156 * scripts/data/localplt-generic.data: Add a comment.
5157
87ef29ca
RM
5158 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5159 NODE when __dir_mkfile failed.
5160 * sysdeps/mach/hurd/symlinkat.c: Likewise.
5161 Reported by Ludovic Courtès <ludo@gnu.org>.
5162
e5a6e567
AJ
51632012-04-24 Andreas Jaeger <aj@suse.de>
5164
5165 * Makerules (common-clean): Also remove gen-as-const-headers
5166 files.
5167
c1820385
JM
51682012-04-24 Joseph Myers <joseph@codesourcery.com>
5169
5170 * Makerules (native-compile): Do not change working directory for
5171 build. Use $(OUTPUT_OPTION) in command.
5172 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5173
94e02fc4
AZ
51742012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5175
5176 [BZ #13886]
5177 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5178 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5179 * math/libm-test.inc (floor_test): Add more tests.
5180 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5181
3a533ca3
JM
51822012-04-24 Joseph Myers <joseph@codesourcery.com>
5183
940ab4b3
JM
5184 * sysdeps/unix/getdents.c: Remove file.
5185 * sysdeps/unix/sysv/getdents.c: Likewise.
5186 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5187
90e037bd
JM
5188 * sysdeps/unix/syscalls.list (madvise): Add syscall from
5189 sysdeps/unix/mman/syscalls.list.
5190 (mmap): Likewise.
5191 (mprotect): Likewise.
5192 (msync): Likewise.
5193 (munmap): Likewise.
5194 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5195 * sysdeps/unix/mman/syscalls.list: Remove.
5196 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5197
3a533ca3
JM
5198 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5199 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5200 * configure: Regenerated.
5201 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5202 $(libgcc_s_suffix).
5203 * config.make.in (libgcc_s_suffix): Remove variable.
5204
1ad743de
JM
52052012-04-23 Joseph Myers <joseph@codesourcery.com>
5206
4ad451e2
JM
5207 * sysdeps/unix/sysv/gethostname.c: Move to ...
5208 * sysdeps/posix/gethostname.c: ... here.
5209
5e37ce39
JM
5210 * sysdeps/unix/execve.S: Remove file.
5211
1ad743de
JM
5212 * sysdeps/unix/_exit.S: Remove file.
5213
4e681b5b
AJ
52142012-04-23 Andreas Jaeger <aj@suse.de>
5215
5216 [BZ #13739]
5217 * manual/Makefile: Remove make dist support, there's no
5218 need for a stand-alone documentation tar ball.
5219 (TEXI2DVI): Define always, it's not in Makeconfig.
5220 (dist): Removed.
5221 (tar-it): Removed.
5222 (edition): Removed.
5223 (glibc-doc-$(edition).tar): Removed
5224 (%.Z): Removed.
5225 (%.gz): Removed.
5226 (%.uu): Removed.
5227 (ETAGS): Remove, it's in Makeconfig.
5228 (move-if-change): Remove, it's in Makeconfig.
5229
c0baea34
PE
52302013-04-23 Paul Eggert <eggert@cs.ucla.edu>
5231
5232 [BZ #13970]
5233 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5234 (strtod, strtof, strtold, strtol, strtoul, strtoq)
5235 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5236 (strtod_l, strtof_l, strtold_l): Remove __wur.
5237 It is not necessarily an error to ignore strtol's return value.
5238 One can reliably look at the stored endptr to decide whether
5239 the number had valid syntax.
5240
7c0616fa
AJ
52412012-04-21 Andreas Jaeger <aj@suse.de>
5242
803cb6b7 5243 [BZ #13739]
7c0616fa
AJ
5244 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5245
b0fe253f
JM
52462012-04-21 Joseph Myers <joseph@codesourcery.com>
5247
5248 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5249 * sysdeps/unix/sysv/Versions: Remove file.
5250
8280f22d
MT
52512012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
5252
5253 [BZ #13927]
5254 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5255
75ce411f 52562012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
5257
5258 [BZ #7064]
5259 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5260 version from __vm86.
5261
097d59fa
JM
52622012-04-20 Joseph Myers <joseph@codesourcery.com>
5263
a90f3bcb
JM
5264 * sysdeps/unix/common/lxstat.c: Remove file.
5265 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5266
edc7ea78
JM
5267 * sysdeps/unix/sysv/Makefile: Remove file.
5268
cb78c221
JM
5269 * sysdeps/unix/sysv/direct.h: Remove file.
5270
efa6a45f
JM
5271 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5272 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5273 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5274 * sysdeps/unix/sysv/bits/signum.h: Likewise.
5275 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5276 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5277 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5278
9c9f2d0c
JM
5279 * sysdeps/unix/sysv/setrlimit.c: Remove file.
5280
4541c83b
JM
5281 * sysdeps/unix/xmknod.c: Remove file.
5282 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5283
f5d153a0
JM
5284 * sysdeps/unix/sysv/settimeofday.c: Remove file.
5285
aa746595
JM
5286 * sysdeps/unix/sysv/i386/time.S: Remove file.
5287
cce5905e
JM
5288 * sysdeps/unix/fxstat.c: Remove file.
5289 * sysdeps/unix/xstat.c: Likewise.
5290 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5291
37fa3841
JM
5292 * sysdeps/unix/sysv/sigaction.c: Remove file.
5293
ff1962a3
JM
5294 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5295 (sysdep_headers): Remove variable.
5296 [termio.h not in sysdep_headers] (generated): Likewise.
5297 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5298 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5299 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5300 * sysdeps/unix/sysv/tcflow.c: Likewise.
5301 * sysdeps/unix/sysv/tcflush.c: Likewise.
5302 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5303 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
5304 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5305 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5306 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
5307
e7740d31
JM
5308 * sysdeps/unix/siglist.c: Remove file.
5309
ee06f18b
JM
5310 * sysdeps/unix/getppid.S: Remove file.
5311
097d59fa
JM
5312 * sysdeps/unix/mkdir.c: Remove file.
5313 * sysdeps/unix/rmdir.c: Likewise.
5314
ff3d51ec
AS
53152012-04-19 Andreas Schwab <schwab@linux-m68k.org>
5316
5317 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5318 ERR_MAX value.
5319 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5320 errlist-compat value.
5321
50f81fd7
DM
53222012-04-18 David S. Miller <davem@davemloft.net>
5323
5324 * sysdeps/generic/memcopy.h (reg_char): Delete.
5325 * debug/strcat_chk.c: Use char, not reg_char.
5326 * debug/strcpy_chk.c: Likewise.
5327 * debug/strncat_chk.c: Likewise.
5328 * debug/strncpy_chk.c: Likewise.
5329 * string/memchr.c: Likewise.
5330 * string/memrchr.c: Likewise.
5331 * string/rawmemchr.c: Likewise.
5332 * string/strcat.c: Likewise.
5333 * string/strchr.c: Likewise.
5334 * string/strchrnul.c: Likewise.
5335 * string/strcmp.c: Likewise.
5336 * string/strcpy.c: Likewise.
5337 * string/strncat.c: Likewise.
5338 * string/strncmp.c: Likewise.
5339 * string/strncpy.c: Likewise.
5340
8ff41c46
WS
53412012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5342
5343 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5344 __builtin_memcopy is called when src and dest ranges are known to not
5345 overlap.
5346
6b652f46
WS
53472012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5348
5349 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5350 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5351 fwd_align_merge macro call.
5352 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5353 bwd_align_merge macro call.
5354 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5355
b282631e
WS
53562012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5357
5358 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5359 bwd_align_merge macros.
5360 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5361 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5362 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5363
95aa737c
DM
53642012-04-18 David S. Miller <davem@davemloft.net>
5365
5366 * sysdeps/sparc/sparc64/memcopy.h: Delete.
5367
7a99a614
AJ
53682012-04-18 Andreas Jaeger <aj@suse.de>
5369
5370 [BZ# 6794]
5371 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5372 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5373 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5374
5375 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5376 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5377 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5378
5379 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5380 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5381 Adjust for changed ldbl-128 files.
5382
5383 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5384 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5385 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5386
e5270c23
DM
53872012-04-17 David S. Miller <davem@davemloft.net>
5388
5389 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5390
fb5e92c9
AS
53912012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5392
5393 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5394 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5395 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5396 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5397 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5398 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5399
76da7265
AZ
54002012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5401
5402 [BZ #6794]
5403 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5404 * math/libm-test.inc: Add ilogb errno and exception tests.
5405 * math/w_ilogb.c: New file: ilogb wrapper.
5406 * math/w_ilogbf.c: New file: ilogbf wrapper.
5407 * math/w_ilogbl.c: New file: ilogbl wrapper.
5408 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5409 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5410 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5411 exception being thrown with 0.0 as argument.
5412 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5413 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5414 exception being thrown with 0.0 as argument.
5415 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5416 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5417 exception being thrown with 0.0 as argument.
5418 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5419 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5420 exception being thrown with 0.0 as argument.
5421 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5422 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 5423 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
5424 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5425 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5426 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5427 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5428 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5429 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5430
0396e69d
PB
54312012-04-17 Petr Baudis <pasky@ucw.cz>
5432
5433 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5434 with altivec.
5435
750b5926
MP
54362012-04-16 Marek Polacek <polacek@redhat.com>
5437
5438 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5439
751728a1
MP
54402012-04-16 Marek Polacek <polacek@redhat.com>
5441
5442 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5443 operands of fdivp instruction.
5444
34a27407
L
54452012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5446
5447 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5448 * elf/tst-auditmod3b.c: Likewise.
5449 * elf/tst-auditmod4b.c: Likewise.
5450 * elf/tst-auditmod5b.c: Likewise.
5451 * elf/tst-auditmod6b.c: Likewise.
5452 * elf/tst-auditmod6c.c: Likewise.
5453 * elf/tst-auditmod7b.c: Likewise.
5454 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5455 * sysdeps/x86_64/preconfigure.in: Likewise.
5456 * sysdeps/x86_64/preconfigure: Regenerated.
5457
7e73e17d
L
54582012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5459
5460 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5461 __ILP32__.
5462
c7a6ab72
AB
54632012-04-13 Antoine Balestrat <merkil33@gmail.com>
5464
5465 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5466 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5467
a9e8e0e0
CL
54682012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5469
5470 [BZ #13973]
5471 * locale/iso-639.def: Fix gl language name. Spotted by
5472 Yaron Shahrabani.
5473
ec98af7d
RM
54742012-04-12 Roland McGrath <roland@hack.frob.com>
5475
5476 [BZ #2074]
5477 * libio/libio.h (__io_write_fn): Update comment.
5478
247c3ede
PB
54792012-04-12 Petr Baudis <pasky@ucw.cz>
5480
5481 [BZ #2074]
5482 * stdio.texi (Hook Functions): The user provided writer function
5483 is not allowed to return -1.
5484
55939d6d
DM
54852012-04-11 David S. Miller <davem@davemloft.net>
5486
5487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5488
90020f5a
MF
54892012-04-11 Mike Frysinger <vapier@gentoo.org>
5490
5491 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5492 Add a leading slash to rtkaio.
5493
288f9098
JM
54942012-04-11 Jim Meyering <meyering@redhat.com>
5495
90020f5a
MF
5496 [BZ #11959]
5497 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5498 It is not necessarily an error to ignore fwrite's return
5499 value. One can reliably use ferror to test for errors after
5500 the fact.
288f9098 5501
4be2b570
L
55022012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5503
5504 * bits/types.h (__snseconds_t): New type.
5505 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5506
5507 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5508 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5509 (__SNSECONDS_T_TYPE): Likewise.
5510 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5511 (__SNSECONDS_T_TYPE): Likewise.
5512 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5513 (__SNSECONDS_T_TYPE): Likewise.
5514
288f9098 55152012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
5516
5517 [BZ #2636]
5518 * manual/time.texi (Processor Time): Return type of times is
5519 elapsed real time since an arbitrary point in the past.
5520 (CPU Time): Move CLK_TCK from here...
5521 (Processor Time): ...to here. Correct description.
5522 * manual/conf.texi (Constants for Sysconf): Correct description of
5523 _SC_CLK_TCK.
5524
d7dd4413
DM
55252012-04-10 David S. Miller <davem@davemloft.net>
5526
5527 [BZ #13967]
5528 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5529 where the is a gap between DT_REL(A) and DT_JMPREL.
5530
b46068fc
L
55312012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5532
5533 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5534 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5535 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5536
73d65cc3
SP
55372012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5538
5539 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5540 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5541 (dl_main): Handle --inhibit-cache.
5542 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5543 _dl_inhibit_cache.
5544 * elf/dl-load.c (_dl_map_object): Use it.
5545 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5546
bcc8d661
JM
55472012-04-09 Joseph Myers <joseph@codesourcery.com>
5548
8f9a2fae
JM
5549 [BZ #13872]
5550 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5551 (__ieee754_powl): Saturate large exponents rather than testing for
5552 overflow of y*log2(x).
5553 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5554 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5555 exceptions.
5556
bcc8d661
JM
5557 [BZ #11521]
5558 * math/s_ctan.c: Include <float.h>.
5559 (__ctan): Avoid internal overflow or cancellation in calculating
5560 denominator.
5561 * math/s_ctanf.c: Likewise.
5562 * math/s_ctanl.c: Likewise.
5563 * math/s_ctanh.c: Likewise.
5564 * math/s_ctanhf.c: Likewise.
5565 * math/s_ctanhl.c: Likewise.
5566 * math/libm-test.inc (ctan_test): Add more tests.
5567 (ctanh_test): Likewise.
5568 * sysdeps/i386/fpu/libm-test-ulps: Update.
5569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5570
823fbbb4
AJ
55712012-04-09 Andreas Jaeger <aj@suse.de>
5572
03879793
AJ
5573 [BZ #6894]
5574 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5575 is an optional BSD extension.
5576
823fbbb4
AJ
5577 [BZ #10254]
5578 * manual/stdio.texi (Opening Streams): Document additional fopen
5579 parameters.
5580
8de131cb
RM
55812012-04-09 Roland McGrath <roland@hack.frob.com>
5582
5583 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5584 %eax without telling the compiler.
5585
c0ed9d7d
CD
55862012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5587
5588 [BZ # 13963]
5589 * manual/install.texi: Use sourceware.org.
5590
c483f6b4
JM
55912012-04-09 Joseph Myers <joseph@codesourcery.com>
5592
d7dd9453
JM
5593 [BZ #13873]
5594 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5595 (__ieee754_pow): Generate overflow and underflow using huge*huge
5596 and tiny*tiny rather than just returning constant infinity or zero
5597 for large exponents.
5598 * math/libm-test.inc (pow_test): Require overflow exceptions for
5599 applicable cases of large exponents.
5600
c483f6b4
JM
5601 [BZ #706]
5602 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5603 (__ieee754_pow): Use iterative multiplication algorithm only for
5604 integer exponents with absolute value below 1024. Check for odd
5605 integer exponents when using algorithm for real exponents.
5606 * math/libm-test.inc (pow_test): Add more tests.
5607 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5608
d2de7579
JM
56092012-04-08 Joseph Myers <joseph@codesourcery.com>
5610
5611 [BZ #13705]
5612 * math/libm-test.inc (exp_test): Do not allow overflow exception
5613 on underflow test.
5614
f77f1232
AJ
56152012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5616
5617 [BZ #13705]
5618 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5619 instead of __kernel_standard_f.
5620
3884932b
MF
56212012-04-08 Mike Frysinger <vapier@gentoo.org>
5622
5623 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5624 * sysdeps/x86_64/memset_chk.S: Likewise.
5625
54472e9c
AJ
56262012-04-08 Andreas Jaeger <aj@suse.de>
5627
6ab0fbfc
AJ
5628 [BZ #10153]
5629 * manual/startup.texi (Environment Access): Describe return value
5630 for putenv and setenv.
5631
61efba8c
AJ
5632 [BZ #6895]
5633 * manual/filesys.texi (Directory Entries): Add description for
5634 DT_LNK.
5635
95c3f29a
AJ
5636 [BZ #6890]
5637 * manual/filesys.texi (Directory Entries): Clarify that it's file
5638 system not operating system in the description of DT_UNKNOWN.
5639
54472e9c
AJ
5640 [BZ #6578]
5641 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5642
624254b1
SC
56432012-04-08 Stephen Compall <s11@member.fsf.org>
5644
5645 [BZ #6649]
5646 * manual/llio.texi (Opening and Closing Files): Add cross
5647 reference to explain mode argument.
5648
1e4920e0
MF
56492012-04-07 Mike Frysinger <vapier@gentoo.org>
5650
5651 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5652 * sysdeps/x86_64/memset_chk.S: Likewise.
5653
5ed848f3
DM
56542012-04-07 David S. Miller <davem@davemloft.net>
5655
5656 * elf/elf.h (R_SPARC_WDISP10): Define.
5657 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5658 R_SPARC_SIZE32.
5659 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5660 R_SPARC_SIZE64 and R_SPARC_H34.
5661
96154cd8
CD
56622012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5663
5664 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5665 conditions and remove no longer applicable assertion.
5666
9904dc47
L
56672012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5668
5669 * bits/byteswap.h: Include <features.h>.
5670 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5671 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5672
f8887d0a
L
56732012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5674
5675 * bits/byteswap.h (__bswap_16): Removed.
5676 Include <bits/byteswap-16.h> to get __bswap_16.
5677 * sysdeps/i386/bits/byteswap.h: Likewise.
5678 * sysdeps/s390/bits/byteswap.h: Likewise.
5679 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5680 * bits/byteswap-16.h: New file.
5681 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5682 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5683 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5684 * string/Makefile (headers): Add bits/byteswap-16.h.
5685
62470f60
PP
56862012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5687
5688 [BZ #13895]
5689 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5690 extra indirection.
5691 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5692 * nss/tst-nss-static.c: New.
5693
4dad7bab
RM
56942012-04-06 Robert Millan <rmh@gnu.org>
5695
5696 [BZ #6486]
5697 * manual/llio.texi (File Position Primitive): lseek
5698 refers to WHENCE when it really means OFFSET.
5699
e9142a17
AJ
57002012-04-06 Andreas Jaeger <aj@suse.de>
5701
2c040eff
AJ
5702 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5703 strncmp declarations.
5704
e9142a17
AJ
5705 * abilist/libc.abilist: Add __poll and __ppoll.
5706
ff9f1c5f
DM
57072012-04-05 David S. Miller <davem@davemloft.net>
5708
dcd2ae90
DM
5709 * scripts/check-local-headers.sh: Accept a host triplet in the
5710 path matched by the exclude regexp.
5711
993eb054
DM
5712 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5713 definition.
5714 * sysdeps/powerpc/powerpc32/dl-machine.h
5715 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5716 * sysdeps/s390/s390-32/dl-machine.h
5717 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5718 * sysdeps/sparc/sparc32/dl-machine.h
5719 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5720 * sysdeps/sparc/sparc64/dl-machine.h
5721 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5722
ff9f1c5f
DM
5723 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5724 lazy binding.
48e2e132 5725 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5726 undefined symbol errors.
5727
48e2e132 5728 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5729 DT_NEEDED entries.
5730
e80d6f94
MM
57312012-04-05 Michael Matz <matz@suse.de>
5732
5733 [BZ #13592]
5734 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5735
349fa79f
AJ
57362012-04-05 Andreas Jaeger <aj@suse.de>
5737
5738 [BZ #13908]
5739 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5740 comment.
5741
f402708f
KK
57422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5743
5744 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5745 which ROUND is no valid rounding mode.
5746
2ecccfc9
KK
57472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5748
5749 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5750 read again.
5751 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5752
8a53f50f
KK
57532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5754
5755 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5756 an exception using FPU order intentionally.
5757
57582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5759
5760 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5761 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5762 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5763 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5764
d653abb7
SJ
57652012-04-05 Simon Josefsson <simon@josefsson.org>
5766
5767 [BZ #12340]
5768 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5769 EINVAL when BUFLEN is too smal.
5770
c3b1bf7d
TS
57712012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5772
5773 [BZ #13553]
5774 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5775 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5776
b1aa60f3
AJ
57772012-04-03 Andreas Jaeger <aj@suse.de>
5778
c3b1bf7d 5779 [BZ #13938]
67f60a26
AJ
5780 * manual/setjmp.texi (System V contexts): Fix sentence.
5781
b1aa60f3
AJ
5782 [BZ #13926]
5783 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5784 New macro for this case.
5785 [!__GNUC__] (__bswap_64): New inline function for this case.
5786 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5787 * bits/byteswap.h: Likewise.
5788 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5789 ull, guard with __GLIBC_HAVE_LONG_LONG.
5790
5791 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5792 __GLIBC_HAVE_LONG_LONG.
5793
5794 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5795 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5796
39c59c35
TMQMF
57972012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5798
5799 [BZ #13691]
5800 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5801 inptr and inend, rather than using last_ch.
5802
135ffda8
DM
58032012-04-02 David S. Miller <davem@davemloft.net>
5804
5805 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5806 * stdio-common/printf-parse.h (read_int): Change return type to
5807 'int', return -1 on INT_MAX overflow.
5808 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5809 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5810 overflows INT_MAX. Check for overflow of in-format-string precision
5811 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5812 SIZE_MAX not INT_MAX for integer overflow test.
5813 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5814 skip the construct in the format string but do not record anything.
5815 * stdio-common/bug22.c: Adjust to test both width/prevision
5816 INT_MAX overflow as well as total length INT_MAX overflow. Check
5817 explicitly for proper errno values.
5818
228c019e
TS
58192012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5820
302cadd3
TS
5821 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5822 CHAR_MAX.
5823 * string/test-strcmp.c [! WIDE]: Likewise.
5824 * time/tst-mktime2.c: Likewise for INT_MAX.
5825 * string/test-string.h: #include <sys/param.h> for MIN.
5826
228c019e
TS
5827 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5828 * sysdeps/i386/init-first.c (init): Likewise.
5829 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5830 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5831 * sysdeps/sh/init-first.c (init): Likewise.
5832
cfa633f5
UD
58332012-04-01 Ulrich Drepper <drepper@gmail.com>
5834
5835 * po/ru.po: Update from translation team.
d1635ef8 5836 * po/vi.po: Likewise.
cfa633f5 5837
6cd0a5ea
SP
58382012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5839
5840 * resolv/nss_dns/dns-host.c: Merge copyright years.
5841
4b43400f
LD
58422012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5843
5844 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5845 Optimize memcpy with prefetch if
5846 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5847 src, dst pointers have unequal 16 byte alignments.
5848
48c41d04
SP
58492012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5850
5851 [BZ #13928]
5852 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5853 from a CNAME entry and return the minimum ttl for the query.
5854 (gaih_getanswer_slice): Likewise.
5855
b8dc394d
JL
58562012-03-30 Jeff Law <law@redhat.com>
5857
5858 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5859 due to long keys.
5860 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5861 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5862
2f5a5ed0
JL
5863 * resolv/nss_dns/dns-host.c: Update copyright year.
5864
1d39e359
UD
58652012-03-30 Ulrich Drepper <drepper@gmail.com>
5866
c030f70c 5867 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5868 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5869
1d39e359
UD
5870 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5871 comments for sendmmsg.
5872
58732012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5874
5875 [BZ #13691]
5876 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5877 with only 1 character between 0x0041 and 0x01b0.
5878 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5879 * wcsmbs/tst-mbsnrtowcs.c: New file.
5880
20fde227
DM
58812012-03-29 David S. Miller <davem@davemloft.net>
5882
5883 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5884 small copies by hand.
5885
984a4237
JL
58862012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5887
5888 [BZ #13761]
5889 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5890 _nss_compat_initgroups_dyn): Fall back to malloc/free
5891 for large group memberships.
5892
18c9d62b
DM
58932012-03-28 David S. Miller <davem@davemloft.net>
5894
88d85d4f
DM
5895 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5896 that branches into memcpy.
5897 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5898 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5899 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5900 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5901 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5902 bits.
5903 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5904 implementation too.
5905 * sysdeps/sparc/mempcpy.S: New file.
5906
e5aa83e1
DM
5907 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5908 the IFUNC routine in the libc case.
5909 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5910
88570753
DM
5911 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5912 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5913 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5914 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5915 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5916 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5917 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5918 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5919
249d7567
DM
5920 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5921 loop to 256 bytes instead of 64 bytes and fix test signedness.
5922
18c9d62b
DM
5923 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5924 * sysdeps/sparc/sparc32/Makefile: rather than here...
5925 * sysdeps/sparc/sparc64/Makefile: and here.
5926
05f3d1f6
UD
59272012-03-28 Ulrich Drepper <drepper@gmail.com>
5928
5929 * malloc/mallocbug.c: Avoid warnings about unused variables.
5930
86ae07a8
JL
59312012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5932
5933 [BZ #13760]
5934 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5935 in the right place. Discard and retry query if response is
5936 larger than input buffer size.
5937
41bf21a1
JM
59382012-03-28 Joseph Myers <joseph@codesourcery.com>
5939
d6270972
JM
5940 [BZ #369]
5941 [BZ #2678]
5942 [BZ #3866]
5943 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5944 x for large integer exponent.
5945 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5946 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5947 sign of result as needed afterwards.
5948 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5949 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5950 result for underflowing pow the same as for overflow.
5951 (__kernel_standard_l): Handle powl overflow and underflow here
5952 rather than calling __kernel_standard.
5953 * math/libm-test.inc (pow_test): Add more tests.
5954
414fca03 5955 [BZ #3868]
41bf21a1
JM
5956 [BZ #13879]
5957 [BZ #13910]
5958 [BZ #13911]
5959 [BZ #13912]
5960 [BZ #13913]
5961 [BZ #13915]
5962 [BZ #13916]
5963 [BZ #13917]
5964 [BZ #13918]
5965 [BZ #13919]
5966 [BZ #13920]
5967 [BZ #13921]
5968 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5969 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5970 (__kernel_standard_l): New function.
5971 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5972 __kernel_standard.
5973 * math/w_acosl.c (__acosl): Likewise.
5974 * math/w_asinl.c (__asinl): Likewise.
5975 * math/w_atan2l.c (__atan2l): Likewise.
5976 * math/w_atanhl.c (__atanhl): Likewise.
5977 * math/w_coshl.c (__coshl): Likewise.
5978 * math/w_exp10l.c (__exp10l): Likewise.
5979 * math/w_exp2l.c (__exp2l): Likewise.
5980 * math/w_fmodl.c (__fmodl): Likewise.
5981 * math/w_hypotl.c (__hypotl): Likewise.
5982 * math/w_j0l.c (__j0l, __y0l): Likewise.
5983 * math/w_j1l.c (__j1l, __y1l): Likewise.
5984 * math/w_jnl.c (__jnl, __ynl): Likewise.
5985 * math/w_lgammal.c (__lgammal): Likewise.
5986 * math/w_log10l.c (__log10l): Likewise.
5987 * math/w_log2l.c (__log2l): Likewise.
5988 * math/w_logl.c (__logl): Likewise.
5989 * math/w_powl.c (__powl): Likewise.
5990 * math/w_remainderl.c (__remainderl): Likewise.
5991 * math/w_scalbl.c (sysv_scalbl): Likewise.
5992 * math/w_sinhl.c (__sinhl): Likewise.
5993 * math/w_sqrtl.c (__sqrtl): Likewise.
5994 * math/w_tgammal.c (__tgammal): Likewise.
5995 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5996 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5997 * math/libm-test.inc (acos_test): Add more tests.
5998 (acosh_test): Likewise.
5999 (asin_test): Likewise.
6000 (atanh_test): Likewise.
6001 (exp_test): Likewise.
6002 (exp10_test): Likewise.
6003 (exp2_test): Likewise.
6004 (expm1_test): Likewise.
6005 (lgamma_test): Likewise.
6006 (log_test): Likewise.
6007 (log10_test): Likewise.
6008 (log1p_test): Likewise.
6009 (log2_test): Likewise.
6010 (pow_test): Do not allow some spurious overflow exceptions.
6011 (sqrt_test): Add more tests.
6012 (tgamma_test): Likewise.
6013 (y0_test): Likewise.
6014 (y1_test): Likewise.
6015 (yn_test): Likewise.
6016
dd62fda6
AB
60172012-03-27 Anton Blanchard <anton@samba.org>
6018
6019 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6020 MAP_HUGETLB.
6021 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6022 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6023 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6024
1e3cdfda
AJ
60252012-03-27 David S. Miller <davem@davemloft.net>
6026
b855ab85
DM
6027 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6028
1e3cdfda
AJ
6029 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6030 have-as-vis3 check.
6031
60322012-03-27 Andreas Jaeger <aj@suse.de>
6033
6034 * sysdeps/x86_64/elf/configure.in: Moved to ...
6035 * sysdeps/x86_64/configure.in: ... here.
6036 * sysdeps/x86_64/elf/start.S: Moved to ...
6037 * sysdeps/x86_64/start.S: ... here.
6038 * sysdeps/x86_64/elf/configure: Delete.
6039
6040 * sysdeps/x86_64/configure.in: Merge contents from
6041 sysdeps/i386/configure.in (without i686 check).
6042
6043 * sysdeps/i386/elf/Versions: Merge into ...
6044 * sysdeps/i386/Versions: ... this.
6045 * sysdeps/i386/elf/Versions: Delete file.
6046 * sysdeps/i386/elf/start.S: Moved to ...
6047 * sysdeps/i386/start.S: ...here.
6048 * sysdeps/i386/elf/configure.in: Merge into...
6049 * sysdeps/i386/configure.in: ...here.
6050 * sysdeps/i386/elf/configure.in: Delete file.
6051 * sysdeps/i386/elf/configure: Delete file.
6052
6053 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6054 * debug/backtracesyms.c: ... here.
6055 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6056 * debug/backtracesymsfd.c: ... here.
6057 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6058 * sysdeps/generic/ifunc-sel.h: ... here.
6059
6060 * sysdeps/unix/i386/start.c: Delete file.
6061 * sysdeps/unix/sparc/start.c: Delete file.
6062 * sysdeps/unix/start.c: Delete file.
6063
6064 * sysdeps/sh/elf/configure.in: Moved to ...
6065 * sysdeps/sh/configure.in: ... here.
6066 * sysdeps/sh/elf/start.S: Moved to ...
6067 * sysdeps/sh/start.S: ... here.
6068 * sysdeps/sh/elf/configure: Delete file.
6069
6070 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6071 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6072 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6073 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6074 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6075 * sysdeps/powerpc/powerpc64/start.S: here.
6076 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6077 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6078 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6079 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6080 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6081
6082 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6083 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6084 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6085 * sysdeps/powerpc/powerpc32/start.S: ... here.
6086 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6087 * sysdeps/powerpc/powerpc32/configure.in: ... this.
6088 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6089
6090 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6091 * sysdeps/powerpc/ifunc-sel.h: ... here.
6092 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6093 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6094
6095 * sysdeps/sparc/elf/configure.in: Moved to ...
6096 * sysdeps/sparc/configure.in: ... here.
6097 * sysdeps/sparc/elf/configure: Delete file.
6098 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6099 * sysdeps/sparc/sparc32/start.S: ... here.
6100 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6101 * sysdeps/sparc/sparc64/start.S: ... here.
6102 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6103 * sysdeps/sparc/sparc32/Makefile: ... this.
6104 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6105 * sysdeps/sparc/sparc64/Makefile: ... this.
6106
6107 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6108 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6109 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6110 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6111 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6112 * sysdeps/s390/s390-32/setjmp.S: ... here.
6113 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6114 * sysdeps/s390/s390-32/configure.in: ... here.
6115 * sysdeps/s390/s390-32/elf/configure: Delete file.
6116 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6117 * sysdeps/s390/s390-32/start.S: ... here.
6118
6119 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6120 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6121 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6122 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6123 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6124 * sysdeps/s390/s390-64/setjmp.S: ... here.
6125 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6126 * sysdeps/s390/s390-64/configure.in: ... here
6127 * sysdeps/s390/s390-64/elf/configure: Delete file.
6128 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6129 * sysdeps/s390/s390-64/start.S: ... here.
6130 * sysdeps/s390/s390-64/elf/configure: Delete.
6131
6132 * configure.in: Remove support for elf directories in sysdeps.
6133
6134 * configure: Regenerated.
6135 * sysdeps/i386/configure: Regenerated.
6136 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6137 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6138 * sysdeps/s390/s390-32/configure: Regenerated.
6139 * sysdeps/s390/s390-64/configure: Regenerated.
6140 * sysdeps/sh/configure: Regenerated.
6141 * sysdeps/sparc/configure: Regenerated.
6142 * sysdeps/x86_64/configure: Regenerated.
6143
a3f61311
AS
61442012-03-26 Andreas Schwab <schwab@linux-m68k.org>
6145
c876e002
AS
6146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6147
a3f61311
AS
6148 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6149 denormal result into account.
6150
ac4c54f0
RM
61512012-03-25 Roland McGrath <roland@hack.frob.com>
6152
6153 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6154 Reported by Allan McRae <allan@archlinux.org>.
6155
6a9b9c02
JL
61562012-03-23 Jeff Law <law@redhat.com>
6157
6158 * nss/getnssent.c (__nss_getent): Fix typo.
6159
4c42a0c1
DM
61602012-03-23 David S. Miller <davem@davemloft.net>
6161
6162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6163
1532c7ac
L
61642012-03-23 H.J. Lu <hongjiu.lu@intel.com>
6165
6166 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6167 to pad to uint64_t for each field.
6168 (dl_tls_index): Replace unsigned long with uint64_t.
6169
3ff42526
PP
61702012-03-23 Daniel Jacobowitz <dmj@google.com>
6171 Paul Pluzhnikov <ppluzhnikov@google.com>
6172
6173 [BZ #6528]
6174 * grp/Makefile (otherlibs): Don't set it.
6175 * inet/Makefile (otherlibs): Likewise.
6176 * login/Makefile (otherlibs): Likewise.
6177 * nscd/Makefile (otherlibs): Likewise.
6178 * posix/Makefile (otherlibs): Likewise.
6179 * pwd/Makefile (otherlibs): Likewise.
6180 * rt/Makefile (otherlibs): Likewise.
6181 * sunrpc/Makefile (otherlibs): Likewise.
6182 * nss/Makefile (otherlibs): Likewise.
6183 Add libnss_files to routines and static-only-routines.
6184 ($(objpfx)getent): Remove rule.
6185 * resolv/Makefile: Add libnss_dns and libresolv to routines and
6186 static-only-routines.
6187
7c69cd14
JM
61882012-03-22 Joseph Myers <joseph@codesourcery.com>
6189
6190 [BZ #13892]
6191 * math/s_cexp.c: Include <float.h>.
6192 (__cexp): Handle exp result overflowing not necessarily
6193 overflowing both real and imaginary parts of result.
6194 * math/s_cexpf.c: Likewise.
6195 * math/s_cexpl.c: Likewise.
6196 * math/libm-test.inc (cexp_test): Add more tests.
6197 * sysdeps/i386/fpu/libm-test-ulps: Update.
6198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6199
81b035fe
L
62002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6201
6202 * include/link.h (ELFW): New macro.
6203 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6204 Replace ELF64_R_TYPE with ELFW(R_TYPE).
6205
1da7940c
L
62062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6207
6208 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6209 with uint64_t.
6210
b749dbb9
L
62112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6212
6213 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6214 declaration.
6215 (struct La_x32_retval): Likewise.
6216
2ff87f3f
L
62172012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6218
6219 * sysdeps/x86_64/preconfigure.in: New file.
6220 * sysdeps/x86_64/preconfigure: New generated file.
6221
c0df8e69
JM
62222012-03-22 Joseph Myers <joseph@codesourcery.com>
6223
48e44791
JM
6224 [BZ #13824]
6225 * math/e_exp2l.c: Include <float.h>.
6226 (__ieee754_exp2l): Handle overflow and underflow cases
6227 separately. Only pass fractional part of argument to
6228 __ieee754_expl.
6229 * math/libm-test.inc (exp2_test): Add more tests.
6230
c0df8e69
JM
6231 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6232 negating x to take absolute value.
6233 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6234 Likewise.
6235 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6236 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6237 Likewise.
6238 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6239 computing low part if x was negated.
6240 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6241
c8e43ba7
L
62422012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6243
6244 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6245 la_x32_gnu_pltexit.
6246 (pltexit): Cast int_retval to ptrdiff_t.
6247 * elf/tst-auditmod3b.c: Likewise.
6248 * elf/tst-auditmod4b.c: Likewise.
6249 * elf/tst-auditmod5b.c: Likewise.
6250 * elf/tst-auditmod6b.c: Likewise.
6251 * elf/tst-auditmod6c.c: Likewise.
6252 * elf/tst-auditmod7b.c: Likewise.
6253
6254 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6255 and x32_gnu_pltexit.
6256
6257 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6258 __ELF_NATIVE_CLASS.
6259 (La_x32_regs): New macro.
6260 (La_x32_retval): Likewise.
6261 (la_x32_gnu_pltenter): New function prototype.
6262 (la_x32_gnu_pltexit): Likewise.
6263
7998fa78
AS
62642012-03-21 Andreas Schwab <schwab@linux-m68k.org>
6265
dcb33988
AS
6266 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6267 exponent.
6268
233fc563
AS
6269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6270
7998fa78
AS
6271 * configure.in (libc_cv_cc_nofma): Check for option to disable
6272 generation of FMA instructions.
6273 * configure: Regenerate.
6274 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6275 * sysdeps/ieee754/dbl-64/Makefile: New file.
6276 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6277 Remove brandred-fma4.
6278 (CFLAGS-brandred-fma4.c): Remove.
6279 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6280 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6281 define.
6282 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6283 define.
6284
8e95c99a
L
62852012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6286
6287 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6288 LLONG_MAX != LONG_MAX.
6289 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6290 (_fitoa_word): Likewise.
6291 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6292 LLONG_MAX != LONG_MAX.
6293 * stdio-common/_itowa.h: Include <_itoa.h>.
6294 (_itowa_word): Use _ITOA_WORD_TYPE on value.
6295 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
6296 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
6297 only if not defined.
6298 (_ITOA_WORD_TYPE): Likewise.
6299 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6300 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6301
6f4db457
DM
63022012-03-21 David S. Miller <davem@davemloft.net>
6303
6304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6305
7785fe5a
L
63062012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6307
6308 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
6309 of x86_64 when setting libc_cv_slibdir, libdir and
6310 libc_cv_localedir.
6311 * sysdeps/unix/sysv/linux/configure: Regenerated.
6312
4535cd55
JM
63132012-03-21 Joseph Myers <joseph@codesourcery.com>
6314
6315 * manual/lang.texi (Old Varargs): Remove section.
6316 (How Variadic): Update menu.
6317 (va_start): Do not mention varargs.h.
6318
17228132
TS
63192012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6320 Joseph Myers <joseph@codesourcery.com>
6321
6322 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6323 link test.
6324 * configure: Regenerated.
6325
8149f976
TS
63262012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6327
05f3d1f6
UD
6328 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
6329 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
6330 conformtest.pl
8149f976 6331
1a4ac776
JM
63322012-03-21 Joseph Myers <joseph@codesourcery.com>
6333
be22ce65
JM
6334 * NOTES: Remove.
6335 * Makefile (files-for-dist): Remove NOTES.
6336 (NOTES): Remove rule.
6337 * README: Don't refer to NOTES.
6338 * manual/creature.texi: Don't include macros.texi.
6339 * manual/intro.texi (creature.texi): Remove comment referring to
6340 NOTES.
6341
40b601fb
JM
6342 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6343 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6344 * configure: Regenerated.
6345 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6346 LIBC_TRY_CC_OPTION.
6347 (libc_cv_as_i686): Likewise.
6348 (libc_cv_cc_avx): Likewise.
6349 (libc_cv_cc_sse2avx): Likewise.
6350 (libc_cv_cc_fma4): Likewise.
6351 (libc_cv_cc_novzeroupper): Likewise.
6352 * sysdeps/i386/configure: Regenerated.
6353
1a4ac776
JM
6354 [BZ #13883]
6355 * sysdeps/i386/fpu/s_cexp.S: Remove.
6356 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6357 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6358 * math/libm-test.inc (cexp_test): Add more tests.
6359 * sysdeps/i386/fpu/libm-test-ulps: Update.
6360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6361
a458e7fe
AM
63622012-03-21 Allan McRae <allan@archlinux.org>
6363
6364 * timezone/Makefile: Do not install iso3166.tab and zone.tab
6365
0cb7efc5
JM
63662012-03-21 Joseph Myers <joseph@codesourcery.com>
6367
6368 [BZ #13871]
6369 * math/w_exp2.c: Do not include <float.h>.
6370 (o_threshold, u_threshold): Remove.
6371 (__exp2): Calculate result before checking finiteness and calling
6372 __kernel_standard.
6373 * math/w_exp2f.c: Likewise.
6374 * math/w_exp2l.c: Likewise.
6375 * math/libm-test.inc (exp2_test): Require overflow exception for
6376 1e6 input.
2460d3aa
JM
6377
6378 [BZ #3866]
6379 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6380 range of signed 64-bit integers before using fistpll. Remove
6381 checks for whether integers fit in mantissa bits.
6382 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6383 the range of signed 32-bit integers before using fistpl. Remove
6384 checks for whether integers fit in mantissa bits.
6385 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6386 (__ieee754_powl): Test for y outside the range of signed 64-bit
6387 integers before using fistpll. Reduce 64-bit values to 63-bit
6388 ones as needed.
6389 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6390 divide-by-zero is raised for zero to large negative powers.
6391 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6392 (__ieee754_powl): Test for y outside the range of signed 64-bit
6393 integers before using fistpll. Reduce 64-bit values to 63-bit
6394 ones as needed.
6395 * math/libm-test.inc (pow_test): Add more tests.
6396
eb96ffb0
L
63972012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6398
6399 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6400 <stdio-common/_itoa.h>.
6401 * debug/segfault.c: Likewise.
6402 * elf/dl-cache.c: Likewise.
6403 * elf/dl-minimal.c: Likewise.
6404 * elf/dl-misc.c: Likewise.
6405 * elf/dl-sysdep.c: Likewise.
6406 * elf/dl-version.c: Likewise.
6407 * elf/rtld.c: Likewise.
6408 * hurd/hurdsock.c: Likewise.
6409 * hurd/lookup-retry.c: Likewise.
6410 * malloc/malloc.c: Likewise.
6411 * malloc/mtrace.c: Likewise.
6412 * nscd/nscd_getgr_r.c: Likewise.
6413 * nscd/nscd_getpw_r.c: Likewise.
6414 * nscd/nscd_getserv_r.c: Likewise.
6415 * posix/getopt_init.c: Likewise.
6416 * posix/wordexp.c: Likewise.
6417 * stdio-common/_itoa.c: Likewise.
6418 * stdio-common/printf_fphex.c: Likewise.
6419 * stdio-common/vfprintf.c: Likewise.
6420 * string/_strerror.c: Likewise.
6421 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6422 * sysdeps/i386/i686/hp-timing.h: Likewise.
6423 * sysdeps/mach/_strerror.c: Likewise.
6424 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6425 * sysdeps/mach/hurd/sethostid.c: Likewise.
6426 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6427 * sysdeps/mach/xpg-strerror.c: Likewise.
6428 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6429 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6430 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6431 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6432 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6433 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6434 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6435 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6436 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6437 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6438 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6439 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6440 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6441 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6442 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6443 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6444 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6445 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6446 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6447 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6448 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6449
6450 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6451
6452 * stdio-common/_itoa.h: Moved to ...
6453 * sysdeps/generic/_itoa.h: Here.
6454
6455 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6456
6457 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6458 instead of "_itoa.h" and "_itowa.h".
6459 * stdio-common/vfprintf.: Likewise.
6460
d1af992d
L
64612012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6462
6463 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6464 <bits/wordsize.h>.
6465 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6466 (__signbit): Likwise.
6467 (llrintf): Likwise.
6468 (llrint): Likwise.
6469
114883e0
L
64702012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6471
6472 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6473 __WORDSIZE != 64.
6474
c135cc1b
JM
64752012-03-20 Joseph Myers <joseph@codesourcery.com>
6476
6477 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6478 OVERFLOW_EXCEPTION_OK.
6479 * math/libm-test.inc ("Philosophy"): Update comment about
6480 exception testing.
6481 (OVERFLOW_EXCEPTION): Define.
6482 (OVERFLOW_EXCEPTION_OK): Likewise.
6483 (INVALID_EXCEPTION_OK): Renumber.
6484 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6485 (IGNORE_ZERO_INF_SIGN): Likewise.
6486 (test_exceptions): Handle FE_OVERFLOW.
6487 (exp10_test): Expect overflow exceptions.
6488 (exp2_test): Likewise.
6489 (expm1_test): Likewise.
6490 (nextafter_test): Likewise.
6491 (pow_test): Likewise.
6492 (scalbn_test): Likewise.
6493 (scalbln_test): Likewise.
6494
95443d88
L
64952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6496
6497 * sysdeps/x86_64/bits/atomic.h
6498 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6499 64bit integer.
6500 (atomic_exchange_acq): Likewise.
6501 (__arch_exchange_and_add_body): Likewise.
6502 (__arch_add_body): Likewise.
6503 (atomic_add_negative): Likewise.
6504 (atomic_add_zero): Likewise.
6505
490df6c4
L
65062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6507
c2722551 6508 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
6509 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6510
5e52b189
L
65112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6512
6513 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6514 Check __x86_64__ instead of __WORDSIZE.
6515
a9879d4c
L
65162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6517
6518 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6519
5df98260
DM
65202012-03-19 David S. Miller <davem@davemloft.net>
6521
e1497744
DM
6522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6523
5df98260
DM
6524 * sysdeps/sparc/fpu/fenv_private.h: New file.
6525 * sysdeps/sparc/fpu/math_private.h: Use it.
6526 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6527 Remove.
6528 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6529 (libc_feholdexcept_setroundl): Remove.
6530 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6531 Remove.
6532 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6533 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6534
b4c35121
L
65352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6536
6537 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6538 int64_t instead of long int.
6539 (INSERT_WORDS64): Likwise.
6540
56965fd7
L
65412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6542
6543 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6544 _Unwind_GetCFA return to _Unwind_Ptr first.
6545
83d1aec8
JM
65462012-03-19 Joseph Myers <joseph@codesourcery.com>
6547
1897ad44
JM
6548 [BZ #13629]
6549 * math/s_clog.c: Include <float.h>.
6550 (__clog): Scale large or subnormal inputs.
6551 * math/s_clogf.c: Likewise.
6552 * math/s_clogl.c: Likewise.
6553 * math/s_clog10.c: Include <float.h>.
6554 (M_LOG10_2): Define.
6555 (__clog10): Scale large or subnormal inputs.
6556 * math/s_clog10f.c: Likewise.
6557 * math/s_clog10l.c: Likewise.
6558 * math/libm-test.inc (clog_test): Add more tests.
6559 (clog10_test): Likewise.
6560 * sysdeps/i386/fpu/libm-test-ulps: Update.
6561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6562
7726d6a9
JM
6563 [BZ #11451]
6564 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6565 x and y.
6566 * math/libm-test.inc (atan2_test): Add another test.
6567
83d1aec8
JM
6568 * Makerules (common-objdir-compile): Remove.
6569 * sysdeps/unix/Makefile (config-generated): Do not add
6570 $(unix-generated) to variable.
6571 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6572 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6573 Remove rule.
6574 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6575 Likewise.
6576 [generic bits/local_lim.h] (before-compile): Do not append to
6577 variable.
6578 [generic bits/local_lim.h] (common-generated): Likewise.
6579 [generic sys/param.h] (before-compile): Do not append to variable.
6580 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6581 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6582 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6583 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6584 include.
6585 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6586 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6587 [generic sys/param.h] ($(addprefix
6588 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6589 [generic sys/param.h] (common-generated): Do not append to
6590 variable.
6591 [generic sys/param.h] (sysdep_headers): Likewise.
6592 [generic bits/errno.h] (before-compile): Do not append to
6593 variable.
6594 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6595 rule.
6596 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6597 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6598 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6599 [generic bits/errno.h] (common-generated): Do not append to
6600 variable.
6601 [generic bits/ioctls.h] (before-compile): Do not append to
6602 variable.
6603 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6604 rule.
6605 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6606 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6607 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6608 rule.
6609 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6610 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6611 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6612 [generic bits/ioctls.h] (common-generated): Do not append to
6613 variable.
6614 [generic sys/syscall.h] (syscall.h): Remove variable.
6615 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6616 rule.
6617 [generic sys/syscall.h] (before-compile): Do not append to
6618 variable.
6619 [generic sys/syscall.h] (common-generated): Likewise.
6620 * sysdeps/unix/errnos-tmpl.c: Remove file.
6621 * sysdeps/unix/errnos.awk: Likewise.
6622 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6623 * sysdeps/unix/ioctls.awk: Likewise.
6624 * sysdeps/unix/mk-local_lim.c: Likewise.
6625 * sysdeps/unix/snarf-ioctls: Likewise.
6626
4851a949
RH
66272012-03-19 Richard Henderson <rth@twiddle.net>
6628
bd37f2ee
RH
6629 * sysdeps/i386/fpu/fenv_private.h: New file.
6630 * sysdeps/i386/fpu/math_private.h: Use it.
6631 (math_opt_barrier, math_force_eval): Remove.
6632 (libc_feholdexcept_setround_53bit): Remove.
6633 (libc_feupdateenv_53bit): Remove.
6634 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6635 (math_opt_barrier, math_force_eval): Remove.
6636 (libc_feholdexcept): Remove.
6637 (libc_feholdexcept_setround): Remove.
6638 (libc_fetestexcept, libc_fesetenv): Remove.
6639 (libc_feupdateenv_test): Remove.
6640 (libc_feupdateenv, libc_feholdsetround): Remove.
6641 (libc_feresetround): Remove.
6642
d0adc922
RH
6643 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6644 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6645
0fe0f1f8
RH
6646 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6647 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6648 (libc_feupdateenv_testl): New.
6649 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6650 (libc_feupdateenv_testf): New.
6651 (libc_feupdateenv): Use libc_feupdateenv_test.
6652 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6653 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6654
eb92c487
RH
6655 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6656 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6657 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6658 (libc_feresetround_noex): New.
6659 (libc_feresetround_noexf): New.
6660 (libc_feresetround_noexl): New.
6661 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6662 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6663 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6664 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6665 SET_RESTORE_ROUND.
6666 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6667 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6668 (__cos): Likewise.
6669 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6670 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6671 SET_RESTORE_ROUND_NOEX.
6672 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6673 SET_RESTORE_ROUND_NOEXF.
6674 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6675 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6676 (libc_feholdsetroundf): New.
6677 (libc_feresetround, libc_feresetroundf): New.
6678
7d2e8012
RH
6679 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6680 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6681 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6682
b4dabbb4
RH
6683 * sysdeps/generic/math_private.h: Include <fenv.h>.
6684 (default_libc_feholdexcept): New.
6685 (default_libc_feholdexcept_setround): New.
6686 (default_libc_fesetenv, default_libc_feupdateenv): New.
6687 (libc_feholdexcept): Only define if undefined.
6688 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6689 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6690 (libc_feholdexcept_setroundl): Likewise.
6691 (libc_feholdexcept_setround_53bit): Likewise.
6692 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6693 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6694 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6695 (libc_feupdateenv_53bit): Likewise.
6696 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6697 (libc_feholdexcept): Convert from macro to inline function.
6698 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6699 (libc_fesetenv, libc_feupdateenv): Likewise.
6700
4851a949
RH
6701 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6702 not previously defined.
6703 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6704 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6705 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6706 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6707 * sysdeps/ieee754/flt-32/math_private.h: New file.
6708 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6709 math_private.h below SET_FLOAT_WORD.
6710 (__isnan, __isinf_ns, __finite): Remove.
6711 (__isnanf, __isinf_nsf, __finitef): Remove.
6712
e79d442e
AS
67132012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6714
6715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6716
90b80344
DM
67172012-03-17 David S. Miller <davem@davemloft.net>
6718
6719 [BZ #6471]
6720 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6721 for 2.16.
6722
edc21804
DM
67232012-03-16 David S. Miller <davem@davemloft.net>
6724
77e927af
DM
6725 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6726 warnings.
6727
374976dd
DM
6728 [BZ #6471]
6729 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6730 properly.
6731 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6732 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6733 sysdep_routines when subdir is sysvipc.
6734 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6735 __getshmlba helper.
6736
edc21804
DM
6737 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6738
473c3ef3
L
67392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6740
6741 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6742 [__LP64__].
6743
eb0f39b6
L
67442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6745
6746 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6747 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6748 (__lround): Renamed to ...
6749 (__llround): This. Replace long int with long long int.
6750 Define lround functions as aliases of llround functions.
6751 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6752
6b6cd74b
L
67532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6754
6755 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6756 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6757 adresses to uintptr_t. Replace "long int" and "unsigned long
6758 int" with "greg_t" on va_arg.
6759
f1a77b01
L
67602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6761
6762 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6763 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6764
6765 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6766 Move e_machine check before EI_CLASS check. Handle x32
6767 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6768 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6769 SKIP_EM_IA_64 and include
6770 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6771
6772 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6773 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6774 (add_system_dir): New macro.
6775
6776 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6777 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6778
11b90b9f
JM
67792012-03-16 Joseph Myers <joseph@codesourcery.com>
6780
c36e1d23
JM
6781 [BZ #2551]
6782 [BZ #2552]
6783 [BZ #2553]
6784 [BZ #2554]
6785 [BZ #2562]
6786 [BZ #2563]
6787 [BZ #2565]
6788 [BZ #2566]
6789 [BZ #2576]
6790 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6791 (y0): Likewise.
6792 * math/w_j0f.c (j0f): Likewise.
6793 (y0f): Likewise.
6794 * math/w_j0l.c (__j0l): Likewise.
6795 (__y0l): Likewise.
6796 * math/w_j1.c (j1): Likewise.
6797 (y1): Likewise.
6798 * math/w_j1f.c (j1f): Likewise.
6799 (y1f): Likewise.
6800 * math/w_j1l.c (__j1l): Likewise.
6801 (__y1l): Likewise.
6802 * math/w_jn.c (jn): Likewise.
6803 (yn): Likewise.
6804 * math/w_jnf.c (jnf): Likewise.
6805 (ynf): Likewise.
6806 * math/w_jnl.c (__jnl): Likewise.
6807 (__ynl): Likewise.
6808 * math/libm-test.inc (j0_test): Add more tests.
6809 (j1_test): Likewise.
6810 (jn_test): Likewise. Add trailing semicolon to existing test.
6811 (y0_test): Likewise.
6812 (y1_test): Likewise.
6813 * sysdeps/i386/fpu/libm-test-ulps: Update.
6814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6815
11b90b9f
JM
6816 [BZ #13851]
6817 [BZ #13854]
6818 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6819 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6820 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6821 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6822 (__tanl): Set errno for infinite argument.
6823 * sysdeps/i386/fpu/mptan.c: Remove.
6824 * sysdeps/i386/fpu/s_tan.S: Likewise.
6825 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6826 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6827 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6828 * math/libm-test.inc (tan_test): Add more tests and enable more
6829 tests for double and long double.
6830 * sysdeps/i386/fpu/libm-test-ulps: Update.
6831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6832
6a1bd2a1
JK
68332012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6834
6835 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6836 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6837
10a803e0
RM
68382012-03-16 Roland McGrath <roland@hack.frob.com>
6839
6840 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6841 * configure.in: Use it for both main tree and add-ons.
6842 * configure: Regenerated.
6843
f196c7f7
L
68442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6845
6846 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6847
8848d99d
JM
68482012-03-16 Joseph Myers <joseph@codesourcery.com>
6849
96cbe7f4
JM
6850 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6851 in comment.
6852
8848d99d
JM
6853 [BZ #13851]
6854 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6855 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6856 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6857 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6858 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6859 infinite argument.
6860 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6861 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6862 != 0 for prec == 2.
6863 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6864 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6865 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6866 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6867 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6868 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6869 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6870 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6871 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6872 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6873 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6874 * math/libm-test.inc (cos_test): Add more tests and enable more
6875 tests for long double.
6876 (sin_test): Likewise.
6877 (sincos_test): Likewise.
6878 * sysdeps/i386/fpu/libm-test-ulps: Update.
6879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6880
dd7f4703
DM
68812012-03-16 David S. Miller <davem@davemloft.net>
6882
6883 * sysdeps/sparc/fpu/math_private.h: New file.
6884
006f1daa
DM
68852012-03-15 David S. Miller <davem@davemloft.net>
6886
c0c83bc8
DM
6887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6888 file.
e6a62e18 6889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6891 file.
e6a62e18
DM
6892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6893 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6894 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6895 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6896 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6897 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6898 sysdep routines.
6899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6900
88cb87d9
DM
6901 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6902 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6903
006f1daa 6904 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6906 sparc-ifunc.h
006f1daa 6907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6909 Likewise.
6910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6911 Likewise.
006f1daa
DM
6912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6916 Likewise.
006f1daa
DM
6917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6922 Likewise.
6923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6924 Likewise.
006f1daa
DM
6925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6929 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6930 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6931 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6932 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6933 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6934 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6935 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6936 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6937 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6938 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6939 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6940 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6941 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6942 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6943 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6944 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6945 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6946 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6947 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6948 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6949
11e0098e
AS
69502012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6951
6952 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6953 scaling.
6954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6955
e85b09d0
AJ
69562012-03-15 Andreas Jaeger <aj@suse.de>
6957
6958 [BZ #13852]
6959 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6960 ieee754/flt-32 implementation for sin, cos and sincos.
6961 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6962 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6963 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6964 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6965 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6966 ieee754/flt-32 implementation for tan.
6967
6968 * math/libm-test.inc (cos_test): Enable some large input tests for
6969 float as well
6970 (sin_test): Likewise.
6971 (sincos_test): Likewise.
6972 (tan_test): Add tests for large input.
6973
6974 * sysdeps/i386/fpu/libm-test-ulps: Update.
6975
81c64153
AJ
69762012-03-15 Andreas Jaeger <aj@suse.de>
6977
6978 [BZ #13658]
6979 * math/libm-test.inc (cos_test): Add more test cases.
6980 (sin_test): Likewise.
6981 (sincos_test): Likewise.
6982
7bbfa5c6
AJ
69832012-03-15 Andreas Jaeger <aj@suse.de>
6984
6985 [BZ #13837]
6986 * math/libm-test.inc (cos_test): Add a test case for large input
6987 value.
6988 (sin_test): Likewise.
6989 (sincos_test): Likewise.
6990
69912012-03-15 Andreas Jaeger <aj@suse.de>,
6992 Joseph Myers <joseph@codesourcery.com>
6993
6994 [BZ #13658]
0671f479 6995 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6996 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6997 * sysdeps/i386/fpu/branred.c: Likewise.
6998 * sysdeps/i386/fpu/dosincos.c: Likewise.
6999 * sysdeps/i386/fpu/mpa.c: Likewise.
7000 * sysdeps/i386/fpu/s_cos.S: Likewise.
7001 * sysdeps/i386/fpu/s_sin.S: Likewise.
7002 * sysdeps/i386/fpu/s_sincos.S: Likewise.
7003 * sysdeps/i386/fpu/sincos32.c: Likewise.
7004
7005 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7006 Define.
7007 (libc_feupdateenv_53bit): Define.
7008 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7009 Define.
7010 (libc_feupdateenv_53bit): Define.
7011
7012 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7013 53 bit (without extend i386 double precision).
7014
7015 * math/libm-test.inc (sincos_test): Add tests for large input.
7016 (sin): Likewise.
7017 (cos): Likewise.
7018
7019 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7020
9cad04ea
AS
70212012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7022
7023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7024
f7062b9a
DM
70252012-03-15 David S. Miller <davem@davemloft.net>
7026
7027 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7028 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7029 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7030 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7035 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7036 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7037 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7039 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7040 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7041 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
7042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7043 file.
f7062b9a 7044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
7045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7046 file.
f7062b9a 7047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
7048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7049 file.
f7062b9a 7050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
7051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7052 file.
f7062b9a
DM
7053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7054 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7055 fmin/fmax sysdep routines.
7056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7057
7bd951ff
DM
70582012-03-14 David S. Miller <davem@davemloft.net>
7059
559398ab
DM
7060 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7061 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7062 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7063 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7064 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7065 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7066 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7067 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7068 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7069 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7070 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7071 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7072 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7073 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7074 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7075 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7076 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7077 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7078 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7079 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7080 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7081 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7082 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7083 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7084 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7085 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7086 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7087 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7088 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7089 routines.
7090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7091 file.
559398ab 7092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
7093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7094 file.
559398ab 7095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
7096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7097 file.
559398ab 7098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
7099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7100 file.
559398ab 7101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
7102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7103 file.
559398ab 7104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
7105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7106 file.
7107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7108 file.
7109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7110 file.
7111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7112 file.
7113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7114 New file.
7115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7116 file.
7117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7118 file.
559398ab 7119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
7120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7121 file.
559398ab 7122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7124 file.
559398ab 7125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
7126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7127 file.
559398ab 7128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
7129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7130 VIS3 routines.
559398ab
DM
7131
7132 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7133 New file.
7134
5a1c1e32
DM
7135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7136
eae47a36
DM
7137 * sysdeps/sparc/configure.in: New file.
7138 * sysdeps/sparc/configure: Generate.
7139 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7140 * configure: Regenerate.
7141 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7142 * config.make.in (have-as-vis3): New.
7143 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7144 available use -Av9d instead of -Av9a.
7145 * sysdeps/sparc/sparc64/Makefile: Likewise.
7146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
7147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7148 New file.
7149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7150 file.
7151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7152 New file.
7153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7154 file.
eae47a36
DM
7155 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7156 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7157 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7158 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7159 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7160
c0c83bc8
DM
7161 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7162 fzeros/fnegs to load 0x80000000 into a float register instead of
7163 using the stack.
7bd951ff
DM
7164 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7165
bd951ccb
JM
71662012-03-14 Joseph Myers <joseph@codesourcery.com>
7167
7168 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7169 bits/syscall.h.
7170 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7171 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7172 ($(inst_includedir)/bits/syscall.h): Remove rule.
7173 ($(objpfx)bits/syscall.d): Include instead of
7174 $(objpfx)syscall-list.d.
7175 (generated): Change syscall-list.h and syscall-list.d to
7176 bits/syscall.h and bits/syscall.d.
7177
bb4e6db2
RM
71782012-03-14 Roland McGrath <roland@hack.frob.com>
7179
7180 [BZ #13846]
7181 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7182
aa4a2ae1
JM
71832012-03-14 Joseph Myers <joseph@codesourcery.com>
7184
e456826d
JM
7185 [BZ #13841]
7186 * math/s_csqrt.c: Include <float.h>.
7187 (__csqrt): Scale large or subnormal inputs.
7188 * math/s_csqrtf.c: Likewise.
7189 * math/s_csqrtl.c: Likewise.
7190 * math/libm-test.inc (csqrt_test): Add more tests.
7191 * sysdeps/i386/fpu/libm-test-ulps: Update.
7192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7193
aa4a2ae1
JM
7194 [BZ #13840]
7195 * math/libm-test.inc (hypot_test): Add more tests.
7196
7c10fd35
DM
71972012-03-13 David S. Miller <davem@davemloft.net>
7198
7199 [BZ #13840]
7200 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7201 double-precision for the calculation instead of scaling.
7202
f453b98b
JM
72032012-03-13 Joseph Myers <joseph@codesourcery.com>
7204
7205 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7206 manipulate bits before adding and subtracting TWO52[sx].
7207 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7208 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7209 Likewise.
7210 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7211
09a3453f
DM
72122012-03-13 David S. Miller <davem@davemloft.net>
7213
8e59da90
DM
7214 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7215 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7216 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7217 rtld-global-offsets.h
7218 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7219
2a8ab7f2
DM
7220 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7221 large parameters.
7222
10f62770
DM
7223 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7224
5f0bdb18
DM
7225 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7226 'err' in the ifdef scope in which it is actually used.
7227
09a3453f
DM
7228 * nss/nss_db/db-init.c: Include string.h
7229
b4b2eb5e
DM
72302012-03-12 David S. Miller <davem@davemloft.net>
7231
98bb2f1c
DM
7232 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7233 masking out of the most significant byte of random value used.
7234 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7235 Fix coding style in previous change.
7236
b4b2eb5e
DM
7237 * sysdeps/unix/sysv/linux/kernel-features.h
7238 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7239 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7240 expression.
7241 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7242 later.
7243
6e226b09
DM
72442012-03-11 David S. Miller <davem@davemloft.net>
7245
a1bcbd40
DM
7246 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7247 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7248 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7249 for 'resultvar' otherwise things get truncated on 64-bit.
7250
cb9d6174
DM
7251 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7252 Fix masking out of the most significant byte of random value used.
7253
6e226b09
DM
7254 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7255
058c132d
AS
72562012-03-10 Andreas Schwab <schwab@linux-m68k.org>
7257
7258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7259
2d2cd515
DM
72602012-03-09 David S. Miller <davem@davemloft.net>
7261
7262 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7263 variables with appropriate CPP guards.
7264 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7265 frame pointer, not the stack pointer. Correct layout comments. Fix test
7266 on resulting framesize and the management of the outregs buffer for pltexit.
7267 Preserve floating point return values across _dl_call_pltexit call.
7268 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7269 framesize and the management of the outregs buffer for pltexit.
7270 Preserve floating point return values across _dl_call_pltexit
7271 call.
7272 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7273 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7274 (print_exit): Fix format string for return register value.
7275
9a07f9d0
JM
72762012-03-10 Joseph Myers <joseph@codesourcery.com>
7277
7278 * sunrpc/Makefile (others): Add rpcgen.
7279 ($(objpfx)rpcgen): Remove special build rule and dependency on
7280 libc.
7281 * sunrpc/rpcgen.c: New file.
7282
547b5e30
PE
72832012-03-09 Paul Eggert <eggert@cs.ucla.edu>
7284
c524201a
PE
7285 [BZ #13673]
7286 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7287 * stdio-common/bug-vfprintf-nargs.c: Likewise.
7288 * sysdeps/i386/crti.S: Likewise.
7289 * sysdeps/i386/crtn.S: Likewise.
7290 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7291 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7292 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7293 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7294 * sysdeps/sh/crti.S: Likewise.
7295 * sysdeps/sh/crtn.S: Likewise.
7296 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7297
7b6235f2
PE
7298 [BZ #13673]
7299 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7300 with URL.
7301 * locale/programs/locfile-kw.gperf: Likewise.
7302 * locale/programs/charmap-kw.h: Regenerated.
7303 * locale/programs/locfile-kw.h: Likewise.
7304
547b5e30
PE
7305 [BZ #13673]
7306 * intl/plural.y: Replace FSF snail mail address with URL.
7307 * intl/plural.c: Regenerated.
7308
5f0a5dae
RH
73092012-03-09 Richard Henderson <rth@twiddle.net>
7310
7311 * include/math_private.h: Remove file.
7312 * math/math_private.h: Move file ...
7313 * sysdeps/generic/math_private.h: ... here.
7314
b8c03620
RH
7315 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7316 * sysdeps/powerpc/fpu/math_private.h: Likewise.
7317 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7318
4e234f5d 7319 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
7320 and <math_private.h>.
7321 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7322 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7323 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7324 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7325 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7326 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
7327 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7328 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7329 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7330 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7331 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7332 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7333 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7334 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7335 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7336 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7337 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7338 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7339 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7340 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7341 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7342 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7343 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7344 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7345 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7346 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7347 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7348 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7349 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7350 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7351 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7352 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7353 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7354 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7355 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7356 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7357 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7358 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7359 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7360 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7361 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7362 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7363 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7364 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7365 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7366 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7367 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7368 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7369 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7370 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7371 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7372 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7373 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7374 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7375 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7376 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7377 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7378 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7379 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7380 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7381 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7382 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7383 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7384 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7385 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7386 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7387 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7388 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7389 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7390 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7391 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7392 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7393 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7394 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7395 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7396 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7397 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7398 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7399 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7400 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7401 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7402 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7403 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7404 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7405 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7406 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7407 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7408 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7409 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7410 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7411 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7412 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7413 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7414 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7415 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7416 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7417 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7418 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7419 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7420 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7421 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7422 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7423 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7424 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7425 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7426 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7427 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7428 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7429 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7430 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7431 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7432 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7433 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7434 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7435 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7436 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7437 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7438 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7439 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7440 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7441 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7442 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7443 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7444 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7445 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7446 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7447 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7448 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7449 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7450 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7451 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7452 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7453 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7454 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7455 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7456 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7457 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7458 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7459 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7460 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7461 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7462 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7463 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7464 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7465 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7466 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7467 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7468 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7469 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7470 * sysdeps/ieee754/k_standard.c: Likewise.
7471 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7472 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7473 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7474 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7475 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7476 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7477 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7478 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7479 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7480 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7481 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7482 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7483 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7484 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7485 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7486 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7487 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7488 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7489 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7490 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7491 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7492 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7493 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7494 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7495 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7496 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7497 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7498 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7499 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7500 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7501 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7502 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7503 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7504 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7505 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7506 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7507 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7508 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7509 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7510 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7511 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7512 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7513 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7514 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7515 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7516 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7517 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7518 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7519 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7520 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7521 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7522 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7523 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7524 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7525 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7526 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7527 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7528 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7529 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7530 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7531 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7532 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7533 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7534 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7535 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7536 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7537 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7538 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7539 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7540 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7541 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7542 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7543 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7544 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7545 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7546 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7547 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7548 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7549 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7550 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7551 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7552 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7553 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7554 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7555 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7556 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7557 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7558 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7559 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7560 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7561 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7562 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7563 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7564 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7565 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7566 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7567 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7568 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7569 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7570 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7571 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7572 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7573 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7574 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7575 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7576 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7577 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7578 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7579 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7580 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7581 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7582 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7583 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7584 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7585 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7586 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7587 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7588 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7589 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7590 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7591 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7592 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7593 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7594 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7595 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7596 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7597 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7598 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7599 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7600 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7601 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7602 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7603 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7604 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7605 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7606 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7607 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7608 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7609 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7610 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7611 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7612 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7613 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7614 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7615 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7616 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7617 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7618 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7619 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7620 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7621 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7622 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7623 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7624 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7625 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7626 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7627 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7628 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7629 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7630 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7631 * sysdeps/ieee754/s_lib_version.c: Likewise.
7632 * sysdeps/ieee754/s_matherr.c: Likewise.
7633 * sysdeps/ieee754/s_signgam.c: Likewise.
7634 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7635 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7636 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7637 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7638 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7639 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7640 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7641 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7642 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7643 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7644 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7645 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7646 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7647 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7648 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7649 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7650 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7651 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7652 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7653 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7654 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 7655
1991fa03
JM
76562012-03-09 Joseph Myers <joseph@codesourcery.com>
7657
7658 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7659 * sunrpc/rpc_main.c: Likewise.
7660 * sunrpc/rpc_svcout.c: Likewise.
7661
60d6f5a6
DM
76622012-03-09 David S. Miller <davem@davemloft.net>
7663
7664 * include/math_private.h: New file.
7665
4962050e
JM
76662012-03-09 Joseph Myers <joseph@codesourcery.com>
7667
02a6f887
JM
7668 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7669 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7670 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7671 from <bits/socket_type.h>.
7672 (enum __socket_type): Don't define here.
7673 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7674 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7675 bits/socket_type.h.
7676
c6e013c1
JM
7677 [BZ #13566]
7678 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7679 checking __USE_GNU.
7680
4962050e
JM
7681 * Makerules ($(inst_includedir)/%.h): New rule.
7682 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7683 (install-others): Remove variable setting.
7684 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7685
38842f45
RH
76862012-03-08 Richard Henderson <rth@twiddle.net>
7687
67bb6da6
RH
7688 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7689 from macro to inline function; merge with the
7690 !__LIBC_INTERNAL_MATH_INLINES version.
7691 (__ieee754_sqrtf): Likewise.
7692
15194b4b
RH
7693 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7694 to inline function.
7695 (__rintf, __floor, __floorf): Likewise.
7696
64e21ede
RH
7697 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7698 macro to inline function.
7699 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7700
38842f45
RH
7701 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7702 not <math/math_private.h>.
7703
c64bf5fe
DM
77042012-03-08 David S. Miller <davem@davemloft.net>
7705
7706 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7707 copyright year.
7708 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7709
82d86f28
TS
77102012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7711
7712 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7713 normalization.
7714 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7715 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7716
aea5d727
UD
77172012-03-08 Ulrich Drepper <drepper@gmail.com>
7718
7719 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7720 be defined individually, they must be defined as a block. Define
7721 S for printing a string instead of hidint the different by using a
7722 macro for adding the 'l'.
7723 * stdio-common/tst-fphex-wide.c: Adjust.
7724
70bca0a3
MP
77252012-03-07 Marek Polacek <polacek@redhat.com>
7726
7727 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7728
65b81130
MP
77292012-03-08 Marek Polacek <polacek@redhat.com>
7730
7731 [BZ #13806]
7732 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7733 * stdio-common/tst-fphex.c: Define a few macros to make the
7734 test reusable. Use them.
7735 * stdio-common/tst-fphex-wide.c: New file.
7736
07037eeb
JM
77372012-03-08 Joseph Myers <joseph@codesourcery.com>
7738
a7a93d50
JM
7739 [BZ #6911]
7740 * manual/macros.texi (gnusystems): New macro.
7741 (nongnusystems): Likewise.
7742 (gnulinuxhurdsystems): Likewise.
7743 (gnuhurdsystems): Likewise..
7744 (gnulinuxsystems): Likewise.
7745 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7746 variants of the GNU system, not "GNU system".
7747 * manual/conf.texi: Likewise.
7748 * manual/errno.texi: Likewise. Update example of errno macro
7749 expansion.
7750 * manual/filesys.texi: Likewise.
7751 (getumask): Document as specific to GNU/Hurd.
7752 * manual/install.texi: Likewise. Reword some references to
7753 GNU/Linux.
7754 * manual/intro.texi: Likewise.
7755 * manual/io.texi: Likewise.
7756 (File Name Portability): Detail which constraints are inapplicable
7757 to all GNU systems and which are only inapplicable to GNU/Hurd.
7758 * manual/job.texi: Likewise.
7759 * manual/llio.texi: Likewise.
7760 (O_NOCTTY): Document as present on GNU/Linux.
7761 * manual/maint.texi: Likewise.
7762 * manual/memory.texi: Likewise.
7763 * manual/pattern.texi: Likewise.
7764 * manual/pipe.texi: Likewise.
7765 * manual/process.texi: Likewise.
7766 * manual/resource.texi: Likewise.
7767 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7768 child on GNU/Hurd.
7769 * manual/setjmp.texi: Likewise.
7770 * manual/signal.texi: Likewise.
7771 * manual/startup.texi: Likewise.
7772 * manual/stdio.texi: Likewise.
7773 * manual/terminal.texi: Likewise.
7774 (ONLCR): Document as POSIX.
7775 (OXTABS): Document availability on GNU/Linux as XTABS.
7776 (ONOEOT): Document availability separately from other bits.
7777 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7778 * manual/time.texi: Likewise.
7779 * manual/users.texi: Likewise.
7780 * INSTALL: Regenerated.
7781 * sysdeps/gnu/errlist.c: Regenerated.
7782
07037eeb
JM
7783 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7784 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7785 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7786 puts.
7787 * configure: Regenerated.
7788
d1d3431a
JM
77892012-03-07 Joseph Myers <joseph@codesourcery.com>
7790
af6a1e37
JM
7791 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7792 default includes instead of AC_HEADER_CHECK.
7793 * sysdeps/i386/configure: Regenerated.
7794
d1d3431a
JM
7795 [BZ #10716]
7796 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7797 * math/s_cacoshf.c (__cacoshf): Likewise.
7798 * math/s_cacoshl.c (__cacoshl): Likewise.
7799 * math/s_casinh.c (__casinh): Set signs of result from argument.
7800 * math/s_casinhf.c (__casinhf): Likewise.
7801 * math/s_casinhl.c (__casinhl): Likewise.
7802 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7803 (casinh_test): Add more tests.
7804 * sysdeps/i386/fpu/libm-test-ulps: Update.
7805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7806
482ff4da
UD
78072012-03-07 Ulrich Drepper <drepper@gmail.com>
7808
872fda05
UD
7809 * po/zh_TW.po: Update from translation team.
7810
a4300c7a
UD
7811 * login/Makefile (distribute): Remove variable.
7812 * catgets/Makefile: Likewise.
7813 * mach/Makefile: Likewise.
7814 * malloc/Makefile: Likewise.
7815 * misc/Makefile: Likewise.
7816 * iconv/Makefile: Likewise.
7817 * nscd/Makefile: Likewise.
7818 * hurd/Makefile: Likewise.
7819 * manual/Makefile: Likewise.
7820 * locale/Makefile: Likewise.
7821 * intl/Makefile: Likewise.
7822 * conform/Makefile: Likewise.
7823 * nss/Makefile: Likewise.
7824 * time/Makefile: Likewise.
7825 * soft-fp/Makefile: Likewise.
7826 * dirent/Makefile: Likewise.
7827 * gmon/Makefile: Likewise.
7828 * po/Makefile: Likewise.
7829 * rt/Makefile: Likewise.
7830 * socket/Makefile: Likewise.
7831 * math/Makefile: Likewise.
7832 * signal/Makefile: Likewise.
7833 * debug/Makefile: Likewise.
7834 * elf/Makefile: Likewise.
7835 * timezone/Makefile: Likewise.
7836 * stdlib/Makefile: Likewise.
7837 * iconvdata/Makefile: Likewise.
7838 * sunrpc/Makefile: Likewise.
7839 * io/Makefile: Likewise.
7840 * argp/Makefile: Likewise.
7841 * inet/Makefile: Likewise.
7842 * hesiod/Makefile: Likewise.
7843 * grp/Makefile: Likewise.
7844 * csu/Makefile: Likewise.
7845 * wctype/Makefile: Likewise.
7846 * crypt/Makefile: Likewise.
7847 * libio/Makefile: Likewise.
7848 * string/Makefile: Likewise.
7849 * nis/Makefile: Likewise.
7850 * resolv/Makefile: Likewise.
7851 * stdio-common/Makefile: Likewise.
7852 * wcsmbs/Makefile: Likewise.
7853 * dlfcn/Makefile: Likewise.
7854 * posix/Makefile: Likewise.
7855
3b7c4e74 7856 [BZ #6959]
482ff4da
UD
7857 * timezone/Makefile: Don't install timezone files, just the programs
7858 and scripts.
7859
f72ed77d
UD
78602012-03-06 Ulrich Drepper <drepper@gmail.com>
7861
a000466f
UD
7862 * nss/databases.def: Add missing gshadow entry.
7863
f72ed77d
UD
7864 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7865
a53b7a4e
MP
78662012-03-06 Marek Polacek <polacek@redhat.com>
7867
7868 [BZ #13726]
7869 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7870 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7871 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7872 * stdio-common/tst-long-dbl-fphex.c: New file.
7873
e9258400
DM
78742012-03-06 David S. Miller <davem@davemloft.net>
7875
7876 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7877 (set_obp_int): New function.
7878 (get_obp_int): New function.
7879 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7880 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7881 Avoid unused variable warnings on 'val' and use builtin_expect.
7882 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7883 __builtin_expect.
e9258400
DM
7884 (INLINE_CLONE_SYSCALL): Likewise.
7885
3bd2c723
DM
78862012-03-05 David S. Miller <davem@davemloft.net>
7887
7888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7889
bbb78d03
AS
78902012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7891
884c5db4
AS
7892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7893
bbb78d03
AS
7894 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7895 only for |x| >= 40.
7896 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7897
1c9f702a 78982012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7899
7900 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7901 Replace gettimeofday with __vdso_gettimeofday.
7902
7be16f82
RM
7903 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7904 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7905 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7906
7907 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7908 time with __vdso_time.
7909
ed58a00f
JM
79102012-03-05 Joseph Myers <joseph@codesourcery.com>
7911
7912 * manual/lang.texi (size_t): Note types to which size_t may be
7913 equivalent with the GNU C Library, but do not describe when
7914 differences between them are significant.
7915
30ee4ced
AJ
79162012-03-05 Andreas Jaeger <aj@suse.de>
7917
7918 * sysdeps/i386/fpu/libm-test-ulps: Update.
7919
b7cd39e8
JM
79202012-03-05 Joseph Myers <joseph@codesourcery.com>
7921
7922 [BZ #3976]
7923 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7924 (__ieee754_pow): Save and restore rounding mode and use
7925 round-to-nearest for main computations.
7926 * math/libm-test.inc (pow_test_tonearest): New function.
7927 (pow_test_towardzero): Likewise.
7928 (pow_test_downward): Likewise.
7929 (pow_test_upward): Likewise.
7930 (main): Call the new functions.
7931 * sysdeps/i386/fpu/libm-test-ulps: Update.
7932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7933
7934 [BZ #3976]
7935 * math/libm-test.inc (cosh_test_tonearest): New function.
7936 (cosh_test_towardzero): Likewise.
7937 (cosh_test_downward): Likewise.
7938 (cosh_test_upward): Likewise.
7939 (sinh_test_tonearest): Likewise.
7940 (sinh_test_towardzero): Likewise.
7941 (sinh_test_downward): Likewise.
7942 (sinh_test_upward): Likewise.
7943 (main): Call the new functions.
7944 * sysdeps/i386/fpu/libm-test-ulps: Update.
7945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7946
6c6a98c9
TV
79472012-03-05 Tom de Vries <tom@codesourcery.com>
7948
7949 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7950 default stack guard is set in last bytes.
7951 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7952
21bb2d2e 79532012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7954
21bb2d2e 7955 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7956
21bb2d2e
AJ
7957 [BZ #13656]
7958 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7959 possibly allocate from heap instead of stack.
7960 * stdio-common/bug-vfprintf-nargs.c: New file.
7961 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7962
c6922934
AS
79632012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7964
7965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7966
bc957d53
MP
79672012-03-03 Marek Polacek <polacek@redhat.com>
7968
7969 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7970 * math/math_private.h: Likewise.
7971 * stdlib/tst-strtod.c: Likewise.
7972 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7973 * sysdeps/x86_64/bits/atomic.h: Likewise.
7974
6358490d
DM
79752012-03-02 David S. Miller <davem@davemloft.net>
7976
7977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7981 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7982 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7983 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7984 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7985
01ae168d
RM
79862012-03-02 Roland McGrath <roland@hack.frob.com>
7987
d9a17c07
RM
7988 [BZ #13792]
7989 * manual/examples/README: New file, says the example source files
7990 can be used under GPL>=2.
7991 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7992 line containing just "*/".
7993 * manual/examples/add.c: Add copyright header (GPL>=2).
7994 * manual/examples/argp-ex1.c: Likewise.
7995 * manual/examples/argp-ex2.c: Likewise.
7996 * manual/examples/argp-ex3.c: Likewise.
7997 * manual/examples/argp-ex4.c: Likewise.
7998 * manual/examples/atexit.c: Likewise.
7999 * manual/examples/db.c: Likewise.
8000 * manual/examples/dir.c: Likewise.
8001 * manual/examples/dir2.c: Likewise.
8002 * manual/examples/execinfo.c: Likewise.
8003 * manual/examples/filecli.c: Likewise.
8004 * manual/examples/filesrv.c: Likewise.
8005 * manual/examples/fmtmsgexpl.c: Likewise.
8006 * manual/examples/genpass.c: Likewise.
8007 * manual/examples/inetcli.c: Likewise.
8008 * manual/examples/inetsrv.c: Likewise.
8009 * manual/examples/isockad.c: Likewise.
8010 * manual/examples/longopt.c: Likewise.
8011 * manual/examples/memopen.c: Likewise.
8012 * manual/examples/memstrm.c: Likewise.
8013 * manual/examples/mkfsock.c: Likewise.
8014 * manual/examples/mkisock.c: Likewise.
8015 * manual/examples/mygetpass.c: Likewise.
8016 * manual/examples/pipe.c: Likewise.
8017 * manual/examples/popen.c: Likewise.
8018 * manual/examples/rprintf.c: Likewise.
8019 * manual/examples/search.c: Likewise.
8020 * manual/examples/select.c: Likewise.
8021 * manual/examples/setjmp.c: Likewise.
8022 * manual/examples/sigh1.c: Likewise.
8023 * manual/examples/sigusr.c: Likewise.
8024 * manual/examples/stpcpy.c: Likewise.
8025 * manual/examples/strdupa.c: Likewise.
8026 * manual/examples/strftim.c: Likewise.
8027 * manual/examples/strncat.c: Likewise.
8028 * manual/examples/subopt.c: Likewise.
8029 * manual/examples/swapcontext.c: Likewise.
8030 * manual/examples/termios.c: Likewise.
8031 * manual/examples/testopt.c: Likewise.
8032 * manual/examples/testpass.c: Likewise.
8033 * manual/examples/timeval_subtract.c: Likewise.
8034
01ae168d
RM
8035 [BZ #13792]
8036 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8037 function to ...
8038 * manual/timeval_subtract.c.texi: ... here, new file.
8039
49efa33d
DM
80402012-03-02 David S. Miller <davem@davemloft.net>
8041
8042 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8043
28afd92d
JM
80442012-03-02 Joseph Myers <joseph@codesourcery.com>
8045
804360ed
JM
8046 [BZ #3976]
8047 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8048 (__sin): Save and restore rounding mode and use round-to-nearest
8049 for all computations.
8050 (__cos): Save and restore rounding mode and use round-to-nearest
8051 for all computations.
8052 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8053 <fenv.h>.
8054 (tan): Save and restore rounding mode and use round-to-nearest for
8055 all computations.
8056 * math/libm-test.inc (cos_test_tonearest): New function.
8057 (cos_test_towardzero): Likewise.
8058 (cos_test_downward): Likewise.
8059 (cos_test_upward): Likewise.
8060 (sin_test_tonearest): Likewise.
8061 (sin_test_towardzero): Likewise.
8062 (sin_test_downward): Likewise.
8063 (sin_test_upward): Likewise.
8064 (tan_test_tonearest): Likewise.
8065 (tan_test_towardzero): Likewise.
8066 (tan_test_downward): Likewise.
8067 (tan_test_upward): Likewise.
8068 (main): Call the new functions.
8069 * sysdeps/i386/fpu/libm-test-ulps: Update.
8070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8071
a6d06d7b
JM
8072 [BZ #10135]
8073 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8074 small n, then large n, before computing and testing k+n.
8075 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8076 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8077 Likewise.
8078 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8079 Likewise.
8080 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8081 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8082 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8083 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8084 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8085 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8086 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8087 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8088 * math/libm-test.inc (scalbn_test): Add more tests.
8089 (scalbln_test): Likewise.
8090
07e12bb3
JM
8091 * manual/filesys.texi (mode_t): Describe constraints on size and
8092 signedness, not exact equivalence to a particular type.
8093 (ino_t): Likewise.
8094 (ino64_t): Likewise.
8095 (dev_t): Likewise.
8096 (nlink_t): Likewise.
8097 (blkcnt_t): Likewise.
8098 (blkcnt64_t): Likewise.
8099 * manual/llio.texi (off_t): Likewise.
8100
28afd92d
JM
8101 [BZ #3976]
8102 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8103 (__ieee754_exp): Save and restore rounding mode and use
8104 round-to-nearest for all computations.
8105 * math/libm-test.inc (exp_test_tonearest): New function.
8106 (exp_test_towardzero): Likewise.
8107 (exp_test_downward): Likewise.
8108 (exp_test_upward): Likewise.
8109 (main): Call the new functions.
8110 * sysdeps/i386/fpu/libm-test-ulps: Update.
8111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8112
b1eeb65d
CD
81132012-03-01 Chris Demetriou <cgd@google.com>
8114
8115 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8116 have predictable order.
8117
53362a4b
DM
81182012-03-01 David S. Miller <davem@davemloft.net>
8119
3c969083
DM
8120 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8121
759707de
DM
8122 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8123 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8124 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8125 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8126
dfdb8ff2
DM
8127 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8128 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8129 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8131 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8132 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8133 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8134 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8135 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8136
ead89f96
DM
8137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8138
7f66bd07
DM
8139 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8140 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8141 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8142
53362a4b
DM
8143 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8144 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8145 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8146 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8147 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8148 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8149 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8150 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8151 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8152 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8153 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8154 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8155 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8156 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8157 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8158 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8159 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8160 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8161 * sysdeps/sparc/elf/configure: Regenerated.
8162
7b1902cb
JM
81632012-03-01 Joseph Myers <joseph@codesourcery.com>
8164
bec039bc
JM
8165 * configure.in (AS, LD): Require binutils 2.20 or later.
8166 * configure: Regenerated.
8167 * manual/install.texi (Tools for Compilation): Give binutils 2.20
8168 as required minimum version.
8169 * INSTALL: Regenerated.
8170
7b1902cb
JM
8171 [BZ #2541]
8172 [BZ #4108]
8173 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8174 before squaring exponent.
8175 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8176 bottom long double and 27 bits of top long double before squaring
8177 exponent.
8178 * math/libm-test.inc (erfc_test): Add more tests.
8179 * sysdeps/i386/fpu/libm-test-ulps: Update.
8180 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8182
f775c276
KT
81832012-03-01 Kai Tietz <ktietz@redhat.com>
8184
8185 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8186 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8187 containing bit-fields.
8188 * soft-fp/extended.h (_FP_UNION_E): Likewise.
8189 * soft-fp/single.h (_FP_UNION_S): Likewise.
8190 * soft-fp/double.h (_FP_UNION_D): Likewise.
8191
5b8a4d4a
JM
81922012-02-29 Joseph Myers <joseph@codesourcery.com>
8193
0bab47b6
JM
8194 [BZ #13786]
8195 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8196 not include ../strcmp.S.
8197 [USE_AS_STRNCASECMP_L]: Likewise.
8198 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8199 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8200 * sysdeps/i386/i686/multiarch/strncase_l-c.c
8201 (__strncasecmp_l_ia32): Define as alias to
8202 __strncasecmp_l_nonascii.
8203
0fcad3e2
JM
8204 [BZ #5794]
8205 * math/libm-test.inc (expm1_test): Add test for bug 5794.
8206 * sysdeps/i386/fpu/libm-test-ulps: Update.
8207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8208
5b8a4d4a
JM
8209 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8211
8fdceb2e
JL
82122012-02-29 Jeff Law <law@redhat.com>
8213
8214 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8215 out of bounds read.
8216
1f393a11
MP
82172012-02-29 Marek Polacek <polacek@redhat.com>
8218
8219 [BZ #13706]
8220 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8221 * elf/Makefile: Add rules to run tst-unused-dep.out.
8222
8847f037
DM
82232012-02-28 David S. Miller <davem@davemloft.net>
8224
8225 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8226 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8227 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8228 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8229 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8230 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8231
169d7f11
JM
82322012-02-29 Joseph Myers <joseph@codesourcery.com>
8233
8234 * math/libm-test.inc (llround_test): Move one test from
8235 lround_test. Use TEST_f_L in moved test.
8236 (lround_test): Move misplaced test to llround_test. Add testcase
8237 from bug 2561.
8238
39adf059
UD
82392012-02-28 Ulrich Drepper <drepper@gmail.com>
8240
8241 * sysdeps/x86_64/fpu/e_expf.S: New file.
8242 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8243
71b5d1c5
SB
82442012-02-28 Stanislav Brabec <sbrabec@suse.cz>
8245
8246 [BZ #13637]
8247 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8248 of remain_len that may cause incomplete multi-byte character and
8249 false match.
8250 * posix/bug-regex33.c: New file.
8251 * posix/Makefile (tests): Add bug-regex33.
8252
1f77f049
JM
82532012-02-28 Joseph Myers <joseph@codesourcery.com>
8254
8255 * manual/macros.texi: New file.
8256 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8257 * manual/libc.texinfo: Include macros.texi.
8258 * manual/creatute.texi: Likewise.
8259 * manual/install.texi: Likewise.
8260 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8261 @glibcadj{} in references to the GNU C Library.
8262 * manual/charset.texi: Likewise.
8263 * manual/conf.texi: Likewise.
8264 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
8265 when not using those macros.
8266 * manual/creature.texi: Likewise.
8267 * manual/crypt.texi: Likewise.
8268 * manual/errno.texi: Likewise.
8269 * manual/filesys.texi: Likewise.
8270 * manual/header.texi: Likewise.
8271 * manual/install.texi: Likewise.
8272 * manual/intro.texi: Likewise.
8273 * manual/io.texi: Likewise.
8274 * manual/job.texi: Likewise.
8275 * manual/lang.texi: Likewise.
8276 * manual/libc.texiinfo: Likewise.
8277 * manual/llio.texi: Likewise.
8278 * manual/locale.texi: Likewise.
8279 * manual/maint.texi: Likewise.
8280 * manual/math.texi: Likewise.
8281 * manual/memory.texi: Likewise.
8282 * manual/message.texi: Likewise.
8283 * manual/nss.texi: Likewise.
8284 * manual/pattern.texi: Likewise.
8285 * manual/process.texi: Likewise.
8286 * manual/resource.texi: Likewise.
8287 * manual/search.texi: Likewise.
8288 * manual/setjmp.texi: Likewise.
8289 * manual/signal.texi: Likewise.
8290 * manual/socket.texi: Likewise.
8291 * manual/startup.texi: Likewise.
8292 * manual/stdio.texi: Likewise.
8293 * manual/string.texi: Likewise.
8294 * manual/sysinfo.texi: Likewise.
8295 * manual/syslog.texi: Likewise.
8296 * manual/terminal.texi: Likewise.
8297 * manual/time.texi: Likewise.
8298 * manual/users.texi: Likewise.
8299 * INSTALL: Regenerated.
8300 * NOTES: Regenerated.
d40c5d54 8301 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 8302
450bf206
AS
83032012-02-28 Andreas Schwab <schwab@linux-m68k.org>
8304
8305 * include/dirent.h: Include <dirstream.h> before
8306 <dirent/dirent.h>.
8307
741a235b
DM
83082012-02-28 David S. Miller <davem@davemloft.net>
8309
8310 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
8311 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
8312 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8313 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8314
d6b5aa58
DM
83152012-02-27 David S. Miller <davem@davemloft.net>
8316
1aff59a3
DM
8317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8319 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8320 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8321
d6b5aa58
DM
8322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8323 frame pointer instead of stack pointer relative arg slot.
8324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8325 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8326 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8327
433f48bf
CD
83282012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
8329
8330 [BZ #3992]
8331 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8332
d674b76d
DM
83332012-02-27 David S. Miller <davem@davemloft.net>
8334
8335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8339 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8340 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8341 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8342 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8343
0e7727f7
JM
83442012-02-27 Joseph Myers <joseph@codesourcery.com>
8345
8346 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8347 later. Allow versions 5-9.
43be4ca2 8348 * configure: Regenerated.
0e7727f7
JM
8349 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8350 required minimum version and 4.6 as recommended version. Do not
8351 mention bugs in GCC 2.7 and 2.8.
43be4ca2 8352 * INSTALL: Regenerated.
0e7727f7 8353
a78bc654
DM
83542012-02-27 David S. Miller <davem@davemloft.net>
8355
428d5830
DM
8356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8360 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8361 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8362 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8363 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8364
a78bc654
DM
8365 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8366 manipulate bits before adding and subtracting TWO112[sx].
8367 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8368
4579f81c
RM
83692012-02-27 Roland McGrath <roland@hack.frob.com>
8370
36c8acb4
RM
8371 [BZ #13775]
8372 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8373 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8374 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8375 being in POSIX, because they are in 1003.1-2008.
8376
84ad622b
RM
8377 * rt/tst-aio.c: Include <fcntl.h>.
8378 * rt/tst-aio7.c: Likewise.
8379 * rt/tst-aio64.c: Likewise.
8380
4579f81c
RM
8381 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8382
abd923db
JM
83832012-02-27 Joseph Myers <joseph@codesourcery.com>
8384
8385 * manual/install.texi (--with-headers): Describe headers as
8386 interface headers, not private headers.
8387 (Specific advice for GNU/Linux systems): Describe use of headers
8388 from "make headers_install", not private headers from older
8389 kernels.
43be4ca2 8390 * INSTALL: Regenerated.
abd923db
JM
8391 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8392 Change to 2.6.19.
8393 * sysdeps/unix/sysv/linux/configure: Regenerated.
8394
6664049b
JM
8395 * manual/llio.texi (fclean): Remove documentation.
8396
bb8b6697
JM
8397 * manual/Makefile (libc-texi-generated): New variable. Include
8398 version.texi.
8399 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8400 $(libc-texi-generated), not duplicated list of files.
8401 (version.texi, stamp-version): New rules.
8402 (realclean): Remove $(libc-texi-generated), not individual files
8403 from that list. Do not remove dir-add.texinfo.
8404 * manual/libc.texinfo: Comment out uses of edition numbers and
8405 references to printed manual. Remove last-updated dates.
8406 (EDITION): Comment out.
8407 (ISBN): Likewise.
8408 (VERSION, UPDATED): Remove.
8409 (version.texi): Include.
8410
12e5c3b9
AS
84112012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8412
8413 * sysdeps/posix/spawni.c: Include <signal.h>.
8414 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8415 * sysdeps/pthread/aio_fsync.c: Likewise.
8416
4efeffc1 84172012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 8418
ba63ba08
UD
8419 * conform/Makefile (tests): Run only when not cross-compiling and
8420 when fast-check is not defined.
8421
d94a4670
UD
8422 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8423 * conform/data/limits.h-data: Fixes for POSIX2008.
8424 * conform/run-conformtest.sh: Run all tests.
8425 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8426 headers.
8427 * include/bits/dlfcn.h: Likewise.
8428 * include/langinfo.h: Likewise.
8429 * include/monetary.h: Likewise.
8430 * include/sys/poll.h: Likewise.
8431
8432 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8433 for __USE_GNU.
8434 * posix/spawn.h: Define __need_sigset_t.
8435 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8436 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8437 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8438 to get sigevent_t only.
8439 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8440 only for __USE_GNU.
8441 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8442 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8443 process_vm_writev only for __USE_GNU.
8444 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
8445
8446 * conform/Makefile: For now ignore errors from run-conformtest.
8447 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8448 POSIX to avoid namespace pollution. Don't prepend headers.
8449 * conform/data/aio.h-data: Fixes for POSIX testing.
8450 * conform/data/fcntl.h-data: Likewise.
8451 * conform/data/glob.h-data: Likewise.
8452 * conform/data/grp.h-data: Likewise.
8453 * conform/data/pthread.h-data: Likewise.
8454 * conform/data/pwd.h-data: Likewise.
8455 * conform/data/signal.h-data: Likewise.
8456 * conform/data/spawn.h-data: Likewise.
8457 * conform/data/stdio.h-data: Likewise.
8458 * conform/data/stdlib.h-data: Likewise.
8459 * conform/data/stropts.h-data: Likewise.
8460 * conform/data/sys/mman.h-data: Likewise.
8461 * conform/data/sys/stat.h-data: Likewise.
8462 * conform/data/sys/types.h-data: Likewise.
8463 * conform/data/sys/wait.h-data: Likewise.
8464 * conform/data/time.h-data: Likewise.
8465 * conform/data/unistd.h-data: Likewise.
8466 * conform/data/utime.h-data: Likewise.
8467
8468 * io/sys/stat.h: fchmod was always in POSIX.
8469 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8470 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8471 * rt/aio.h: Define __need_timespec before including <time.h>.
8472 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8473 struct. Add forward declaration of pthread_attr_t and use it in
8474 sigevent.
8475 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8476 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8477 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8478 always remove CLK_TCK definition.
8479
c20105c3
AS
84802012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8481
8482 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8483
7a270350
UD
84842012-02-25 Ulrich Drepper <drepper@gmail.com>
8485
31341567
UD
8486 * conform/run-conformtest.sh: New file.
8487 * conform/Makefile: Run run-conformtest for tests.
8488 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8489 support.
8490
8491 * conform/data/uchar.h-data: New file.
8492 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8493 * conform/data/arpa/inet.h-data: Likewise.
8494 * conform/data/assert.h-data: Likewise.
8495 * conform/data/complex.h-data: Likewise.
8496 * conform/data/cpio.h-data: Likewise.
8497 * conform/data/ctype.h-data: Likewise.
8498 * conform/data/dirent.h-data: Likewise.
8499 * conform/data/dlfcn.h-data: Likewise.
8500 * conform/data/errno.h-data: Likewise.
8501 * conform/data/fcntl.h-data: Likewise.
8502 * conform/data/float.h-data: Likewise.
8503 * conform/data/fmtmsg.h-data: Likewise.
8504 * conform/data/fnmatch.h-data: Likewise.
8505 * conform/data/ftw.h-data: Likewise.
8506 * conform/data/glob.h-data: Likewise.
8507 * conform/data/grp.h-data: Likewise.
8508 * conform/data/iconv.h-data: Likewise.
8509 * conform/data/inttypes.h-data: Likewise.
8510 * conform/data/langinfo.h-data: Likewise.
8511 * conform/data/libgen.h-data: Likewise.
8512 * conform/data/limits.h-data: Likewise.
8513 * conform/data/locale.h-data: Likewise.
8514 * conform/data/math.h-data: Likewise.
8515 * conform/data/monetary.h-data: Likewise.
8516 * conform/data/mqueue.h-data: Likewise.
8517 * conform/data/ndbm.h-data: Likewise.
8518 * conform/data/net/if.h-data: Likewise.
8519 * conform/data/netdb.h-data: Likewise.
8520 * conform/data/netinet/in.h-data: Likewise.
8521 * conform/data/nl_types.h-data: Likewise.
8522 * conform/data/poll.h-data: Likewise.
8523 * conform/data/pthread.h-data: Likewise.
8524 * conform/data/pwd.h-data: Likewise.
8525 * conform/data/regex.h-data: Likewise.
8526 * conform/data/sched.h-data: Likewise.
8527 * conform/data/search.h-data: Likewise.
8528 * conform/data/semaphore.h-data: Likewise.
8529 * conform/data/setjmp.h-data: Likewise.
8530 * conform/data/signal.h-data: Likewise.
8531 * conform/data/spawn.h-data: Likewise.
8532 * conform/data/stdarg.h-data: Likewise.
8533 * conform/data/stdio.h-data: Likewise.
8534 * conform/data/stdlib.h-data: Likewise.
8535 * conform/data/string.h-data: Likewise.
8536 * conform/data/strings.h-data: Likewise.
8537 * conform/data/stropts.h-data: Likewise.
8538 * conform/data/sys/ipc.h-data: Likewise.
8539 * conform/data/sys/mman.h-data: Likewise.
8540 * conform/data/sys/msg.h-data: Likewise.
8541 * conform/data/sys/resource.h-data: Likewise.
8542 * conform/data/sys/select.h-data: Likewise.
8543 * conform/data/sys/sem.h-data: Likewise.
8544 * conform/data/sys/shm.h-data: Likewise.
8545 * conform/data/sys/socket.h-data: Likewise.
8546 * conform/data/sys/stat.h-data: Likewise.
8547 * conform/data/sys/statvfs.h-data: Likewise.
8548 * conform/data/sys/time.h-data: Likewise.
8549 * conform/data/sys/timeb.h-data: Likewise.
8550 * conform/data/sys/times.h-data: Likewise.
8551 * conform/data/sys/types.h-data: Likewise.
8552 * conform/data/sys/uio.h-data: Likewise.
8553 * conform/data/sys/un.h-data: Likewise.
8554 * conform/data/sys/utsname.h-data: Likewise.
8555 * conform/data/sys/wait.h-data: Likewise.
8556 * conform/data/syslog.h-data: Likewise.
8557 * conform/data/tar.h-data: Likewise.
8558 * conform/data/termios.h-data: Likewise.
8559 * conform/data/utime.h-data: Likewise.
8560 * conform/data/utmpx.h-data: Likewise.
8561 * conform/data/varargs.h-data: Likewise.
8562 * conform/data/wchar.h-data: Likewise.
8563 * conform/data/wctype.h-data: Likewise.
8564 * conform/data/wordexp.h-data: Likewise.
8565
8566 * include/stropts.h: New file.
8567 * include/uchar.h: New file.
8568 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8569 * include/assert.h: Likewise.
8570 * include/ctype.h: Likewise.
8571 * include/dirent.h: Likewise.
8572 * include/dlfcn.h: Likewise.
8573 * include/fcntl.h: Likewise.
8574 * include/fnmatch.h: Likewise.
8575 * include/glob.h: Likewise.
8576 * include/grp.h: Likewise.
8577 * include/libio.h: Likewise.
8578 * include/locale.h: Likewise.
8579 * include/math.h: Likewise.
8580 * include/net/if.h: Likewise.
8581 * include/netdb.h: Likewise.
8582 * include/netinet/in.h: Likewise.
8583 * include/pthread.h: Likewise.
8584 * include/pwd.h: Likewise.
8585 * include/regex.h: Likewise.
8586 * include/sched.h: Likewise.
8587 * include/search.h: Likewise.
8588 * include/setjmp.h: Likewise.
8589 * include/signal.h: Likewise.
8590 * include/stdio.h: Likewise.
8591 * include/stdlib.h: Likewise.
8592 * include/string.h: Likewise.
8593 * include/sys/cdefs.h: Likewise.
8594 * include/sys/mman.h: Likewise.
8595 * include/sys/msg.h: Likewise.
8596 * include/sys/resource.h: Likewise.
8597 * include/sys/select.h: Likewise.
8598 * include/sys/socket.h: Likewise.
8599 * include/sys/stat.h: Likewise.
8600 * include/sys/statvfs.h: Likewise.
8601 * include/sys/time.h: Likewise.
8602 * include/sys/times.h: Likewise.
8603 * include/sys/uio.h: Likewise.
8604 * include/sys/utsname.h: Likewise.
8605 * include/sys/wait.h: Likewise.
8606 * include/termios.h: Likewise.
8607 * include/time.h: Likewise.
8608 * include/ulimit.h: Likewise.
8609 * include/unistd.h: Likewise.
8610 * include/utime.h: Likewise.
8611 * include/wchar.h: Likewise.
8612 * include/wctype.h: Likewise.
8613 * include/wordexp.h: Likewise.
8614
8615 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8616
7a270350
UD
8617 * time/time.h: TIME_UTC must be a macro.
8618 Make timespec_get available for ISO C11 only as well.
8619
7724defc
UD
86202012-02-24 Ulrich Drepper <drepper@gmail.com>
8621
8622 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8623 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8624
6b1d1d46
JM
86252012-02-24 Joseph Myers <joseph@codesourcery.com>
8626
8627 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 8628
0f8bbd69
JM
86292012-02-24 Joseph Myers <joseph@codesourcery.com>
8630
8631 * manual/texinfo.tex: Update to version 2012-01-19.16.
8632
66ab80bc
JM
86332012-02-24 Joseph Myers <joseph@codesourcery.com>
8634
8635 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8636
74981cc5
RM
86372012-02-24 Roland McGrath <roland@hack.frob.com>
8638
ee968201
RM
8639 [BZ #13738]
8640 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8641 * manual/fdl-1.3.texi: New file.
8642 * manual/fdl-1.1.texi: File removed.
8643
74981cc5
RM
8644 [BZ #13738]
8645 * manual/libc.texinfo (FDL_VERSION): New @set.
8646 Use it for mention of FDL in cover text.
8647 (Documentation License): Use it in @include file name.
8648
7bb764bc
JM
86492012-02-22 Joseph Myers <joseph@codesourcery.com>
8650 Roland McGrath <roland@hack.frob.com>
8651
8652 [BZ #5461]
8653 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8654 not LONG_LONG_MAX and LONG_LONG_MIN.
8655 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8656 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8657 name.
8658 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8659
6cbeae47
JM
86602012-02-22 Joseph Myers <joseph@codesourcery.com>
8661
8662 [BZ #2547]
8663 [BZ #11365]
8664 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8665 manipulate bits before adding and subtracting TWO23[sx].
8666 * math/libm-test.inc (nearbyint_test): Add more tests.
8667
fe45ce09
JM
86682012-02-22 Joseph Myers <joseph@codesourcery.com>
8669
8670 [BZ #2548]
8671 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8672 bits before adding and subtracting TWO23[sx].
8673 * math/libm-test.inc (rint_test): Add more tests.
8674 (rint_test_tonearest): Likewise.
8675 (rint_test_towardzero): Likewise.
8676 (rint_test_downward): Likewise.
8677 (rint_test_upward: Likewise.
8678
ff3b3d82
JM
86792012-02-22 Joseph Myers <joseph@codesourcery.com>
8680
8681 [BZ #10110]
8682 * include/stdc-predef.h: New file. Extracted from features.h.
8683 * include/features.h: Include stdc-predef.h.
8684 * Makefile (headers): Add stdc-predef.h.
8685 * CONFORMANCE (Compiler limitations): Update.
8686
ef0aab35
JM
86872012-02-22 Joseph Myers <joseph@codesourcery.com>
8688
8689 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8690
58639409
DM
86912012-02-21 David S. Miller <davem@davemloft.net>
8692
8693 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8694 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8695
c0e70b25
DM
86962012-02-20 David S. Miller <davem@davemloft.net>
8697
8698 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8699 using a normal save/restore sequence, rather than allocating a
8700 dummy stack frame just to store a frame pointer and restore.
8701 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8702
fb06851d
JM
87032012-02-21 Joseph Myers <joseph@codesourcery.com>
8704
8705 * manual/install.texi: Fix stray word in line-wrapped comment.
8706
7a8b71c3
DM
87072012-02-20 David S. Miller <davem@davemloft.net>
8708
d510c123
DM
8709 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8710 both binutils and gcc support GOTDATA.
8711
0722d7c2
DM
8712 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8713 "rd %pc" in the PIC register setup sequences.
8714
3d2b3019
DM
8715 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8716 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8717 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8718 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8719 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8720 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8721 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8722 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8723 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8724 (SYSCALL_ERROR_HANDLER): Likewise.
8725 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8726 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8727 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8728 (SYSCALL_ERROR_HANDLER): Likewise.
8729
c80098a9
DM
8730 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8731 (HAVE_GCC_GOTDATA): New.
8732 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8733 relocation support in both binutils and gcc.
8734 * sysdeps/sparc/elf/configure: Regenerate.
8735
3a2545a0
DM
8736 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8737 * sysdeps/sparc/sparc32/elf/configure: Delete.
8738 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8739 * sysdeps/sparc/sparc64/elf/configure: Delete.
8740 * sysdeps/sparc/elf/configure.in: New file.
8741 * sysdeps/sparc/elf/configure: Generate.
8742
7a8b71c3
DM
8743 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8744 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8745 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8746 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8747 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8748
f1e86fca
JM
87492012-02-21 Joseph Myers <joseph@codesourcery.com>
8750
8751 * manual/install.texi: Do not mention specific glibc version
8752 numbers.
8753 * manual/libc.texinfo (VERSION, UPDATED): Update.
8754 (@copying): Use @copyright{} and range of years.
8755
0e7dfaef
JM
87562012-02-21 Joseph Myers <joseph@codesourcery.com>
8757
8758 [BZ #13695]
8759 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8760 [crti.S not in sysdirs] (generated): Do not append.
8761 [crti.S not in sysdirs] (omit-deps): Likewise.
8762 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8763 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8764 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8765 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8766 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8767 Likewise.
8768 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8769 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8770 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8771 * csu/defs.awk: Remove file.
8772 * sysdeps/generic/initfini.c: Likewise.
8773 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8774 variable.
8775 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8776 Likewise.
8777
599af3ca
JM
87782012-02-20 Joseph Myers <joseph@codesourcery.com>
8779
8780 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8781 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8782 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8783 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8784 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8785 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8786 <bits/epoll.h>.
8787 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8788 (__EPOLL_PACKED): Define to empty if not defined by
8789 <bits/epoll.h>.
8790 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8791 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8792 bits/epoll.h.
8793
0e499750
JM
87942012-02-20 Joseph Myers <joseph@codesourcery.com>
8795
8796 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8797 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8798 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8799 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8800 <bits/timerfd.h>.
8801 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8802 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8803 bits/timerfd.h.
8804
5ad91f6e
JM
88052012-02-20 Joseph Myers <joseph@codesourcery.com>
8806
8807 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8808 in C locale.
8809 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8810 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8811 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8813
06b99b02
AJ
88142012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8815
8816 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8817 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8818
7638c0fd
AS
88192012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8820
8821 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8822 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8823 defined.
8824 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8825 Likewise.
8826 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8827 entry for 2.16.
8828
92221550
AJ
88292012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8830
8831 * math/w_acos.c: Use non-signaling floating-point comparisons.
8832 * math/w_acosf.c: Likewise.
8833 * math/w_acosh.c: Likewise.
8834 * math/w_acoshf.c: Likewise.
8835 * math/w_acoshl.c: Likewise.
8836 * math/w_acosl.c: Likewise.
8837 * math/w_asin.c: Likewise.
8838 * math/w_asinf.c: Likewise.
8839 * math/w_asinl.c: Likewise.
8840 * math/w_atanh.c: Likewise.
8841 * math/w_atanhf.c: Likewise.
8842 * math/w_atanhl.c: Likewise.
8843 * math/w_exp2.c: Likewise.
8844 * math/w_exp2f.c: Likewise.
8845 * math/w_exp2l.c: Likewise.
8846 * math/w_j0.c: Likewise.
8847 * math/w_j0f.c: Likewise.
8848 * math/w_j0l.c: Likewise.
8849 * math/w_j1.c: Likewise.
8850 * math/w_j1f.c: Likewise.
8851 * math/w_j1l.c: Likewise.
8852 * math/w_jn.c: Likewise.
8853 * math/w_jnf.c: Likewise.
8854 * math/w_log.c: Likewise.
8855 * math/w_log10.c: Likewise.
8856 * math/w_log10f.c: Likewise.
8857 * math/w_log10l.c: Likewise.
8858 * math/w_log2.c: Likewise.
8859 * math/w_log2f.c: Likewise.
8860 * math/w_log2l.c: Likewise.
8861 * math/w_logf.c: Likewise.
8862 * math/w_logl.c: Likewise.
8863 * math/w_sqrt.c: Likewise.
8864 * math/w_sqrtf.c: Likewise.
8865 * math/w_sqrtl.c: Likewise.
8866 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8867 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8868 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8869 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8870 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8871
ebaf36eb
JM
88722012-02-19 Joseph Myers <joseph@codesourcery.com>
8873
8874 [BZ #9739]
8875 * manual/string.texi (strnlen): Use correct parameter name in
8876 equivalent expression.
8877
71c254a6
JM
88782012-02-19 Joseph Myers <joseph@codesourcery.com>
8879
8880 [BZ #11174]
8881 * manual/users.texi (seteuid): Consistently use neweuid for
8882 argument name.
8883
16d2c631
JM
88842012-02-19 Joseph Myers <joseph@codesourcery.com>
8885
8886 [BZ #13704]
8887 * manual/nss.texi (Services in the NSS configuration): Correct
8888 list of services in example configuration file.
8889
cd837b09
NB
88902012-02-19 Nick Bowler <nbowler@draconx.ca>
8891
8892 [BZ #11322]
8893 * manual/arith.texi: Remove statements about negative zero
8894 behaving identically to zero.
8895
02c4bbad
JM
88962012-02-18 Joseph Myers <joseph@codesourcery.com>
8897
8898 [BZ #5993]
8899 * manual/install.texi: Do not document upgrading from libc5.
8900
366842e7
JM
89012012-02-18 Joseph Myers <joseph@codesourcery.com>
8902
8903 [BZ #4596]
8904 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8905
dd54084d
DM
89062012-02-18 David S. Miller <davem@davemloft.net>
8907
8908 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8909 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8910 %o7 across the call.
8911 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8912 instead.
8913 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8914 SETUP_PIC_REG_LEAF.
8915 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8916 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8917 * sysdeps/sparc/crtn.S: Likewise.
8918
2bcc53a3
UD
89192012-02-17 Ulrich Drepper <drepper@gmail.com>
8920
8921 * aout/Makefile: Remove.
8922
09c093b5
RK
89232012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8924
8925 [BZ #13058]
8926 * manual/examples/argp-ex1.c (main): Format definition in GNU
8927 style.
8928 * manual/examples/argp-ex2.c (main): Likewise.
8929 * manual/examples/argp-ex3.c (main): Likewise.
8930 * manual/examples/argp-ex4.c (main): Likewise.
8931 * manual/examples/longopt.c (main): Use new-style prototype
8932 definition.
8933 * manual/examples/strncat.c (main): Specify return type and use
8934 (void) for arguments.
8935 * manual/examples/subopt.c (main): Use char **argv argument.
8936
2ee633a2
JM
89372012-02-17 Joseph Myers <joseph@codesourcery.com>
8938
8939 [BZ #5077]
8940 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8941 rounding modes.
8942
0520adde
FB
89432012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8944
8945 [BZ #6907]
8946 * manual/string.texi (strchr): Change when strchrnul is
8947 recommended.
8948
3f4081cd
DGM
89492012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8950
8951 [BZ #174]
8952 * manual/locale.texi (setlocale): Document LOCPATH.
8953
d1b10e78
JM
89542012-02-17 Joseph Myers <joseph@codesourcery.com>
8955
8956 [BZ #10210]
8957 * manual/process.texi (execle): Move @dots{} before last argument.
8958
79c6869c
PB
89592012-02-17 Paul Bolle <pebolle@tiscali.nl>
8960
8961 [BZ #12047]
8962 * manual/charset.texi (Generic Charset Conversion): Fix typo
8963 (LC_TYPE -> LC_CTYPE).
8964
cc6e48bc
NB
89652012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8966
8967 [BZ #5805]
8968 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8969 (scalbnf): Likewise.
8970 (scalbnl): Likewise.
8971 (scalbln): Likewise.
8972 (scalblnf): Likewise.
8973 (scalblnl): Likewise.
8974 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8975 (vwarnx): Likewise.
8976 (verr): Likewise.
8977 (verrx): Likewise.
8978 * manual/filesys.texi (telldir): Use braces around return type.
8979 * manual/llio.texi (mmap): Add space after comma.
8980 (mmap64): Likewise.
8981 * manual/math.texi (jn): Use @var{} on parameter names.
8982 (jnf): Likewise.
8983 (jnl): Likewise.
8984 (yn): Likewise.
8985 (ynf): Likewise.
8986 (ynl): Likewise.
8987 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8988 line.
8989 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8990 "...".
8991 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8992 (sched_get_priority_max): Likewise.
8993 * manual/signal.texi (sigvec): Add space after comma.
8994 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8995 names.
8996 (if_indextoname): Likewise.
8997 (if_freenameindex): Likewise.
8998 (sendto): Use ',' instead of '.' in prototype.
8999 * manual/startup.texi (syscall): Use @dots{} instead of literal
9000 "...".
9001 * manual/stdio.texi (__fpending): Separate initial words of
9002 paragraph from @deftypefun line.
9003 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9004 "...".
9005 (vsyslog): Use @var{} on parameter names.
9006 * manual/terminal.texi (stty): Use @var{} on parameter names.
9007 * manual/users.texi (getutmp): Use @var{} on parameter names.
9008 (getutmpx): Likewise.
9009
5b23062f
JM
90102012-02-17 Joseph Myers <joseph@codesourcery.com>
9011
9012 [BZ #6884]
9013 * manual/stdio.texi (fopen): Fix typos in description of
9014 ",ccs=STRING".
9015
8dee4833
AJ
90162012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9017
9018 [BZ #4026]
9019 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9020 get clock_id definition.
9021
9078ce93
TS
90222012-02-17 Thomas Schwinge <thomas@schwinge.name>
9023
9024 [BZ #4822]
9025 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9026 (madvise): Cast every argument to void on its own.
9027
3835c55f
JM
90282012-02-17 Joseph Myers <joseph@codesourcery.com>
9029
9030 [BZ #9902]
9031 * manual/startup.texi (Exit Status): Fix typo.
9032
35c47e37
JM
90332012-02-17 Joseph Myers <joseph@codesourcery.com>
9034
9035 [BZ #10140]
9036 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9037 * manual/examples/argp-ex2.c: Likewise.
9038 * manual/examples/argp-ex3.c: Likewise.
9039
e3b69ca7
RH
90402012-02-16 Richard Henderson <rth@redhat.com>
9041
9042 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9043 * sysdeps/s390/s390-32/initfini.c: Remove.
9044 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9045 * sysdeps/s390/s390-64/initfini.c: Remove.
9046
df83af67
KK
90472012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9048
9049 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9050 compiler output for sysdeps/generic/initfini.c.
9051 * sysdeps/sh/elf/initfini.c: Remove file.
9052
f63f3380
DM
90532012-02-16 David S. Miller <davem@davemloft.net>
9054
fb59b3a4
DM
9055 [BZ #11494]
9056 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9057
f63f3380
DM
9058 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9059 * sysdeps/sparc/crti.S: New file.
9060 * sysdeps/sparc/crtn.S: New file.
9061 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9062 * sysdeps/sparc/sparc64/Makefile: Likewise.
9063
df6a4a4a
MF
90642012-02-15 Mike Frysinger <vapier@gentoo.org>
9065
6dd8f3dc 9066 [BZ #3335]
df6a4a4a
MF
9067 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9068
1cac7236
RM
90692012-02-15 Roland McGrath <roland@hack.frob.com>
9070
d2c736f8
RM
9071 [BZ #4822]
9072 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9073
1cac7236
RM
9074 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9075 (write, read, close): Likewise.
9076 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9077
8e475601
JM
90782012-02-15 Joseph Myers <joseph@codesourcery.com>
9079
9080 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9081 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9082 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9083 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9084 <bits/signalfd.h>.
9085 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9086 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9087 bits/signalfd.h.
9088
ed656b40
MP
90892012-02-14 Marek Polacek <polacek@redhat.com>
9090
9091 * sysdeps/x86_64/crti.S: New file.
9092 * sysdeps/x86_64/crtn.S: New file.
9093 * sysdeps/x86_64/elf/initfini.c: Remove file.
9094
2a979d3a
JM
90952012-02-13 Joseph Myers <joseph@codesourcery.com>
9096
9097 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9098 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9099 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9100 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9101 <bits/inotify.h>.
9102 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9103 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9104 bits/inotify.h.
9105
2a418ac3
JM
91062012-02-13 Joseph Myers <joseph@codesourcery.com>
9107
9108 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9109 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9110 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9111 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9112 <bits/eventfd.h>.
9113 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9114 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9115 bits/eventfd.h.
9116
fb779be7
TS
91172012-02-10 Thomas Schwinge <thomas@codesourcery.com>
9118
e19e83c5
RM
9119 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9120 __feraiseexcept instead of feraiseexcept.
7c35ffed 9121
fb779be7
TS
9122 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9123 nanosleep invocations.
9124 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9125 strings, and add error checking for a nanosleep invocations.
9126
59ba27a6
PE
91272012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9128
9129 Replace FSF snail mail address with URLs, as per GNU coding standards.
9130 Most of the snail mail addresses were wrong anyway, and omitting
9131 them makes the source code easier to maintain. Almost all of the
9132 changes are to license notices and to locale LC_IDENTIFICATION
9133 addresses, except for this one:
9134 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9135 not its snail mail address.
9136
57b957eb
RH
91372012-02-09 Richard Henderson <rth@twiddle.net>
9138
af850b1c
RH
9139 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9140 of kernel-features.h.
9141
57b957eb
RH
9142 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9143
6b73181a
MP
91442012-02-08 Marek Polacek <polacek@redhat.com>
9145
9146 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9147 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9148 * sysdeps/gnu/_G_config.h: Likewise.
9149 * sysdeps/generic/_G_config.h: Likewise.
9150
26ecc33a
AS
91512012-02-08 Andreas Schwab <schwab@linux-m68k.org>
9152
6c6dbc63
AS
9153 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9154 tests.
9155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9156
e216c012
AS
9157 * sysdeps/powerpc/powerpc32/crti.S: New file.
9158 * sysdeps/powerpc/powerpc32/crtn.S: New file.
9159 * sysdeps/powerpc/powerpc64/crti.S: New file.
9160 * sysdeps/powerpc/powerpc64/crtn.S: New file.
9161
26ecc33a
AS
9162 * Makeconfig (have-initfini): Don't set.
9163 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9164 * configure.in (nopic_initfini): Don't substitute.
9165 * config.h.in (HAVE_INITFINI): Don't #undef.
9166 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9167 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9168
3add8e13
JM
91692012-02-08 Joseph Myers <joseph@codesourcery.com>
9170
9171 Support crti.S and crtn.S provided directly by architectures.
9172 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9173 [crti.S in sysdirs] (omit-deps): Likewise.
9174 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9175 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9176 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9177 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9178 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9179 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9180 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9181 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9182 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9183 compiler output for sysdeps/generic/initfini.c.
9184 * sysdeps/i386/elf/Makefile: Remove file.
9185 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9186
a22f12b4
MP
91872012-02-07 Marek Polacek <polacek@redhat.com>
9188
9189 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9190 * sysdeps/gnu/_G_config.h: Likewise.
9191 * sysdeps/mach/hurd/_G_config.h: Likewise.
9192
148cf100
MP
91932012-02-07 Marek Polacek <polacek@redhat.com>
9194
9195 * math/Makefile (tests): Add tst-CMPLX2.
9196 * math/tst-CMPLX2.c: New file.
9197
cfdc0dd7
AS
91982012-02-07 Andreas Schwab <schwab@linux-m68k.org>
9199
84ba42c4
AS
9200 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9201
cfdc0dd7
AS
9202 * math/libm-test.inc (jn_test): Add missing L suffix.
9203
622c86f4
MP
92042012-02-06 Marek Polacek <polacek@redhat.com>
9205
9206 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9207 * sysdeps/i386/fpu/e_powf.S: Likewise.
9208 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9209 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9210 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9211 * sysdeps/i386/fpu/e_pow.S: Likewise.
9212 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9213 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9214 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9215 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9216 * sysdeps/i386/fpu/e_log2.S: Likewise.
9217 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9218 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9219 * sysdeps/i386/fpu/e_powl.S: Likewise.
9220 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9221 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9222 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9223 * sysdeps/i386/fpu/e_logl.S: Likewise.
9224 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9225 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9226 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9227 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9228 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9229 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9230 * sysdeps/i386/fpu/e_log.S: Likewise.
9231 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9232 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9233 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9234 * sysdeps/i386/fpu/e_logf.S: Likewise.
9235 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9236 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9237 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9238 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9239 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9240 * sysdeps/i386/fpu/e_log10.S: Likewise.
9241 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9242 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9243 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9244 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9245 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9246 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9247 * sysdeps/i386/asm-syntax.h: Likewise.
9248 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9249 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9250 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9251 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9252 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9253 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9254 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9255 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9256 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9257 * sysdeps/powerpc/sysdep.h: Likewise.
9258 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9259 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9260
d4a54ac6
JM
92612012-02-06 Joseph Myers <joseph@codesourcery.com>
9262
9263 [BZ #411]
9264 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9265
314054ea
JM
92662012-02-06 Joseph Myers <joseph@codesourcery.com>
9267
9268 * sysdeps/i386/sysdep.h: Include <features.h>.
9269 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9270 version.
9271
d8e0ca50
JM
92722012-02-05 Joseph Myers <joseph@codesourcery.com>
9273
9274 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9275 Define.
9276 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9277 LOAD_PIC_REG_STR.
9278
b1da7dd9
JM
92792012-02-03 Joseph Myers <joseph@codesourcery.com>
9280
9281 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9282 (SETUP_PIC_REG): Use GET_PC_THUNK.
9283 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9284 macro.
9285
9a1d9254
JM
92862012-02-03 Joseph Myers <joseph@codesourcery.com>
9287
9288 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9289 for non-PIC compilation.
9290 (SETUP_PIC_REG): Add .p2align directive.
9291 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9292 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9293 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9294 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9295 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9296 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9297 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9298 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9299 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9300 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9301 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9302 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9303 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9304 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9305 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9306 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9307 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9308 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9309 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9310 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9311 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9312 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9313 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9314 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9315 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9316 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9317 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9318 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9319 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9320 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9321 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9322 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9323 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9324 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9325 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9326 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9327 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9328 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9329 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9330 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9331 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9332
65dc3b75
JM
93332012-02-03 Joseph Myers <joseph@codesourcery.com>
9334
9335 * math/tst-CMPLX.c: Include <stdio.h>.
9336
d55bf177
JM
93372012-01-31 Joseph Myers <joseph@codesourcery.com>
9338
9339 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9340 float.
9341 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9342 * sysdeps/sparc/bits/mathdef.h: Likewise.
9343
69db4f8f
MP
93442012-01-31 Marek Polacek <polacek@redhat.com>
9345
9346 * libio/libio.h: Don't define _PARAMS.
9347 * locale/programs/config.h: Don't define PARAMS.
9348 * stdlib/strtol_l.c: Likewise.
9349 (__strtol_l): Remove PARAMS from the prototype.
9350
41b81892
UD
93512012-01-31 Ulrich Drepper <drepper@gmail.com>
9352
3b49edc0
UD
9353 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
9354 names. Just use the correct names. Remove unnecessary wrapper
9355 functions.
9356 * malloc/arena.c: Likewise.
9357 * malloc/hooks.c: Likewise.
9358
41b81892
UD
9359 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9360 ARENA_TEST says not to. Simplify test for creation of a new arena.
9361 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9362
27a25b6e
UD
93632012-01-30 Ulrich Drepper <drepper@gmail.com>
9364
9365 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9366 into tail calls.
9367 (update_get_addr): New function.
9368 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9369 GET_ADDR_MODULE parameter.
9370
c8a89e7d
JM
93712012-01-30 Joseph Myers <joseph@codesourcery.com>
9372
9373 * crypt/cert.c: Remove __STDC__ conditionals.
9374 * crypt/crypt-entry.c: Likewise.
9375 * crypt/crypt_util.c: Likewise.
9376 * libio/filedoalloc.c: Likewise.
9377 * libio/fileops.c: Likewise.
9378 * libio/genops.c: Likewise.
9379 * libio/iofclose.c: Likewise.
9380 * libio/iofdopen.c: Likewise.
9381 * libio/iofopen.c: Likewise.
9382 * libio/iofopen64.c: Likewise.
9383 * libio/iogetdelim.c: Likewise.
9384 * libio/iopopen.c: Likewise.
9385 * libio/obprintf.c: Likewise.
9386 * libio/oldfileops.c: Likewise.
9387 * libio/oldiofclose.c: Likewise.
9388 * libio/oldiofdopen.c: Likewise.
9389 * libio/oldiofopen.c: Likewise.
9390 * libio/oldiopopen.c: Likewise.
9391 * libio/wfiledoalloc.c: Likewise.
9392 * libio/wgenops.c: Likewise.
9393 * locale/programs/xmalloc.c: Likewise.
9394 * misc/syslog.c: Likewise.
9395 * stdio-common/xbug.c: Likewise.
9396 * string/memchr.c: Likewise.
9397 * string/memcmp.c: Likewise.
9398 * string/memrchr.c: Likewise.
9399 * string/rawmemchr.c: Likewise.
9400 * sysdeps/posix/getcwd.c: Likewise.
9401 * time/strftime_l.c: Likewise.
9402
3b100462
JM
94032012-01-30 Joseph Myers <joseph@codesourcery.com>
9404
9405 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
9406 * config.make.in (config-cflags-sse2avx): Define.
9407 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9408 Fix typo.
9409
607998af
CM
94102012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9411
9412 * scripts/config.guess: Update from upstream config git repository.
9413 * scripts/config.sub: Likewise.
9414
3601428f
CM
94152012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9416
3ac8b282
CM
9417 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9418 (EM_NUM): Update.
9419 (R_TILEPRO_*, R_TILEGX_*): New macros.
9420
e034841e
CM
9421 * scripts/firstversions.awk: Fix bug in version range handling.
9422
540d7568
CM
9423 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9424
3601428f
CM
9425 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9426
463de862
CM
9427 * include/sys/epoll.h: New file.
9428 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9429 libc_hidden_def.
9430
73139a76
UD
94312012-01-28 Ulrich Drepper <drepper@gmail.com>
9432
96bc5b45
UD
9433 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9434 Avoid unnecessary __WORDSIZE == 64 test.
9435 (fmaxf): Use VEX format if possible.
9436 (fmax): Likewise.
9437 (fminf): Likewise.
9438 (fmin): Likewise.
9439
56f6f6a2
UD
9440 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9441 * math/math_private.h: Remove libc_fegetround* and
9442 libc_fesetround*.
9443 * sysdeps/i386/configure.in: Check for -msse2avx.
9444 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9445 also if SSE2AVX is defined.
9446 Remove libc_fegetround* and libc_fesetround*.
9447 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9448 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9449 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9450 of HAS_YMM_USABLE.
9451 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9452 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9453 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9454 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9455 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9456
73139a76
UD
9457 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9458
d73f93a4
AZ
94592012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9460
9461 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9462 size is not set.
9463 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9464
6ee65ed6
UD
94652012-01-27 Ulrich Drepper <drepper@gmail.com>
9466
9467 [BZ #13618]
9468 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9469 relocation.
9470 * Makeconfig (libm): Define.
9471 * elf/Makefile: Add rules to build and run tst-relsort1.
9472 * elf/tst-relsort1.c: New file.
9473 * elf/tst-relsort1mod1.c: New file.
9474 * elf/tst-relsort1mod2.c: New file.
9475
8db21882
JM
94762012-01-27 Joseph Myers <joseph@codesourcery.com>
9477
9478 * math/s_ldexp.c: Remove __STDC__ conditionals.
9479 * math/s_ldexpf.c: Likewise.
9480 * math/s_ldexpl.c: Likewise.
9481 * math/s_nextafter.c: Likewise.
9482 * math/s_nexttowardf.c: Likewise.
9483 * math/s_significand.c: Likewise.
9484 * math/s_significandf.c: Likewise.
9485 * math/s_significandl.c: Likewise.
9486 * math/w_jnl.c: Likewise.
9487 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9488 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9489 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9490 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9491 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9492 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9493 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9494 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9495 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9496 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9497 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9498 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9499 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9500 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9501 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9502 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9503 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9504 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9505 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9506 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9507 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9508 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9509 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9510 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9511 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9512 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9513 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9514 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9515 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9516 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9517 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9518 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9519 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9520 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9521 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9522 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9523 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9524 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9525 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9526 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9527 * sysdeps/ieee754/k_standard.c: Likewise.
9528 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9529 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9530 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9531 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9532 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9533 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9534 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9535 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9536 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9537 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9538 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9539 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9540 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9541 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9542 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9543 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9544 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9545 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9546 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9547 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9548 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9549 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9550 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9551 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9552 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9553 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9554 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9555 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9556 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9557 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9558 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9559 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9560 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9561 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9562 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9563 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9564 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9565 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9566 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9567 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9568 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9569 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9570 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9571 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9572 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9573 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9574 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9575 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9576 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9577 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9578 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9579 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9580 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9581 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9582 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9583 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9584 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9585 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9586 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9587 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9588 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9589 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9590 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9591 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9592 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9593 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9594 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9595 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9596 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9597 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9598 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9599 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9600 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9601 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9602 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9603 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9604 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9605 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9606 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9607 * sysdeps/ieee754/s_matherr.c: Likewise.
9608 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9609 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9610 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9611 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9612
965a54a4
JM
96132012-01-26 Joseph Myers <joseph@codesourcery.com>
9614
9615 * crypt/md5.h: Remove __STDC__ conditionals.
9616 * libio/libioP.h: Likewise.
9617 * locale/programs/config.h: Likewise.
9618 * sysdeps/generic/sysdep.h: Likewise.
9619 * sysdeps/i386/asm-syntax.h: Likewise.
9620 * sysdeps/s390/asm-syntax.h: Likewise.
9621 * sysdeps/unix/sysdep.h: Likewise.
9622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9624
7071ad79
JM
96252012-01-26 Joseph Myers <joseph@codesourcery.com>
9626
9627 * libio/libio.h: Remove __STDC__ conditionals.
9628 * malloc/obstack.h: Likewise.
9629 * math/complex.h: Likewise.
9630 * math/math.h: Likewise.
9631 * sysdeps/generic/_G_config.h: Likewise.
9632 * sysdeps/gnu/_G_config.h: Likewise.
9633 * sysdeps/mach/hurd/_G_config.h: Likewise.
9634 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9635 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9636 * sysdeps/sparc/bits/mathdef.h: Likewise.
9637
afc5ed09
UD
96382012-01-26 Ulrich Drepper <drepper@gmail.com>
9639
9640 [BZ #13583]
9641 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 9642 Clean up HAS_* macros.
afc5ed09 9643 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
9644 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9645 possible.
9646 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9647 HAS_AVX.
9648 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9649 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9650 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9651 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9652 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 9653
bdb6de1d
JM
96542012-01-25 Joseph Myers <joseph@codesourcery.com>
9655
9656 * elf/tst-unique3.cc (gets): Remove declaration.
9657 * elf/tst-unique3lib.cc (gets): Likewise.
9658 * elf/tst-unique3lib2.cc (gets): Likewise.
9659 * elf/tst-unique4.cc (gets): Likewise.
9660
b15549e6
UD
96612012-01-24 Ulrich Drepper <drepper@gmail.com>
9662
9663 * include/stdio.h: Add C++ protection. Add gets declarations and
9664 definitions.
9665 * debug/tst-chk1.c: Don't declare gets here.
9666 * stdio-common/tst-gets.c: Likewise.
9667
a037381f
JM
96682012-01-24 Joseph Myers <joseph@codesourcery.com>
9669
9670 * posix/glob: Remove directory.
9671
f1d4aa75
JM
96722012-01-24 Joseph Myers <joseph@codesourcery.com>
9673
9674 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9675
81c0c964
PT
96762012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9677
9678 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9679 of the non-standard EPFNOSUPPORT.
9680
0ea698ae
ST
96812011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9682
9683 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9684 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9685 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9686
d220b117
UD
96872012-01-21 Ulrich Drepper <drepper@gmail.com>
9688
9689 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9690
3e1aa84e
UD
96912012-01-20 Ulrich Drepper <drepper@gmail.com>
9692
9693 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9694 transient errors.
9695 * nscd/grpcache.c (cache_addgr): Likewise.
9696 * nscd/hstcache.c (cache_addhst): Likewise.
9697 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9698 * nscd/pwdcache.c (cache_addpw): Likewise.
9699 * nscd/servicescache.c (cache_addserv): Likewise.
9700
400aa020
UD
97012012-01-16 Ulrich Drepper <drepper@gmail.com>
9702
d77e7869
UD
9703 * malloc/malloc.c: Various cleanups.
9704 * malloc/hooks.c: Likewise.
9705
400aa020
UD
9706 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9707 * stdlib/bug-fmtmsg1.c: New file.
9708
9709 * stdlib/fmtmsg.c (init): Add missing unlock.
9710 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9711
e0a309cf
MP
97122012-01-12 Marek Polacek <polacek@redhat.com>
9713
9714 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9715 and _GNU_SOURCE.
9716
929d11c7
WS
97172012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9718
9719 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9720 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9721 macro to ensure uniqueness of label name.
9722 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9723 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9724
41d0e869
UD
97252012-01-11 Ulrich Drepper <drepper@gmail.com>
9726
0cc5ed3b
UD
9727 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9728
41d0e869
UD
9729 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9730 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9731 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9732 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9733
a47a831a
UD
97342012-01-10 Ulrich Drepper <drepper@gmail.com>
9735
daa891c0
UD
9736 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9737
9738 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9739 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9740 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9741
e58ef0f2
UD
9742 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9743
a47a831a 9744 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9745 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9746 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9747 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9748
9749 * math/bits/math-finite.h: Add ldexp support.
9750
a0bfc9c7
MP
97512012-01-10 Marek Polacek <polacek@redhat.com>
9752
9753 * locale/programs/localedef.h (show_archive_content): Add noreturn
9754 attribute.
9755
d6e97a1d
UD
97562012-01-09 Ulrich Drepper <drepper@gmail.com>
9757
9758 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9759
d5835c26
UD
97602012-01-08 Ulrich Drepper <drepper@gmail.com>
9761
e5f484c6
UD
9762 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9763
d5835c26
UD
9764 * io/Makefile (headers): Add bits/poll2.h.
9765
d1f741e9
WS
97662011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9767
9768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9769 typo #include statement.
9770
ec09c1c4
UD
97712012-01-08 Ulrich Drepper <drepper@gmail.com>
9772
9773 * include/sys/cdefs.h: Define __attribute_alloc_size.
9774 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9775 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9776 * elf/pldd.c: Likewise.
9777 * iconv/iconv_charmap.c: Likewise.
9778 * iconv/iconvconfig.c: Likewise.
9779 * iconv/strtab.c: Likewise.
9780 * locale/programs/locale.c: Likewise.
9781 * locale/programs/localedef.h: Likewise.
9782 * locale/programs/simple-hash.c: Likewise.
9783 * nscd/nscd.h: Likewise.
9784 * nss/makedb.c: Likewise.
9785 * sysdeps/generic/ldconfig.h: Likewise.
9786 * locale/programs/localedef.c: Remove xmalloc prototype.
9787 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9788
20b38e03
PP
97892012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9790
9791 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9792 appropriate.
9793
a0da5fe1
UD
97942012-01-08 Ulrich Drepper <drepper@gmail.com>
9795
1d5a644a 9796 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9797 * math/tst-CMPLX.c: New file.
1d5a644a 9798
8784a6db
UD
9799 * math/complex.h (CMPLXL): Fix typo.
9800
d9a216c0
UD
9801 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9802 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9803 GLIBC_2.16.
9804 * debug/tst-chk1.c: Add poll and ppoll tests.
9805 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9806 * include/sys/poll.h: Add hidden proto for ppoll.
9807 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9808 * sysdeps/mach/hurd/ppoll.c: Likewise.
9809 * io/ppoll.c: Likewise.
9810 * debug/poll_chk.c: New file.
9811 * debug/ppoll_chk.c: New file.
9812 * include/bits/poll2.h: New file.
9813 * io/bits/poll2.h: New file.
9814
ac097f5c
UD
9815 [BZ #1350]
9816 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9817
2119dcfa
UD
9818 * configure.in: static is always set to yes. Remove.
9819 * config.make.in: Don't set build-static.
9820 * Makeconfig: Remove use of build-static.
9821 * dlfcn/Makefile: Likewise.
9822 * elf/Makefile: Likewise.
9823 * math/Makefile: Likewise.
9824 * misc/Makefile: Likewise.
9825 * nptl/Makefile: Likewise.
9826 * sysdeps/mach/hurd/Makefile: Likewise.
9827
121766a9
UD
9828 * configure.in: PWD_P is not used anymore.
9829 * config.make.in: Remove PWD_P entry.
9830
51a1d39c 9831 * configure.in: Remove last remnants of RANLIB.
8720d066 9832 No need to check for signed size_t anymore.
215f4bdc
UD
9833 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9834 and IA-64.
3857022a 9835 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9836 * aclocal.m4: Likewise.
9837
d3ed7225
UD
9838 * wcsmbs/mbrtoc16.c: Implement using towc function.
9839 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9840 * wcsmbs/wcsmbsload.c: Likewise.
9841 * iconv/gconv_simple.c: Likewise.
9842 * iconv/gconv_int.h: Likewise.
9843 * iconv/gconv_builtin.h: Likewise.
9844 * iconv/iconv_prog.c: Remove CHAR16 handling.
9845
9846 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9847
9848 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9849
a0da5fe1
UD
9850 * configure.in: Remove --with-elf and --enable-bounded options.
9851 Dont set base_machine for ia64. More non-ELF conditions removed.
9852 Remove testing and setting of leading underscore information.
9853 * config.make.in (build-bounded): Set to no.
9854 * config.h.in: Remove NO_UNDERSCORES entry.
9855 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9856 them.
9857 * csu/start.c: Remove !NO_UNDERSCORE code.
9858 * locale/localeinfo.h: Likewise.
9859 * sysdeps/generic/machine-gmon.h: Likewise.
9860 * sysdeps/generic/sysdep.h: Likewise.
9861 * sysdeps/i386/sysdep.h: Likewise.
9862 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9863 * sysdeps/mach/sysdep.h: Likewise.
9864 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9865 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9866 * sysdeps/sh/sysdep.h: Likewise.
9867 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9868 * sysdeps/unix/i386/sysdep.S: Likewise.
9869 * sysdeps/unix/sparc/start.c: Likewise.
9870 * sysdeps/unix/sparc/sysdep.S: Likewise.
9871 * sysdeps/unix/sparc/sysdep.h: Likewise.
9872 * sysdeps/unix/start.c: Likewise.
9873 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9874 * sysdeps/x86_64/sysdep.h: Likewise.
9875
df78418a
UD
98762012-01-07 Ulrich Drepper <drepper@gmail.com>
9877
a784e502
UD
9878 [BZ #13553]
9879 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9880 for non-gcc.
9881 * argp/argp-fmtstream.h: Use const instead __const.
9882 * argp/argp.h: Likewise.
9883 * assert/assert.h: Likewise.
9884 * bits/fenv.h: Likewise.
9885 * bits/sched.h: Likewise.
9886 * bits/sigset.h: Likewise.
9887 * bits/sigthread.h: Likewise.
9888 * catgets/nl_types.h: Likewise.
9889 * conform/data/pthread.h-data: Likewise.
9890 * crypt/crypt-private.h: Likewise.
9891 * crypt/crypt.h: Likewise.
9892 * crypt/crypt_util.c: Likewise.
9893 * ctype/ctype.h: Likewise.
9894 * debug/execinfo.h: Likewise.
9895 * debug/mbsnrtowcs_chk.c: Likewise.
9896 * debug/mbsrtowcs_chk.c: Likewise.
9897 * debug/wcsnrtombs_chk.c: Likewise.
9898 * debug/wcsrtombs_chk.c: Likewise.
9899 * debug/wcstombs_chk.c: Likewise.
9900 * dirent/dirent.h: Likewise.
9901 * dlfcn/dlfcn.h: Likewise.
9902 * elf/neededtest4.c: Likewise.
9903 * grp/grp.h: Likewise.
9904 * gshadow/gshadow.h: Likewise.
9905 * iconv/gconv.h: Likewise.
9906 * iconv/gconv_int.h: Likewise.
9907 * iconv/gconv_simple.c: Likewise.
9908 * iconv/iconv.h: Likewise.
9909 * iconv/loop.c: Likewise.
9910 * iconv/skeleton.c: Likewise.
9911 * include/aio.h: Likewise.
9912 * include/aliases.h: Likewise.
9913 * include/argz.h: Likewise.
9914 * include/arpa/inet.h: Likewise.
9915 * include/assert.h: Likewise.
9916 * include/dirent.h: Likewise.
9917 * include/dlfcn.h: Likewise.
9918 * include/execinfo.h: Likewise.
9919 * include/fcntl.h: Likewise.
9920 * include/fenv.h: Likewise.
9921 * include/glob.h: Likewise.
9922 * include/grp.h: Likewise.
9923 * include/libintl.h: Likewise.
9924 * include/mntent.h: Likewise.
9925 * include/netdb.h: Likewise.
9926 * include/pwd.h: Likewise.
9927 * include/rpc/netdb.h: Likewise.
9928 * include/sched.h: Likewise.
9929 * include/search.h: Likewise.
9930 * include/shadow.h: Likewise.
9931 * include/signal.h: Likewise.
9932 * include/stdio.h: Likewise.
9933 * include/stdlib.h: Likewise.
9934 * include/string.h: Likewise.
9935 * include/sys/socket.h: Likewise.
9936 * include/sys/stat.h: Likewise.
9937 * include/sys/statfs.h: Likewise.
9938 * include/sys/statvfs.h: Likewise.
9939 * include/sys/syslog.h: Likewise.
9940 * include/sys/time.h: Likewise.
9941 * include/sys/uio.h: Likewise.
9942 * include/time.h: Likewise.
9943 * include/unistd.h: Likewise.
9944 * include/utmp.h: Likewise.
9945 * include/wchar.h: Likewise.
9946 * include/wctype.h: Likewise.
9947 * inet/aliases.h: Likewise.
9948 * inet/arpa/inet.h: Likewise.
9949 * inet/netinet/ether.h: Likewise.
9950 * inet/netinet/in.h: Likewise.
9951 * intl/libintl.h: Likewise.
9952 * io/bits/fcntl2.h: Likewise.
9953 * io/fcntl.h: Likewise.
9954 * io/ftw.h: Likewise.
9955 * io/sys/poll.h: Likewise.
9956 * io/sys/stat.h: Likewise.
9957 * io/sys/statfs.h: Likewise.
9958 * io/sys/statvfs.h: Likewise.
9959 * io/utime.h: Likewise.
9960 * libio/bits/stdio.h: Likewise.
9961 * libio/bits/stdio2.h: Likewise.
9962 * libio/libio.h: Likewise.
9963 * libio/libioP.h: Likewise.
9964 * libio/stdio.h: Likewise.
9965 * locale/lc-ctype.c: Likewise.
9966 * locale/locale.h: Likewise.
9967 * login/utmp.h: Likewise.
9968 * malloc/arena.c: Likewise.
9969 * malloc/malloc.c: Likewise.
9970 * malloc/malloc.h: Likewise.
9971 * malloc/mcheck.c: Likewise.
9972 * malloc/mtrace.c: Likewise.
9973 * math/bits/mathcalls.h: Likewise.
9974 * math/fenv.h: Likewise.
9975 * math/math_private.h: Likewise.
9976 * misc/bits/error.h: Likewise.
9977 * misc/bits/syslog.h: Likewise.
9978 * misc/err.h: Likewise.
9979 * misc/error.h: Likewise.
9980 * misc/fstab.h: Likewise.
9981 * misc/mntent.h: Likewise.
9982 * misc/regexp.h: Likewise.
9983 * misc/search.h: Likewise.
9984 * misc/sgtty.h: Likewise.
9985 * misc/sys/mman.h: Likewise.
9986 * misc/sys/syslog.h: Likewise.
9987 * misc/sys/uio.h: Likewise.
9988 * misc/sys/xattr.h: Likewise.
9989 * misc/ttyent.h: Likewise.
9990 * nis/rpcsvc/ypclnt.h: Likewise.
9991 * nss/nss.h: Likewise.
9992 * posix/bits/unistd.h: Likewise.
9993 * posix/fnmatch.h: Likewise.
9994 * posix/glob.h: Likewise.
9995 * posix/sched.h: Likewise.
9996 * posix/spawn.h: Likewise.
9997 * posix/sys/wait.h: Likewise.
9998 * posix/unistd.h: Likewise.
9999 * posix/wordexp.h: Likewise.
10000 * pwd/pwd.h: Likewise.
10001 * resolv/netdb.h: Likewise.
10002 * resource/sys/resource.h: Likewise.
10003 * rt/aio.h: Likewise.
10004 * rt/bits/mqueue2.h: Likewise.
10005 * rt/mqueue.h: Likewise.
10006 * shadow/shadow.h: Likewise.
10007 * signal/signal.h: Likewise.
10008 * socket/send.c: Likewise.
10009 * socket/sendto.c: Likewise.
10010 * socket/sys/socket.h: Likewise.
10011 * stdio-common/printf.h: Likewise.
10012 * stdlib/bits/stdlib.h: Likewise.
10013 * stdlib/fmtmsg.h: Likewise.
10014 * stdlib/monetary.h: Likewise.
10015 * stdlib/stdlib.h: Likewise.
10016 * stdlib/ucontext.h: Likewise.
10017 * streams/stropts.h: Likewise.
10018 * string/argz.h: Likewise.
10019 * string/bits/string2.h: Likewise.
10020 * string/string.h: Likewise.
10021 * string/strings.h: Likewise.
10022 * sunrpc/rpc/auth.h: Likewise.
10023 * sunrpc/rpc/auth_des.h: Likewise.
10024 * sunrpc/rpc/clnt.h: Likewise.
10025 * sunrpc/rpc/netdb.h: Likewise.
10026 * sunrpc/rpc/pmap_clnt.h: Likewise.
10027 * sunrpc/rpc/xdr.h: Likewise.
10028 * sysdeps/generic/inttypes.h: Likewise.
10029 * sysdeps/generic/net/if.h: Likewise.
10030 * sysdeps/generic/sys/swap.h: Likewise.
10031 * sysdeps/gnu/net/if.h: Likewise.
10032 * sysdeps/gnu/utmpx.h: Likewise.
10033 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10034 * sysdeps/i386/i486/bits/string.h: Likewise.
10035 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10036 * sysdeps/s390/bits/string.h: Likewise.
10037 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10038 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10039 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10040 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10041 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10042 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10043 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10044 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10045 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10046 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10047 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10048 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10049 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10050 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10051 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10052 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10053 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10054 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10055 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10056 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10057 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10058 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10059 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10060 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10061 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10062 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10063 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10064 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10065 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10066 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10067 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10068 * sysvipc/sys/ipc.h: Likewise.
10069 * sysvipc/sys/msg.h: Likewise.
10070 * sysvipc/sys/sem.h: Likewise.
10071 * sysvipc/sys/shm.h: Likewise.
10072 * termios/termios.h: Likewise.
10073 * time/sys/time.h: Likewise.
10074 * time/time.h: Likewise.
10075 * wcsmbs/bits/wchar2.h: Likewise.
10076 * wcsmbs/uchar.h: Likewise.
10077 * wcsmbs/wchar.h: Likewise.
10078 * wctype/wctype.h: Likewise.
10079
0269750c
UD
10080 [BZ #13551]
10081 * Makeconfig: Remove all but ELF support including AIX support.
10082 * Makerules: Likewise.
10083 * config.h.in: Likewise.
10084 * config.make.in: Likewise.
10085 * configure: Likewise.
10086 * configure.in: Likewise.
10087 * csu/Makefile: Likewise.
10088 * csu/version.c: Likewise.
10089 * debug/Makefile: Likewise.
10090 * dlfcn/Makefile: Likewise.
10091 * elf/Makefile: Likewise.
10092 * extra-lib.mk: Likewise.
10093 * iconv/Makefile: Likewise.
10094 * include/libc-symbols.h: Likewise.
10095 * include/shlib-compat.h: Likewise.
10096 * resolv/Makefile: Likewise.
10097 * resolv/res_libc.c: Likewise.
10098 * rt/Makefile: Likewise.
10099 * sysdeps/i386/asm-syntax.h: Likewise.
10100 * sysdeps/i386/sysdep.h: Likewise.
10101 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10102 * sysdeps/mach/sysdep.h: Likewise.
10103 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10104 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10105 * sysdeps/s390/asm-syntax.h: Likewise.
10106 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10107 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10108 * sysdeps/sh/sysdep.h: Likewise.
10109 * sysdeps/unix/sparc/sysdep.h: Likewise.
10110 * sysdeps/wordsize-32/divdi3.c: Likewise.
10111 * sysdeps/x86_64/sysdep.h: Likewise.
10112
00bbd29b
UD
10113 * argp/Versions: Remove _argp_unlock_xxx.
10114
10115 [BZ #13559]
10116 * abilist/ld.abilist: Update. Adjust for removal of tls option.
10117 * abilist/libBrokenLocale.abilist: Likewise.
10118 * abilist/libanl.abilist: Likewise.
10119 * abilist/libc.abilist: Likewise.
10120 * abilist/libcrypt.abilist: Likewise.
10121 * abilist/libdl.abilist: Likewise.
10122 * abilist/libm.abilist: Likewise.
10123 * abilist/libnsl.abilist: Likewise.
10124 * abilist/libpthread.abilist: Likewise.
10125 * abilist/libresolv.abilist: Likewise.
10126 * abilist/librt.abilist: Likewise.
10127 * abilist/libthread_db.abilist: Likewise.
10128 * abilist/libutil.abilist: Likewise.
10129 * abilist/libnss_db.abilist: New file.
10130
10131 * scripts/abilist.awk: Add support for indirect functions.
10132
a2693a0e
UD
10133 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10134
3f05895f
UD
10135 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10136
ecb6fb48
UD
10137 * shlib-versions: Remove entries for ports architectures.
10138
664f8cb9
UD
10139 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10140 files in ports.
10141 * elf/stackguard-macros.h: Remove support for IA-64.
10142 * elf/tst-auditmod1.c: Likewise.
10143 * sysdeps/generic/ldsodefs.h: Likewise.
10144
7ae81d88
UD
10145 * sysdeps/unix/sysv/linux/configure.in: Ports should define
10146 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10147 configure files.
10148
bdeba135
UD
10149 [BZ #13552]
10150 * configure.in: Remove --enable-omitfp support.
10151 * FAQ.in: Adjust.
10152 * config.make.in: Likewise.
10153 * Makeconfig: Likewise.
10154 * manual/install.texi: Likewise.
10155
d75a0a62
UD
10156 In case anyone cares, the IA-64 architecture could move to ports.
10157 * sysdeps/ia64/*: Removed.
10158 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 10159 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 10160
dcc9756b
UD
10161 [BZ #13555]
10162 * configure.in: Remove entries for unsupported architectures.
10163
d3761ebc 10164 [BZ #13533]
9954432e
UD
10165 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10166 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
10167 routines.
10168 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10169 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10170 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
10171 fall back to using wcrtomb.
10172 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10173 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
10174 renaming.
10175 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10176 * wcsmbs/tst-c16c32-1.c: New file.
10177
10178 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10179 local variable.
10180
c3a87236
UD
10181 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10182
28926a1b
UD
10183 * elf/tst-unique3.cc: Add explicit declaration of gets.
10184 * elf/tst-unique3lib.cc: Likewise.
10185 * elf/tst-unique3lib2.cc: Likewise.
10186 * elf/tst-unique4.cc: Likewise.
10187
df78418a
UD
10188 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10189
8ecd6b2a
JM
101902012-01-06 Joseph Myers <joseph@codesourcery.com>
10191
10192 [BZ #13566]
10193 * assert/assert.h (static_assert): Don't define for C++.
10194 * libio/stdio.h (gets): Do declare for C++ <= C++11.
10195 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10196
9f115170
UD
101972012-01-03 Ulrich Drepper <drepper@gmail.com>
10198
5e0d0300
UD
10199 * iconv/loop.c (single loop): Fix assertion in storing of
10200 remaining bytes.
10201
9f115170
UD
10202 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10203
81fb02b0
UD
102042012-01-01 Ulrich Drepper <drepper@gmail.com>
10205
10206 * posix/getconf.c: Update copyright year.
10207 * nss/getent.c: Likewise.
a316c1f6 10208 * nss/makedb.c: Likewise.
81fb02b0
UD
10209 * iconv/iconvconfig.c: Likewise.
10210 * iconv/iconv_prog.c: Likewise.
10211 * elf/ldconfig.c: Likewise.
a316c1f6
UD
10212 * elf/pldd.c: Likewise.
10213 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
10214 * catgets/gencat.c: Likewise.
10215 * csu/version.c: Likewise.
10216 * elf/ldd.bash.in: Likewise.
10217 * elf/sprof.c (print_version): Likewise.
10218 * locale/programs/locale.c: Likewise.
10219 * locale/programs/localedef.c: Likewise.
a316c1f6 10220 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
10221 * nscd/nscd.c (print_version): Likewise.
10222 * debug/xtrace.sh: Likewise.
10223 * malloc/memusage.sh: Likewise.
10224 * malloc/mtrace.pl: Likewise.
10225 * debug/catchsegv.sh: Likewise.
10226
2ba92745
JJ
102272011-12-30 Jakub Jelinek <jakub@redhat.com>
10228
10229 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10230 pure attribute.
10231
dadebdae
UD
102322011-12-24 Ulrich Drepper <drepper@gmail.com>
10233
d3761ebc 10234 [BZ #13533]
db6af3eb
UD
10235 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10236 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10237 transformations.
10238 * iconv/gconv_int.h: Likewise.
10239 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10240 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10241 from libc for GLIBC_2.16.
10242 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10243 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10244 * wcsmbs/uchar.h: Really define mbstate_t.
10245 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10246 * wcsmbs/c16rtomb.c: New file.
10247 * wcsmbs/mbrtoc16.c: New file.
10248 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10249 for C/POSIX locale.
10250 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10251 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10252
dadebdae
UD
10253 * wcsmbs/wchar.h: Add missing __restrict.
10254
67371b56
UD
102552011-12-23 Ulrich Drepper <drepper@gmail.com>
10256
74033a25
UD
10257 [BZ #13532]
10258 * time/Makefile (routines): Add timespec_get.
10259 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10260 * time/time.h: Define TIME_UTC and declare timespec_get. Define
10261 timespec for ISO C11.
10262 * time/timespec_get.c: New file.
10263 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10264 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10265
380d7e87
UD
10266 [BZ #13531]
10267 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10268 * stdlib/stdlib.h: Declare aligned_alloc.
10269 * Versions.def: Add GLIBC_2.16 for libc.
10270 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10271
4e9e7a35
UD
10272 [BZ 13527]
10273 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10274 ISO C11.
10275
380d7e87 10276 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
10277 code.
10278
03a71829
UD
10279 [BZ #13528]
10280 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10281
839e283e
UD
10282 [BZ #13529]
10283 * assert/assert.h (static_assert): Define.
10284
ce5294e2 10285 * version.h: Update for 2.16 development version.
90fa7312 10286
8d44e150 10287 [BZ #13526]
d7809905
UD
10288 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10289 _ISOC11_SOURCE.
10290
c0da14cd
UD
10291 * version.h (RELEASE): Bump for 2.15 release.
10292 * include/features.h (__GLIBC_MINOR__): Bump to 15.
10293
530a3249
MP
10294 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10295 Patch by Marek Polacek <mpolacek@redhat.com>.
10296
67371b56
UD
10297 * bits/byteswap.h: Protect long long constants with __extension__.
10298 * sysdeps/i386/bits/byteswap.h: Likewise.
10299 * sysdeps/ia64/bits/byteswap.h: Likewise.
10300 * sysdeps/s390/bits/byteswap.h: Likewise.
10301 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10302
15db4de1
LD
103032011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10304
10305 [BZ #13540]
bbe315ea
LD
10306 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
10307 destination buffer.
15db4de1
LD
10308 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10309
2b2596b1
MP
103102011-12-23 Marek Polacek <polacek@redhat.com>
10311
10312 * elf/dl-addr.c (determine_info): Add inline keyword.
10313 * elf/tst-auditmod4b.c (check_avx): Likewise.
10314 * elf/tst-auditmod6b.c (check_avx): Likewise.
10315 * elf/tst-auditmod6c.c (check_avx): Likewise.
10316 * elf/tst-auditmod7b.c (check_avx): Likewise.
10317
70c6c246
UD
103182011-12-23 Ulrich Drepper <drepper@gmail.com>
10319
10320 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10321 !__SSE_MATH__.
10322
c044cf14
LD
103232011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10324
15db4de1 10325 [BZ #13540]
c044cf14
LD
10326 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
10327 processing for last bytes.
10328
6b13d9d9
BH
103292011-08-06 Bruno Haible <bruno@clisp.org>
10330
d455f537
BH
10331 [BZ #13061]
10332 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10333 U+0385, not to U+1FEE.
10334
6b13d9d9
BH
10335 [BZ #13062]
10336 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10337 entry for U+00A5 U+0301.
10338
db910efd
UD
103392011-12-22 Ulrich Drepper <drepper@gmail.com>
10340
27deeafc
UD
10341 [BZ #13166]
10342 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10343 buffer for the output is too small.
10344
aed9d171
UD
10345 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10346 optimization.
10347
db910efd
UD
10348 [BZ #13185]
10349 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10350 SSE flags if possible.
10351
2bd779ae
LD
103522011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10353
e7f9dac3 10354 [BZ #13540]
2bd779ae
LD
10355 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10356 processing for last bytes.
10357
154bfc16
JM
103582011-12-22 Joseph Myers <joseph@codesourcery.com>
10359
10360 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10361 (syscall-list-default-options, syscall-list-default-condition)
10362 (syscall-list-includes): Define.
10363 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10364 list of ABIs and options and #if conditions for each ABI. Do not
10365 handle common syscalls between ABIs specially.
10366 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10367 Remove.
10368 (syscall-list-variants, syscall-list-32bit-options)
10369 (syscall-list-32bit-condition, syscall-list-64bit-options)
10370 (syscall-list-64bit-condition): Define.
10371 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10372 (syscall-list-variants, syscall-list-32bit-options)
10373 (syscall-list-32bit-condition, syscall-list-64bit-options)
10374 (syscall-list-64bit-condition): Define.
10375 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10376 Remove.
10377 (syscall-list-variants, syscall-list-32bit-options)
10378 (syscall-list-32bit-condition, syscall-list-64bit-options)
10379 (syscall-list-64bit-condition): Define.
10380 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10381 Remove.
10382 (syscall-list-variants, syscall-list-32bit-options)
10383 (syscall-list-32bit-condition, syscall-list-64bit-options)
10384 (syscall-list-64bit-condition): Define.
10385
21eaf3a5
UD
103862011-12-22 Ulrich Drepper <drepper@gmail.com>
10387
16c6f992
UD
10388 * locale/iso-639.def: Add brx entry.
10389
41043168
UD
10390 [BZ #13328]
10391 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10392 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10393
21eaf3a5
UD
10394 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10395 __feraiseexcept_renamed.
10396
e3a851a2
UD
103972011-12-21 Ulrich Drepper <drepper@gmail.com>
10398
4920765e
UD
10399 [BZ #13538]
10400 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10401 EPOLLET with unsigned values.
10402 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10403 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10404
e3a851a2
UD
10405 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10406 to large cancellation.
10407 * math/s_cacoshf.c: Likewise.
10408 * math/s_cacoshl.c: Likewise.
10409
b27e24b8
RK
104102011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10411
10412 [BZ #13305]
aebefeee 10413 [BZ #12786]
b27e24b8
RK
10414 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10415 * math/s_cacoshf.c: Likewise.
10416 * math/s_cacoshl.c: Likewise.
10417
ee190f67
UD
104182011-12-21 Ulrich Drepper <drepper@gmail.com>
10419
10420 [BZ #13439]
10421 * iconv/gconv.h: Define __GCONV_SWAP.
10422 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10423 * iconvdata/utf-16.c: Likewise.
10424 * iconvdata/utf-32.c: Likewise.
10425
707f25df
AS
104262011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10427
10428 [BZ #13524]
10429 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10430 numerator after shifting it by one limb.
10431
d2daaa1e
RÁE
104322011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10433
10434 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10435 under [__USE_EXTERN_INLINES].
10436
a4647e72
UD
104372011-12-17 Ulrich Drepper <drepper@gmail.com>
10438
10439 [BZ #13446]
10440 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10441
f0b264f1
AZ
104422011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10443
10444 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10445 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10446 optimized code.
10447 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10448 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10449 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10450 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10451 for strncasecmp/strncasecmp_l compilation.
10452 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10453 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10454
8ef4f244
MP
104552011-12-08 Marek Polacek <mpolacek@redhat.com>
10456
10457 [BZ #13484]
10458 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10459 of __asm__.
10460
97ac2654
UD
104612011-12-17 Ulrich Drepper <drepper@gmail.com>
10462
10463 [BZ #13506]
10464 * time/tzfile.c (__tzfile_read): Check values from file header.
10465
91d2a845
WS
104662011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10467
10468 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10469 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10470 * powerpc/powerpc32/dl-start.S: Likewise.
10471 * powerpc/powerpc32/elf/start.S: Likewise.
10472 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10473 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10474 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10475 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10476 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10477 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10478 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10479 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10480 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10481 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10482 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10483 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10484 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10485 * powerpc/powerpc32/memset.S: Likewise.
10486 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10487 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10488 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10489 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10490 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10491 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10492 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10493 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10494 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10495 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10496 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10497 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10498 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10499
a1267ba1
AZ
105002011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10501
10502 * math/libm-test.inc: Added more nearbyint tests.
10503 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10504 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10505 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10506 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10507
ad8ac1bd
RL
105082011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10509
10510 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10511 FD_CLOEXEC.
10512
1d3e4b61
UD
105132011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10514
10515 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10516 Add wcscpy-ssse3 wcscpy-c.
10517 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10518 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10519 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10520 * sysdeps/x86_64/wcschr.S: New file.
10521 * sysdeps/x86_64/wcsrchr.S: New file.
10522 * string/test-strcmp.c: Remove checking of wcscmp function for
10523 wrong alignments.
10524 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10525 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10526 wcsrchr-sse2 wcsrchr-c.
10527 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10528 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10529 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10530 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10531 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10532 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10533 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10534 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10535 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10536 * wcsmbc/wcschr.c (WCSCHR): New macro.
10537
5b330a2d
UD
105382011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10539
10540 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10541 * wcsmbs/test-wcsrchr.c: New file.
10542 * string/test-strrchr.c: Add wcsrchr support.
10543 (WIDE): New macro.
10544 * wcsmbs/test-wcscpy.c: New file.
10545 * string/test-strcpy.c: Add wcscpy support.
10546 (WIDE): New macro.
26428b7c 10547
f039c043
UD
105482011-12-10 Ulrich Drepper <drepper@gmail.com>
10549
10550 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10551 the inner loop.
10552
850fb039
AS
105532011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10554
10555 [BZ #13472]
10556 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10557
4efbd5cb
UD
105582011-12-04 Ulrich Drepper <drepper@gmail.com>
10559
52ff5dd0 10560 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 10561 Minor optimizations.
52ff5dd0 10562
4efbd5cb
UD
10563 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10564 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10565 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10566
8a426e12
UD
105672011-12-03 Ulrich Drepper <drepper@gmail.com>
10568
aff2453d
UD
10569 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10570 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10571 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10572 for gcc to avoid warnings.
10573 * inet/Makefile (tests): Add tst-checks.
10574 * inet/tst-checks.c: New file.
10575
10576 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10577 warning.
10578
10579 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10580 __wmemcmp_sse2.
10581
10582 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10583 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10584
8a426e12
UD
10585 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10586
9bea3473
UD
105872011-12-02 Ulrich Drepper <drepper@gmail.com>
10588
3a965496
UD
10589 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10590 problem.
10591
9bea3473
UD
10592 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10593
f101631b
UD
105942011-11-29 Joseph Myers <joseph@codesourcery.com>
10595
10596 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10597 conditional on GCC version.
10598 (__arch_compare_and_exchange_val_8_acq)
10599 (__arch_compare_and_exchange_val_16_acq)
10600 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10601 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10602 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10603
a98275aa
UD
106042011-12-02 Joseph Myers <joseph@codesourcery.com>
10605
10606 * sysdeps/sh/backtrace.c: New file.
10607
d4cc29a2
AS
106082011-12-02 Andreas Schwab <schwab@redhat.com>
10609
10610 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10611 parenthesis.
10612
6257af2d
AS
106132011-12-01 Andreas Schwab <schwab@redhat.com>
10614
10615 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10616 falling back to utime.
10617
b5f44c1a
AS
106182011-11-30 Andreas Schwab <schwab@redhat.com>
10619
10620 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10621 expectations for float.
10622
f3a6cc0a
AS
106232011-11-29 Andreas Schwab <schwab@redhat.com>
10624
10625 * locale/weight.h (findidx): Add parameter len.
10626 * locale/weightwc.h (findidx): Likewise.
10627 * posix/fnmatch_loop.c (FCT): Adjust caller.
10628 * posix/regcomp.c (build_equiv_class): Likewise.
10629 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10630 * posix/regexec.c (check_node_accept_bytes): Likewise.
10631 * string/strcoll_l.c (STRCOLL): Likewise.
10632 * string/strxfrm_l.c (STRXFRM): Likewise.
10633
9d65ea3a
UD
106342011-11-17 Ulrich Drepper <drepper@gmail.com>
10635
10636 * Makefile.in: Remove CVSOPT handling.
10637 * configure.in: Remove use of AC_REVISION.
10638 * iconvdata/Makefile (distribute): No need to filter out CVS.
10639 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10640 handling.
10641
5583a086
AS
106422011-11-16 Andreas Schwab <schwab@redhat.com>
10643
10644 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10645 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10646 [USE_AS_STRNCASECMP_L]: Likewise.
10647 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10648 NO_TLS_DIRECT_SEG_REFS.
10649 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10650 Fix argument offsets for non-PIC.
10651 [USE_AS_STRNCASECMP_L]: Likewise.
10652 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10653 NO_TLS_DIRECT_SEG_REFS.
10654
d62a8200
UD
106552011-11-15 Ulrich Drepper <drepper@gmail.com>
10656
9d65ea3a 10657 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
10658 O_CLOEXEC.
10659 * locale/loadlocale.c (_nl_load_locale): Likewise.
10660
09f93bd3
AS
106612011-11-15 Andreas Schwab <schwab@redhat.com>
10662
446514f9
AS
10663 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10664 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10665 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10666 (SYSCALL_GETTIME): Set errno on error.
10667
09f93bd3
AS
10668 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10669 count references to noai6ai_cached.
10670
312be3f9
UD
106712011-11-15 Ulrich Drepper <drepper@gmail.com>
10672
10673 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10674
10675 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10676 FD_CLOEXEC for /proc/self/maps.
10677
10678 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10679 FD_CLOEXEC for /proc/meminfo.
10680
10681 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10682 gai.conf.
10683
10684 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10685 FD_CLOEXEC for given file.
10686
10687 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10688
10689 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10690 FD_CLOEXEC for /etc/hosts.
10691 (_gethtent): Likewise.
10692
10693 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10694
10695 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10696 cancellation and set FD_CLOEXEC for /etc/netgroup.
10697
10698 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10699 reading /etc/publickey.
10700
10701 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10702 allow cancellation when reading /etc/group.
10703
10704 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10705 cancellation.
10706 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10707
10708 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10709 when using data file.
10710
10711 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10712
10713 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10714 (write_nis_obj): Use "c" and "e" in fopen.
10715
10716 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10717
10718 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10719
10720 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10721
10722 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10723
10724 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10725 locale.alias.
10726
10727 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10728
10729 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10730
10731 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10732
10733 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10734 file parsing and set FD_CLOEXEC.
10735
82af0fa8
UD
107362011-11-14 Ulrich Drepper <drepper@gmail.com>
10737
10738 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10739
a5fb313c
AS
107402011-11-14 Andreas Schwab <schwab@redhat.com>
10741
10742 * malloc/arena.c (arena_get2): Don't call reused_arena when
10743 _int_new_arena failed.
10744
6abf3465
UD
107452011-11-14 Ulrich Drepper <drepper@gmail.com>
10746
10747 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10748 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10749 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10750 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10751 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10752 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10753 to compile strcasecmp and strncasecmp.
10754 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10755 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10756
10757 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10758
76e3966e
UD
107592011-11-13 Ulrich Drepper <drepper@gmail.com>
10760
10761 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10762 locale-defines.sym to gen-as-const-headers.
10763 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10764 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10765 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10766 to compile strcasecmp and strncasecmp.
10767 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10768 strcasecmp_l and strncasecmp_l.
10769 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10770 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10771 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10772 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10773 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10774 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10775 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10776 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10777 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10778 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10779 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10780
ab26144e
UD
107812011-11-12 Ulrich Drepper <drepper@gmail.com>
10782
7edb22ef
UD
10783 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10784 result of SYSDEP_GETTIME_CPU to retval.
10785 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10786 parameter list to macro. Remove trailing semicolon. Adjust users.
10787
9694fc44
UD
10788 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10789 variable.
10790
8ad89ef8
UD
10791 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10792 mantissa words.
10793 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10794
0c822ef9
UD
10795 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10796 from unused variable.
10797
874e0564
UD
10798 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10799 DWARF definitions.
10800 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10801 for assembling.
10802
3a2edc79
UD
10803 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10804 over namespaces.
10805
f3c2577f
UD
10806 * sunrpc/rpc_prot.c (rejected): Fix case value.
10807
294ce126
UD
10808 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10809 unsigned long long int to avoid warnings in shift.
10810
5e2b63c6
UD
10811 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10812 of use of trans.
10813 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10814 variable tmp.
10815
e7f4b08e
UD
10816 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10817 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10818 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10819
ab26144e
UD
10820 * nis/nis_table.c (nis_list): Use variable of correct type for
10821 result of __follow_path call.
10822
8a6d5255
AZ
108232011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10824
10825 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10826 of math functions ceil, trunc, floor, round, and sqrt, when
10827 avaliable on the platform.
10828 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10829 name clash.
10830 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10831 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10832 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10833
aaddc98c
MP
108342011-10-30 Marek Polacek <mpolacek@redhat.com>
10835
10836 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10837 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10838
95b7042b
RM
108392011-11-11 Roland McGrath <roland@hack.frob.com>
10840
10841 * include/unistd.h: Fix __readlink return type.
10842 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10843
57769839
UD
108442011-11-11 Ulrich Drepper <drepper@gmail.com>
10845
10846 * stdlib/ucontext.h: Undo last change for makecontext.
10847
edc5984d
AS
108482011-11-11 Andreas Schwab <schwab@redhat.com>
10849
98591e58
AS
10850 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10851
edc5984d
AS
10852 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10853 * setjmp/setjmp.h: Mark functions as non-leaf.
10854 * setjmp/bits/setjmp2.h: Likewise.
10855 * stdlib/ucontext.h: Likewise.
10856
77cdc054
AS
108572011-11-10 Andreas Schwab <schwab@redhat.com>
10858
10859 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10860 (reused_arena): Don't check arena limit.
10861 (arena_get2): Atomically check arena limit.
10862
fe72eebd
UD
108632011-11-08 Ulrich Drepper <drepper@gmail.com>
10864
5f078c32
UD
10865 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10866 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10867
fe72eebd
UD
10868 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10869 instructions.
10870
ae1bc2fa
AS
108712011-11-07 Andreas Schwab <schwab@redhat.com>
10872
7583a88d
AS
10873 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10874 handler when locking.
10875
ae1bc2fa
AS
10876 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10877 Fix size of allocated buffer.
10878
10fb0bfa
AS
108792011-11-04 Andreas Schwab <schwab@redhat.com>
10880
998832a4
AS
10881 [BZ #10103]
10882 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10883 declarations for long double functions.
10884 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10885
10fb0bfa
AS
10886 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10887
3d7ba52b
AS
108882011-11-03 Andreas Schwab <schwab@redhat.com>
10889
a9ae54a1
AS
10890 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10891 installed.
10892
3d7ba52b
AS
10893 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10894 is disabled.
10895
bc8db248
ST
108962011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10897
10898 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10899
45b96dd6
AS
109002011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10901
647776f6
AS
10902 * include/alloca.h (stackinfo_alloca_round): Define.
10903 (extend_alloca): Use it.
10904 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10905 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10906 here.
10907
d91a8b93
AS
10908 * scripts/check-local-headers.sh: Ignore libaudit.h.
10909
45b96dd6
AS
10910 * nscd/Makefile (extra-objs): Make recursively expanded.
10911
432d41ce
UD
109122011-11-01 Ulrich Drepper <drepper@gmail.com>
10913
34372fc6
UD
10914 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10915 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10916
fadb59f8
UD
10917 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10918 * posix/tst-rfc3484-2.c: Likewise.
10919 * posix/tst-rfc3484-3.c: Likewise.
10920
78239589
UD
10921 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10922 process_vm_writev.
10923 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10924 process_vm_writev.
10925 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10926 process_vm_writev from libc using GLIBC_2.15 version.
10927
432d41ce
UD
10928 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10929
02f9c6cf
PP
109302011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10931
10932 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10933 stack usage.
10934
3a2c0242
UD
109352011-10-31 Ulrich Drepper <drepper@gmail.com>
10936
f4ec4833
UD
10937 [BZ #13367]
10938 * nss/getent.c (initgroups_keys): Show error message in case no group
10939 names are given.
10940
3a2c0242
UD
10941 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10942 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10943 __bump_nl_timestamp.
10944 * nscd/connections (nscd_init): When host database is served open
10945 netlink socket and request notification about configuration changes.
10946 (main_loop_poll): Track netlink file descriptor and bump timestamp
10947 in case data becomes available.
10948 (main_loop_epoll): Likewise.
10949 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10950 (database_pers_head): Add extra_data fileds.
10951 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10952 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10953 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10954 Adjust caller.
10955 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10956 in6ai data, call __free_in6ai.
10957 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10958 Add -DHAVE_NETLINK.
10959 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10960 interface information. Reuse previous data if netlink timestamp
10961 is not changed.
10962 (__bump_nl_timestamp): New function.
10963 (__free_in6ai): New function.
10964
636064eb
UD
109652011-10-30 Ulrich Drepper <drepper@gmail.com>
10966
10967 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10968 close_not_cancel_no_status here.
10969 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10970
9beb2334
UD
109712011-10-29 Ulrich Drepper <drepper@gmail.com>
10972
6ef76f3b
UD
10973 [BZ #13276]
10974 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10975 return value.
10976
0ffc4f3e 10977 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10978 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10979 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10980
cb95113e
UD
109812011-07-03 Andreas Jaeger <aj@suse.de>
10982
10983 [BZ #10709]
10984 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10985 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10986 * math/libm-test.inc (sin_test): Add test case.
10987
a1b560ff
UD
109882011-10-29 Ulrich Drepper <drepper@gmail.com>
10989
c9aaface
UD
10990 [BZ #13337]
10991 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10992 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10993
d272e7f1
UD
10994 * elf/chroot_canon.c (chroot_canon): Cleanups.
10995
1bc33071
UD
10996 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10997
1760874d
TJ
10998 [BZ #13335]
10999 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11000 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11001
51d91b18
UD
11002 * string/test-strchr.c: Make usable for strchrnul testing.
11003 * string/test-strchrnul.c: New file.
11004 * string/Makefile (strop-tests): Add strchrnul.
11005
a1b560ff 11006 * po/it.po: Update from translation team.
b611fb81 11007 * po/es.po: Likewise.
a1b560ff 11008
a5b81e1f
UD
110092011-10-28 Ulrich Drepper <drepper@gmail.com>
11010
fd52bc6d
UD
11011 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11012 the three constants needed as parameters. Drop the others.
11013 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11014 __m128i_strloadu_tolower.
52e4b9eb
UD
11015 Create and initialize variable zero and use it in all the places
11016 where _mm_setzero_si128 was used.
fd52bc6d 11017
a5b81e1f
UD
11018 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11019 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11020 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11021 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11022 anymore.
11023 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11024 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11025 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11026 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11027 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11028 __mpranred, __mptan.
11029 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11030 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11031 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11032 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11033 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11034 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11035 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11036 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11037 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11038
b4343346
AS
110392011-10-28 Andreas Schwab <schwab@redhat.com>
11040
0c92d8a8
AS
11041 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11042 redefine if SHARED.
11043 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11044
b4343346
AS
11045 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11046 wide char related routines to wcsmbs subdir.
11047
3871f58f
AS
110482011-10-27 Andreas Schwab <schwab@redhat.com>
11049
11050 [BZ #13344]
11051 * misc/sys/cdefs.h (__THROWNL): Define.
11052 * posix/unistd.h: Use __THREADNL instead of __THREAD
11053 for memory synchronization functions.
11054
94d44d9f
RM
110552011-10-26 Roland McGrath <roland@hack.frob.com>
11056
21b64b15 11057 [BZ #13349]
94d44d9f
RM
11058 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11059 doesn't exist.
11060 * manual/stdio.texi (Obstack Streams): Node removed.
11061
f6ce9294
AS
110622011-10-26 Andreas Schwab <schwab@redhat.com>
11063
80479147
AS
11064 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11065 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11066 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11067
f6ce9294
AS
11068 * math/math_private.h (math_force_eval): Allow non-addressable
11069 arguments.
11070 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11071
618280a1
UD
110722011-10-25 Ulrich Drepper <drepper@gmail.com>
11073
e0016b11
UD
11074 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11075 file is not needed.
11076
11077 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11078 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11079 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11080 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11081 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11082 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11083 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11084 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11085 Add AVX variants.
11086 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11087 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11088 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11089 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11090 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11091 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11092 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11093 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11094 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11095 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11096 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11097 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11098 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11099 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11100 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11101 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11102 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11103 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11104 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11105
11106 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11107 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
11108
618280a1
UD
11109 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11110 place. Use VEX encoding when compiling for AVX.
11111
37822576
AS
111122011-10-25 Andreas Schwab <schwab@redhat.com>
11113
1f1e1947
AS
11114 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11115 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11116
37822576
AS
11117 * string/test-strchr.c (do_test): Don't generate NUL bytes.
11118
31ea014d
UD
111192011-10-25 Ulrich Drepper <drepper@gmail.com>
11120
d7826aa1 11121 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 11122 useless if() expression.
d7826aa1
UD
11123 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11124 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11125 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11126 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11127 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11128 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11129 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11130 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11131 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11132 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11133 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11134 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11135 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11136 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11137 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11138 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11139 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11140 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11141 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11142
31ea014d
UD
11143 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11144
16437fec
AS
111452011-10-25 Andreas Schwab <schwab@redhat.com>
11146
11147 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11148 condition.
11149 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11150
31d3cc00
UD
111512011-10-25 Ulrich Drepper <drepper@gmail.com>
11152
11153 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11154 .text section. Avoid duplicate constants.
11155 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11156 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11157 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11158 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11159 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11160 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11161 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11162 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11163 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11164 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11165 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11166 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11167 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11168 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11169 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11170 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11171 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11172 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11173 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11174 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11175 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11176 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11177 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11178 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11179 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11180 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11181 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11182 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11183 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11184 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11185 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11186 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11187 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11188 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11189 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11190 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11191 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11192 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11193 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11194 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11195 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11196 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11197 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11198 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11199 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11200
58985aa9
UD
112012011-10-24 Ulrich Drepper <drepper@gmail.com>
11202
202c9deb
UD
11203 * sysdeps/x86_64/dla.h: Move to ...
11204 * sysdeps/x86_64/fpu/dla.h: ...here.
11205 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11206 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 11207
af968f62
UD
11208 * config.make.in: Add have-mfma4 entry.
11209 * configure.in: Substitute libc_cv_cc_fma4.
11210 * math/Makefile (dbl-only-routines): Add sincostab.
11211 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11212 Use __sincostab not sincos.
11213 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11214 name is a macro.
11215 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11216 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11217 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11218 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11219 using __copysign.
11220 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11221 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11222 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11223 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11224 and __inv.
11225 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11226 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11227 __copysign.
11228 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
11229 define aliases when function name is a macro.
11230 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11231 sysdeps/ieee754/dbl-64/sincos.tbl.
11232 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11233 fma4-enabled routines.
11234 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11235 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11236 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11237 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11238 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11239 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11240 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11241 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11242 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11243 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11244 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11245 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11246 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11247 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11248 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11249 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11250 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11251 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11252 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11253 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11254 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11255 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11256 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11257 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11258 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11259 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11260 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11261 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11262 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11263 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11264
58985aa9
UD
11265 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11266 rename.
11267 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11268 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11269 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11270 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11271 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11272 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11273 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11274 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11275
a201fbcf
AS
112762011-10-24 Andreas Schwab <schwab@redhat.com>
11277
11278 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11279
fc2ee42a
LD
112802011-10-23 Ulrich Drepper <drepper@gmail.com>
11281
bb3129bd
UD
11282 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11283
0275fff8
UD
11284 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11285 prediction.
11286 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11287
2fa2ae85
UD
11288 * string/strnlen.c: Don't define STRNLEN, reverse logic.
11289 Remove unused variable magic_bits.
11290 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11291
fc2ee42a
LD
11292 * string/strnlen.c: Define and use STRNLEN macro.
11293 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11294 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11295 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11296 * wcsmbs/wcslen.c: Define and use WCSLEN.
11297 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11298 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11299 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11300 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11301 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11302 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11303 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11304
ce7dd29f
LD
113052011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11306
11307 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11308 strnlen-sse2-no-bsf.
11309 Rename strlen-no-bsf to strlen-sse2-no-bsf.
11310 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
11311 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
11312 Add strnlen support.
11313 (USE_AS_STRNLEN): New macro.
11314 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11315 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11316 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11317 * sysdeps/x86_64/wcslen.S: New file.
11318
979c70a3
MZ
113192011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
11320
11321 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11322 XMM-moves are used for copying on small sizes.
11323
2d09f82f
LD
113242011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11325
11326 * wcsmbs/Makefile (strop-tests): Add wcschr.
11327 * wcsmbs/test-wcschr.c: New file.
11328 * string/test-strchr.c: Update.
11329 Add wcschr support.
11330 (WIDE): New macro.
11331
619fccca
LD
113322011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11333
2d09f82f 11334 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
11335 * wcsmbs/test-wcslen.c: New file.
11336 * string/test-strlen.c: Update.
11337 Add wcslen support.
11338 (WIDE): New macro.
11339
09f699ea
UD
113402011-10-23 Ulrich Drepper <drepper@gmail.com>
11341
11342 * po/it.po: Update from translation team.
11343
95584d3b
LD
113442011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11345
11346 * sysdeps/x86_64/wcscmp.S: Update.
11347 Fix wrong comparison semantics.
11348 wcscmp shall use signed comparison not unsigned.
11349 Don't use substraction to avoid overflow bug.
11350 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11351 * wcsmbc/wcscmp.c: Likewise.
11352 * string/test-strcmp.c: Likewise.
11353 Add new tests to check cases with negative values.
11354
c8b3296b
UD
113552011-10-23 Ulrich Drepper <drepper@gmail.com>
11356
11357 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11358 * sysdeps/x86_64/dla.h: ...here. New file.
11359 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11360 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11361 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11362 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11363 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11364 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11365 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11366 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11367 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11368
246ad57a
AS
113692011-10-23 Andreas Schwab <schwab@linux-m68k.org>
11370
11371 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11372 __ynl_finite aliases.
11373
a1a87169
UD
113742011-10-22 Ulrich Drepper <drepper@gmail.com>
11375
0d355eb7
UD
11376 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11377
a1a87169
UD
11378 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11379 define DLA_FMA.
11380 [DLA_FMA] (EMULV): Use DLA_FMA.
11381 [DLA_FMA] (MUL12): Use EMULV.
11382 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11383 that are not needed.
11384 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11385 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11386 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11387 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11388 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11389 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11390 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11391
ee2aafe0
AS
113922011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11393
11394 * math/s_nan.c: Undef __nan.
11395 * math/s_nanf.c: Undef __nanf.
11396 * math/s_nanl.c: Undef __nanl.
11397 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11398 "math_private.h".
11399
bc62c2fb
UD
114002011-10-22 Ulrich Drepper <drepper@gmail.com>
11401
77425c63
UD
11402 * math/s_catan.c: Add branch predictions.
11403 * math/s_catanf.c: Likewise.
11404 * math/s_catanh.c: Likewise.
11405 * math/s_catanhf.c: Likewise.
11406 * math/s_catanhl.c: Likewise.
11407 * math/s_catanl.c: Likewise.
11408 * math/s_cexp.c: Likewise.
11409 * math/s_cexpf.c: Likewise.
11410 * math/s_cexpl.c: Likewise.
11411 * math/s_clog.c: Likewise.
11412 * math/s_clog10.c: Likewise.
11413 * math/s_clog10f.c: Likewise.
11414 * math/s_clog10l.c: Likewise.
11415 * math/s_clogf.c: Likewise.
11416 * math/s_clogl.c: Likewise.
11417 * math/s_csqrt.c: Likewise.
11418 * math/s_csqrtf.c: Likewise.
11419 * math/s_csqrtl.c: Likewise.
11420 * math/s_ctanf.c: Likewise.
11421 * math/s_ctanh.c: Likewise.
11422 * math/s_ctanhf.c: Likewise.
11423 * math/s_ctanhl.c: Likewise.
11424 * math/s_ctanl.c: Likewise.
11425
bc62c2fb
UD
11426 * math/math_private.h: Define __nan, __nanf, __nanl.
11427 * math/s_cacosh.c: Include <math_private.h>.
11428 * math/s_cacoshl.c: Likewise.
11429 * math/s_casinh.c: Likewise.
11430 * math/s_casinhf.c: Likewise.
11431 * math/s_casinhl.c: Likewise.
11432 * math/s_ccos.c: Rely entire on ccosh.
11433 * math/s_ccosf.c: Rely entire on ccoshf.
11434 * math/s_ccosl.c: Rely entirely on ccoshl.
11435 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11436 Remove tests for FE_INVALID.
11437 * math/s_ccoshf.c: Likewise.
11438 * math/s_ccoshl.c: Likewise.
11439 * math/s_csin.c: Likewise.
11440 * math/s_csinf.c: Likewise.
11441 * math/s_csinh.c Likewise.
11442 * math/s_csinhf.c: Likewise.
11443 * math/s_csinhl.c: Likewise.
11444 * math/s_csinl.c: Likewise.
11445 * math/s_ctan.c: Likewise.
11446 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11447 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11448 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11449
8ec250a4
UD
114502011-10-21 Ulrich Drepper <drepper@gmail.com>
11451
c196fed8
UD
11452 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11453 compilation problems.
11454
8ec250a4
UD
11455 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11456 __builtin_expect.
11457
8d4f46c6
UD
114582011-10-20 Ulrich Drepper <drepper@gmail.com>
11459
ed72b654
UD
11460 * sysdeps/i386/configure.in: Test for -mfma4 option.
11461 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11462 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11463 COMMON_CPUID_INDEX_80000001.
11464 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11465 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11466 use it if FMA3 is not supported.
11467 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11468
8d4f46c6
UD
11469 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11470 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11471
d45c60c2
AS
114722011-10-20 Andreas Schwab <schwab@redhat.com>
11473
11474 [BZ #12892]
11475 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11476 it would create a cycle with a link time dependency.
11477
d9a4d2ab
UD
114782011-10-19 Ulrich Drepper <drepper@gmail.com>
11479
855d1560
UD
11480 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11481 instruction.
11482 * string/Makefile (strop-tests): Add rawmemchr.
11483 * string/test-rawmemchr.c: New file.
11484
d9a4d2ab
UD
11485 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11486 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11487 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11488 when compiling str{,n}casecmp and when AVX is available. Hook up
11489 new optimized code in initializers.
11490
8f3b1ffe
AS
114912011-10-19 Andreas Schwab <schwab@redhat.com>
11492
11493 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11494 __feraiseexcept instead of feraiseexcept.
11495
d38f1dba
UD
114962011-10-18 Ulrich Drepper <drepper@gmail.com>
11497
d9a8d0ab
UD
11498 * math/math_private.h: Define defaults for libc_fetestexcept and
11499 libc_feupdateenv.
11500 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11501 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11502 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11503 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11504 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11505 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11506 libc_fetestexcept and libc_feupdateenv.
11507
4855e3dd
UD
11508 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11509 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11510 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11511 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11512 libc_feholdexcept_setround.
11513
581d30e3
UD
11514 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11515 Add s_nearbyint-c and s_nearbyintf-c.
11516 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11517 nearbyintf inlines.
11518 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11519 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11520 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11521 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11522
d38f1dba
UD
11523 * math/math_private.h: Define defaults for libc_fegetround,
11524 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11525 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11526 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11527 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11528 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11529 standard functions.
11530 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11531 Remove comments and hacks for old compiler versions.
11532 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11533 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11534 libc_feholdexceptl.
11535
caa6c9d8
AS
115362011-10-18 Andreas Schwab <schwab@redhat.com>
11537
11538 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
11539 (__feraiseexcept_renamed): Add __NTH.
11540 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
11541 namespace violations.
11542
97c066e6
UD
115432011-10-17 Ulrich Drepper <drepper@gmail.com>
11544
99ce7b04
UD
11545 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11546
1004d182
UD
11547 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11548
228a984d
UD
11549 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11550 recently added interfaces.
11551 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11552
c8553a6a
UD
11553 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11554 about macro parameter expansion.
11555
ed22dcf6
UD
11556 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11557 __NO_MATH_INLINES is defined. Cleanups.
11558
11559 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11560 and __floorf is target has SSE4.1.
11561 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11562 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11563 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11564 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11565
b171c137
UD
11566 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11567 name.
11568 (floorf): Likewise.
11569
97c066e6
UD
11570 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11571
629f62ef
AS
115722011-10-17 Andreas Schwab <schwab@redhat.com>
11573
49a43d80
AS
11574 * misc/sys/cdefs.h: Fix last change.
11575
629f62ef
AS
11576 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11577 database lookup.
11578
e453f6cd
UD
115792011-10-16 Ulrich Drepper <drepper@gmail.com>
11580
aa78043a
UD
11581 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11582
ad0f5cad
UD
11583 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11584 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11585 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11586 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11587 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11588 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11589 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11590 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11591 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11592 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11593 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11594 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11595 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11596 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11597 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11598 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11599 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11600 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11601 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11602 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11603 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11604 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11605
11606 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11607 ceil, ceilf, floor, floorf.
11608
11609 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11610 Perform IRELATIVE relocations last.
11611
e453f6cd
UD
11612 * elf/do-rel.h: Add another parameter nrelative, replacing the
11613 local variable with the same name. Change name of the function
11614 to end in Rel or Rela (uppercase).
11615 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11616 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11617 elf_dynamic_do_##reloc function.
11618
fd5bdc09
UD
116192011-10-15 Ulrich Drepper <drepper@gmail.com>
11620
79b195b5
UD
11621 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11622 is sufficient, at least on modern CPUs.
11623
d4a28569
UD
11624 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11625
b61099b5
UD
11626 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11627 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11628
bcf01e6d
UD
11629 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11630 __expl_finite.
11631 * math/bits/math-finite.h: Add entries for exp.
11632 * math/e_expl.c: Add __*_finite alias.
11633 * sysdeps/i386/fpu/e_exp.S: Likewise.
11634 * sysdeps/i386/fpu/e_expf.S: Likewise.
11635 * sysdeps/i386/fpu/e_expl.c: Likewise.
11636 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11637 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11638 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11639 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11640 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11641 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11642 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11643
ba1a0d59
UD
11644 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11645 is sufficient, at least on modern CPUs.
11646
fd5bdc09
UD
11647 * ctype/ctype-info.c (__ctype_init): Define.
11648 * include/ctype.h (__ctype_init): Declare.
11649 (__ctype_b_loc): The variable is always initialized.
11650 (__ctype_toupper_loc): Likewise.
11651 (__ctype_tolower_loc): Likewise.
11652 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11653 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11654
7872cfb0
AS
116552011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11656
b468825a
AS
11657 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11658
7872cfb0
AS
11659 * configure.in: Also look in $cxxmachine/include for C++ system
11660 headers.
11661
be13f7bf
LD
116622011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11663
11664 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11665 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11666 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11667 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11668 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11669 (USE_AS_WMEMCMP): New macro.
11670 Fixing indents.
11671 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11672 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11673 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11674 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11675 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11676 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11677 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11678 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11679 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11680 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11681 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11682 (USE_AS_WMEMCMP): New macro.
11683 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11684 * sysdeps/string/test-memcmp.c: Update.
11685 Fix simple_wmemcmp.
11686 Add new tests.
11687 * wcsmbs/wmemcmp.c: Update.
11688 (WMEMCMP): New macro.
11689 Fix overflow bug.
11690
556a2007
AJ
116912011-10-12 Andreas Jaeger <aj@suse.de>
11692
11693 [BZ #13268]
11694 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11695
538faaa7
UD
116962011-10-15 Ulrich Drepper <drepper@gmail.com>
11697
ab6737ff
UD
11698 * libio/iofwide.c (do_length): Avoid warning.
11699
538faaa7
UD
11700 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11701
396a21b1
UD
117022011-10-14 Ulrich Drepper <drepper@gmail.com>
11703
cdf2901f
UD
11704 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11705
38ad40ce
UD
11706 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11707 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11708 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11709 * sysdeps/i386/i686/fpu/e_log.S: New file.
11710 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11711 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11712
396a21b1
UD
11713 * ctype/ctype.h: Add support for inlined isXXX functions when
11714 compiling C++ code.
11715
6b1f68c9
AS
117162011-10-14 Andreas Schwab <schwab@redhat.com>
11717
349290c0
AS
11718 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11719
6b1f68c9
AS
11720 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11721
f2282d42
RM
117222011-10-13 Roland McGrath <roland@hack.frob.com>
11723
11724 [BZ #13291]
11725 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11726
5298ffa8
AS
117272011-10-13 Andreas Schwab <schwab@redhat.com>
11728
714fad23
AS
11729 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11730 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11731 feraiseexcept.
11732
81dcc7fb
AS
11733 * sysdeps/x86_64/memrchr.S: Check for zero size.
11734
5298ffa8
AS
11735 * string/stratcliff.c: Add memrchr tests.
11736
951fbcec
LD
117372011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11738
11739 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11740 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11741 rawmemchr-sse2 rawmemchr-sse2-bsf.
11742 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11743 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11744 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11745 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11746 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11747 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11748 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11749 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11750 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11751 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11752 * string/memrchr.c (MEMRCHR): New macro.
11753
0ac5ae23
UD
117542011-10-12 Ulrich Drepper <drepper@gmail.com>
11755
11756 Add integration with gcc's -ffinite-math-only and optimize wrapper
11757 functions in libm.
11758 * Versions.def: Define GLIBC_2.15 version for libm.
11759 * math/Makefile (headers): Add bits/math-finite.h.
11760 * math/bits/math-finite.h: New file.
11761 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11762 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11763 * math/e_acoshl.c: Add __*_finite alias.
11764 * math/e_acosl.c: Likewise.
11765 * math/e_asinl.c: Likewise.
11766 * math/e_atan2l.c: Likewise.
11767 * math/e_atanhl.c: Likewise.
11768 * math/e_coshl.c: Likewise.
11769 * math/e_exp10.c: Likewise.
11770 * math/e_exp10f.c: Likewise.
11771 * math/e_exp10l.c: Likewise.
11772 * math/e_exp2l.c: Likewise.
11773 * math/e_fmodl.c: Likewise.
11774 * math/e_gammal_r.c: Likewise.
11775 * math/e_hypotl.c: Likewise.
11776 * math/e_j0l.c: Likewise.
11777 * math/e_j1l.c: Likewise.
11778 * math/e_jnl.c: Likewise.
11779 * math/e_lgammal_r.c: Likewise.
11780 * math/e_log10l.c: Likewise.
11781 * math/e_log2l.c: Likewise.
11782 * math/e_logl.c: Likewise.
11783 * math/e_powl.c: Likewise.
11784 * math/e_sinhl.c: Likewise.
11785 * math/e_sqrtl.c: Likewise.
11786 * math/e_scalb.c: Completely rewritten and optimized.
11787 * math/e_scalbf.c: Likewise.
11788 * math/e_scalbl.c: Likewise.
11789 * math/w_acos.c: Likewise.
11790 * math/w_acosf.c: Likewise.
11791 * math/w_acosl.c: Likewise.
11792 * math/w_acosh.c: Likewise.
11793 * math/w_acoshf.c: Likewise.
11794 * math/w_acoshl.c: Likewise.
11795 * math/w_asin.c: Likewise.
11796 * math/w_asinf.c: Likewise.
11797 * math/w_asinl.c: Likewise.
11798 * math/w_atan2.c: Likewise.
11799 * math/w_atan2f.c: Likewise.
11800 * math/w_atan2l.c: Likewise.
11801 * math/w_atanh.c: Likewise.
11802 * math/w_atanhf.c: Likewise.
11803 * math/w_atanhl.c: Likewise.
11804 * math/w_exp10.c: Likewise.
11805 * math/w_exp10f.c: Likewise.
11806 * math/w_exp10l.c: Likewise.
11807 * math/w_fmod.c: Likewise.
11808 * math/w_fmodf.c: Likewise.
11809 * math/w_fmodl.c: Likewise.
11810 * math/w_j0.c: Likewise.
11811 * math/w_j0f.c: Likewise.
11812 * math/w_j0l.c: Likewise.
11813 * math/w_j1.c: Likewise.
11814 * math/w_j1f.c: Likewise.
11815 * math/w_j1l.c: Likewise.
11816 * math/w_jn.c: Likewise.
11817 * math/w_jnf.c: Likewise.
11818 * math/w_log.c: Likewise.
11819 * math/w_logf.c: Likewise.
11820 * math/w_logl.c: Likewise.
11821 * math/w_log10.c: Likewise.
11822 * math/w_log10f.c: Likewise.
11823 * math/w_log10l.c: Likewise.
11824 * math/w_log2.c: Likewise.
11825 * math/w_log2f.c: Likewise.
11826 * math/w_log2l.c: Likewise.
11827 * math/w_pow.c: Likewise.
11828 * math/w_powf.c: Likewise.
11829 * math/w_powl.c: Likewise.
11830 * math/w_remainder.c: Likewise.
11831 * math/w_remainderf.c: Likewise.
11832 * math/w_remainderl.c: Likewise.
11833 * math/w_scalb.c: Likewise.
11834 * math/w_scalbf.c: Likewise.
11835 * math/w_scalbl.c: Likewise.
11836 * math/w_sqrt.c: Likewise.
11837 * math/w_sqrtf.c: Likewise.
11838 * math/w_sqrtl.c: Likewise.
11839 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11840 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11841 used.
11842 * math/math_private.h: Declare __kernel_standard_f.
11843 * math/w_cosh.c: Remove cruft and optimize a bit.
11844 * math/w_coshf.c: Likewise.
11845 * math/w_coshl.c: Likewise.
11846 * math/w_exp2.c: Likewise.
11847 * math/w_exp2f.c: Likewise.
11848 * math/w_exp2l.c: Likewise.
11849 * math/w_hypot.c: Likewise.
11850 * math/w_hypotf.c: Likewise.
11851 * math/w_hypotl.c: Likewise.
11852 * math/w_lgamma.c: Likewise.
11853 * math/w_lgamma_r.c: Likewise.
11854 * math/w_lgammaf.c: Likewise.
11855 * math/w_lgammaf_r.c: Likewise.
11856 * math/w_lgammal.c: Likewise.
11857 * math/w_lgammal_r.c: Likewise.
11858 * math/w_sinh.c: Likewise.
11859 * math/w_sinhf.c: Likewise.
11860 * math/w_sinhl.c: Likewise.
11861 * math/w_tgamma.c: Likewise.
11862 * math/w_tgammaf.c: Likewise.
11863 * math/w_tgammal.c: Likewise.
11864 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11865 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11866 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11867 Minor optimizations. Pretty printing. Remove cruft.
11868 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11869 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11870 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11871 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11872 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11873 * sysdeps/i386/fpu/e_asin.S: Likewise.
11874 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11875 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11876 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11877 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11878 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11879 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11880 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11881 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11882 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11883 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11884 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11885 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11886 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11887 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11888 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11889 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11890 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11891 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11892 * sysdeps/i386/fpu/e_log.S: Likewise.
11893 * sysdeps/i386/fpu/e_log10.S: Likewise.
11894 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11895 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11896 * sysdeps/i386/fpu/e_log2.S: Likewise.
11897 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11898 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11899 * sysdeps/i386/fpu/e_logf.S: Likewise.
11900 * sysdeps/i386/fpu/e_logl.S: Likewise.
11901 * sysdeps/i386/fpu/e_pow.S: Likewise.
11902 * sysdeps/i386/fpu/e_powf.S: Likewise.
11903 * sysdeps/i386/fpu/e_powl.S: Likewise.
11904 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11905 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11906 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11907 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11908 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11909 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11910 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11911 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11912 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11913 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11914 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11915 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11916 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11917 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11918 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11919 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11920 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11921 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11922 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11923 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11924 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11925 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11926 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11927 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11928 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11929 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11930 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11931 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11932 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11933 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11934 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11935 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11936 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11937 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11938 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11939 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11940 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11941 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11942 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11943 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11944 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11945 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11946 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11947 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11948 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11949 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11950 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11951 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11952 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11953 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11954 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11955 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11956 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11957 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11958 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11959 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11960 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11961 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11962 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11963 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11964 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11965 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11966 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11967 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11968 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11969 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11970 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11971 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11972 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11973 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11974 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11975 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11976 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11977 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11978 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11979 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11980 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11981 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11982 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11983 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11984 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11985 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11986 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11987 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11988 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11989 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11990 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11991 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11992 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11993 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11994 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11995 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11996 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11997 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11998 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11999 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12000 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12001 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12002 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12003 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12004 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12005 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12006 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12007 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12008 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12009 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12010 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12011 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12012 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12013 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12014 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12015 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12016 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12017 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12018 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12019 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12020 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12021 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12022 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12023 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12024 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12025 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12026 (__isnanf): Likewise.
12027 (__isinf_ns): Likewise.
12028 (__isinf_nsf): Likewise.
12029 (__finite): Likewise.
12030 (__finitef): Likewise.
12031 (__ieee754_sqrt): Define as macro.
12032 (__ieee754_sqrtf): Define as macro.
12033 (__ieee754_sqrtl): Define as macro.
12034 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12035 inlined copy.
12036 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12037 __FINITE_MATH_ONLY__ consistent.
12038 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12039
12cc2fcd
AS
120402011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12041
a843a204
AS
12042 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12043 of rawmemchr.
12044
12cc2fcd
AS
12045 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12046
c853acd5
UD
120472011-10-09 Ulrich Drepper <drepper@gmail.com>
12048
12049 * po/ja.po: Update from translation team.
12050
c658d255
RM
120512011-10-08 Roland McGrath <roland@hack.frob.com>
12052
110946e4
RM
12053 * locale/programs/locarchive.c (prepare_address_space): New function.
12054 (create_archive, enlarge_archive, open_archive): Use it.
12055
50604220
RM
12056 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12057 inside [SHARED], where it is used.
12058
c658d255
RM
12059 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12060
12061 * nss/getent.c (netgroup_keys): Remove unused variable.
12062 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12063
6a621eb7
UD
120642011-10-08 Ulrich Drepper <drepper@gmail.com>
12065
7edb55ce
UD
12066 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12067 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12068 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12069 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12070 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12071 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12072 * math/Makefile (libm-calls): Add s_isinf_ns.
12073 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12074 * math/multc3.c: Likewise.
12075 * math/s_casin.c: Likewise.
12076 * math/s_casinf.c: Likewise.
12077 * math/s_casinl.c: Likewise.
12078 * math/s_ccos.c: Likewise.
12079 * math/s_ccosf.c: Likewise.
12080 * math/s_ccosl.c: Likewise.
12081 * math/s_ctan.c: Likewise.
12082 * math/s_ctanf.c: Likewise.
12083 * math/s_ctanh.c: Likewise.
12084 * math/s_ctanhf.c: Likewise.
12085 * math/s_ctanhl.c: Likewise.
12086 * math/s_ctanl.c: Likewise.
12087 * math/w_fmod.c: Likewise.
12088 * math/w_fmodf.c: Likewise.
12089 * math/w_fmodl.c: Likewise.
12090 * math/w_remainder.c: Likewise.
12091 * math/w_remainderf.c: Likewise.
12092 * math/w_remainderl.c: Likewise.
12093 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12094 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12095 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12096 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12097 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12098 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12099 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12100 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12101
187da0ae
UD
12102 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12103 of the number.
12104 * stdio-common/printf_fphex.c: Likewise.
12105 * stdio-common/printf_size.c: Likewise.
12106
9277c064
UD
12107 * math/e_exp10.c: Include math_private.h using <...> not "...".
12108 * math/e_exp10f.c: Likewise.
12109 * math/e_exp10l.c: Likewise.
12110 * math/e_exp2l.c: Likewise.
12111 * math/e_j0l.c: Likewise.
12112 * math/e_j1l.c: Likewise.
12113 * math/e_jnl.c: Likewise.
12114 * math/e_lgammal_r.c: Likewise.
12115 * math/e_rem_pio2l.c: Likewise.
12116 * math/e_scalb.c: Likewise.
12117 * math/e_scalbf.c: Likewise.
12118 * math/e_scalbl.c: Likewise.
12119 * math/k_cosl.c: Likewise.
12120 * math/k_sinl.c: Likewise.
12121 * math/k_tanl.c: Likewise.
12122 * math/s_cacoshf.c: Likewise.
12123 * math/s_catan.c: Likewise.
12124 * math/s_catanf.c: Likewise.
12125 * math/s_catanh.c: Likewise.
12126 * math/s_catanhf.c: Likewise.
12127 * math/s_catanhl.c: Likewise.
12128 * math/s_catanl.c: Likewise.
12129 * math/s_ccosh.c: Likewise.
12130 * math/s_ccoshf.c: Likewise.
12131 * math/s_ccoshl.c: Likewise.
12132 * math/s_cexp.c: Likewise.
12133 * math/s_cexpf.c: Likewise.
12134 * math/s_cexpl.c: Likewise.
12135 * math/s_clog.c: Likewise.
12136 * math/s_clog10.c: Likewise.
12137 * math/s_clog10f.c: Likewise.
12138 * math/s_clog10l.c: Likewise.
12139 * math/s_clogf.c: Likewise.
12140 * math/s_clogl.c: Likewise.
12141 * math/s_csin.c: Likewise.
12142 * math/s_csinf.c: Likewise.
12143 * math/s_csinh.c: Likewise.
12144 * math/s_csinhf.c: Likewise.
12145 * math/s_csinhl.c: Likewise.
12146 * math/s_csinl.c: Likewise.
12147 * math/s_csqrt.c: Likewise.
12148 * math/s_csqrtf.c: Likewise.
12149 * math/s_csqrtl.c: Likewise.
12150 * math/s_ctan.c: Likewise.
12151 * math/s_ctanf.c: Likewise.
12152 * math/s_ctanh.c: Likewise.
12153 * math/s_ctanhf.c: Likewise.
12154 * math/s_ctanhl.c: Likewise.
12155 * math/s_ctanl.c: Likewise.
12156 * math/s_ldexp.c: Likewise.
12157 * math/s_ldexpf.c: Likewise.
12158 * math/s_ldexpl.c: Likewise.
12159 * math/s_significand.c: Likewise.
12160 * math/s_significandf.c: Likewise.
12161 * math/s_significandl.c: Likewise.
12162 * math/w_acos.c: Likewise.
12163 * math/w_acosf.c: Likewise.
12164 * math/w_acosh.c: Likewise.
12165 * math/w_acoshf.c: Likewise.
12166 * math/w_acoshl.c: Likewise.
12167 * math/w_acosl.c: Likewise.
12168 * math/w_asin.c: Likewise.
12169 * math/w_asinf.c: Likewise.
12170 * math/w_asinl.c: Likewise.
12171 * math/w_atan2.c: Likewise.
12172 * math/w_atan2f.c: Likewise.
12173 * math/w_atan2l.c: Likewise.
12174 * math/w_atanh.c: Likewise.
12175 * math/w_atanhf.c: Likewise.
12176 * math/w_atanhl.c: Likewise.
12177 * math/w_cosh.c: Likewise.
12178 * math/w_coshf.c: Likewise.
12179 * math/w_coshl.c: Likewise.
12180 * math/w_dremf.c: Likewise.
12181 * math/w_exp10.c: Likewise.
12182 * math/w_exp10f.c: Likewise.
12183 * math/w_exp10l.c: Likewise.
12184 * math/w_exp2.c: Likewise.
12185 * math/w_exp2f.c: Likewise.
12186 * math/w_fmod.c: Likewise.
12187 * math/w_fmodf.c: Likewise.
12188 * math/w_fmodl.c: Likewise.
12189 * math/w_hypot.c: Likewise.
12190 * math/w_hypotf.c: Likewise.
12191 * math/w_hypotl.c: Likewise.
12192 * math/w_j0.c: Likewise.
12193 * math/w_j0f.c: Likewise.
12194 * math/w_j0l.c: Likewise.
12195 * math/w_j1.c: Likewise.
12196 * math/w_j1f.c: Likewise.
12197 * math/w_j1l.c: Likewise.
12198 * math/w_jn.c: Likewise.
12199 * math/w_jnf.c: Likewise.
12200 * math/w_jnl.c: Likewise.
12201 * math/w_lgamma.c: Likewise.
12202 * math/w_lgamma_r.c: Likewise.
12203 * math/w_lgammaf.c: Likewise.
12204 * math/w_lgammaf_r.c: Likewise.
12205 * math/w_lgammal.c: Likewise.
12206 * math/w_lgammal_r.c: Likewise.
12207 * math/w_log.c: Likewise.
12208 * math/w_log10.c: Likewise.
12209 * math/w_log10f.c: Likewise.
12210 * math/w_log10l.c: Likewise.
12211 * math/w_log2.c: Likewise.
12212 * math/w_log2f.c: Likewise.
12213 * math/w_log2l.c: Likewise.
12214 * math/w_logf.c: Likewise.
12215 * math/w_logl.c: Likewise.
12216 * math/w_pow.c: Likewise.
12217 * math/w_powf.c: Likewise.
12218 * math/w_powl.c: Likewise.
12219 * math/w_remainder.c: Likewise.
12220 * math/w_remainderf.c: Likewise.
12221 * math/w_remainderl.c: Likewise.
12222 * math/w_scalb.c: Likewise.
12223 * math/w_scalbf.c: Likewise.
12224 * math/w_scalbl.c: Likewise.
12225 * math/w_sinh.c: Likewise.
12226 * math/w_sinhf.c: Likewise.
12227 * math/w_sinhl.c: Likewise.
12228 * math/w_sqrt.c: Likewise.
12229 * math/w_sqrtf.c: Likewise.
12230 * math/w_sqrtl.c: Likewise.
12231 * math/w_tgamma.c: Likewise.
12232 * math/w_tgammaf.c: Likewise.
12233 * math/w_tgammal.c: Likewise.
12234
6a621eb7
UD
12235 * po/ja.po: Update from translation team.
12236
bf582445
AJ
122372011-09-29 Andreas Jaeger <aj@suse.de>
12238
f9efbf3a
AJ
12239 [BZ #13179]
12240 * sunrpc/netname.c (netname2host): Fix logic.
12241
bf582445
AJ
12242 [BZ #6779]
12243 [BZ #6783]
12244 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12245 correctly.
12246 * math/w_remainder.c (__remainder): Likewise.
12247 * math/w_remainderf.c (__remainderf): Likewise.
12248 * math/libm-test.inc (remainder_test): Add test cases.
12249
48693bea
AK
122502011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12251
12252 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
12253 sdiv_qrnnd.
12254
42622229
LD
122552011-10-07 Ulrich Drepper <drepper@gmail.com>
12256
12257 * string/test-memcmp.c: Avoid unncessary #defines.
12258 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12259
093ecf92
LD
122602011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12261
12262 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12263 Use new sse2 version for core i3 - i7 as it's faster
12264 than sse42 version.
12265 (bit_Prefer_PMINUB_for_stringop): New.
12266 * sysdeps/x86_64/rawmemchr.S: Update.
12267 Replace with faster SSE2 version.
12268 * sysdeps/x86_64/memrchr.S: New file.
12269 * sysdeps/x86_64/memchr.S: Update.
12270 Replace with faster SSE2 version.
12271
fde56e5c
MP
122722011-09-12 Marek Polacek <mpolacek@redhat.com>
12273
12274 * elf/dl-load.c (lose): Add cast to avoid warning.
12275
21fd49a9
UD
122762011-10-07 Ulrich Drepper <drepper@gmail.com>
12277
5a06e643
UD
12278 * po/ca.po: Update from translation team.
12279
684ae515
UD
12280 * inet/getnetgrent_r.c: Hook up nscd.
12281 * nscd/Makefile (routines): Add nscd_netgroup.
12282 (nscd-modules): Add netgroupcache.
12283 (CFLAGS-netgroupcache.c): Define.
12284 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12285 (cache_search): Add const to second parameter.
12286 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12287 INNETGR.
12288 (dbs): Add netgrdb entry.
12289 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12290 (verify_persistent_db): Handle netgrdb.
12291 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12292 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12293 GETFDNETGR.
12294 (netgroup_response_header): Define.
12295 (innetgroup_response_header): Define.
12296 (datahead): Add netgroup_response_header and innetgroup_response_header
12297 elements.
12298 * nscd/nscd.conf: Add entries for netgroup cache.
12299 * nscd/nscd.h (dbtype): Add netgrdb.
12300 (_PATH_NSCD_NETGROUP_DB): Define.
12301 (netgroup_iov_disabled): Declare.
12302 (xmalloc, xcalloc, xrealloc): Move declarations here.
12303 (cache_search): Adjust prototype.
12304 Add netgroup-related prototypes.
12305 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
12306 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
12307 (__nscd_innetgr): Declare.
12308 * nscd/selinux.c (perms): Use access_vector_t as element type and
12309 add netgroup-related initializers.
12310 * nscd/netgroupcache.c: New file.
12311 * nscd/nscd_netgroup.c: New file.
12312 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12313 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12314 For four parameters use innetgr.
12315 * nss/nss_files/files-init.c: Add definition and callback for netgr.
12316 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12317 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12318 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12319
21fd49a9
UD
12320 * nscd/connections.c (register_traced_file): Don't register file
12321 for disabled databases.
12322
054c0457
UD
123232011-10-06 Ulrich Drepper <drepper@gmail.com>
12324
32b63198
UD
12325 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
12326
054c0457
UD
12327 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
12328 from tree and freeing node.
12329
64031225
JO
123302011-09-25 Jiri Olsa <jolsa@redhat.com>
12331
12332 * nss/nsswitch.c (__nss_database_lookup): Handle
12333 nss_parse_service_list out of memory case.
12334
0490345c
JO
123352011-09-15 Jiri Olsa <jolsa@redhat.com>
12336
12337 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12338 out of memory case.
12339
3a62d00d
AS
123402011-10-04 Andreas Schwab <schwab@redhat.com>
12341
12342 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12343 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12344 pass it down.
12345 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12346 elf_machine_rela, elf_machine_lazy_rel.
12347 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12348 (ELF_DYNAMIC_DO_REL): Likewise.
12349 (ELF_DYNAMIC_DO_RELA): Likewise.
12350 (ELF_DYNAMIC_RELOCATE): Likewise.
12351 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12352 to ELF_DYNAMIC_DO_REL.
12353 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12354 (dl_main): In trace mode always set __RTLD_NOIFUNC.
12355 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12356 elf_machine_rela.
12357 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12358 skip_ifunc, don't call ifunc function if non-zero.
12359 (elf_machine_rela): Likewise.
12360 (elf_machine_lazy_rel): Likewise.
12361 (elf_machine_lazy_rela): Likewise.
12362 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12363 (elf_machine_lazy_rel): Likewise.
12364 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12365 Likewise.
12366 (elf_machine_lazy_rel): Likewise.
12367 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12368 Likewise.
12369 (elf_machine_lazy_rel): Likewise.
12370 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12371 (elf_machine_lazy_rel): Likewise.
12372 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12373 (elf_machine_lazy_rel): Likewise.
12374 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12375 (elf_machine_lazy_rel): Likewise.
12376 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12377 (elf_machine_lazy_rel): Likewise.
12378 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12379 (elf_machine_lazy_rel): Likewise.
12380 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12381 (elf_machine_lazy_rel): Likewise.
12382
68577918
UD
123832011-09-28 Ulrich Drepper <drepper@gmail.com>
12384
12385 * nss/nss_files/files-init.c (_nss_files_init): Use static
12386 initialization for all the *_traced_file variables.
12387
68822d74
AS
123882011-09-28 Andreas Schwab <schwab@redhat.com>
12389
12390 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12391
2056100b
RM
123922011-09-27 Roland McGrath <roland@hack.frob.com>
12393
12394 [BZ #13226]
12395 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12396
32c76b63
AS
123972011-09-27 Andreas Schwab <schwab@redhat.com>
12398
12399 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12400 Reread the line before reparsing it.
12401
bf972c9d
AS
124022011-09-26 Andreas Schwab <schwab@redhat.com>
12403
12404 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12405
e057a1b5
JM
124062011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12407 Maxim Kuvyrkov <maxim@codesourcery.com>
12408 Joseph Myers <joseph@codesourcery.com>
12409
12410 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12411 if needed for __stack_chk_guard.
12412
bc7e1c36
RM
124132011-09-19 Roland McGrath <roland@hack.frob.com>
12414
ecb1482f
RM
12415 * sysdeps/posix/spawni.c (script_execute): Always define it.
12416 It will be optimized away if unused.
12417 (maybe_script_execute): New function.
12418 (__spawni): Call it.
12419
bc7e1c36
RM
12420 * Makerules: Don't include tls.make.
12421 (config-tls): Always set to thread.
12422 * tls.make.c: File removed.
12423
1c3b002b
MF
124242011-09-19 Mike Frysinger <vapier@gentoo.org>
12425
12426 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12427 * config.make.in (CPPFLAGS-config): New substituted variable.
12428
2840865d
UD
124292011-09-15 Ulrich Drepper <drepper@gmail.com>
12430
88738eb6
UD
12431 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12432
cbf645a6 12433 [BZ #13192]
2840865d
UD
12434 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12435 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12436
b402e91a
RM
124372011-09-15 Roland McGrath <roland@hack.frob.com>
12438
12439 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12440 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12441 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12442 (CALL_FAIL): Likewise.
12443 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12444 (CALL_FAIL): Macro removed.
12445 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12446
4c1a1f71
UD
124472011-09-15 Ulrich Drepper <drepper@gmail.com>
12448
12449 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12450 for __FINITE_MATH_ONLY__ == 1.
12451
edc121be
AS
124522011-09-15 Andreas Schwab <schwab@redhat.com>
12453
12454 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12455 __ieee754_sqrt instead of sqrt.
12456 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12457 __ieee754_sqrtf instead of sqrtf.
12458 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12459 __floorf instead of floorf.
12460 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12461 __floorf, __truncf instead of floorf, truncf.
12462
cd205654
UD
124632011-09-14 Ulrich Drepper <drepper@gmail.com>
12464
ee4d0315
UD
12465 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12466
cd205654
UD
12467 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12468 __extern_always_inline.
12469 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12470 32-bit.
12471
48b67d71
AS
124722011-09-14 Andreas Schwab <schwab@redhat.com>
12473
12474 * elf/rtld.c (dl_main): Also relocate in dependency order when
12475 doing symbol dependency testing.
12476
1ae12c75
AS
124772011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12478
12479 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12480 Always define `refsym'.
12481
995a80df
AS
124822011-09-13 Andreas Schwab <schwab@redhat.com>
12483
e529793b
AS
12484 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12485 (__FD_ELT): Renamed from __FDELT.
12486 * misc/bits/select2.h (__FD_ELT): Likewise.
12487 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12488 __FD_MASK instead of __FDELT, __FDMASK.
12489 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12490 Likewise.
12491 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12492 Likewise.
12493
52d4fef8
AS
12494 * elf/Makefile (gen-ldd): Fix pattern.
12495
995a80df
AS
12496 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12497 (init_tls): Likewise.
12498
8682f8b0
UD
124992011-09-12 Ulrich Drepper <drepper@gmail.com>
12500
12501 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12502
de82006d
AS
125032011-09-12 Andreas Schwab <schwab@redhat.com>
12504
a7c8e6a1
AS
12505 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12506 `struct cmsghdr *' instead of `void *'.
12507 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12508 Likewise.
12509
0f31fe77
AS
125102011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12511
12512 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12513 if non-absolute.
12514 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12515 ldd_rewrite_script.
0f31fe77 12516
32b4c839
UD
125172011-09-11 Ulrich Drepper <drepper@gmail.com>
12518
83cd1420
UD
12519 * configure.in: Remove --with-tls option.
12520 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12521 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12522 out in case it is missing.
12523 * sysdeps/ia64/elf/configure.in: Likewise.
12524 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12525 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12526 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12527 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12528 * sysdeps/sh/elf/configure.in: Likewise.
12529 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12530 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12531 * sysdeps/x86_64/elf/configure.in: Likewise.
12532 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12533 * sysdeps/mach/hurd/tls.h: Likewise.
12534
633f745d
UD
12535 [BZ #13067]
12536 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12537
f318beb8
UD
12538 [BZ #13090]
12539 * configure.in: Fix use of AC_INIT.
12540
32b4c839
UD
12541 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12542
3ce1f295
UD
125432011-09-10 Ulrich Drepper <drepper@gmail.com>
12544
bb016596
UD
12545 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12546 __set_errno.
8e58439c
UD
12547 * malloc/hooks.c: Likewise.
12548
aebae053 12549 [BZ #11929]
02d46fc4
UD
12550 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12551 variables statically.
12552 (narenas): Initialize.
12553 (list_lock): Initialize.
bb016596
UD
12554 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12555 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
12556 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12557 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12558 Add initializers to main_arena and mp_.
12559 (malloc_state): Remove pagesize member. Change all users to use
12560 GLRO(dl_pagesize).
12561
12562 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12563 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12564 is always initialized.
12565
22a89187
UD
12566 * malloc/malloc.c: Removed unused configurations and dead code.
12567 * malloc/arena.c: Likewise.
12568 * malloc/hooks.c: Likewise.
02d46fc4 12569 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 12570
d063d164
UD
12571 * include/tls.h: Removed. USE___THREAD must always be defined.
12572 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12573 * elf/dl-libc.c: Likewise.
12574 * elf/dl-tsd.c: Likewise.
12575 * include/errno.h: Likewise.
12576 * include/netdb.h: Likewise.
12577 * include/resolv.h: Likewise.
12578 * inet/herrno-loc.c: Likewise.
12579 * inet/herrno.c: Likewise.
12580 * malloc/arena.c: Likewise.
12581 * malloc/hooks.c: Likewise.
12582 * malloc/malloc.c: Likewise.
12583 * resolv/res-state.c: Likewise.
12584 * resolv/res_libc.c: Likewise.
12585 * sysdeps/i386/dl-machine.h: Likewise.
12586 * sysdeps/ia64/dl-machine.h: Likewise.
12587 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12588 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12589 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12590 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12591 * sysdeps/sh/dl-machine.h: Likewise.
12592 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12593 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12594 * sysdeps/unix/i386/sysdep.S: Likewise.
12595 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12596 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12597 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12598 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12599 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12600 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12601 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12602 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12603 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12604 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12605 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12606 * sysdeps/x86_64/dl-machine.h: Likewise.
12607 * tls.make.c: Likewise.
12608
3ce1f295
UD
12609 * configure.in: Remove --with-__thread option. Make tests for
12610 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12611 tls_model attribute fail if no support is available. Remove
12612 USE_IN_LIBIO.
12613 * Makeconfig: Adjust for dropped configure option. All features are
12614 now mandatory.
12615 * Makerules: Likewise.
12616 * Versions.def: Likewise.
12617 * argp/argp-fmtstream.c: Likewise.
12618 * argp/argp-fmtstream.h: Likewise.
12619 * argp/argp-help.c: Likewise.
12620 * assert/assert.c: Likewise.
12621 * config.h.in: Likewise.
12622 * config.make.in: Likewise.
12623 * configure: Likewise.
12624 * configure.in: Likewise.
12625 * csu/Versions: Likewise.
12626 * csu/init.c: Likewise.
12627 * elf/tst-audit2.c: Likewise.
12628 * elf/tst-tls10.c: Likewise.
12629 * elf/tst-tls10.h: Likewise.
12630 * elf/tst-tls11.c: Likewise.
12631 * elf/tst-tls12.c: Likewise.
12632 * elf/tst-tls14.c: Likewise.
12633 * elf/tst-tlsmod11.c: Likewise.
12634 * elf/tst-tlsmod12.c: Likewise.
12635 * elf/tst-tlsmod13.c: Likewise.
12636 * elf/tst-tlsmod13a.c: Likewise.
12637 * elf/tst-tlsmod14a.c: Likewise.
12638 * elf/tst-tlsmod15b.c: Likewise.
12639 * elf/tst-tlsmod16a.c: Likewise.
12640 * elf/tst-tlsmod16b.c: Likewise.
12641 * elf/tst-tlsmod7.c: Likewise.
12642 * elf/tst-tlsmod8.c: Likewise.
12643 * elf/tst-tlsmod9.c: Likewise.
12644 * gmon/gmon.c: Likewise.
12645 * grp/fgetgrent_r.c: Likewise.
12646 * grp/putgrent.c: Likewise.
12647 * hurd/fopenport.c: Likewise.
12648 * include/libc-symbols.h: Likewise.
12649 * include/tls.h: Likewise.
12650 * intl/gettextP.h: Likewise.
12651 * intl/loadinfo.h: Likewise.
12652 * locale/global-locale.c: Likewise.
12653 * locale/localeinfo.h: Likewise.
12654 * mach/devstream.c: Likewise.
12655 * malloc/arena.c: Likewise.
12656 * malloc/set-freeres.c: Likewise.
12657 * misc/err.c: Likewise.
12658 * misc/getttyent.c: Likewise.
12659 * misc/mntent_r.c: Likewise.
12660 * posix/getopt.c: Likewise.
12661 * posix/wordexp.c: Likewise.
12662 * pwd/fgetpwent_r.c: Likewise.
12663 * resolv/Versions: Likewise.
12664 * resolv/res_hconf.c: Likewise.
12665 * shadow/fgetspent_r.c: Likewise.
12666 * shadow/putspent.c: Likewise.
12667 * stdio-common/printf_fphex.c: Likewise.
12668 * stdio-common/tmpfile.c: Likewise.
12669 * stdlib/abort.c: Likewise.
12670 * stdlib/fmtmsg.c: Likewise.
12671 * sunrpc/auth_unix.c: Likewise.
12672 * sunrpc/clnt_perr.c: Likewise.
12673 * sunrpc/clnt_tcp.c: Likewise.
12674 * sunrpc/clnt_udp.c: Likewise.
12675 * sunrpc/clnt_unix.c: Likewise.
12676 * sunrpc/openchild.c: Likewise.
12677 * sunrpc/svc_simple.c: Likewise.
12678 * sunrpc/svc_tcp.c: Likewise.
12679 * sunrpc/svc_udp.c: Likewise.
12680 * sunrpc/svc_unix.c: Likewise.
12681 * sunrpc/xdr.c: Likewise.
12682 * sunrpc/xdr_array.c: Likewise.
12683 * sunrpc/xdr_rec.c: Likewise.
12684 * sunrpc/xdr_ref.c: Likewise.
12685 * sunrpc/xdr_stdio.c: Likewise.
12686
1248c1c4
PB
126872011-09-09 Ulrich Drepper <drepper@gmail.com>
12688
12689 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12690
126912011-07-03 Andreas Jaeger <aj@suse.de>
12692
12693 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12694 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12695 regenerate with gen-libm-tests.pl.
12696
126972010-05-12 Petr Baudis <pasky@suse.cz>
12698
12699 [BZ #11589]
12700 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12701 around j0() zero points by switching to j1().
12702 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12703 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12704 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12705 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12706
f22e1074
UD
127072011-09-09 Ulrich Drepper <drepper@gmail.com>
12708
f19009c1
UD
12709 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12710 instead of 0.
12711 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12712 instead of 0. .
12713 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12714 Patch in part by Pavel Roskin <proski@gnu.org>.
12715
3f8cc204
UD
12716 [BZ #13138]
12717 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12718 realloc.
12719 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12720 Free memory block if necessary.
12721
f22e1074
UD
12722 [BZ #12847]
12723 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12724 be NULL. Don't lock in this case.
12725
0a2349f9
RM
127262011-09-09 Roland McGrath <roland@hack.frob.com>
12727
12728 * elf/elf.h (ELFOSABI_GNU): New macro.
12729 (ELFOSABI_LINUX): Define to that.
12730
f3cdd467
DZ
127312011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12732
12733 * string/strncat.c (strncat): Undef the symbol in case it has been
12734 defined in bits/string.h.
12735
74718d13
UD
127362011-09-09 Ulrich Drepper <drepper@gmail.com>
12737
633e9e0f
UD
12738 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12739
0a2349f9 12740 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12741 link map.
12742
f9924780
AJ
127432011-08-17 Andreas Jaeger <aj@suse.de>
12744
12745 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12746
7f5517aa
PP
127472011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12748 Ian Lance Taylor <iant@google.com>
12749
12750 * math/libm-test.inc (lround_test): New testcase.
12751 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12752
762011fe
UD
127532011-09-08 Ulrich Drepper <drepper@gmail.com>
12754
92963737
UD
12755 * Makefile: Remove support for automatic cvs check-ins.
12756 * Makerules: Likewise.
12757 * config.make.in: Likewise.
12758 * configure.in: Likewise.
12759 * intl/Makefile: Likewise.
12760 * locale/Makefile: Likewise.
12761 * po/Makefile: Likewise.
12762 * posix/Makefile: Likewise.
12763 * sysdeps/gnu/Makefile: Likewise.
12764 * sysdeps/mach/hurd/Makefile: Likewise.
12765 * sysdeps/sparc/sparc32/Makefile: Likewise.
12766
b0727fd8
JS
12767 [BZ #13118]
12768 * posix/Makefile (bug-regex32-ENV): Define.
12769 Patch by John Stanley <jpsinthemix@verizon.net>.
12770
a0f33f99
UD
12771 * misc/Makefile (headers): Add bits/select2.h.
12772 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12773 * misc/bits/select2.h: New file.
12774 * include/bits/select2.h: New file.
12775 * debug/Makefile (routines): Add fdelt_chk.
12776 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12777 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12778 FD_ISSET.
12779 * debug/fdelt_chk.c: New file.
12780
762011fe
UD
12781 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12782 * wcsmbs/test-wmemcmp.c: Likewise.
12783 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12784 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12785
127862011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12787
12788 * string/Makefile (strop-tests): Add memcmp.
12789 * string/test-wmemcmp.c: New file.
12790 * string/test-memcmp.c: Add wmemcmp support.
12791
7f513ec8
RM
127922011-09-08 Roland McGrath <roland@hack.frob.com>
12793
0442afb4
RM
12794 [BZ #13153]
12795 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12796 2011-07-19 change.
12797
7f513ec8
RM
12798 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12799 garbage value in a __mach_port_mod_refs call in the cases of the
12800 task-self and thread-self ports.
12801
a12b2239
ST
128022011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12803
12804 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12805
610f9ab4
AS
128062011-09-08 Andreas Schwab <schwab@redhat.com>
12807
7f513ec8 12808 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12809
48882a1a
LD
128102011-09-07 Ulrich Drepper <drepper@gmail.com>
12811
b49865be
UD
12812 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12813
fdc86bc9
UD
12814 * elf/dl-libc.c (dlerror_run): Pass back error code from
12815 dl_catch_error.
12816
c966526a
UD
12817 [BZ #13123]
12818 * elf/dl-load.c (lose): Free l_origin if it is valid.
12819
48882a1a
LD
12820 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12821 names.
12822 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12823 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12824 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12825 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12826 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12827 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12828
77a2a8b4
AZ
128292011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12830
12831 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12832 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12833 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12834 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12835 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12836 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12837 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12838 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12839 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12840 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12841
24f579d8
AM
128422011-08-15 Alan Modra <amodra@gmail.com>
12843
12844 [BZ #13092]
12845 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12846 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12847 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12848 ppc_mcount to static-only-routines.
12849 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12850 __mcount_internal.
12851 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12852 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12853
3d4837df
UD
128542011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12855
12856 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12857 for finite and infinity parameters.
12858
22700377
WS
128592011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12860
12861 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12862 and add nop instructions for throughput optimization.
12863 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12864
5025581e
WS
128652011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12866
12867 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12868 aligned copy for power7 with vector-scalar instructions.
12869 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12870
08a300c9
L
128712011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12872
12873 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12874 AVX check.
12875
59178ef9
AS
128762011-09-07 Andreas Schwab <schwab@redhat.com>
12877
12878 [BZ #13144]
12879 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12880 last change.
12881
e38ba7ab
UD
128822011-09-07 Ulrich Drepper <drepper@gmail.com>
12883
12884 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12885 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12886 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12887 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12888 clock_gettime.
12889
d53a73ac
UD
128902011-09-06 Ulrich Drepper <drepper@gmail.com>
12891
fc8bffcc
UD
12892 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12893 Forgot to demangle the pointer.
12894
ceaa0c5d
UD
12895 * sysdeps/i386/sysdep.h: Define atom_text_section.
12896 * sysdeps/x86_64/sysdep.h: Likewise.
12897 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12898 section with atom_text_section.
12899 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12900 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12901 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12902 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12903 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12904
a77d3c17
UD
12905 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12906 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12907 already be defined. Change to take two parameters and don't assign
12908 result to variable. Adjust all users.
12909 Define INTERNAL_GETTIME if not already defined.
12910 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12911 call.
12912 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12913 HAVE_CLOCK_GETTIME_VSYSCALL.
12914 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12915
d53a73ac
UD
12916 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12917 gettimeofday vsyscall, just use time.
12918
a8f84144
AS
129192011-09-06 Andreas Schwab <schwab@redhat.com>
12920
12921 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12922 <errno.h>.
12923
ef606249
UD
129242011-09-06 Ulrich Drepper <drepper@gmail.com>
12925
12926 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12927 syscall on x86-64.
12928 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12929 syscall.
12930 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12931 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12932 syscall if possible.
12933
6585cb60
UD
129342011-09-05 Ulrich Drepper <drepper@gmail.com>
12935
12936 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12937 e_ident. Don't pass to find_mapsXX.
12938 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12939
a5f524e4
LD
129402011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12941
12942 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12943 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12944 * sysdeps/x86_64/multiarch/strchr.S: Update.
12945 Check bit_slow_BSF bit.
12946 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12947 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12948 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12949
554881ef
UD
129502011-09-05 Ulrich Drepper <drepper@gmail.com>
12951
d96de963
UD
12952 [BZ #13134]
12953 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12954 before glibc 2.15.
12955 (tryshell): Define.
12956 (__spawni): Change last parameter to be flag. Test
12957 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12958 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12959 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12960 * posix/spawni.c: Likewise.
12961 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12962 * posix/spawnp.c: Likewise. Change normal version to use
12963 SPAWN_XFLAGS_USE_PATH.
12964 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12965 SPAWN_XFLAGS_TRY_SHELL.
12966
d48e5868
UD
12967 [BZ #13150]
12968 * posix/glob.h: Remove gcc 1.x support.
12969
554881ef
UD
12970 [BZ #13068]
12971 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12972
693fb948
LD
129732011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12974
12975 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12976 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12977 strrchr-sse2-bsf
12978 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12979 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12980 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12981 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12982 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12983 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12984
1b48c537
UD
129852011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12986
49d42c37
UD
12987 * sysdeps/x86_64/wcscmp.S: New file.
12988
1b48c537
UD
12989 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12990 wcscmp-c wcscmp-sse2
12991 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12992 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12993 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12994 * wcsmbs/wcscmp.c: Allow renaming.
12995
15c95c5d
DM
129962011-09-05 David S. Miller <davem@davemloft.net>
12997
12998 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12999 stack slot, rather than the struct return pointer slot.
13000 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13001 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13003 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13004
2f0ad8f3
UD
130052011-09-05 Ulrich Drepper <drepper@gmail.com>
13006
d88ae418
UD
13007 * po/ja.po: Update from translation team.
13008
2f0ad8f3
UD
13009 [BZ #13144]
13010 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13011 kernel in 64-bit binaries.
13012
5f4318d1
DM
130132011-09-01 David S. Miller <davem@davemloft.net>
13014
13015 * elf/elf.h (HWCAP_SPARC_*): Move to..
13016 * sysdeps/sparc/sysdep.h: this new file and add new values.
13017 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13018 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13019 _DL_HWCAP_COUNT to 24.
13020 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13021 entries.
13022 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13023 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13024 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13025 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13026 instead of magic constants.
13027 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13028
3ba57516
DM
130292011-08-31 David S. Miller <davem@davemloft.net>
13030
13031 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13032 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13033 Reimplement to do errno handling inline.
13034 (SYSCALL_ERROR_HANDLER): New macro.
13035 (__SYSCALL_STRING): Do not do errno handling in asm.
13036 (__CLONE_SYSCALL_STRING): Delete.
13037 (__INTERNAL_SYSCALL_STRING): Delete.
13038 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13039 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13040 (PSEUDO): Reimplement to do errno handling inline.
13041 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13042 (SYSCALL_ERROR_HANDLER): New macro.
13043 (__SYSCALL_STRING): Do not do errno handling in asm.
13044 (__CLONE_SYSCALL_STRING): Delete.
13045 (__INTERNAL_SYSCALL_STRING): Delete.
13046 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13047 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13048 i386.
13049 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13050 (inline_syscall*): Add 'err' argument.
13051 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13052 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13053 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13054 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13055
13056 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13057 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13058
2bc17433
AS
130592011-08-30 Andreas Schwab <schwab@redhat.com>
13060
13061 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13062
fbeb5f4d
JO
130632011-08-29 Jiri Olsa <jolsa@redhat.com>
13064
13065 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13066 directive.
13067
ad69cc26
DM
130682011-08-24 David S. Miller <davem@davemloft.net>
13069
13070 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13071
39dd69df
AS
130722011-08-24 Andreas Schwab <schwab@redhat.com>
13073
13074 * elf/Makefile: Add rules to build and run unload8 test.
13075 * elf/unload8.c: New file.
13076 * elf/unload8mod1.c: New file.
13077 * elf/unload8mod1x.c: New file.
13078 * elf/unload8mod2.c: New file.
13079 * elf/unload8mod3.c: New file.
13080
13081 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13082 it wasn't used.
13083
2c0b250a
DM
130842011-08-23 David S. Miller <davem@davemloft.net>
13085
13086 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13087 subtract stack bias.
13088 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13089 %sp not %fp in calculations.
13090 (_JMPBUF_UNWINDS_ADJ): Likewise.
13091
22044b48
DM
13092 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13093 (aio_suspend): Call it to force an exception region around the
13094 AIO_MISC_WAIT() invocation.
13095
2cae4995
AS
130962011-08-23 Andreas Schwab <schwab@redhat.com>
13097
13098 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13099 backslash.
13100
873a772e
AJ
131012011-07-04 Aurelien Jarno <aurelien@aurel32.net>
13102
13103 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13104 protection macro.
13105 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13106 and <dl-machine.h>.
13107 (Elf64_FuncDesc): Remove.
13108
25ad0df1
DM
131092011-08-22 David S. Miller <davem@davemloft.net>
13110
13111 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13112 sigaltstack check, add missing cfi directives.
13113 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13114 missing cfi directives, and sigaltstack handling.
13115
e888bcbe
AS
131162011-08-16 Andreas Schwab <schwab@redhat.com>
13117
13118 [BZ #11724]
13119 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13120 object is seen twice.
13121 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13122
13123 * elf/Makefile (distribute): Add tst-initorder2.c.
13124 (tests): Add tst-initorder2.
13125 (modules-names): Add tst-initorder2a tst-initorder2b
13126 tst-initorder2c tst-initorder2d. Add rules to build them.
13127 ($(objpfx)tst-initorder2.out): New rule.
13128 * elf/tst-initorder2.c: New file.
13129 * elf/tst-initorder2.exp: New file.
13130
87162f46
AS
131312011-08-22 Andreas Schwab <schwab@redhat.com>
13132
70538b7f
AS
13133 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13134
f55ffe58
AS
13135 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13136 dependencies back to end of function.
13137
87162f46
AS
13138 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13139 $(elfobjdir)/ld.so.
13140
91b392a4
UD
131412011-08-21 Ulrich Drepper <drepper@gmail.com>
13142
13143 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13144 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13145 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13146 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13147 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13148 of __vdso_gettimeofday.
13149 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13150 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
13151 attribute_hidden.
13152 (_libc_vdso_platform_setup): Remove initialization of
13153 __vdso_gettimeofday and __vdso_time.
13154
5c43483f
UD
131552011-08-20 Ulrich Drepper <drepper@gmail.com>
13156
775a77e7
UD
13157 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13158 and fgetc_unlocked.
13159 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13160 getc_unlocked.
89f447ed 13161
49c74ba9
UD
13162 * elf/dl-open.c (add_to_global): Report additions to the global scope
13163 for LD_DEBUG=scopes.
13164 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 13165 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 13166
5c43483f
UD
13167 [BZ #13114]
13168 * stdio-common/Makefile (tests): Add bug24.
13169 * stdio-common/bug24.c: New file.
13170
a101b025
AJ
131712011-08-19 Andreas Jaeger <aj@suse.de>
13172
13173 [BZ #13114]
13174 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13175 non-existant file when using close-on-exec mode.
13176
c88f1766
UD
131772011-08-20 Ulrich Drepper <drepper@gmail.com>
13178
0276a718
UD
13179 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13180 the very first instruction.
13181
c88f1766
UD
13182 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13183 the CFI state in the end.
13184 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13185 inclusion of dl-trampoline.h.
13186 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13187
51ccffa0
AS
131882011-08-19 Andreas Schwab <schwab@redhat.com>
13189
94d7165f
AS
13190 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13191 expectations for long double.
13192
51ccffa0
AS
13193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13194 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13195
fd708658 131962011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
13197
13198 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13199 artificual limit depends upon the system page size.
13200
44f0a71e
UD
132012011-08-17 Ulrich Drepper <drepper@gmail.com>
13202
13203 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13204 * resolv/Makefile: Define CFLAGS-libresolv.
13205
8de79a24
AS
132062011-08-17 Andreas Schwab <schwab@redhat.com>
13207
13208 * nss/makedb.c (compute_tables): Make variables used in nested
13209 function static.
13210
27724598
UD
132112011-08-17 Ulrich Drepper <drepper@gmail.com>
13212
c5305d88
UD
13213 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13214 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13215 if buffer was too small.
13216
27724598
UD
13217 * elf/pldd.c (main): Attach to all threads in the process.
13218 Rewrite /proc handling to use *at functions.
13219
076fe015
UD
132202011-08-16 Ulrich Drepper <drepper@gmail.com>
13221
174baab3
UD
13222 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13223 specifies first scope to show.
13224 (dl_open_worker): Update callers. Move printing scope of new
13225 object to before the relocation.
44f0a71e 13226 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
13227 * sysdeps/generic/ldsodefs.h: Update declaration.
13228
076fe015
UD
13229 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13230 string for the scope number.
13231
a60df2c3
UD
132322011-08-14 Ulrich Drepper <drepper@gmail.com>
13233
13234 * nscd/servicescache.c (cache_addserv): Make sure written is always
13235 initialized.
13236
5e4287d1
RM
132372011-08-14 Roland McGrath <roland@hack.frob.com>
13238
85ae0589
RM
13239 * sysdeps/i386/i486/bits/atomic.h
13240 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13241 statement expression, so as to suppress "set but not used" warning.
13242 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13243
69f63097
RM
13244 * string/strncat.c (STRNCAT): Use prototype definition.
13245
675456ef
RM
13246 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13247 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13248 -Iprograms here.
13249 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13250 (localedef-modules): Add localedef.
13251 (locale-modules): Add locale.
13252
5e4287d1
RM
13253 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13254 * elf/rtld.c (dl_main): Invert order of assignment in last change,
13255 to avoid a warning.
13256
9c96ff23
DM
132572011-08-14 David S. Miller <davem@davemloft.net>
13258
13259 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13260 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13261
f9ddf089
UD
132622011-08-13 Ulrich Drepper <drepper@gmail.com>
13263
44f0a71e 13264 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
13265 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13266 * elf/rtld.c (dl_main): Set l_name of vDSO.
13267 Call _dl_show_scope when DL_DEBUG_SCOPES.
13268 (process_dl_debug): Recognize scopes flag and also set it for all.
13269 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13270 Declare _dl_show_scope.
13271
1dc27704
UD
13272 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13273 (do_dlopen): Pass caller_dlopen to dl_open.
13274 (__libc_dlopen_mode): Initialize caller_dlopen.
13275
f9ddf089
UD
13276 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13277 of libc. Make tolower call locale-independent. Optimize a bit by
13278 using isdigit instead of isalnum.
13279 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13280
9ac533d3
UD
132812011-08-12 Ulrich Drepper <drepper@gmail.com>
13282
13283 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13284 was a dependency or dynamically loaded.
13285
89edf2e9
UD
132862011-08-11 Ulrich Drepper <drepper@gmail.com>
13287
8e999d29
UD
13288 * intl/l10nflist.c: Allow architecture-specific pop function.
13289 * sysdeps/x86_64/l10nflist.c: New file.
13290
89edf2e9
UD
13291 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13292 classification.
13293
14d96785
AS
132942011-08-10 Andreas Schwab <schwab@redhat.com>
13295
13296 * include/dirent.h: Add libc_hidden_proto for scandirat and
13297 scandirat64. Don't declare __scandirat64.
13298 * dirent/scandirat.c: Add libc_hidden_def.
13299 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13300 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13301
6761ac04
DM
133022011-08-10 David S. Miller <davem@davemloft.net>
13303
13304 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
13305 enum.
13306 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13307 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13308 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13309
c55fbd1e
UD
133102011-08-09 Ulrich Drepper <drepper@gmail.com>
13311
13312 * Versions.def [libc]: Add GLIBC_2.15.
13313 * dirent/Makefile (routines): Add scandirat and scandirat64.
13314 * dirent/Versions [libc]: Export scandirat and scandirat64 for
13315 GLIBC_2.15.
13316 * dirent/dirent.h: Declare scandirat and scandirat64.
13317 * dirent/scandirat.c: New file.
13318 * dirent/scandirat64.c: New file.
13319 * sysdeps/wordsize-64/scandirat.c: New file.
13320 * sysdeps/wordsize-64/scandirat64.c: New file.
13321 * dirent/opendir.c: Define opendirat.
13322 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
13323 using scandirat.
13324 * dirent/scandir64.c: Adjust for scandir.c change.
13325 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
13326 __scandirat64, and __scandir_cancel_handler.
13327 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
13328 additional parameter and use openat instead of open (outside of ld.so).
13329 Add new __opendir as wrapper around __opendirat.
13330 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13331 here without requiring old scandirat implementation.
13332
879165f2
UD
133332011-08-08 Ulrich Drepper <drepper@gmail.com>
13334
13335 * dirent/scandir.c (cancel_handler): Renamed to
13336 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
13337 defined. Adjust users.
13338 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13339 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13340
cb7e923b
UD
133412011-08-04 Ulrich Drepper <drepper@gmail.com>
13342
16292edd
UD
13343 * string/test-string.h (IMPL): Use __STRING to expand name and then
13344 stringify it.
13345
cb7e923b
UD
13346 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
13347 of cleanups.
13348
cff82933
LD
133492011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13350
13351 * string/Makefile: Update.
13352 (strop-tests): Append strncat.
13353 * string/test-wcscmp.c: New file.
13354 New comprehensive test for wcscmp.
13355 * string/test-strcmp.c: Update.
13356 (WIDE): New define.
13357
9be9bfcc
AS
133582011-07-22 Andreas Schwab <schwab@redhat.com>
13359
13360 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13361 line.
13362
2e96f1c7
AS
133632011-07-26 Andreas Schwab <schwab@redhat.com>
13364
13365 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13366 encoding to ACE if AI_IDN.
13367
85188888
JJ
133682011-08-01 Jakub Jelinek <jakub@redhat.com>
13369
13370 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13371 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13372
5fa16e9b
LD
133732011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13374
13375 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13376 Fix overflow bug in strncat.
13377 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13378
13379 * string/test-strncat.c: Update.
13380 Add new tests for checking overflow bugs.
13381
133822011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13383
13384 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13385 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13386 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13387 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13388 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13389 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13390 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13391 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13392 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13393
13394 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13395 (USE_AS_STRCAT): Define.
13396 Add strcat and strncat support.
13397 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13398
8c1a459f
AS
133992011-07-25 Andreas Schwab <schwab@redhat.com>
13400
13401 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13402 __n bigger than INT_MAX+1.
13403 (__strncmp_g): Likewise.
13404
bba33c28
UD
134052011-07-23 Ulrich Drepper <drepper@gmail.com>
13406
798be72d
UD
13407 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13408 * libio/stido.h: Likewise.
13409
8accd4dc
UD
13410 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13411 (AF_NFC): Define.
13412 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13413 (AF_NFC): Define.
13414
cbff0d96
UD
13415 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13416 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13417 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13418 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13419 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13420
9191c04a
UD
13421 [BZ #13021]
13422 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13423 installed.
13424
bba33c28
UD
13425 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13426 typo.
13427 (_dl_x86_64_save_sse): Likewise.
13428
90f139dd
UD
134292011-07-22 Ulrich Drepper <drepper@gmail.com>
13430
1aae088a
UD
13431 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13432 OSXSAVE.
13433 (_dl_x86_64_save_sse): Likewise.
13434
8e2045f5
UD
13435 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13436
90f139dd
UD
13437 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13438
1d002f25
AS
134392011-07-21 Andreas Schwab <schwab@redhat.com>
13440
13441 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13442 change.
13443 (_dl_x86_64_save_sse): Use correct AVX check.
13444
21137f89
UD
134452011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13446
13447 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13448 bug in strncpy/strncat.
13449 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13450
a65c0b7a
UD
134512011-07-21 Ulrich Drepper <drepper@gmail.com>
13452
13453 * string/tester.c (test_strcat): Add tests for different alignments
13454 of source and destination.
13455 (test_strncat): Likewise.
13456
6986b98a
UD
134572011-07-20 Ulrich Drepper <drepper@gmail.com>
13458
90bb2039
UD
13459 [BZ #12852]
13460 * posix/glob.c (glob): Check passed in values before using them in
13461 expressions to avoid some overflows.
13462 (glob_in_dir): Likewise.
13463
5644ef54
UD
13464 [BZ #13007]
13465 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13466 check for AVX enablement so that we don't crash with old kernels and
13467 new hardware.
13468 * elf/tst-audit4.c: Add same checks here.
13469 * elf/tst-audit6.c: Likewise.
13470
13471 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 13472
bfc9dc9b
AS
134732011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13474
13475 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13476
702e64bb
UD
134772011-07-20 Ulrich Drepper <drepper@gmail.com>
13478
13479 * po/cs.po: Update from translation team.
13480 * po/bg.po: Likewise.
13481
295e904f
MP
134822011-07-12 Marek Polacek <mpolacek@redhat.com>
13483
13484 * misc/sys/cdefs.h: Add support for const attribute.
13485 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13486 to gnu_dev_{major,minor,makedev} functions.
13487
3ff94596
MP
134882011-07-20 Marek Polacek <mpolacek@redhat.com>
13489
13490 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13491
28b59fca
AS
134922011-07-20 Andreas Schwab <schwab@redhat.com>
13493
13494 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13495 strlen results.
13496
19df733e
AK
134972011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13498
13499 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13500 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13501 register in order to avoid conflicts with the soft frame pointer
13502 being held in r11 when necessary.
13503 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13504 (INTERNAL_VSYSCALL_NCS): Likewise.
13505
c8835729
MP
135062011-07-14 Marek Polacek <mpolacek@redhat.com>
13507
13508 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13509 * elf/dl-fini.c (_dl_fini): Adjust caller.
13510 * elf/dl-close.c (_dl_close_worker): Likewise.
13511 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13512
b902330c
MP
135132011-07-15 Marek Polacek <mpolacek@redhat.com>
13514
8991e135
MP
13515 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13516 "aux_cache->nlibs < 0".
13517
b902330c
MP
13518 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13519 in the reload-count case.
13520
99710781
LD
135212011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13522
13523 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13524 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13525 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13526 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13527 * sysdeps/x86_64/multiarch/strcat.S: New file.
13528 * sysdeps/x86_64/multiarch/strncat.S: New file.
13529 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13530 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13531 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13532 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13533 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13534 (USE_AS_STRCAT): Define.
13535 Add strcat and strncat support.
13536 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13537 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13538 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13539 * string/strncat.c: Update.
13540 (USE_AS_STRNCAT): Define.
13541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13542 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13543 and i7.
13544 * sysdeps/x86_64/multiarch/init-arch.h
13545 (bit_Prefer_PMINUB_for_stringop): New.
13546 (index_Prefer_PMINUB_for_stringop): Likewise.
13547 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13548 bit_Prefer_PMINUB_for_stringop.
13549
7dc6bd90
UD
135502011-07-19 Ulrich Drepper <drepper@gmail.com>
13551
13552 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13553 buffer64.
13554 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13555 of casting of buffer.
13556 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13557 buffer32 and buffer64.
13558 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13559 writes instead of casting of buffer.
13560 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13561 buffer32.
13562 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13563 casting of buffer.
13564
e0e72284
AS
135652011-07-19 Andreas Schwab <schwab@redhat.com>
13566
13567 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13568
feb1eb0b
UD
135692011-07-19 Ulrich Drepper <drepper@gmail.com>
13570
13571 * nscd/nscd.c (termination_handler): Don't do anything for a database
13572 if it has not yet been initialized.
13573
298711ff
UD
135742011-07-18 Ulrich Drepper <drepper@gmail.com>
13575
13576 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13577
135782011-07-15 Marek Polacek <mpolacek@redhat.com>
13579
13580 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13581
f9d68389
UD
135822011-07-18 Ulrich Drepper <drepper@gmail.com>
13583
13584 * po/nl.po: Update from translation team.
13585 * po/sv.po: Likewise.
13586
db290cf5
RM
135872011-07-16 Roland McGrath <roland@hack.frob.com>
13588
13589 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13590 now disallowed by GCC.
5c550700 13591
fd5e21c7
RM
13592 * configure.in (use-default-link): Default to yes if a test -shared
13593 link meets our qualifications.
13594 * configure: Regenerated.
13595
5c550700
RM
13596 * config.make.in (output-format): New variable.
13597 * configure.in: Check for ld --print-output-format support.
13598 * configure: Regenerated.
13599 * Makerules ($(common-objpfx)format.lds)
13600 [$(output-format) != unknown]: Just use $(output-format),
13601 instead of the linker-script munging.
13602
9fa2c032
RM
136032011-07-14 Roland McGrath <roland@hack.frob.com>
13604
a6928d51
RM
13605 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13606 of $(common-objpfx)shlib.lds.
13607 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13608
661607b3
RM
13609 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13610 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13611
9fa2c032
RM
13612 * configure.in (-z relro check): Adjust test code to add a large
13613 writable data section after it.
13614 * configure: Regenerated.
13615
defe9061
RM
136162011-07-11 Roland McGrath <roland@hack.frob.com>
13617
13618 * configure.in (-z relro check): Fix test code to make the variable
13619 truly const.
13620 * configure: Regenerated.
13621
319b9ad4
UD
136222011-07-11 Ulrich Drepper <drepper@gmail.com>
13623
13624 * nscd/nscd.h (struct traced_file): Define.
13625 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13626 elements. Add traced_files.
13627 (inotify_fd): Declare.
13628 (register_traced_file): Declare.
13629 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13630 (inotify_fd): Export.
13631 (resolv_conf_descr): Remove.
13632 (nscd_init): Move inotify descriptor creation to main.
13633 Don't register files for notification here.
13634 (register_traced_file): New function.
13635 (invalidate_cache): Don't use reset_res to determine whether to call
13636 res_init, go through the list of registered files.
13637 (main_loop_poll): The inotify descriptors are now stored in the
13638 structures for the traced files.
13639 (main_loop_epoll): Likewise
13640 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13641 to __nss_disable_nscd.
13642 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13643 for a database anymore. Check the records for all the registered
13644 files instead.
13645 * nss/Makefile (libnss_files-routines): Add files-init.
13646 (libnss_db-routines): Add db-init.
13647 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13648 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13649 * nss/nss_db/db-init.c: New file.
13650 * nss/nss_files/files-init.c: New file.
13651 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13652 __nss_lookup_function.
13653 (__nss_lookup_function): Call nss_load_library.
13654 (nss_load_all_libraries): New function.
13655 (__nss_disable_nscd): Take parameter with callback function for files
13656 to register. Set is_nscd. Load all the DSOs for the NSS modules
13657 used for the cached services.
13658 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13659 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13660 options for features to all the files in nscd.
13661
13662 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13663
23bee3e8
RM
136642011-07-10 Roland McGrath <roland@hack.frob.com>
13665
13666 * csu/elf-init.c (__libc_csu_init): Comment typo.
13667
46a5b7f0
UD
136682011-07-09 Ulrich Drepper <drepper@gmail.com>
13669
13670 * po/pl.po: Update from translation team.
13671 * po/ja.po: Likewise.
13672 * po/ru.po: Likewise.
13673 * po/ko.po: Likewise.
13674 * po/fr.po: Likewise.
13675
d30cf5bb
RM
136762011-07-09 Roland McGrath <roland@hack.frob.com>
13677
113ddea4
RM
13678 * configure.in (.ctors/.dtors header and trailer check):
13679 Use an empirical test on a built program.
13680 * configure: Regenerated.
13681
574920b4
RM
13682 * configure.in (-z relro check): Use an empirical test on a built DSO.
13683 Detect, but do not require, on ia64.
13684 * configure: Regenerated.
13685
d30cf5bb
RM
13686 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13687 Update tests that use readelf to use $READELF instead.
13688 * configure: Regenerated.
13689
8538fdb3
UD
136902011-07-08 Ulrich Drepper <drepper@gmail.com>
13691
13692 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13693 if the result is not used.
13694
04d08991
AJ
136952011-07-05 Andreas Jaeger <aj@suse.de>
13696
13697 [BZ#9696]
13698 * stdlib/tst-strtod.c: Add testcase.
13699
de283087
AD
137002011-07-07 Ulrich Drepper <drepper@gmail.com>
13701
4e5f31c8 13702 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 13703 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13704 The latter has a higher limit. Take additional parameter to pass to
13705 the new function.
13706 (__pathconf): Pass file to __statfs_link_max.
13707 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13708 __statfs_link_max.
13709 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13710 __statfs_link_max.
13711
de283087
AD
13712 [BZ #12868]
13713 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13714 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13715 Handle Lustre.
13716 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13717 (__statfs_filesize_max): Likewise.
13718 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13719
c75fa153
AJ
137202011-07-05 Andreas Jaeger <aj@suse.de>
13721
13722 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13723
1a544854
UD
137242011-07-06 Marek Polacek <mpolacek@redhat.com>
13725
13726 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13727 `status' variable.
13728 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13729 Likewise.
13730
6f0eec67
UD
137312011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13732
13733 * Makefile (strop-tests): Add strncat.
13734 * string/test-strncat.c: New file.
13735
aae30307
UD
137362011-06-30 Marek Polacek <mpolacek@redhat.com>
13737
13738 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13739
c0cfb5eb
UD
137402011-06-21 Andreas Jaeger <aj@suse.de>
13741
13742 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13743 Copy rule from iconvdata/Makefile.
13744
01636b21
UD
137452011-07-06 Ulrich Drepper <drepper@gmail.com>
13746
13747 [BZ #12922]
13748 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13749 but no long options are defined, just return 'W'.
13750
9895c8bc
UD
137512011-06-22 Marek Polacek <mpolacek@redhat.com>
13752
13753 [BZ #9696]
13754 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13755
5d4cf042
UD
137562011-07-06 Ulrich Drepper <drepper@gmail.com>
13757
13758 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13759 netgroups to read.
960e5535 13760 (innetgr): Likewise.
5d4cf042 13761
751eb97e
RM
137622011-07-05 Roland McGrath <roland@hack.frob.com>
13763
13764 * config.make.in (install_root): Default to $(DESTDIR).
13765
f15f1e45
UD
137662011-07-05 Ulrich Drepper <drepper@gmail.com>
13767
13768 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13769
4e34ac6a
RM
137702011-07-02 Roland McGrath <roland@hack.frob.com>
13771
5e9b6af4
RM
13772 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13773
84f9ea0f
RM
13774 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13775 containing directory rather than embedding absolute directory names.
13776
ea5ee9f7
RM
13777 * scripts/check-local-headers.sh: Rewritten using awk.
13778 Match by word, not by line. Print error messages for matches.
13779 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13780
1b74661a
RM
13781 * Makerules [shlib-lds-flags empty]:
13782 ($(common-objpfx)libc_pic.opts): New target.
13783 ($(common-objpfx)libc_pic.os.clean): New target.
13784 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13785
13786 * config.make.in (OBJCOPY): New variable.
13787 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13788 * configure: Regenerated.
13789
f781ef40
RM
13790 * config.make.in (use-default-link): New variable.
13791 * configure.in (use_default_link): Grok --with-default-link to set it.
13792 * configure: Regenerated.
13793 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13794 (shlib-lds, shlib-lds-flags): Define to empty.
13795
2d4fa81e
RM
13796 * Makerules (shlib-lds): New variable.
13797 (shlib-lds-flags): New variable.
13798 (build-shlib, build-moduile, build-module-asneeded): Use it.
13799 ($(common-objpfx)libc.so): Use $(shlib-lds).
13800 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13801 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13802
31fffa6b
RM
13803 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13804 DT_FLAGS/DT_FLAGS_1 with zero flags.
13805
4e34ac6a
RM
13806 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13807 linker script munging.
13808
fcfc776b
UD
138092011-07-02 Ulrich Drepper <drepper@gmail.com>
13810
13811 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13812 as 128-bit value.
13813 * crypt/sha512.c (sha512_process_block): Perform total addition using
13814 128-bit if possible.
13815 (__sha512_finish_ctx): Likewise.
13816 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13817 as 64-bit value.
13818 * crypt/sha256.c (SWAP64): Define.
13819 (sha256_process_block): Perform total addition using 64-bit if
13820 possible.
13821 (__sha256_finish_ctx): Likewise.
13822
99231d9a
UD
138232011-07-01 Ulrich Drepper <drepper@gmail.com>
13824
13825 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13826 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13827 * nscd/hstcache.c (cache_addhst): Likewise.
13828 * nscd/grpcache.c (cache_addgr): Likewise.
13829 * nscd/aicache.c (addhstaiX): Likewise
13830 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13831
445b4a53
TK
138322011-07-01 Thorsten Kukuk <kukuk@suse.de>
13833
13834 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13835 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13836 * nscd/hstcache.c (cache_addhst): Likewise.
13837 * nscd/grpcache.c (cache_addgr): Likewise.
13838 * nscd/aicache.c (addhstaiX): Likewise
13839
6d4d8e8e
AS
138402011-07-01 Andreas Schwab <schwab@redhat.com>
13841
13842 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13843 domain only when needed.
13844
89f654c5
AS
138452011-06-30 Andreas Schwab <schwab@redhat.com>
13846
13847 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13848 is always restored.
13849
cf3b23ff
UD
138502011-06-29 Ulrich Drepper <drepper@gmail.com>
13851
13852 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13853 are re-adding the entry.
13854 * nscd/servicescache.c (cache_addserv): Likewise.
13855
751626f9
AJ
138562011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13857
13858 * sysdeps/generic/dl-irel.h: fix protection against multiple
13859 inclusions.
13860 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13861
9113ea1f
UD
138622011-06-28 Ulrich Drepper <drepper@gmail.com>
13863
5c0b8d90
UD
13864 [BZ #12935]
13865 * malloc/memusage.sh: Fix quoting in message.
13866 * debug/xtrace.sh: Likewise.
13867
9113ea1f
UD
13868 * configure.in: Remove support for --experimental-malloc option, make
13869 it the default.
13870 * config.make.in: Likewise.
13871 * malloc/Makefile: Likewise.
13872
a4172181
AS
138732011-06-27 Andreas Schwab <schwab@redhat.com>
13874
13875 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13876 two-byte characters.
13877
78a7eee7
RM
138782011-06-27 Roland McGrath <roland@hack.frob.com>
13879
62bede13
RM
13880 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13881 AC_CACHE_CHECK invocation.
13882 * configure: Regenerated.
13883
78a7eee7
RM
13884 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13885
5ce33a62
UD
138862011-06-27 Ulrich Drepper <drepper@gmail.com>
13887
034807a9
UD
13888 [BZ #12350]
13889 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13890 bit from old_res_options.
13891
4902da17
UD
13892 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13893
5ce33a62
UD
13894 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13895 value type for setfct.
13896
c2344f56
L
138972011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13898
13899 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13900 __gettimeofday instead of gettimeofday.
13901
68468076
UD
139022011-06-26 Ulrich Drepper <drepper@gmail.com>
13903
13904 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13905
acb0d739
L
139062011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13907
13908 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13909
13910 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13911 info.
13912
8912479f
L
139132011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13914
13915 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13916 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13917 strcpy-sse2-unaligned strncpy-sse2-unaligned
13918 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13919 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13920 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13921 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13922 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13923 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13924 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13925 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13926 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13927 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13928 (STRCPY): Support SSE2 and SSSE3 versions.
13929
d5495a11
UD
139302011-06-24 Ulrich Drepper <drepper@gmail.com>
13931
13932 [BZ #12874]
13933 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13934 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13935 kernels which artificially limit size of requests.
13936
0b1cbaae
L
139372011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13938
13939 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13940 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13941 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13942 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13943 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13944 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13945 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13946 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13947 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13948 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13949 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13950 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13951 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13952 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13953 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13954 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13955 Enable unaligned load optimization for Intel Core i3, i5 and i7
13956 processors.
13957 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13958 Define.
13959 (index_Fast_Unaligned_Load): Define.
13960 (HAS_FAST_UNALIGNED_LOAD): Define.
13961
07f494a0
MP
139622011-06-23 Marek Polacek <mpolacek@redhat.com>
13963
13964 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13965
fa3fc0fe
UD
139662011-06-22 Ulrich Drepper <drepper@gmail.com>
13967
13968 [BZ #12907]
13969 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13970 until it is clear that the information is realy needed.
13971 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13972
e12df166
AS
139732011-06-22 Andreas Schwab <schwab@redhat.com>
13974
13975 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13976
852eb34d
UD
139772011-06-22 Ulrich Drepper <drepper@gmail.com>
13978
84e2a551
UD
13979 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13980 /sys/devices/system/cpu/online if it is usable.
13981
852eb34d
UD
13982 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13983 reading the information from the /proc filesystem to once a second.
13984
6e502e19
UD
139852011-06-21 Andreas Jaeger <aj@suse.de>
13986
13987 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13988 NULL after inclusion of kernel headers.
13989
75d39ff2
UD
139902011-06-21 Ulrich Drepper <drepper@gmail.com>
13991
51f9aa6a
UD
13992 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13993 calls to internal_setent.
13994
c0244a9d
UD
13995 [BZ #12885]
13996 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13997 addresses using gethostbyname4_r ignore IPv4 addresses.
13998
c5e3c2ae
UD
13999 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14000 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
14001
75d39ff2
UD
14002 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14003
42675c6f
DM
140042011-06-20 David S. Miller <davem@davemloft.net>
14005
14006 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14007 inclusions.
14008 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14009
14010 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14011 (elf_irel): Use it.
14012 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14013 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14014 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14015 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14016 * sysdeps/x86_64/dl-irel.h: Likewise.
14017
14018 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14019 * elf/dl-sym.c: Likewise.
14020
57912a71
UD
140212011-06-15 Ulrich Drepper <drepper@gmail.com>
14022
14023 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14024 need to dereference resplen2.
14025
ee22793d
AS
140262011-06-14 Andreas Schwab <schwab@redhat.com>
14027
14028 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14029
a9e836b0
UD
140302011-06-15 Ulrich Drepper <drepper@gmail.com>
14031
77fb9117
UD
14032 * Makeconfig: Define vardbdir and inst_vardbdir.
14033 * nss/Makefile: Add rules to install db-Makefile.
14034
40c1b22c
UD
14035 * nss/nss_db/db-XXX.c: Cleanup.
14036
9f2da732
UD
14037 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14038 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14039 GLIBC_PRIVATE.
14040 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14041 * nss/makedb.c: Implement -g option to specify that value strings
14042 are generated and should not be added to table iterated over for
14043 get*ent calls.
14044 * nss/nss_db/db-initgroups.c: New file.
14045
82e9a1f7
UD
14046 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14047 interface.
14048
c41af17e
UD
14049 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14050 (internal_getgrouplist): Adjust to name change.
14051 Update use_initgroups_entry if this is not the first call.
14052 * nss/databases.def: Add initgroups entry.
14053
a9e836b0
UD
14054 * nss/makedb.c (compute_tables): Check result of multiple hash table
14055 sizes to minimize maximum chain length.
14056
2666d441
UD
140572011-06-14 Ulrich Drepper <drepper@gmail.com>
14058
14059 * Versions.def: Add entry for libnss_db.
14060 * shlib-versions: Likewise.
14061 * nss/Makefile: Add rules to build libnss_db.
14062 * nss/Versions: Add libnss_db information. Organize libnss_files
14063 entries better.
14064 * nss/db-Makefile: Add gshadow support. Change rules for the new
14065 makedb progra. Some minor improvements to generate smaller files.
14066 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14067 here from...
14068 * nss/makedb.c: ...here.
14069 Improve database format to be smaller and require less memory at
14070 runtime.
14071 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14072 db anymore.
14073 * nss/nss_db/db-netgrp.c: Likewise.
14074 * nss/nss_db/db-open.c: Likewise.
14075 * nss/nss_files/flies-XXX.x: Adjust comments.
14076 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14077 * nss/nss_files/files-grp.c: Likewise.
14078 * nss/nss_files/files-hosts.c: Likewise.
14079 * nss/nss_files/files-network.c: Likewise.
14080 * nss/nss_files/files-proto.c: Likewise.
14081 * nss/nss_files/files-pwd.c: Likewise.
14082 * nss/nss_files/files-rpc.c: Likewise.
14083 * nss/nss_files/files-service.c: Likewise.
14084 * nss/nss_files/files-sgrp.c: Likewise.
14085 * nss/nss_files/files-spwd.c: Likewise.
14086 * nss/nss_db/db-alias.c: Removed.
14087 * nss/nss_db/dummy-db.h: Removed.
14088
9ee76b5a
UD
140892011-06-02 Ulrich Drepper <drepper@gmail.com>
14090
14091 * nss/makedb.c: Rewritten to not use database library.
14092 * nss/Makefile: Update to build new makedb program.
14093
c71ca1f8
AJ
140942011-06-14 Andreas Jaeger <aj@suse.de>
14095
14096 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14097 memset declaration.
14098
3154bfb8
UD
140992011-06-10 Andreas Schwab <schwab@redhat.com>
14100
14101 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14102 tmpbuf.
14103
b350afab
RM
141042011-06-10 Roland McGrath <roland@hack.frob.com>
14105
decd4e50
RM
14106 * Makerules (shlib.lds): Fail if the linker script comes out empty.
14107 * elf/Makefile ($(objpfx)ld.so): Likewise.
14108
5615eaf2
RM
14109 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14110 Don't list ld.so twice in dependencies.
14111
14112 * posix/bug-regex31.c: Include <stdlib.h>.
14113
14114 * nscd/hstcache.c (cache_addhst): Remove unused variable.
14115
14116 * nis/nss_compat/compat-spwd.c
14117 (getspent_next_nss_netgr): Remove unused variable.
14118 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14119
14120 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14121 nonmembers" output to use the right array.
14122
14123 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14124
14125 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14126
14127 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14128 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14129 * catgets/gencat.c (read_input_file): Likewise.
14130 * locale/programs/locarchive.c (enlarge_archive): Likewise.
14131
14132 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14133 variable definition inside #if's controlling its use.
14134
14135 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14136
14137 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14138
14139 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14140
14141 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14142 unreachable code.
14143
14144 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14145
b68e08db
RM
14146 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14147 * configure: Regenerated.
14148
b350afab
RM
14149 * Makerules: Revert last change.
14150 * elf/Makefile: Likewise.
14151
28368601
RM
141522011-06-09 Roland McGrath <roland@hack.frob.com>
14153
14154 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14155 * elf/Makefile ($(objpfx)librtld.os): Likewise.
14156 (reloc-link): Likewise.
14157
11988f8f
UD
141582011-06-09 Ulrich Drepper <drepper@gmail.com>
14159
14160 * elf/Makefile: Add rules to build pldd.
14161 * elf/pldd.c: New file.
14162 * elf/pldd-xx.c: New file.
14163
e80fab37
UD
141642011-06-07 Ulrich Drepper <drepper@gmail.com>
14165
14166 * version.h: Update for 2.15 development version.
14167
9b849836
DM
141682011-06-07 David S. Miller <davem@davemloft.net>
14169
14170 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14171 ifuncs.
14172 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14173 elf_machine_lazy_rel): Likewise.
14174 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14175 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14176 elf_machine_lazy_rel): Likewise.
14177 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14178 dl_hwcap via passed in argument.
14179 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14180 Likewise.
14181
5a31b283
AK
141822011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14183
14184 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
14185
069e52f8
RM
141862011-06-06 Roland McGrath <roland@hack.frob.com>
14187
14188 [BZ #12849]
14189 * manual/fdl-1.1.texi: New file, verbatim from:
14190 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14191 * manual/lgpl-2.1.texi: New file, verbatim from:
14192 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14193 * manual/Makefile (licenses): New variable, list those new file names.
14194 (texis): Use it.
14195 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14196
14197 * manual/fdl.texi: File removed.
14198 * manual/lesser.texi: File removed.
14199 * manual/libc.texinfo (Copying, Documentation License):
14200 Use new @include file names, put @appendix directive before @include.
14201
f16846a5
JJ
142022011-06-04 Jakub Jelinek <jakub@redhat.com>
14203
14204 [BZ #12841]
14205 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14206 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14207 (mq_open): Add __NTH.
14208
3d29045b
L
142092011-06-02 H.J. Lu <hongjiu.lu@intel.com>
14210
14211 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14212 Assume Intel Core i3/i5/i7 processor if AVX is available.
14213
8c297311
UD
142142011-05-31 Ulrich Drepper <drepper@gmail.com>
14215
14216 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14217 typo.
14218
c8fc0c91
UD
142192011-05-31 Andreas Schwab <schwab@redhat.com>
14220
14221 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14222 memory. Use alloca_account. Fix memory leak when retrying.
14223
5b27a807
UD
142242011-05-31 Ulrich Drepper <drepper@gmail.com>
14225
356f8bc6
UD
14226 * version.h (RELEASE): Bump for 2.14 release.
14227 * include/features.h (__GLIBC_MINOR__): Bump to 14.
14228
5b27a807
UD
14229 * config.make.in (RANLIB): Remove entry.
14230
01f16ab0
UD
142312011-05-30 Ulrich Drepper <drepper@gmail.com>
14232
41fce8bd
UD
14233 * po/Makefile (po-sed-cmd): Add ksh to extensions.
14234 (libc.pot): Work around missing support for .ksh extension in xgettext.
14235
4769ae77
UD
14236 [BZ #12684]
14237 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14238 if both request failed.
14239 (send_dg): In case of server errors clear resplen or *resplen2.
14240
6b1e7d19
UD
14241 [BZ #12454]
14242 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14243 when there are multiple maps.
14244 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14245 (_dl_fini): Remove test here.
14246
01f16ab0
UD
14247 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14248
b1ebd700
UD
142492011-05-29 Ulrich Drepper <drepper@gmail.com>
14250
7ae22829
UD
14251 [BZ #12350]
14252 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14253 bit from old_res_options.
14254 (gaih_inet): Likewise.
14255
553149f6 14256 [BZ #11099]
18a84741 14257 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
14258 as signed.
14259
652ffab1
UD
14260 * resolv/res_init.c (res_setoptions): Make the code more compact.
14261
16985fd0
UD
14262 [BZ #11558]
14263 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14264 set RES_USEVC.
14265
0464f746
UD
14266 [BZ #11634]
14267 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14268
7d17596c
UD
14269 * malloc/malloc.h: Mark malloc hook variables as deprecated.
14270
cf6bbbd7
UD
14271 [BZ #11781]
14272 * malloc/malloc.h: Declare malloc hook variables as volatile.
14273
13f1ab36
UD
14274 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14275 in last patch.
14276
b1ebd700
UD
14277 [BZ #11799]
14278 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 14279 raise in the comment.
80e2212d
UD
14280 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14281 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14282 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 14283
ce67228d
UD
142842011-05-28 Ulrich Drepper <drepper@gmail.com>
14285
8887a920
UD
14286 [BZ #12811]
14287 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14288 grow the buffers more if it already has to be sufficient.
14289 (build_wcs_upper_buffer): Likewise.
14290 * posix/regexec.c (check_matching): Likewise.
14291 (clean_state_log_if_needed): Likewise.
14292 (extend_buffers): Don't enlarge buffers beyond size of the input
14293 buffer.
14294 Patches mostly by Emil Wojak <emil@wojak.eu>.
14295 * posix/bug-regex32.c: New file.
14296 * posix/Makefile (tests): Add bug-regex32.
14297
4f031072
UD
14298 * locale/findlocale.c (_nl_find_locale): Return right away if
14299 _nl_explode_name failed.
14300 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14301
d0478f0c
UD
14302 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14303
de81b246
UD
14304 * debug/xtrace.sh: Unify messages.
14305 * malloc/memusage.sh: Likewise.
14306
c738465a
UD
14307 [BZ #12813]
14308 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
14309 time symbol from vDSO. Substitute with vsyscall if not available.
14310 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
14311 __vdso_time.
14312
f1f929d7
UD
14313 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14314 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14315 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14316 Add sendmmsg and internal_sendmmsg.
14317 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14318 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14319 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14320
ce67228d
UD
14321 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14322 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14323 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14324
e57420c6
UD
143252011-05-27 Ulrich Drepper <drepper@gmail.com>
14326
a8509ca5
UD
14327 [BZ #12813]
14328 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
14329 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
14330 available.
14331 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14332 __vdso_getcpu.
14333
e57420c6
UD
14334 [BZ #12814]
14335 * iconvdata/Makefile (tests): Add bug-iconv9.
14336 * iconvdata/bug-iconv9.c: New file.
14337
4d07db15
AS
143382011-05-27 Andreas Schwab <schwab@redhat.com>
14339
14340 [BZ #12814]
14341 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14342
ea486f69
JJ
143432011-05-25 Jakub Jelinek <jakub@redhat.com>
14344
14345 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14346 (struct user_regs_struct): Change intcs field back to cs.
14347
6f038433
UD
143482011-05-25 Ulrich Drepper <drepper@gmail.com>
14349
14350 * po/ja.po: Update from translation team.
14351
67f86a25
UD
143522011-05-23 Ulrich Drepper <drepper@gmail.com>
14353
14354 [BZ #12795]
14355 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14356 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14357
def7fbd6
AS
143582011-05-20 Andreas Schwab <schwab@redhat.com>
14359
14360 * stdlib/longlong.h: Update from GCC.
14361
f50ef8f1
AS
143622011-05-23 Andreas Schwab <schwab@redhat.com>
14363
14364 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14365 parameter name.
14366 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14367 Add parameter name.
14368 (__sysconf): Pass it down.
14369
de7ce8f1
UD
143702011-05-22 Ulrich Drepper <drepper@gmail.com>
14371
f2962a71
UD
14372 [BZ #12671]
14373 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14374 some situations.
14375 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14376 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14377 add in in __libc_use_alloca calls. Adjust callers.
14378 (glob): Use malloc in some situations.
14379
de7ce8f1
UD
14380 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14381 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14382 pltexit.
14383
aec84f53
UD
143842011-05-21 Ulrich Drepper <drepper@gmail.com>
14385
05bb4a68
UD
14386 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14387 and CLOCK_BOOTTIME_ALARM.
14388
7ea72f99
UD
14389 [BZ #12782]
14390 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14391 is returned.
14392
7e4afad5
UD
14393 * string/_strerror.c (__strerror_r): Print negative errors as signed
14394 numbers.
14395
8e211fec
UD
14396 [BZ #12777]
14397 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14398 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14399 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14400
f7d82dc9
UD
14401 * configure.in: Fix typo in redirection and correct removal of test
14402 files in two cases.
14403
cc9e536d
UD
14404 [BZ #12788]
14405 * locale/setlocale.c (new_composite_name): Fix test to check for
14406 identical name of all categories.
14407
aec84f53
UD
14408 [BZ #12792]
14409 * libio/filedoalloc.c (local_isatty): New function.
14410 (_IO_file_doallocate): Use local_isatty.
14411 * stdio-common/perror.c (perror): In case a new stream is used
14412 forward the stream error.
14413 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14414 error flag.
14415
78e64fdc
RT
144162011-05-20 Ulrich Drepper <drepper@gmail.com>
14417
34a9094f
UD
14418 [BZ #11869]
14419 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14420 alloca.
14421 * include/alloca.h (extend_alloca_account): Define.
14422
78e64fdc
RT
14423 [BZ #11857]
14424 * posix/regex.h: Fix comments with documentation of user-accessible
14425 fields after compilation and describe correct free'ing of pattern
14426 after re_compile_pattern.
14427 Patch by Reuben Thomas <rrt@sc3d.org>.
14428
457bddfc
RA
144292011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14430
14431 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14432 and -mno-altivec to prevent the compiler from using Altivec and/or
14433 VSX instructions when the corresponding registers are not available.
14434
a4527b51
AS
144352011-05-19 Andreas Schwab <schwab@redhat.com>
14436
14437 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14438
ed690b2f
UD
144392011-05-19 Ulrich Drepper <drepper@gmail.com>
14440
14441 * libio/freopen.c (freopen): Use __dup2, not dup2.
14442 * libio/freopen64.c (freopen64): Likewise.
14443
8db73634
L
144442011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14445
14446 [BZ #12775]
14447 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14448 * math/Makefile (tests): Add test-powl.
14449 (CFLAGS-test-powl.c): Define.
14450 * math/test-powl.c: New file.
14451
0a197a9d
L
144522011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14453
14454 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14455
ee30c380
UD
144562011-05-17 Ulrich Drepper <drepper@gmail.com>
14457
14458 [BZ #11837]
14459 * iconvdata/gb18030.c: Update to GB18020-2005.
14460
6ce75379
UD
144612011-05-16 Ulrich Drepper <drepper@gmail.com>
14462
a4b89fd8
AR
14463 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14464 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14465 Patch by Aharon Robbins <arnold@skeeve.com>.
14466
ea389b12
UD
14467 [BZ #11892]
14468 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14469 on the stack.
14470
68a3f91f
UD
14471 [BZ #11895]
14472 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14473 through underflows.
14474
15cc7dd1
UD
14475 [BZ #12766]
14476 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14477 point to strings before performing equality test for error_one_per_line
14478 mode.
14479
f3799213
UD
14480 [BZ #11697]
14481 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14482
d79a9c94
UD
14483 [BZ #11820]
14484 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14485 (struct user_fpregs_struct): Avoid __uint*_t types.
14486
56e5eb46
UD
14487 [BZ #6420]
14488 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14489 symbol info. Use it instead of calling _dl_addr locally.
14490 (lock_and_info): New function.
14491 (tr_freehook): Call lock_and_info and pass symbol info as additional
14492 parameter to tr_where.
14493 (tr_mallochook): Likewise.
14494 (tr_reallochook): Likewise.
14495 (tr_memalignhook): Likewise.
14496
6ce75379
UD
14497 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14498 used and couldn't be at all thread-safe.
14499
f8a3b5bf
UD
145002011-05-15 Ulrich Drepper <drepper@gmail.com>
14501
94b7cc37
UD
14502 * libio/freopen.c (freopen): Don't close old file descriptor
14503 before the new one is opened. Instead dup the new file descriptor
14504 to the old one after the new stream is created.
14505 * libio/freopen64.c (freopen64): Likewise.
14506 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14507 * libio/fileops.c (_IO_new_file_close_it): Handle new
14508 _IO_FLAGS2_NOCLOSE flag.
14509 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14510 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14511 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14512 _IO_FLAGS2_NOCLOSE flag.
14513 * include/unistd.h: Add hidden_proto for dup3.
14514 Define __have_dup3.
14515 * io/dup3.c: Define hidden symbol.
14516 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14517
bd25564e
UD
14518 [BZ #7101]
14519 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14520 when an incomplete long option is used.
14521 * posix/tst-getopt_long1.c: New file.
14522 * posix/Makefile (tests): Add tst-getopt_long1.
14523
c84cfef4
UD
14524 [BZ #10138]
14525 * scripts/config.guess: Update from autoconf-2.68.
14526 * scripts/config.sub: Likewise.
14527
3b85df27
UD
14528 [BZ #10157]
14529 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14530 tests into ...
14531 (has_cpuclock): ...this. New function.
14532 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14533 macro here based on has_cpuclock code.
14534
15a856b1
UD
14535 [BZ #10149]
14536 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14537 First byte (not low byte) is now always NUL.
14538 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14539
05f399e6
UD
14540 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14541 Use non-cancelable interfaces.
14542
10a52685 14543 [BZ #9809]
94ecc67d
UD
14544 * locale/iso-639.def: Add entry for Sorani.
14545
f8a3b5bf
UD
14546 [BZ #11901]
14547 * include/stdlib.h: Move include protection to the right place.
14548 Define abort_msg_s. Declare __abort_msg with it.
14549 * stdlib/abort.c (__abort_msg): Adjust type.
14550 * assert/assert.c (__assert_fail_base): New function. Majority
14551 of code from __assert_fail. Allocate memory for __abort_msg with
14552 mmap.
14553 (__assert_fail): Now call __assert_fail_base.
14554 * assert/assert-perr.c: Remove bulk of implementation. Use
14555 __assert_fail_base.
14556 * include/assert.hL Declare __assert_fail_base.
14557 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14558 mmap.
14559 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14560
1af4e298
UD
145612011-05-14 Ulrich Drepper <drepper@gmail.com>
14562
f8a3b5bf 14563 [BZ #11952]
d26dfc60
MG
14564 [BZ #12453]
14565 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14566 until all modules are registered in the DTV.
14567 * elf/Makefile: Add rules to build and run tst-tls19.
14568 * elf/tst-tls19.c: New file.
14569 * elf/tst-tls19mod1.c: New file.
14570 * elf/tst-tls19mod2.c: New file.
14571 * elf/tst-tls19mod3.c: New file.
14572 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14573
2fc54d6f
UD
14574 [BZ #12083]
14575 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14576 correctly.
14577
98d76b46
UD
14578 [BZ #12601]
14579 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14580 two-byte sequence errors.
14581 * iconvdata/Makefile (tests): Add bug-iconv8.
14582 * iconvdata/bug-iconv8.c: New file.
14583
da3c19ef
UD
14584 [BZ #12626]
14585 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14586 buf2 definition.
14587
ca408c15
UD
14588 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14589
d6f67f7d
UD
14590 [BZ #12432]
14591 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14592 (dummy_getcfa): New function.
14593 (init): Get _Unwind_GetCFA address, use dummy if not found.
14594 (backtrace_helper): In recursion check, also check whether CFA changes.
14595 (__backtrace): Completely initialize arg.
14596
1af4e298 14597 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
14598 storing incomplete byte sequence in state object. Avoid testing for
14599 guaranteed too small input if we know there is enough data available.
1af4e298 14600
da62f81b
AS
146012011-05-11 Andreas Schwab <schwab@redhat.com>
14602
14603 * Makeconfig (+link-pie): Indent.
14604 * Rules (binaries-pie): Define if $(have-fpie) and
14605 $(build-shared).
14606 (binaries-shared): Also filter out $(binaries-pie).
14607 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14608 * nscd/Makefile (others-pie): Add nscd.
14609 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14610 ($(objpfx)nscd): Remove command override.
14611 * login/Makefile (others-pie): Add pt_chown.
14612 ($(objpfx)pt_chown): Remove command override.
14613 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14614 remove command overrides.
14615
fcabc0f8
UD
146162011-05-13 Ulrich Drepper <drepper@gmail.com>
14617
20030ae6
UD
14618 * libio/tst_putwc.c: Fix error messages.
14619
fcabc0f8
UD
14620 [BZ #12724]
14621 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14622 currently writing and seek to current position when not.
14623 * libio/Makefile (tests): Add bug-fclose1.
14624 * libio/bug-fclose1.c: New file.
14625
320a5dc0
PB
146262011-05-12 Ulrich Drepper <drepper@gmail.com>
14627
14628 [BZ #12511]
14629 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14630 don't set DF_1_NODELETE here.
14631 (do_lookup_x): When entering new entry test for copy relocation
14632 and if necessary set DF_1_NODELETE flag.
14633 * elf/tst-unique4.cc: New file.
14634 * elf/tst-unique4.h: New file.
14635 * elf/tst-unique4lib.cc: New file.
14636 * elf/Makefile: Add rules to build and run tst-unique4.
14637 Patch by Piotr Bury <pbury@goahead.com>.
14638
22836f52
UD
146392011-05-11 Ulrich Drepper <drepper@gmail.com>
14640
f574184a
UD
14641 [BZ #12052]
14642 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14643
e1fb097f
UD
14644 [BZ #12625]
14645 * misc/mntent_r.c (addmntent): Flush the stream after the output
14646
22836f52
UD
14647 [BZ #12393]
14648 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14649 (is_trusted_path_normalize): Skip initial colon. Append slash
14650 to empty buffer. Duplicate is_trusted_path code but allow
14651 constructed patch to be prefix.
14652 (is_dst): Allow $ORIGIN followed by /.
14653 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14654 Correct testing of result of is_trusted_path_normalize
14655 (decompose_rpath): Fix warning.
14656
7b3b0b2a
UD
146572011-05-10 Ulrich Drepper <drepper@gmail.com>
14658
14659 [BZ #11257]
14660 * grp/initgroups.c (internal_getgrouplist): When we found the service
14661 list through the initgroups entry in nsswitch.conf do not always
14662 continue on a successful lookup. Don't always use the
eac80ce2 14663 __nss_group_database value if it is set.
7b3b0b2a
UD
14664 * nss/nsswitch.conf (initgroups): Change action for successful db
14665 lookup to continue for compatibility.
14666
2a81eaa5
UD
146672011-05-09 Ulrich Drepper <drepper@gmail.com>
14668
be97a69e
UD
14669 [BZ #11532]
14670 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14671 and CP774 modules.
14672 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14673 and CP774 modules.
14674 * iconvdata/tst-tables.sh: Likewise.
14675 * iconvdata/cp770.c: New file.
14676 * iconvdata/cp771.c: New file.
14677 * iconvdata/cp772.c: New file.
14678 * iconvdata/cp773.c: New file.
14679 * iconvdata/cp774.c: New file.
14680 * iconvdata/testdata/CP770: New file.
14681 * iconvdata/testdata/CP770..UTF8: New file.
14682 * iconvdata/testdata/CP771: New file.
14683 * iconvdata/testdata/CP771..UTF8: New file.
14684 * iconvdata/testdata/CP772: New file.
14685 * iconvdata/testdata/CP772..UTF8: New file.
14686 * iconvdata/testdata/CP773: New file.
14687 * iconvdata/testdata/CP773..UTF8: New file.
14688 * iconvdata/testdata/CP774: New file.
14689 * iconvdata/testdata/CP774..UTF8: New file.
14690
14691 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14692 END CHARMAP line.
14693 * iconvdata/gen-8bit-gap.sh: Likewise.
14694 * iconvdata/gen-8bit.sh: Likewise.
14695
c1e9e399
UD
14696 * locale/iso-639.def: Add ary entry.
14697
24c55fb3 14698 [BZ #11258]
96b4b1b0
UD
14699 * locale/C-translit.h.in: Add U20A1 transliteration.
14700
bdc2f971
KB
14701 [BZ #12178]
14702 * locale/iso-639.def: Add wae entry.
14703 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14704
2952b117
UD
14705 [BZ #12545]
14706 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14707 for n.
14708
2a81eaa5
UD
14709 [BZ #12711]
14710 * locale/C-translit.h.in: Add entry for U20B9.
14711 Patch by pravin.d.s@gmail.com.
14712
28377d1b
UD
147132011-05-08 Ulrich Drepper <drepper@gmail.com>
14714
7fb90fb8
UD
14715 [BZ #12713]
14716 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14717 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14718 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14719 in rtld. Use *stat64.
7fb90fb8 14720 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14721 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14722 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14723 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14724 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14725 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14726 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14727 __fstatat64 macros.
7fb90fb8
UD
14728 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14729 * dirent/rewinddir.c: Add libc_hidden_def.
14730 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14731 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14732
28377d1b
UD
14733 * include/dirent.h (__alloc_dir): Add flags parameter.
14734 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14735 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14736 __alloc_dir.
14737 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14738 from fdopendir if O_CLOEXEC is already set.
14739
66bdbaa4
AM
147402011-03-15 Alan Modra <amodra@gmail.com>
14741
14742 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14743 l_tls_firstbyte_offset non-zero. Save padding offset in
14744 l_tls_firstbyte_offset for later use.
14745 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14746 freeing static tls block.
14747
95721191
JN
147482011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14749
14750 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14751 where #ifdef was intended. The intent is to prevent ARG_MAX from
14752 being defined by the kernel headers.
14753
f87dfb1f
UD
147542011-05-07 Ulrich Drepper <drepper@gmail.com>
14755
14756 [BZ #12734]
14757 * resolv/resolv.h: Define RES_NOTLDQUERY.
14758 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14759 no-tld-query and set RES_NOTLDQUERY.
14760 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14761 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14762 modern BIND to search name as TLD unless forbidden.
14763
47c3cd7a
UD
147642011-05-07 Petr Baudis <pasky@suse.cz>
14765 Ulrich Drepper <drepper@gmail.com>
14766
14767 [BZ #12393]
14768 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14769 (is_trusted_path): ...to here.
c1e9ea35 14770 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14771 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14772 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14773
8a35c912
PP
147742011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14775
14776 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14777 __BEGIN/__END_DECLS.
14778
acd41f47
UD
147792011-05-06 Ulrich Drepper <drepper@gmail.com>
14780
14781 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14782 NSS_STATUS_NOTFOUND if no record was found.
14783
597df647
AS
147842011-05-05 Andreas Schwab <schwab@redhat.com>
14785
14786 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14787 (headers-not-in-tirpc): Remove rpc/netdb.h
14788 * resolv/netdb.h: Revert last change.
14789
b9af1301
PP
147902011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14791
14792 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14793 circular dependency between libgcc.a and libc.a.
14794
4e34d5f5
AS
147952011-05-05 Andreas Schwab <schwab@redhat.com>
14796
14797 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14798 * nis/Makefile: Don't install rpcsvc/*.
14799 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14800 instead of <rpc/types.h>.
14801 (MAXHOSTNAMELEN): Define.
14802
00ee369c
AS
148032011-05-03 Andreas Schwab <schwab@redhat.com>
14804
14805 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14806
0b592a30
MB
148072011-04-28 Maciej Babinski <mbabinski@google.com>
14808
14809 [BZ #12714]
14810 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14811 gethostbyname4_r when IPv6 results are possible.
14812
6e04cbbe
UD
148132011-05-02 Ulrich Drepper <drepper@gmail.com>
14814
14815 [BZ #12723]
14816 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14817 _PC_PIPE_BUF handling.
14818
e4ecafe0
BH
148192011-04-30 Bruno Haible <bruno@clisp.org>
14820
14821 [BZ #12717]
14822 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14823 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14824 to 'int'.
14825 * inet/getnameinfo.c (getnameinfo): Likewise.
14826
125ee683
UD
148272011-04-29 Ulrich Drepper <drepper@gmail.com>
14828
14829 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14830 to groups setting in database lookup.
14831 * nss/nsswitch.conf: Add initgroups entry.
14832
b722481a
EB
148332011-04-22 Ulrich Drepper <drepper@gmail.com>
14834
14835 [BZ #12685]
14836 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14837 mode string.
14838 Patch by Eric Blake <eblake@redhat.com>.
14839
4df46dbd
L
148402011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14841
14842 * sunrpc/Makefile (need-export-routines): Add svc_run.
14843 (routines): Remove svc_run.
14844 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14845 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14846 * sunrpc/svc_run.c (svc_run): Likewise.
14847 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14848
e84142d2
UD
148492011-04-21 Ulrich Drepper <drepper@gmail.com>
14850
14851 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14852 problem in reallocation in last patch.
14853
877175d8
UD
148542011-04-20 Ulrich Drepper <drepper@gmail.com>
14855
14856 * sunrpc/Makefile: Move inclusion of Rules.
14857
ab8eed78
UD
148582011-04-19 Ulrich Drepper <drepper@gmail.com>
14859
14860 * nss/nss_files/files-initgroups.c: New file.
14861 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14862 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14863 _nss_files_initgroups_dyn.
14864
e3d8f584
RS
148652011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14866
14867 * elf/elf.h (R_ARM_IRELATIVE): Define.
14868
af190f45
UD
148692011-04-19 Ulrich Drepper <drepper@gmail.com>
14870
14871 * po/ru.po: Update from translation team.
14872
53cf59ef
UD
148732011-04-17 Ulrich Drepper <drepper@gmail.com>
14874
14875 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14876 dependencies.
14877
4c559bcd
MF
148782011-02-06 Mike Frysinger <vapier@gentoo.org>
14879
14880 [BZ #12653]
14881 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14882 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14883 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14884 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14885 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14886
4420675c
AS
148872011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14888
14889 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14890 differing bytes.
14891 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14892 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14893 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14894
75ea32ab
UD
148952011-04-17 Ulrich Drepper <drepper@gmail.com>
14896
14897 [BZ #12420]
14898 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14899 storing it.
14900 * stdlib/bug-getcontext.c: New file.
14901 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14902
27390476
AK
149032011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14904
14905 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14906 instructions into .machine "z9-109".
14907 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14908 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14909
10442705
AK
149102011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14911
14912 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14913 between environment variables and auxiliary vector.
14914
7b57bfe5
UD
149152011-04-16 Ulrich Drepper <drepper@gmail.com>
14916
14917 * Makefile: Add rules to build linkobj/libc.so.
14918 * include/libc-symbols.h: Define libc_hidden_nolink.
14919 * include/rpc/auth.h: Mark functions which are to be hidden.
14920 * include/rpc/auth_des.h: Likewise.
14921 * include/rpc/auth_unix.h: Likewise.
14922 * include/rpc/clnt.h: Likewise.
14923 * include/rpc/des_crypt.h: Likewise.
14924 * include/rpc/key_prot.h: Likewise.
14925 * include/rpc/pmap_clnt.h: Likewise.
14926 * include/rpc/pmap_prot.h: Likewise.
14927 * include/rpc/pmap_rmt.h: Likewise.
14928 * include/rpc/rpc_msg.h: Likewise.
14929 * include/rpc/svc.h: Likewise.
14930 * include/rpc/svc_auth.h: Likewise.
14931 * include/rpc/xdr.h: Likewise.
14932 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14933 * nss/Makefile: Likewise.
14934 * sunrpc/Makefile: Don't install headers. Build library with normal
14935 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14936 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14937 for the compat linking library. Remove use of INTDEF/INTUSE.
14938 * sunrpc/auth_none.c: Likewise.
14939 * sunrpc/auth_unix.c: Likewise.
14940 * sunrpc/authdes_prot.c: Likewise.
14941 * sunrpc/authuxprot.c: Likewise.
14942 * sunrpc/clnt_gen.c: Likewise.
14943 * sunrpc/clnt_perr.c: Likewise.
14944 * sunrpc/clnt_raw.c: Likewise.
14945 * sunrpc/clnt_simp.c: Likewise.
14946 * sunrpc/clnt_tcp.c: Likewise.
14947 * sunrpc/clnt_udp.c: Likewise.
14948 * sunrpc/clnt_unix.c: Likewise.
14949 * sunrpc/des_crypt.c: Likewise.
14950 * sunrpc/des_soft.c: Likewise.
14951 * sunrpc/get_myaddr.c: Likewise.
14952 * sunrpc/key_call.c: Likewise.
14953 * sunrpc/key_prot.c: Likewise.
14954 * sunrpc/netname.c: Likewise.
14955 * sunrpc/pm_getmaps.c: Likewise.
14956 * sunrpc/pm_getport.c: Likewise.
14957 * sunrpc/pmap_clnt.c: Likewise.
14958 * sunrpc/pmap_prot.c: Likewise.
14959 * sunrpc/pmap_prot2.c: Likewise.
14960 * sunrpc/pmap_rmt.c: Likewise.
14961 * sunrpc/publickey.c: Likewise.
14962 * sunrpc/rpc_cmsg.c: Likewise.
14963 * sunrpc/rpc_common.c: Likewise.
14964 * sunrpc/rpc_dtable.c: Likewise.
14965 * sunrpc/rpc_prot.c: Likewise.
14966 * sunrpc/rpc_thread.c: Likewise.
14967 * sunrpc/rtime.c: Likewise.
14968 * sunrpc/svc.c: Likewise.
14969 * sunrpc/svc_auth.c: Likewise.
14970 * sunrpc/svc_authux.c: Likewise.
14971 * sunrpc/svc_raw.c: Likewise.
14972 * sunrpc/svc_run.c: Likewise.
14973 * sunrpc/svc_simple.c: Likewise.
14974 * sunrpc/svc_tcp.c: Likewise.
14975 * sunrpc/svc_udp.c: Likewise.
14976 * sunrpc/svc_unix.c: Likewise.
14977 * sunrpc/svcauth_des.c: Likewise.
14978 * sunrpc/xcrypt.c: Likewise.
14979 * sunrpc/xdr.c: Likewise.
14980 * sunrpc/xdr_array.c: Likewise.
14981 * sunrpc/xdr_float.c: Likewise.
14982 * sunrpc/xdr_intXX_t.c: Likewise.
14983 * sunrpc/xdr_mem.c: Likewise.
14984 * sunrpc/xdr_rec.c: Likewise.
14985 * sunrpc/xdr_ref.c: Likewise.
14986 * sunrpc/xdr_sizeof.c: Likewise.
14987 * sunrpc/xdr_stdio.c: Likewise.
14988
e6c61494
UD
149892011-04-10 Ulrich Drepper <drepper@gmail.com>
14990
14991 [BZ #12650]
14992 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14993 * sysdeps/ia64/dl-tls.h: Likewise.
14994 * sysdeps/powerpc/dl-tls.h: Likewise.
14995 * sysdeps/s390/dl-tls.h: Likewise.
14996 * sysdeps/sh/dl-tls.h: Likewise.
14997 * sysdeps/sparc/dl-tls.h: Likewise.
14998 * sysdeps/x86_64/dl-tls.h: Likewise.
14999 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15000
34fe483e
AS
150012011-03-14 Andreas Schwab <schwab@redhat.com>
15002
15003 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15004 rpath element also skip the following colon.
15005 (expand_dynamic_string_token): Add is_path parameter and pass
15006 down to DL_DST_REQUIRED and _dl_dst_substitute.
15007 (decompose_rpath): Call expand_dynamic_string_token with
15008 non-zero is_path. Ignore empty rpaths.
15009 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15010 with zero is_path.
15011
f12a32e6
AS
150122011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15013
15014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15015 Make cancelable.
15016
38a7d692
UD
150172011-04-09 Ulrich Drepper <drepper@gmail.com>
15018
15019 [BZ #12655]
15020 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15021 Patch by Filipe David Manana <fdmanana@apache.org>.
15022
e451d22b
AS
150232011-04-07 Andreas Schwab <schwab@redhat.com>
15024
15025 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15026 Maintain aligned stack.
15027 (CHECK_RSP): Remove unused macro.
15028
dedc7c7b
UD
150292011-04-03 Ulrich Drepper <drepper@gmail.com>
15030
15031 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15032 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15033
94521213
UD
150342011-04-02 Ulrich Drepper <drepper@gmail.com>
15035
15036 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15037
8cb700c0 15038 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 15039
0354e355
L
150402011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15041
15042 [BZ #12518]
15043 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15044 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15045 * sysdeps/x86_64/memmove.c: New file.
15046 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15047 (memcpy): Renamed to ...
15048 (__new_memcpy): This.
15049 (memcpy): Provide GLIBC_2_14 memcpy.
15050 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15051 (memcpy): Provide GLIBC_2_2_5 memcpy.
15052
8593482f
UD
150532011-04-01 Ulrich Drepper <drepper@gmail.com>
15054
15055 [BZ #12631]
15056 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15057
81a5726b
AS
150582011-03-30 Andreas Schwab <schwab@redhat.com>
15059
15060 * misc/syncfs.c: New file.
15061 * misc/Makefile (routines): Add syncfs.
15062 * posix/unistd.h: Declare syncfs.
15063 * sysdeps/unix/syscalls.list: Add syncfs.
15064
00e5419f
AS
150652011-04-01 Andreas Schwab <schwab@redhat.com>
15066
15067 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15068 open_by_handle_at.
15069 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15070 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15071 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15072 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15073 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15074 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15075 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15076
748876bf
UD
150772011-04-01 Ulrich Drepper <drepper@gmail.com>
15078
658e451d
UD
15079 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15080 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15081 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15082 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15083 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15084 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15085 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15086
748876bf
UD
15087 * io/Makefile: Compile fallocate.c, fallocate64.c, and
15088 sync_file_range.c with -fexceptions.
15089 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15090 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15091 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15092 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15093 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15094 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15095 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
15096 sync_file_range as cancellation point
15097 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
15098 now a wrapper around __call_sync_file_range with cancellation handling.
15099 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15100 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
15101 function name to __call_sync_file_range.
15102 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15103 Add call_sync_file_range.
748876bf 15104
6e63d5e1
AS
151052011-04-01 Andreas Schwab <schwab@redhat.com>
15106
15107 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 15108 bits/timex.h.
6e63d5e1 15109
46998f74
UD
151102011-04-01 Ulrich Drepper <drepper@gmail.com>
15111
4c1423ed
UD
15112 * iconv/iconv.h: Fix typo in comment.
15113 * io/fcntl.h: Likewise.
15114 * libio/stdio.h: Likewise.
15115 * posix/spawn.h: Likewise.
15116 * posix/unistd.h: Likewise.
15117 * stdlib/stdlib.h: Likewise.
15118 * time/time.h: Likewise.
15119 * wcsmbs/wchar.h: Likewise.
15120
158648c0
UD
15121 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15122 open_by_handle): Add.
15123 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15124 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
15125 Augment a few comments.
15126 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15127 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15128 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15129 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15130 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15131 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15132 open_by_handle.
15133
46998f74
UD
15134 * io/fcntl.h (AT_EMPTY_PATH): Define.
15135
83fe108b
UD
151362011-03-30 Ulrich Drepper <drepper@gmail.com>
15137
15138 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15139 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15140 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15141 to...
15142 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
15143 * Versions.def: Add GLIBC_2.14.
15144 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15145 Export.
83fe108b 15146
bb242059
UD
151472011-03-22 Ulrich Drepper <drepper@gmail.com>
15148
15149 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15150 round counter.
15151 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15152
c97a1282
L
151532011-03-20 H.J. Lu <hongjiu.lu@intel.com>
15154
15155 [BZ #12597]
15156 * string/test-strncmp.c (do_page_test): New function.
15157 (check2): Likewise.
15158 (test_main): Call check2.
15159 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15160
2a115601
UD
151612011-03-20 Ulrich Drepper <drepper@gmail.com>
15162
15163 [BZ #12587]
15164 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15165 Handle cache information in CPU leaf 4.
15166 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15167
8126d904
UD
151682011-03-18 Ulrich Drepper <drepper@gmail.com>
15169
042c49c6 15170 [BZ #12583]
8126d904
UD
15171 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15172 character representation.
15173 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15174
ccfe366e
RA
151752011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
15176
15177 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15178 END(__isnan) to END(__isnanf) to match function entry point/label
15179 EALIGN(__isnanf,...).
15180
c6e13027
JJ
151812011-03-10 Jakub Jelinek <jakub@redhat.com>
15182
15183 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15184
33f85a3f
UD
151852011-03-10 Ulrich Drepper <drepper@gmail.com>
15186
028478fa
UD
15187 [BZ #12510]
15188 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15189 copy from the symbol referenced in the relocation to initialize the
15190 used variable.
15191 Patch by Piotr Bury <pbury@goahead.com>.
15192 * elf/Makefile: Add rules to build and tst-unique3.
15193 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15194 * elf/tst-unique3.cc: New file.
15195 * elf/tst-unique3.h: New file.
15196 * elf/tst-unique3lib.cc: New file.
15197 * elf/tst-unique3lib2.cc: New file.
15198
33f85a3f
UD
15199 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15200
03592fc7
MF
152012011-03-10 Mike Frysinger <vapier@gentoo.org>
15202
15203 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15204 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
15205 to _start.
03592fc7 15206
6a5ee102
UD
152072011-03-06 Ulrich Drepper <drepper@gmail.com>
15208
15209 * elf/dl-load.c (_dl_map_object): If we are looking for the first
15210 to-be-loaded object along a path to loader is ld.so.
15211
7e4ba49c
HJ
152122011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15213 Ulrich Drepper <drepper@gmail.com>
15214
15215 * sysdeps/x86_64/memset.S: After aligning destination, code
15216 branches to different locations depending on the value of
15217 misalignment, when multiarch is enabled. Fix this.
15218
152192011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15220
15221 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15222 Set _x86_64_preferred_memory_instruction for AMD processsors.
15223 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15224 Set bit_Prefer_SSE_for_memop for AMD processors.
15225
13a804de
UD
152262011-03-04 Ulrich Drepper <drepper@gmail.com>
15227
15228 * libio/fmemopen.c (fmemopen): Optimize a bit.
15229
9d25c392
AS
152302011-03-03 Andreas Schwab <schwab@redhat.com>
15231
15232 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15233
a5543c6a
RM
152342011-03-03 Roland McGrath <roland@redhat.com>
15235
15236 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15237
012d35f7
DM
152382011-02-28 Aurelien Jarno <aurelien@aurel32.net>
15239
7e4ba49c 15240 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
15241 __bzero_ultra1 instead of __memset_ultra1.
15242
4bff6e01
AS
152432011-02-23 Andreas Schwab <schwab@redhat.com>
15244 Ulrich Drepper <drepper@gmail.com>
15245
15246 [BZ #12509]
15247 * include/link.h (struct link_map): Add l_orig_initfini.
15248 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15249 returning unsuccessfully.
15250 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15251 close of a file loaded at startup, restore the original l_initfini
15252 list.
15253 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15254 list, store the pointer.
15255 * elf/Makefile ($(objpfx)noload-mem): New rule.
15256 (noload-ENV): Define.
15257 (tests): Add $(objpfx)noload-mem.
15258 * elf/noload.c: Include <memcheck.h>.
15259 (main): Call mtrace. Close all opened handles.
15260
f2092faf
AS
152612011-02-17 Andreas Schwab <schwab@redhat.com>
15262
15263 [BZ #12454]
15264 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15265 dependencies are missing.
15266
6c8a2e88
ST
152672011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15268
f2092faf 15269 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
15270 Hurd needs munmap.
15271 * sysdeps/mach/hurd/ifreq.h: New file.
15272
84a42118
PB
152732011-01-27 Petr Baudis <pasky@suse.cz>
15274 Ulrich Drepper <drepper@gmail.com>
15275
071f805e 15276 [BZ 12445]#
84a42118
PB
15277 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15278 to extend_alloca().
15279 * stdio-common/bug23.c: New file.
15280 * stdio-common/Makefile (tests): Add bug23.
15281
e23fe25b
AS
152822010-09-28 Andreas Schwab <schwab@redhat.com>
15283 Ulrich Drepper <drepper@gmail.com>
15284
15285 [BZ #12489]
15286 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15287 before performing relro protection. At old place add assertion
15288 to make sure nothing changed.
15289
d3f02e10
NS
152902011-02-17 Nathan Sidwell <nathan@codesourcery.com>
15291 Glauber de Oliveira Costa <glommer@gmail.com>
15292
15293 * elf/elf.h: Add new ARM TLS relocs.
15294
d55fd7a5
RA
152952011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
15296
15297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15298 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15299 cast from r3.
15300 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
15301 'tests' variable.
15302 * sysdeps/wordsize-64/tst-writev.c: New file.
15303
2206397e
RA
153042011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
15305
15306 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
15307 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
15308 insns in _dl_start to prevent a TOC reference before relocs are
15309 resolved.
15310
e9433893
UD
153112011-02-15 Ulrich Drepper <drepper@gmail.com>
15312
15313 [BZ #12469]
15314 * Makeconfig: Remove RANLIB definition.
15315 * Makerules: Don't use RANLIB.
15316 * aclocal.m4: Remove ranlib test.
15317 * configure.in: No need to check for ranlib.
15318 * elf/rtld-Rules: Don't use RANLIB.
15319
f75286c6
ST
153202011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15321
8e31c82d
ST
15322 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15323 protection macro.
15324 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15325 inclusion protection macro.
15326
f75286c6
ST
15327 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
15328 SIGRTMIN and SIGRTMAX and print information in that case only when
15329 SIGRTMIN is defined.
15330
c1d0e639
JJ
153312011-02-11 Jakub Jelinek <jakub@redhat.com>
15332
15333 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15334 arginfo fn returning -1.
15335
15336 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15337 and thousands string is zero terminated.
15338
edf9294e
AS
153392011-02-03 Andreas Schwab <schwab@redhat.com>
15340
15341 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15342 sysdeps/unix/sysv/linux/bits/socket.h.
15343
2b7e92df
ST
153442011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15345
edf9294e
AS
15346 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15347 (__CPU_COUNT): Remove old macros.
15348 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15349 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15350 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
15351 (__sched_cpualloc, __sched_cpufree): Add declarations.
15352
a4c7ea7b
UD
153532011-02-05 Ulrich Drepper <drepper@gmail.com>
15354
15355 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15356 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15357 * nscd/aicache.c (addhstaiX): Return timeout of added value.
15358 (readdhstai): Return value of addhstaiX call.
15359 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15360 (addgrbyX): Return value returned by cache_addgr.
15361 (readdgrbyname): Return value returned by addgrbyX.
15362 (readdgrbygid): Likewise.
15363 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15364 (addpwbyX): Return value returned by cache_addpw.
15365 (readdpwbyname): Return value returned by addhstbyX.
15366 (readdpwbyuid): Likewise.
15367 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15368 (addservbyX): Return value returned by cache_addserv.
15369 (readdservbyname): Return value returned by addservbyX:
15370 (readdservbyport): Likewise.
15371 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15372 (addhstbyX): Return value returned by cache_addhst.
15373 (readdhstbyname): Return value returned by addhstbyX.
15374 (readdhstbyaddr): Likewise.
15375 (readdhstbynamev6): Likewise.
15376 (readdhstbyaddrv6): Likewise.
15377 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15378 (readdinitgroups): Return value returned by addinitgroupsX.
15379 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15380 (prune_cache): Keep track of timeout value of re-added entries.
15381 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15382 * nscd/nscd.h: Adjust prototypes of readd* functions.
15383
a0bf67cc
RM
153842011-02-04 Roland McGrath <roland@redhat.com>
15385
15386 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15387 (nis_stats): Likewise.
15388 * nis/nis_modify.c (nis_modify): Likewise.
15389 * nis/nis_remove.c (nis_remove): Likewise.
15390 * nis/nis_add.c (nis_add): Likewise.
15391
15392 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15393
15394 * posix/fnmatch_loop.c: Add some consts.
15395
15396 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15397
435b95eb
L
153982011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15399
15400 [BZ #12460]
15401 * config.make.in (config-cflags-novzeroupper): Define.
15402 * configure.in: Substitute libc_cv_cc_novzeroupper.
15403 * elf/Makefile (AVX-CFLAGS): Define.
15404 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15405 (CFLAGS-tst-auditmod4a.c): Likewise.
15406 (CFLAGS-tst-auditmod4b.c): Likewise.
15407 (CFLAGS-tst-auditmod6b.c): Likewise.
15408 (CFLAGS-tst-auditmod6c.c): Likewise.
15409 (CFLAGS-tst-auditmod7b.c): Likewise.
15410 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15411
8517b15e
UD
154122011-02-02 Ulrich Drepper <drepper@gmail.com>
15413
15414 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15415 function to the callback.
15416 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15417
10a656fe
AS
154182011-02-02 Andreas Schwab <schwab@redhat.com>
15419
15420 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15421 of errno.
15422
968dad0a
UD
154232011-01-19 Ulrich Drepper <drepper@gmail.com>
15424
9f94d2ea 15425 [BZ #11724]
968dad0a
UD
15426 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15427 of constructors.
15428 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15429 of destructors.
15430 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15431
15432 [BZ #11724]
15433 * elf/Makefile: Add rules to build and run new test.
15434 * elf/tst-initorder.c: New file.
15435 * elf/tst-initorder.exp: New file.
15436 * elf/tst-initordera1.c: New file.
15437 * elf/tst-initordera2.c: New file.
15438 * elf/tst-initordera3.c: New file.
15439 * elf/tst-initordera4.c: New file.
15440 * elf/tst-initorderb1.c: New file.
15441 * elf/tst-initorderb2.c: New file.
15442 * elf/tst-order-a1.c: New file.
15443 * elf/tst-order-a2.c: New file.
15444 * elf/tst-order-a3.c: New file.
15445 * elf/tst-order-a4.c: New file.
15446 * elf/tst-order-b1.c: New file.
15447 * elf/tst-order-b2.c: New file.
15448 * elf/tst-order-main.c: New file.
15449 New test case by George Gensure <werkt0@gmail.com>.
15450
86e92359
UD
154512010-10-01 Andreas Schwab <schwab@redhat.com>
15452
15453 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15454 decoding ACE if AI_CANONIDN.
15455
5d5732b0
UD
154562011-01-18 Ulrich Drepper <drepper@gmail.com>
15457
15458 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15459
a77e8cbc
UD
154602011-01-17 Ulrich Drepper <drepper@gmail.com>
15461
6392473f
UD
15462 * version.h (RELEASE): Bump for 2.13 release.
15463 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15464
620a0529
UD
15465 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15466
18ba70a5
UD
15467 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15468 MADV_NOHUGEPAGE.
32465c3e
UD
15469 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15470 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15471 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15472 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15473 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15474 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15475
c0dafcf1
UD
15476 * posix/getconf.c: Update copyright year.
15477 * catgets/gencat.c: Likewise.
15478 * csu/version.c: Likewise.
15479 * debug/catchsegv.sh: Likewise.
15480 * debug/xtrace.sh: Likewise.
15481 * elf/ldconfig.c: Likewise.
15482 * elf/ldd.bash.in: Likewise.
15483 * elf/sprof.c (print_version): Likewise.
15484 * iconv/iconv_prog.c: Likewise.
15485 * iconv/iconvconfig.c: Likewise.
15486 * locale/programs/locale.c: Likewise.
15487 * locale/programs/localedef.c: Likewise.
15488 * malloc/memusage.sh: Likewise.
15489 * malloc/mtrace.pl: Likewise.
15490 * nscd/nscd.c (print_version): Likewise.
15491 * nss/getent.c: Likewise.
15492
a77e8cbc
UD
15493 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15494 PF_CAIF, and PF_ALG.
15495 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15496
77e8bddf
AS
154972011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15498
1f20b93a
AS
15499 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15500 (modules-names): Use them.
15501 (ifunc-test-modules, ifunc-pie-tests): Define.
15502 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15503 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15504 (test-extras): Likewise.
15505 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15506 $(compile-command.c).
15507 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15508 (all-built-dso): Define.
15509 (check-textrel.out, check-execstack.out): Depend on it.
15510
77e8bddf
AS
15511 * configure.in: Don't override --enable-multi-arch.
15512
bc425b33
UD
155132011-01-15 Ulrich Drepper <drepper@gmail.com>
15514
15515 [BZ #6812]
15516 * nscd/hstcache.c (tryagain): Define.
15517 (cache_addhst): Return tryagain not notfound for temporary errors.
15518 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15519 failed.
15520
794c3ad3
UD
155212011-01-14 Ulrich Drepper <drepper@gmail.com>
15522
70181fdd
UD
15523 [BZ #10563]
15524 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15525 to make the syscall.
15526 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15527
794c3ad3
UD
15528 [BZ #12378]
15529 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15530 and fall back to matching as normal character if the string ends before
15531 the matching ']' is found. This is what POSIX requires.
15532 * posix/testfnm.c: Adjust test result.
15533 * posix/globtest.sh: Adjust test result. Add new test.
15534 * posix/tst-fnmatch.input: Likewise.
15535 * posix/tst-fnmatch2.c: Add new test.
15536
68dc9497
AS
155372010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15538
15539 * elf/Makefile (check-execstack): Revert last change. Depend on
15540 check-execstack.h.
15541 (check-execstack.h): New target.
15542 (generated): Add check-execstack.h.
15543 * elf/check-execstack.c: Include "check-execstack.h".
15544 (main): Revert last change.
15545 (handle_file): Return zero if GNU_STACK is absent and
15546 DEFAULT_STACK_PERMS doesn't include PF_X.
15547
451f001b
UD
155482011-01-13 Ulrich Drepper <drepper@gmail.com>
15549
cfa28e56
UD
15550 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15551 in child fails because the descriptor is already closed.
8cf8ce17
UD
15552 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15553 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15554 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 15555
1086d70d
UD
15556 [BZ #12397]
15557 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15558 syscall.
15559
451f001b
UD
15560 [BZ #10484]
15561 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15562 temporary buffer used to handle multi lookups locally.
a85b5cb4 15563 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 15564
08769175
UD
155652011-01-12 Ulrich Drepper <drepper@gmail.com>
15566
15567 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15568 loader is ld.so.
15569
5e49c52e
UD
155702011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15571
15572 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15573 alignment for SSE2.
15574
60522a5f
UD
155752011-01-12 Ulrich Drepper <drepper@gmail.com>
15576
15577 [BZ #12394]
15578 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15579 characters. When rounding increased number of integer digits recompute
15580 number of groups.
15581 * stdio-common/tst-grouping.c: New file.
15582 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15583
f257bbd7
UD
155842011-01-09 Ulrich Drepper <drepper@gmail.com>
15585
15586 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15587 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15588
15589 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15590 void.
15591 * bits/select.h: Likewise.
15592
fa9c15cb
UD
155932011-01-08 Ulrich Drepper <drepper@gmail.com>
15594
15595 * po/ja.po: Update from translation team.
15596
16c2895f
DM
155972011-01-04 David S. Miller <davem@sunset.davemloft.net>
15598
15599 [BZ #11155]
15600 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15601 implementation just like for lxstat, fxstatat, et al.
15602
2543fef2
JM
156032010-12-27 Jim Meyering <meyering@redhat.com>
15604
15605 [BZ #12348]
15606 * posix/regexec.c (build_trtable): Return failure indication upon
15607 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15608
98727dbe
UD
156092010-12-25 Ulrich Drepper <drepper@gmail.com>
15610
5bd6dc5c
UD
15611 [BZ #12201]
15612 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15613 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15614 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15615 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15616
97983464
UD
15617 [BZ #12207]
15618 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15619
98727dbe
UD
15620 [BZ #12204]
15621 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15622 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15623
4a531bb0
L
156242010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15625
15626 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15627 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15628 script has SORT_BY_INIT_PRIORITY.
15629 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15630 NO_CTORS_DTORS_SECTIONS is defined.
15631 * elf/soinit.c: Likewise.
15632 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15633 NO_CTORS_DTORS_SECTIONS is defined.
15634 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15635 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15636 * sysdeps/sh/init-first.c: Likewise.
15637 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15638
07eb4b71
UD
156392010-12-24 Ulrich Drepper <drepper@gmail.com>
15640
15641 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15642 always use the slow path.
15643
30950a5f
RA
156442010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15645
15646 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15647 similar rule which adds the sysdep directories to the header search in
15648 order to pick up the correct platform stackinfo.h.
15649 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15650 perform test if it is, otherwise return successfully without testing.
15651 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15652 DEFAULT_STACK_PERMS define in stackinfo.h.
15653 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15654 defined in stackinfo.h.
15655 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15656 DEFAULT_STACK_PERMS defined in stackinfo.h.
15657 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15658 * sysdeps/ia64/stackinfo.h: Likewise.
15659 * sysdeps/s390/stackinfo.h: Likewise.
15660 * sysdeps/sh/stackinfo.h: Likewise.
15661 * sysdeps/sparc/stackinfo.h: Likewise.
15662 * sysdeps/x86_64/stackinfo.h: Likewise.
15663 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15664 PF_X for powerpc64. Retain PF_X for powerpc32.
15665
db753e2c
UD
156662010-12-19 Ulrich Drepper <drepper@gmail.com>
15667
14b697f7
UD
15668 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15669 accurately.
db753e2c
UD
15670 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15671 GETDENTS_64BIT_ALIGNED.
15672
28300719
UD
156732010-12-14 Ulrich Drepper <dreper@gmail.com>
15674
14b697f7 15675 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15676
4f197237
AS
156772010-12-10 Andreas Schwab <schwab@redhat.com>
15678
dbb0472f
AS
15679 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15680 _GNU_SOURCE.
15681
4f197237
AS
15682 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15683 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15684 Remove __restrict.
15685 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15686 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15687
fb88ac72
UD
156882010-12-09 Ulrich Drepper <drepper@gmail.com>
15689
15690 [BZ #11655]
15691 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15692 are initialized.
15693
42acbb92
JJ
156942010-12-09 Jakub Jelinek <jakub@redhat.com>
15695
15696 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15697
c038d98d
UD
156982010-12-03 Ulrich Drepper <drepper@gmail.com>
15699
15700 * po/it.po: Update from translation team.
15701
3a4a2499
L
157022010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15703
15704 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15705 unused codes.
15706
1e24cf6e
UD
157072010-11-30 Ulrich Drepper <drepper@gmail.com>
15708
15709 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15710
a7690819
AS
157112010-11-24 Andreas Schwab <schwab@redhat.com>
15712
15713 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15714 specially.
15715 (gaih_getanswer_slice): Likewise.
15716
3bf8d1b1
JJ
157172010-10-20 Jakub Jelinek <jakub@redhat.com>
15718
15719 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15720
6db52fbb
PB
157212010-05-31 Petr Baudis <pasky@suse.cz>
15722
15723 [BZ #11149]
15724 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15725 silently even in the chroot mode.
15726
eaca7569
UD
157272010-11-22 Ulrich Drepper <drepper@gmail.com>
15728
15729 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15730 last patch a bit. Pretty printing
15731
3056dcdb
UD
157322010-05-31 Petr Baudis <pasky@suse.cz>
15733
15734 [BZ #10085]
15735 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15736 initialization of skip_initgroups_dyn.
15737
cf7c9078
UD
157382010-11-19 Ulrich Drepper <drepper@gmail.com>
15739
15740 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15741 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15742
a1fb5e3e
UD
157432010-11-16 Ulrich Drepper <drepper@gmail.com>
15744
15745 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15746
3540d66b
AS
157472010-11-11 Andreas Schwab <schwab@redhat.com>
15748
15749 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15750 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15751 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15752 ($(objpfx)tst-fnmatch-mem): New rule.
15753 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15754 * posix/tst-fnmatch.c (main): Call mtrace.
15755
13b69574
L
157562010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15757
15758 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15759 Support Intel processor model 6 and model 0x2c.
15760
da93d214
LM
157612010-11-10 Luis Machado <luisgpm@br.ibm.com>
15762
15763 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15764 signed comparison.
15765
8ca52c6e
L
157662010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15767
15768 [BZ #12205]
15769 * string/test-strncasecmp.c (check_result): New function.
15770 (do_one_test): Use it.
15771 (check1): New function.
15772 (test_main): Use it.
15773 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15774 Support strcasecmp and strncasecmp.
15775
69da074d
UD
157762010-11-08 Ulrich Drepper <drepper@gmail.com>
15777
15778 [BZ #12194]
15779 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15780 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15781
ff02d528
L
157822010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15783
15784 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15785 IFUNC support.
15786 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15787 memset-x86-64.
15788 * sysdeps/x86_64/multiarch/bzero.S: New file.
15789 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15790 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15791 * sysdeps/x86_64/multiarch/memset.S: New file.
15792 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15793 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15794 Set bit_Prefer_SSE_for_memop for Intel processors.
15795 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15796 Define.
15797 (index_Prefer_SSE_for_memop): Define.
15798 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15799
344d0b54
LM
158002010-11-04 Luis Machado <luisgpm@br.ibm.com>
15801
15802 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15803 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15804
c0dde15b
UD
158052010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15806
15807 [BZ #12191]
15808 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15809 (__x86_64_raw_data_cache_size_half): Likewise.
15810 (__x86_64_raw_shared_cache_size): Likewise.
15811 (__x86_64_raw_shared_cache_size_half): Likewise.
15812
15813 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15814 (__x86_64_raw_data_cache_size_half): Likewise.
15815 (__x86_64_raw_shared_cache_size): Likewise.
15816 (__x86_64_raw_shared_cache_size_half): Likewise.
15817 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15818 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15819 and __x86_64_raw_shared_cache_size_half. Round
15820 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15821 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15822 to multiple of 256 bytes.
15823
0e516e0e
MS
158242010-11-03 Ulrich Drepper <drepper@gmail.com>
15825
15826 [BZ #12167]
15827 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15828 of inacessible symlinks. Verify result of symlink before returning it.
15829 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15830 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15831
0e012e87
ER
158322010-10-28 Erich Ritz <erichritz@gmail.com>
15833
15834 * math/math.h (isinf): Fix typo in comment.
15835
de0ff7bc
UD
158362010-11-01 Ulrich Drepper <drepper@gmail.com>
15837
15838 * po/da.po: Update from translation team.
15839
fa41c84d
UD
158402010-10-26 Ulrich Drepper <drepper@gmail.com>
15841
15842 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15843 is added to the list.
15844
f0967738
AK
158452010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15846 Ulrich Drepper <drepper@gmail.com>
15847
15848 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15849 the global list here. Move code to...
15850 (_dl_add_to_namespace_list): ...here. New function.
15851 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15852 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15853 * elf/dl-load.c (lose): Don't remove the element from the list.
15854 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15855 (_dl_map_object): Likewise.
15856
158572010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15858
15859 [BZ #12159]
15860 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15861 into all bytes of SSE register.
15862 Patch by Richard Li <richardpku@gmail.com>.
15863
f0967738 158642010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15865
15866 [BZ #12140]
15867 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15868 perturbing.
15869
d0b9e94f
MB
158702010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15871
15872 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15873 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15874 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15875 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15877 submachine.
15878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15879
8e9f92e9
AS
158802010-10-22 Andreas Schwab <schwab@redhat.com>
15881
15882 * include/dlfcn.h (__RTLD_SECURE): Define.
15883 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15884 mode & __RTLD_SECURE instead.
15885 (open_path): Rename preloaded parameter to secure.
15886 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15887 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15888 * elf/dl-deps.c (openaux): Likewise.
15889 * elf/rtld.c (struct map_args): Remove is_preloaded.
15890 (map_doit): Don't use it.
15891 (dl_main): Likewise.
15892 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15893 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15894
bc96fbda
AS
158952010-09-09 Andreas Schwab <schwab@redhat.com>
15896
15897 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15898 (sysd-rules-targets): Remove duplicates.
15899 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15900 rtld-%.$o dependency.
15901
22cd1c9b
AS
159022010-10-18 Andreas Schwab <schwab@redhat.com>
15903
15904 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15905 _dl_map_object do it.
15906
18edac48
UD
159072010-10-19 Ulrich Drepper <drepper@gmail.com>
15908
15909 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15910 fast fma builtins, define the macros in the C99 standard.
15911 (FP_FAST_FMAF): Likewise.
15912 (FP_FAST_FMAL): Likewise.
15913 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15914
15915 * bits/mathdef.h: Update copyright year.
15916 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15917
d2050124
MM
159182010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15919
15920 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15921 builtins, define the macros in the C99 standard.
15922 (FP_FAST_FMAF): Likewise.
15923 (FP_FAST_FMAL): Likewise.
15924 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15925 multiply/add.
15926 (FP_FAST_FMAF): Likewise.
15927
475facd1
JJ
159282010-10-15 Jakub Jelinek <jakub@redhat.com>
15929
15930 [BZ #3268]
15931 * math/libm-test.inc (fma_test): Some new testcases.
15932 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15933 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15934 y and infinite z. Do multiplication by C already in long double.
15935 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15936 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15937 y and infinite z. Do bitwise or of inexact bit into u.d.
15938 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15939 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15940 * sysdeps/i386/fpu/s_fma.S: Removed.
15941 * sysdeps/i386/fpu/s_fmal.S: Removed.
15942
7c08a05c
JJ
159432010-10-16 Jakub Jelinek <jakub@redhat.com>
15944
15945 [BZ #3268]
15946 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15947 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15948 computation is not scheduled after fetestexcept. Fix value
15949 of minimum denormal long double.
15950
f3f7372d
JJ
159512010-10-14 Jakub Jelinek <jakub@redhat.com>
15952
15953 [BZ #3268]
15954 * math/libm-test.inc (fma_test): Add some more tests.
15955 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15956 correctly.
15957
14d43591
AS
159582010-10-15 Andreas Schwab <schwab@redhat.com>
15959
15960 * scripts/data/localplt-s390-linux-gnu.data: New file.
15961 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15962
5e908464
JJ
159632010-10-13 Jakub Jelinek <jakub@redhat.com>
15964
15965 [BZ #3268]
15966 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15967 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15968 instead of dbl-64.
15969 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15970 inlines.
15971 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15972 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15973 if one of x and y is very large and the other is subnormal.
15974 * sysdeps/s390/fpu/s_fmaf.c: New file.
15975 * sysdeps/s390/fpu/s_fma.c: New file.
15976 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15977 * sysdeps/powerpc/fpu/s_fma.S: New file.
15978 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15979 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15980 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15981
159822010-10-12 Jakub Jelinek <jakub@redhat.com>
15983
15984 [BZ #3268]
15985 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15986 fma tests.
15987 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15988 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15989 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15990 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15991 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15992 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15993 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15994
b833d51f
UD
159952010-10-12 Ulrich Drepper <drepper@redhat.com>
15996
15997 [BZ #12078]
15998 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15999 * posix/bug-regex31.input: Add test case.
16000
1751705d
UD
160012010-10-11 Ulrich Drepper <drepper@gmail.com>
16002
e9b9cbf5
UD
16003 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16004 * posix/bug-regex31.input: New file.
16005
16006 [BZ #12078]
16007 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16008 (parse_sub_exp): Fix last change, use postorder.
16009
ef06edbe
UD
16010 * posix/bug-regex31.c: New file.
16011 * posix/Makefile: Add rules to build and run bug-regex31.
16012
a129c80d
UD
16013 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16014
16015 [BZ #12078]
16016 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16017
b76b818e
UD
16018 [BZ #12108]
16019 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16020 to have entries in sys_siglist.
16021
1751705d
UD
16022 [BZ #12093]
16023 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16024 be NULL.
16025
9ff8d36f
JJ
160262010-10-07 Jakub Jelinek <jakub@redhat.com>
16027
16028 [BZ #3268]
16029 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16030 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16031 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16032 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16033 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16034 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16035 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16036 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16037 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16038 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16039 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16040 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16041 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16042 * math/ftestexcept.c (fetestexcept): Likewise.
16043 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16044 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16045 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16046 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16047 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16048 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16049 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16050
af325969
UD
160512010-10-11 Ulrich Drepper <drepper@gmail.com>
16052
c579b202 16053 [BZ #12107]
af325969
UD
16054 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16055 newline.
16056
67a67b95
UD
160572010-10-06 Ulrich Drepper <drepper@gmail.com>
16058
16059 * string/bug-strstr1.c: New file.
16060 * string/Makefile: Add rules to build and run bug-strstr1.
16061
5fb308bc
EB
160622010-10-05 Eric Blake <eblake@redhat.com>
16063
16064 [BZ #12092]
16065 * string/str-two-way.h (two_way_long_needle): Always clear memory
16066 when skipping input due to the shift table.
16067
45db99c7
UD
160682010-10-03 Ulrich Drepper <drepper@gmail.com>
16069
3b111893
UD
16070 [BZ #12005]
16071 * malloc/mcheck.c: Handle large requests.
16072
45db99c7
UD
16073 [BZ #12077]
16074 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16075 for strncmp and strncasecmp.
16076 * string/stratcliff.c: Add tests for strcmp and strncmp.
16077 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16078
cf7a1eb8
NI
160792010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16080
16081 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16082 __set_fpscr.
16083
6484ba5e
AJ
160842010-09-30 Andreas Jaeger <aj@suse.de>
16085
16086 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16087 (CGROUP_SUPER_MAGIC): Define.
16088 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16089 Handle btrfs and cgroup file systems.
16090 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16091 Likewise.
16092
91c42559
LM
160932010-09-27 Luis Machado <luisgpm@br.ibm.com>
16094
16095 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16096 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16097
87a97932
AK
160982010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16099
16100 [BZ #12067]
16101 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16102 trying to locate the ELF header.
16103
c21cc9bc
AS
161042010-09-27 Andreas Schwab <schwab@redhat.com>
16105
16106 [BZ #11611]
16107 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16108 Mask out sign-bit copies when constructing f_fsid.
16109
315970f6
PB
161102010-09-24 Petr Baudis <pasky@suse.cz>
16111
16112 * debug/stack_chk_fail_local.c: Add missing licence exception.
16113 * debug/warning-nop.c: Likewise.
16114
1ac7a2c7
JM
161152010-09-15 Joseph Myers <joseph@codesourcery.com>
16116
16117 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16118 implementing getdents64 using getdents syscall, set d_type if
16119 __ASSUME_GETDENTS32_D_TYPE.
16120
56801c50
AS
161212010-09-16 Andreas Schwab <schwab@redhat.com>
16122
16123 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16124 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16125
dda51327
UD
161262010-09-21 Ulrich Drepper <drepper@redhat.com>
16127
16128 [BZ #12037]
16129 * posix/unistd.h: Undo change of feature selection for ftruncate from
16130 2010-01-11.
16131
8ffcee4a
UD
161322010-09-20 Ulrich Drepper <drepper@redhat.com>
16133
a545ecd9 16134 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
16135 detection.
16136
e24f0a8b
AS
161372010-09-20 Andreas Schwab <schwab@redhat.com>
16138
16139 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16140 fanotify_mark.
16141 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16142
7291c56f
AS
161432010-09-14 Andreas Schwab <schwab@redhat.com>
16144
16145 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16146 variables after CHECK_SP call.
16147 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16148
bc5fb037
AS
161492010-09-13 Andreas Schwab <schwab@redhat.com>
16150 Ulrich Drepper <drepper@redhat.com>
16151
16152 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16153 re-relocationg ld.so.
16154 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16155 _dl_init_paths call.
16156 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
16157 here anymore.
16158
e66e7419
UD
161592010-09-14 Ulrich Drepper <drepper@redhat.com>
16160
16161 * resolv/res_init.c (__res_vinit): Count the default server we added.
16162
c044aa75
CLT
161632010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
16164 Ulrich Drepper <drepper@redhat.com>
16165
16166 [BZ #11968]
16167 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16168 (____longjmp_chk): Use %ebx for saving value across system call.
16169 Add unwind info.
16170
32cf4069
AS
161712010-09-06 Andreas Schwab <schwab@redhat.com>
16172
16173 * manual/Makefile: Don't mix pattern rules with normal rules.
16174
817328ee
AS
161752010-09-05 Andreas Schwab <schwab@linux-m68k.org>
16176
16177 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16178 operation.
16179 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16180 * libio/iofopncook.c (_IO_cookie_init): Likewise.
16181 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16182 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16183 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16184 Likewise.
16185
29fddf61
UD
161862010-09-04 Ulrich Drepper <drepper@redhat.com>
16187
16188 [BZ #11979]
16189 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16190 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16191
0959ffc9
UD
161922010-09-02 Ulrich Drepper <drepper@redhat.com>
16193
16194 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16195 * sysdeps/x86_64/addmul_1.S: Likewise.
16196 * sysdeps/x86_64/lshift.S: Likewise.
16197 * sysdeps/x86_64/mul_1.S: Likewise.
16198 * sysdeps/x86_64/rshift.S: Likewise.
16199 * sysdeps/x86_64/sub_n.S: Likewise.
16200 * sysdeps/x86_64/submul_1.S: Likewise.
16201
ece29840
ST
162022010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
16203
0959ffc9
UD
16204 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16205 Define __sched_param instead of SCHED_* and sched_param when
ece29840 16206 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 16207 * bits/sched.h [__need_schedparam]
ece29840 16208 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
16209 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16210 (__defined_schedparam): Define to 1.
ece29840
ST
16211 (__sched_param): New structure, identical to sched_param.
16212 (__need_schedparam): Undefine.
16213
e53a31fe
MF
162142010-08-31 Mike Frysinger <vapier@gentoo.org>
16215
fdc0c10d
MF
16216 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16217 (epoll_create1): Declare.
16218
e53a31fe
MF
16219 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16220
a726d796
AS
162212010-08-31 Andreas Schwab <schwab@redhat.com>
16222
16223 [BZ #7066]
16224 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16225 shifting retval into place.
16226
2f3e3dc7
UD
162272010-09-01 Ulrich Drepper <drepper@redhat.com>
16228
f2933da9
UD
16229 * nis/rpcsvc/nis.h: Update copyright notice.
16230 * nis/rpcsvc/nis.x: Likewise.
16231 * nis/rpcsvc/nis_callback.h: Likewise.
16232 * nis/rpcsvc/nis_callback.x: Likewise.
16233 * nis/rpcsvc/nis_object.x: Likewise.
16234 * nis/rpcsvc/nis_tags.h: Likewise.
16235 * nis/rpcsvc/yp.h: Likewise.
16236 * nis/rpcsvc/yp.x: Likewise.
16237 * nis/rpcsvc/ypupd.h: Likewise.
16238 * nis/yp_xdr.c: Likewise.
16239 * nis/ypupdate_xdr.c: Likewise.
16240
2f3e3dc7
UD
16241 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
16242 mainly the body of pmap_getport. Add parameters to specify timeouts.
16243 (pmap_getport): Use __libc_rpc_getport.
16244 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16245 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16246 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16247
f3dcc2f9
AS
162482010-08-31 Andreas Schwab <schwab@linux-m68k.org>
16249
16250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16251 fanotify_mark.
16252
6d34eb5b
RM
162532010-08-27 Roland McGrath <roland@redhat.com>
16254
16255 * sysdeps/i386/i686/multiarch/Makefile
16256 (CFLAGS-varshift.c): New variable.
16257
9ea3de11
UD
162582010-08-27 Ulrich Drepper <drepper@redhat.com>
16259
c96d23fc
UD
16260 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16261 * sysdeps/i386/i686/multiarch/varshift.c: New file.
16262
9ea3de11
UD
16263 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16264
16265 * sysdeps/x86_64/strlen.S: Minimal code improvement.
16266
623aac7f
L
162672010-08-26 H.J. Lu <hongjiu.lu@intel.com>
16268
16269 * sysdeps/x86_64/strlen.S: Unroll the loop.
16270 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16271 strlen-sse2 strlen-sse2-bsf.
16272 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16273 __strlen_no_bsf if bit_Slow_BSF is set.
16274 (__strlen_sse42): Removed.
16275 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16276 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16277
8b2b7715
RM
162782010-08-25 Roland McGrath <roland@redhat.com>
16279
16280 * sysdeps/x86_64/multiarch/varshift.S: File removed.
16281 * sysdeps/x86_64/multiarch/varshift.c: New file.
16282 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16283 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16284 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16285 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16286
e73015f2
L
162872010-08-25 H.J. Lu <hongjiu.lu@intel.com>
16288
16289 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16290 strlen-sse2 strlen-sse2-bsf.
16291 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16292 __strlen_sse2_bsf if bit_Slow_BSF is unset.
16293 (__strlen_sse2): Removed.
16294 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16295 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16297 bit_Slow_BSF for Atom.
16298 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16299 (index_Slow_BSF): Define.
16300 (HAS_SLOW_BSF): Define.
16301
df24a73e
UD
163022010-08-25 Ulrich Drepper <drepper@redhat.com>
16303
16304 [BZ #10851]
16305 * resolv/res_init.c (__res_vinit): When no server address at all
16306 is given default to loopback.
16307
f2ac4868
RM
163082010-08-24 Roland McGrath <roland@redhat.com>
16309
09055553
RM
16310 * configure.in: Remove config-name.h generation.
16311 * configure: Regenerated.
16312 * config-name.in: File removed.
16313 * scripts/config-uname.sh: New file.
16314 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16315 ($(objdir)config-name.h): New target.
16316
f2ac4868
RM
16317 * sunrpc/rpc_parse.h: Avoid nested comment.
16318
73f27d5e
RH
163192010-08-24 Richard Henderson <rth@redhat.com>
16320 Ulrich Drepper <drepper@redhat.com>
16321 H.J. Lu <hongjiu.lu@intel.com>
16322
16323 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16324 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16325 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16326 Replace _mm_srli_si128 with __m128i_shift_right. Replace
16327 _mm_alignr_epi8 with _mm_loadu_si128.
16328 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
16329 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
16330 (__m128i_shift_right): Removed.
16331 * sysdeps/i386/i686/multiarch/varshift.h: New file.
16332 * sysdeps/i386/i686/multiarch/varshift.S: New file.
16333 * sysdeps/x86_64/multiarch/varshift.h: New file.
16334 * sysdeps/x86_64/multiarch/varshift.S: New file.
16335
84b9230c
MF
163362010-08-21 Mike Frysinger <vapier@gentoo.org>
16337
16338 * configure.in: Move assembler checks to before sysdep dir checking.
16339
9bbd0ddc
PB
163402010-08-20 Petr Baudis <pasky@suse.cz>
16341
16342 * LICENSES: Sync the sunrpc license.
16343
9da4bb31
UD
163442010-08-19 Ulrich Drepper <drepper@redhat.com>
16345
a7ab6ec8
UD
16346 * sunrpc/auth_des.c: Update copyright notice once again.
16347 * sunrpc/auth_none.c: Likewise.
16348 * sunrpc/auth_unix.c: Likewise.
16349 * sunrpc/authdes_prot.c: Likewise.
16350 * sunrpc/authuxprot.c: Likewise.
16351 * sunrpc/bindrsvprt.c: Likewise.
16352 * sunrpc/clnt_gen.c: Likewise.
16353 * sunrpc/clnt_perr.c: Likewise.
16354 * sunrpc/clnt_raw.c: Likewise.
16355 * sunrpc/clnt_simp.c: Likewise.
16356 * sunrpc/clnt_tcp.c: Likewise.
16357 * sunrpc/clnt_udp.c: Likewise.
16358 * sunrpc/clnt_unix.c: Likewise.
16359 * sunrpc/des_crypt.c: Likewise.
16360 * sunrpc/des_soft.c: Likewise.
16361 * sunrpc/get_myaddr.c: Likewise.
16362 * sunrpc/getrpcport.c: Likewise.
16363 * sunrpc/key_call.c: Likewise.
16364 * sunrpc/key_prot.c: Likewise.
16365 * sunrpc/openchild.c: Likewise.
16366 * sunrpc/pm_getmaps.c: Likewise.
16367 * sunrpc/pm_getport.c: Likewise.
16368 * sunrpc/pmap_clnt.c: Likewise.
16369 * sunrpc/pmap_prot.c: Likewise.
16370 * sunrpc/pmap_prot2.c: Likewise.
16371 * sunrpc/pmap_rmt.c: Likewise.
16372 * sunrpc/rpc/auth.h: Likewise.
16373 * sunrpc/rpc/auth_unix.h: Likewise.
16374 * sunrpc/rpc/clnt.h: Likewise.
16375 * sunrpc/rpc/des_crypt.h: Likewise.
16376 * sunrpc/rpc/key_prot.h: Likewise.
16377 * sunrpc/rpc/netdb.h: Likewise.
16378 * sunrpc/rpc/pmap_clnt.h: Likewise.
16379 * sunrpc/rpc/pmap_prot.h: Likewise.
16380 * sunrpc/rpc/pmap_rmt.h: Likewise.
16381 * sunrpc/rpc/rpc.h: Likewise.
16382 * sunrpc/rpc/rpc_des.h: Likewise.
16383 * sunrpc/rpc/rpc_msg.h: Likewise.
16384 * sunrpc/rpc/svc.h: Likewise.
16385 * sunrpc/rpc/svc_auth.h: Likewise.
16386 * sunrpc/rpc/types.h: Likewise.
16387 * sunrpc/rpc/xdr.h: Likewise.
16388 * sunrpc/rpc_clntout.c: Likewise.
16389 * sunrpc/rpc_cmsg.c: Likewise.
16390 * sunrpc/rpc_common.c: Likewise.
16391 * sunrpc/rpc_cout.c: Likewise.
16392 * sunrpc/rpc_dtable.c: Likewise.
16393 * sunrpc/rpc_hout.c: Likewise.
16394 * sunrpc/rpc_main.c: Likewise.
16395 * sunrpc/rpc_parse.c: Likewise.
16396 * sunrpc/rpc_parse.h: Likewise.
16397 * sunrpc/rpc_prot.c: Likewise.
16398 * sunrpc/rpc_sample.c: Likewise.
16399 * sunrpc/rpc_scan.c: Likewise.
16400 * sunrpc/rpc_scan.h: Likewise.
16401 * sunrpc/rpc_svcout.c: Likewise.
16402 * sunrpc/rpc_tblout.c: Likewise.
16403 * sunrpc/rpc_util.c: Likewise.
16404 * sunrpc/rpc_util.h: Likewise.
16405 * sunrpc/rpcinfo.c: Likewise.
16406 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16407 * sunrpc/rpcsvc/key_prot.x: Likewise.
16408 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16409 * sunrpc/rpcsvc/mount.x: Likewise.
16410 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16411 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16412 * sunrpc/rpcsvc/rex.x: Likewise.
16413 * sunrpc/rpcsvc/rstat.x: Likewise.
16414 * sunrpc/rpcsvc/rusers.x: Likewise.
16415 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16416 * sunrpc/rpcsvc/spray.x: Likewise.
16417 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16418 * sunrpc/rtime.c: Likewise.
16419 * sunrpc/svc.c: Likewise.
16420 * sunrpc/svc_auth.c: Likewise.
16421 * sunrpc/svc_authux.c: Likewise.
16422 * sunrpc/svc_raw.c: Likewise.
16423 * sunrpc/svc_run.c: Likewise.
16424 * sunrpc/svc_simple.c: Likewise.
16425 * sunrpc/svc_tcp.c: Likewise.
16426 * sunrpc/svc_udp.c: Likewise.
16427 * sunrpc/svc_unix.c: Likewise.
16428 * sunrpc/svcauth_des.c: Likewise.
16429 * sunrpc/xcrypt.c: Likewise.
16430 * sunrpc/xdr.c: Likewise.
16431 * sunrpc/xdr_array.c: Likewise.
16432 * sunrpc/xdr_float.c: Likewise.
16433 * sunrpc/xdr_mem.c: Likewise.
16434 * sunrpc/xdr_rec.c: Likewise.
16435 * sunrpc/xdr_ref.c: Likewise.
16436 * sunrpc/xdr_sizeof.c: Likewise.
16437 * sunrpc/xdr_stdio.c: Likewise.
16438
9da4bb31
UD
16439 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16440 handling.
16441
bdaa77bc
AS
164422010-08-19 Andreas Schwab <schwab@redhat.com>
16443
16444 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16445
fe2f79db
LM
164462010-08-19 Luis Machado <luisgpm@br.ibm.com>
16447
16448 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16449 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16450 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16451 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16452 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16453 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16454 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16455 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16456 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16457 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16458 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16459 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16460 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16461 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16462
b9b42ee0
AB
164632010-07-26 Anton Blanchard <anton@samba.org>
16464
16465 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16466 * malloc/arena.c (heap_trim): Likewise.
16467
1c06ba31
UD
164682010-08-16 Ulrich Drepper <drepper@redhat.com>
16469
16470 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16471 here. Not...
16472 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16473 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16474
f8392f40
L
164752010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16476
16477 * sysdeps/i386/elf/Makefile: New file.
16478
3162f12e
AS
164792010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16480
16481 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16482 from fanotify_init.
16483 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16484 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16485
28c90b2c
UD
164862010-08-15 Ulrich Drepper <drepper@redhat.com>
16487
16488 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16489 of strncasecmp_l.
1feccb6c 16490 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 16491
ca6bb004
UD
164922010-08-14 Ulrich Drepper <drepper@redhat.com>
16493
e9f82e0d
UD
16494 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16495 strncase_l-nonascii.
16496 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16497 Add strncase_l-ssse3.
16498 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16499 * sysdeps/x86_64/strcmp.S: Likewise.
16500 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16501 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16502 * sysdeps/x86_64/strncase.S: New file.
16503 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16504 * sysdeps/x86_64/strncase_l.S: New file.
16505 * string/Makefile (strop-tests): Add strncasecmp.
16506 * string/test-strncasecmp.c: New file.
16507
16508 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16509 warning.
16510
ca6bb004
UD
16511 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16512 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16513
052fa7b3
AS
165142010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16515
16516 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16517
962dba78
UD
165182010-08-12 Ulrich Drepper <drepper@redhat.com>
16519
16520 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16521 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16522 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16523
bebff237
AM
165242010-05-01 Alan Modra <amodra@gmail.com>
16525
16526 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16527 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16528 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16529 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16530 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16531 tidying. Don't tail-call __sigjmp_save for static lib.
16532 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16533 save location.
16534 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16535 (CALL_MCOUNT): Add eh info, and nop after bl.
16536 (TAIL_CALL_SYSCALL_ERROR): New macro.
16537 (PSEUDO_RET): Use it.
16538 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16539 Correct save location of integer regs and cr.
16540 (_dl_profile_resolve): Correct cr save location. Delete nops
16541 after bl when SHARED. Reduce cfi size a little by better
16542 placement of cfi directives.
16543 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16544 make a stack frame. Instead use parm save area as a temp.
16545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16546 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16548 Don't make a stack frame for parent, use parm save area.
16549 Increase child stack frame to 112 bytes. Don't save unused reg,
16550 and adjust reg usage. Set up cfi on error recovery and
16551 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16553 (__makecontext): Add dummy nop after jump to exit.
16554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16555 Use correct parm save area and cr save, reduce stack frame.
16556 Correct cfi for possible PSEUDO_RET frame setup.
16557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16558 Branch to local label emitted by PSEUDO_RET rather than
16559 __syscall_error.
16560
02637374
AS
165612010-08-12 Andreas Schwab <schwab@redhat.com>
16562
16563 [BZ #11904]
16564 * locale/programs/locale.c (print_assignment): New function.
16565 (show_locale_vars): Use it.
16566
c3e2f19b
UD
165672010-08-11 Ulrich Drepper <drepper@redhat.com>
16568
3cdaa6ad
UD
16569 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16570 field.
16571 (struct statfs64): Likewise.
16572 (_STATFS_F_FLAGS): Define.
16573 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16574 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16575 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16576 (ST_VALID): Define locally.
16577 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16578 __statvfs_getflags, use the provided value.
16579 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16580 __ASSUME_STATFS_F_FLAGS.
16581
754f7da3
UD
16582 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16583
10b3bedc
UD
16584 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16585 Add sys/fanotify.h.
16586 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16587 fanotify_mask for GLIBC_2.13.
16588 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16589 fanotify_init and fanotify_mark.
16590 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16591 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16592
c08fb0d7
UD
16593 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16594 Add prlimit.
16595 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16596 prlimit64 for GLIBC_2.13.
16597 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16598 prlimit64.
16599 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16600 syscall.
16601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16602 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16603 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16604 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16605 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16606 add prlimit alias.
16607 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16608
15bac72b
UD
16609 [BZ #11903]
16610 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16611 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16612
c3e2f19b
UD
16613 * nss/Makefile: Add rules to build and run tst-nss-test1.
16614 * shlib-versions: Add entry for libnss_test1.
16615 * nss/nss_test1.c: New file.
16616 * nss/tst-nss-test1.c: New file.
16617
16618 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16619 (__nss_configure_lookup): Set appropriate entry in
16620 __nss_configure_lookup to true.
16621 * nss/nsswitch.h: Define enum with indeces of databases in
16622 databases and __nss_database_custom arrays. Declare
16623 __nss_database_custom.
16624 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16625 to avoid using nscd when custom rules are installed.
16626 * nss/getXXbyYY_r.c: Likewise.
16627 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16628
16629 * nss/nss_files/files-parse.c: Whitespace fixes.
16630
f15ce4d8
UD
166312010-08-09 Ulrich Drepper <drepper@redhat.com>
16632
16633 [BZ #11883]
16634 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16635 * posix/fnmatch_loop.c: Likewise.
16636
d22e4cc9
AK
166372010-07-17 Andi Kleen <ak@linux.intel.com>
16638
16639 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16640 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16641 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16642 * Versions.def [GLIBC_2.13]: Add.
16643
805bc17d
UD
166442010-08-06 Ulrich Drepper <drepper@redhat.com>
16645
16646 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16647 Also fail if tpwd after pwuid call is NULL.
16648
5a42321d
ST
166492010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16650
16651 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16652 when converting to ms.
16653
fd3ebeda
ST
166542010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16655
16656 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16657 EOPNOTSUPP errors with ENOTTY.
16658 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16659 EOPNOTSUPP errors with ENOTTY.
16660
73507d3a
UD
166612010-07-31 Ulrich Drepper <drepper@redhat.com>
16662
16663 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16664 Add strcasecmp_l-ssse3.
16665 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16666 strcasecmp.
16667 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16668 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16669 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16670
fe36dd02
UD
166712010-07-30 Ulrich Drepper <drepper@redhat.com>
16672
66f6765a
UD
16673 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16674
42e08a54
UD
16675 * string/Makefile (strop-tests): Add strcasecmp.
16676 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16677 strcasecmp_l-nonascii.
16678 (gen-as-const-headers): Add locale-defines.sym.
16679 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16680 * sysdeps/x86_64/strcasecmp.S: New file.
16681 * sysdeps/x86_64/strcasecmp_l.S: New file.
16682 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16683 * sysdeps/x86_64/locale-defines.sym: New file.
16684 * string/test-strcasecmp.c: New file.
16685
fe36dd02
UD
16686 * string/test-strcasestr.c: Test both ends of the range of characters.
16687 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16688
48cbc0d6
RM
166892010-07-29 Roland McGrath <roland@redhat.com>
16690
76e6d6bc 16691 [BZ #11856]
48cbc0d6
RM
16692 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16693
880113d9
UD
166942010-07-27 Ulrich Drepper <drepper@redhat.com>
16695
16696 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16697 for ld.so.
16698
deb9cabb
AS
166992010-07-27 Andreas Schwab <schwab@redhat.com>
16700
16701 * manual/memory.texi (Malloc Tunable Parameters): Document
16702 M_PERTURB.
16703
1c7570ff
RM
167042010-07-26 Roland McGrath <roland@redhat.com>
16705
16706 [BZ #11840]
16707 * configure.in (-fgnu89-inline check): Set and substitute
16708 gnu89_inline, not libc_cv_gnu89_inline.
16709 * configure: Regenerated.
16710 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16711
24fb0f88
UD
167122010-07-26 Ulrich Drepper <drepper@redhat.com>
16713
16714 * string/test-strnlen.c: New file.
16715 * string/Makefile (strop-tests): Add strnlen.
16716 * string/tester.c (test_strnlen): Add a few more test cases.
16717 * string/tst-strlen.c: Better error reporting.
16718
16719 * sysdeps/x86_64/strnlen.S: New file.
16720
8e96b93a
UD
167212010-07-24 Ulrich Drepper <drepper@redhat.com>
16722
16723 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16724 lower-latency instructions.
16725
dbc676d4
UD
167262010-07-23 Ulrich Drepper <drepper@redhat.com>
16727
16728 * string/test-strcasestr.c: New file.
16729 * string/test-strstr.c: New file.
16730 * string/Makefile (strop-tests): Add strstr and strcasestr.
16731 * string/str-two-way.h: Don't undefine MAX.
16732 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16733
f6a31e0e
AS
167342010-07-21 Andreas Schwab <schwab@redhat.com>
16735
16736 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16737 strcasestr-nonascii.
16738 (CFLAGS-strcasestr-nonascii.c): Define.
16739 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16740 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16741 Remove unused attribute.
16742
5dbc3b6c
RM
167432010-07-20 Roland McGrath <roland@redhat.com>
16744
16745 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16746 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16747 ld.so.cache was broken. With it, there is no way to disable dsocaps
16748 like LD_HWCAP_MASK can disable hwcaps.
16749
23d101d8
EPM
167502010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16751
16752 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16753
cc9f2e47
UD
167542010-07-16 Ulrich Drepper <drepper@redhat.com>
16755
16756 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16757 call in strcasestr.
16758 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16759 __strcasestr_sse42_nonascii.
16760 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16761 strcasestr-nonascii.c.
16762 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16763
77c1b069
LM
167642010-06-15 Luis Machado <luisgpm@br.ibm.com>
16765
16766 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16767 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16768 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16769 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16770
440566c3
UD
167712010-07-09 Ulrich Drepper <drepper@redhat.com>
16772
16773 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16774 fcntl.
16775
5be9d05d
AS
167762010-07-06 Andreas Schwab <schwab@redhat.com>
16777
c30b7ee2 16778 [BZ #11577]
5be9d05d
AS
16779 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16780 dl_signal_cerror.
16781
8a492a67
UD
167822010-07-06 Ulrich Drepper <drepper@redhat.com>
16783
16784 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16785 _PC_PIPE_BUF using F_GETPIPE_SZ.
16786
713df3d5
RM
167872010-07-05 Roland McGrath <roland@redhat.com>
16788
16789 * manual/arith.texi (Rounding Functions): Fix rint description
16790 implicit in round description.
16791
702e8f14
UD
167922010-07-02 Ulrich Drepper <drepper@redhat.com>
16793
16794 * elf/Makefile: Fix linking for a few tests to make recent linker
16795 happy.
16796
52ed8be9
AS
167972010-06-30 Andreas Schwab <schwab@redhat.com>
16798
16799 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16800 $(common-objpfx)libc_nonshared.a.
16801
f47c9a11
LM
168022010-06-21 Luis Machado <luisgpm@br.ibm.com>
16803
16804 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16805 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16806 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16807 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16808 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16809 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16810 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16811 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16826 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16827 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16828 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16829 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16830 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16831 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16832 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16833 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16834 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16835 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16836 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16837 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16852
6fb8cbcb
L
168532010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16854
16855 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16856 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16857 * string/memmove.c (memmove): Renamed to ...
16858 (MEMMOVE): ...this. Default to memmove.
16859 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16860 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16861 (END_CHK): Define.
16862 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16863 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16864 mempcpy-ssse3-back memmove-ssse3-back.
16865 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16866 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16867 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16868 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16869 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16870 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16871 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16872 * sysdeps/x86_64/multiarch/memmove.c: New file.
16873 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16874 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16875 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16876 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16877 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16878 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16879 Define.
16880 (index_Fast_Copy_Backward): Define.
16881 (HAS_ARCH_FEATURE): Define.
16882 (HAS_FAST_REP_STRING): Define.
16883 (HAS_FAST_COPY_BACKWARD): Define.
16884
4e733bac 168852010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16886
16887 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16888 Restore proper fallback handling.
16889
63c4ed22
UD
168902010-06-19 Ulrich Drepper <drepper@redhat.com>
16891
ac2b484c
UD
16892 [BZ #11701]
16893 * posix/group_member.c (__group_member): Correct checking loop.
16894
63c4ed22
UD
16895 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16896 OOM in getpwuid_r correctly. Return error number when the caller
16897 should return, otherwise -1.
16898 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16899 call returning > 0 value.
16900 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16901
765ade4b
AS
169022010-06-07 Andreas Schwab <schwab@redhat.com>
16903
16904 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16905 libc_nonshared.a from targets in modules-names.
16906
80da2e09
KS
169072010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16908
16909 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16910 requires it.
16911
158db122
LM
169122010-06-10 Luis Machado <luisgpm@br.ibm.com>
16913
16914 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16915 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16916 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16917 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16918
caa78cf8
AS
169192010-06-02 Andreas Schwab <schwab@redhat.com>
16920
16921 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16922
b2ef2c01
UD
169232010-06-14 Ulrich Drepper <drepper@redhat.com>
16924
16925 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16926 and F_GETPIPE_SZ.
16927 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16928 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16929 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16930 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16931 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16932 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16933
fbd643b6
RM
169342010-06-14 Roland McGrath <roland@redhat.com>
16935
16936 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16937
f32f2869
JJ
169382010-06-07 Jakub Jelinek <jakub@redhat.com>
16939
16940 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16941 __REDIRECT followed by __THROW.
16942 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16943 * posix/getopt.h (getopt): Likewise.
16944
2a50c078
EPM
169452010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16946
16947 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16948 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16949 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16950 in AT_FLAGS.
16951 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16952 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16953
eb5ad2eb
LM
169542010-05-28 Luis Machado <luisgpm@br.ibm.com>
16955
16956 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16957
3c88fe1e
L
169582010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16959
16960 [BZ #11640]
16961 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16962 Properly check family and model.
16963
d2f73151
TY
169642010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16965
16966 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16967
ebd2e13d
LM
169682010-05-24 Luis Machado <luisgpm@br.ibm.com>
16969
16970 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16971
b32b8b45
UD
169722010-05-21 Ulrich Drepper <drepper@redhat.com>
16973
16974 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16975 symbol reference.
16976
9acbe24d
AS
169772010-05-19 Andreas Schwab <schwab@redhat.com>
16978
16979 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16980 symbol reference.
16981
f0ccf6ea
AS
169822010-05-21 Andreas Schwab <schwab@redhat.com>
16983
3d04ff3a
AS
16984 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16985 and internal_recvmmsg.
16986 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16987 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16988 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16989 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16990
f0ccf6ea
AS
16991 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16992 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16993 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16994
5b08ac57
AS
169952010-05-20 Andreas Schwab <schwab@redhat.com>
16996
16997 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16998
4828935d
LM
169992010-05-17 Luis Machado <luisgpm@br.ibm.com>
17000
17001 POWER7 optimizations.
17002 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17003 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17004
373d545e
UD
170052010-05-19 Ulrich Drepper <drepper@redhat.com>
17006
17007 * version.h: Update for 2.13 development version.
17008
21a2b1ae
AS
170092010-05-12 Andrew Stubbs <ams@codesourcery.com>
17010
17011 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17012 exceptions. Return 0.
17013
3f7dcb2b
RM
170142010-05-07 Roland McGrath <roland@redhat.com>
17015
17016 * elf/ldconfig.c (main): Add a const.
17017
5f24d53a 170182010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 17019
a160f8d8
UD
17020 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17021 (args_options): Add no-idn option.
17022 (ahosts_keys_int): Add idn_flags to ai_flags.
17023 (parse_option): Handle 'i' option to clear idn_flags.
17024
5f24d53a
UD
17025 * malloc/malloc.c (_int_free): Possible race in the most recently
17026 added check. Only act on the data if no current modification
17027 happened.
265bb1ce
UD
17028
17029See ChangeLog.17 for earlier changes.
This page took 2.306121 seconds and 5 git commands to generate.