]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
conformtest: Update expectations for string.h.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
8048311a
JM
12012-07-15 Joseph Myers <joseph@codesourcery.com>
2
3 * conform/data/string.h-data (NULL): Use macro-constant. Require
4 equal to 0.
5 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
8 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10
b637d46e
AJ
112012-07-13 Andreas Jaeger <aj@suse.de>
12
13 * po/fr.po: Update from translation team.
14
541428fe
MP
152012-07-12 Marek Polacek <polacek@redhat.com>
16
17 [BZ #14173]
18 * math/libm-test.inc (yn_test): Add test for BZ #14173.
19 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20 loop condition.
21
ec332e94
JM
222012-07-12 Joseph Myers <joseph@codesourcery.com>
23
24 [BZ #13717]
25 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26 Change to 2.4.1 where previously 2.4.0.
27 * sysdeps/unix/sysv/linux/configure: Regenerated.
28 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30 version.
31 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32 (__ASSUME_AT_CLKTCK): Remove.
33 (__ASSUME_AT_PAGESIZE): Likewise.
34 (__ASSUME_AT_XID): Likewise.
35 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
36 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38 unconditionally.
39 (HAVE_AUX_PAGESIZE): Likewise.
40 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41 [__ASSUME_AT_CLKTCK]: Make code unconditional.
42 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
43
7b6e99be
JB
442012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
45
46 [BZ #14307]
47 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
48 the temporary buffer used to invoke __gethostbyname2_r,
49 __gethostbyaddr_r and gethostbyname4_r to make room for struct
50 host_data / struct gaih_addrtuple.
51 * resolv/nss_dns/dns-host.c (global scope): Move definition of
52 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
53 header file nss/nsswitch.h.
54 * nss/nsswitch.h (global scope): Add definition of implementation
55 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
56 resolv/nss_dns/dns-host.c).
57
608404eb
AJ
582012-07-11 Andreas Jaeger <aj@suse.de>
59
60 * po/fr.po: Update from translation team.
61
71220aca
AJ
62 * po/sv.po: Update from translation team
63 * po/fr.po: Another update from translation team.
64
28cfe843
AZ
652012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66
67 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
68 for subnormals or multiply small sinh result by itself.
69 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
70 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71
6b90f981
DM
722012-07-11 David S. Miller <davem@davemloft.net>
73
74 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75
c6825772
AS
762012-07-10 Andreas Schwab <schwab@linux-m68k.org>
77
78 [BZ #14347]
79 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
80 (INTERNAL_MARK): Shift it here.
81
7b8e0d49
MP
822012-07-10 Marek Polacek <polacek@redhat.com>
83
84 [BZ #14151]
85 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
86 libc_cv_asm_global_directive with .globl.
87 * configure: Regenerated.
88 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
89 with .globl.
90 * sysdeps/i386/configure: Regenerated.
91 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
92 with .globl.
93 * sysdeps/x86_64/configure: Regenerated.
94 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
95 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
96 * elf/tst-unique2mod2.c: Likewise.
97 * elf/tst-unique2mod1.c: Likewise.
98 * elf/tst-unique1mod2.c: Likewise.
99 * elf/tst-unique1mod1.c: Likewise.
100 * sysdeps/s390/s390-32/sysdep.h: Likewise.
101 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
102 * sysdeps/s390/s390-64/sysdep.h: Likewise.
103 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
104 * sysdeps/mach/sysdep.h: Likewise.
105 * sysdeps/i386/sysdep.h: Likewise.
106 * sysdeps/i386/i386-mcount.S: Likewise.
107 * sysdeps/x86_64/_mcount.S: Likewise.
108 * sysdeps/x86_64/sysdep.h: Likewise.
109 * sysdeps/sh/_mcount.S: Likewise.
110 * sysdeps/sh/sysdep.h: Likewise.
111 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
112 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
113 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
114 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
115 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
116 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
117 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
118 * locale/localeinfo.h: Likewise.
119 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
120 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
121
6c55cda3
RM
1222012-07-09 Roland McGrath <roland@hack.frob.com>
123
124 [BZ #14336]
125 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
126 system".
127 * manual/message.texi (The Uniforum approach): Likewise.
128 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
129 (glibc iconv Implementation): Likewise.
130
638a572e
JM
1312012-07-09 Joseph Myers <joseph@codesourcery.com>
132
133 [BZ #14337]
134 * math/s_clog.c (__clog): Avoid scaling a value down where that
135 could result in underflow.
136 * math/s_clog10.c (__clog10): Likewise.
137 * math/s_clog10f.c (__clog10f): Likewise.
138 * math/s_clog10l.c (__clog10l): Likewise.
139 * math/s_clogf.c (__clogf): Likewise.
140 * math/s_clogl.c (__clogl): Likewise.
141 * math/libm-test.inc (clog_test): Add more tests.
142 (clog10_test): Likewise.
143 * sysdeps/i386/fpu/libm-test-ulps: Update.
144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
145
261f4859
AS
1462012-07-06 Andreas Schwab <schwab@linux-m68k.org>
147
0abaf3e4
AS
148 [BZ #14283]
149 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
150 by 7 not 8 to examine high bit of fractional part.
151
261f4859
AS
152 [BZ #14042]
153 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
154 for call to __mcount_internal.
155 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
156 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
157 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
158
f17ac40d
JM
1592012-07-06 Joseph Myers <joseph@codesourcery.com>
160
9ad63c23
JM
161 [BZ #14154]
162 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
163 approximation for values within 0x1p-13f of an odd multiple of
164 pi/4.
165 * math/libm-test.inc (tan_test): Do not allow spurious underflow
166 exception. Add more tests.
167 * sysdeps/i386/fpu/libm-test-ulps: Update.
168
f17ac40d
JM
169 [BZ #6778]
170 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
171 inputs and return -1 for them. Do not check for +Inf in case not
172 reachable for +Inf.
173 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
174 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
175 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
176 and return -1 for them. Do not check for +Inf in case not
177 reachable for +Inf.
178 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
179 define.
180 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
181 and return -1 for them. Do not check for +Inf in case not
182 reachable for +Inf.
183 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
184 spurious underflow.
185 * sysdeps/i386/fpu/libm-test-ulps: Update.
186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
187
fb21f89b
MF
1882012-07-06 Mike Frysinger <vapier@gentoo.org>
189
190 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
191
cdfe2c5e
JM
1922012-07-05 Joseph Myers <joseph@codesourcery.com>
193
194 [BZ #14157]
195 [BZ #14331]
196 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
197 could result in spurious underflow. Scale down values above
198 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
199 * math/s_csqrtf.c (__csqrtf): Likewise.
200 * math/s_csqrtl.c (__csqrtl): Likewise.
201 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
202 spurious underflow.
203 * sysdeps/i386/fpu/libm-test-ulps: Update.
204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
205
70d35b67
AS
2062012-07-04 Andreas Schwab <schwab@linux-m68k.org>
207
704bc459
AS
208 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
209 xopen-msg.sed.
210 * catgets/xopen-msg.awk: New file.
211 * catgets/xopen-msg.sed: Removed.
212
70d35b67
AS
213 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
214 po2text.sed.
215 * intl/po2test.awk: New file.
216 * intl/po2test.sed: Removed.
217
ca61cf32
JM
2182012-07-04 Joseph Myers <joseph@codesourcery.com>
219
220 [BZ #14328]
221 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
222 or multiply small sinh result by itself.
223 * math/s_ctanf.c (__ctanf): Likewise.
224 * math/s_ctanh.c (__ctanh): Likewise.
225 * math/s_ctanhf.c (__ctanhf): Likewise.
226 * math/s_ctanhl.c (__ctanhl): Likewise.
227 * math/s_ctanl.c (__ctanl): Likewise.
228 * math/libm-test.inc (ctan_test_tonearest): New function.
229 (ctan_test_towardzero): Likewise.
230 (ctan_test_downward): Likewise.
231 (ctan_test_upward): Likewise.
232 (ctanh_test_tonearest): Likewise.
233 (ctanh_test_towardzero): Likewise.
234 (ctanh_test_downward): Likewise.
235 (ctanh_test_upward): Likewise.
236 (main): Call these new functions.
237 * sysdeps/i386/fpu/libm-test-ulps: Update.
238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
239
ca48a46a
MF
2402012-07-03 Mike Frysinger <vapier@gentoo.org>
241
242 * .gitignore: Delete /ports entry.
243
9d63d37d
AJ
2442012-07-03 Andreas Jaeger <aj@suse.de>
245
246 * po/bg.po: Update from translation team.
247 * po/cs.po: Likewise.
248 * po/de.po: Likewise.
249 * po/hr.po: Likewise.
250 * po/nl.pl: Likewise.
251 * po/pl.po: Likewise.
252 * po/vi.po: Likewise.
253
370ca3d2
JM
2542012-07-03 Joseph Myers <joseph@codesourcery.com>
255
95f5a9a8
JM
256 * Makeconfig [!+link] (+link-before-libc): New variable.
257 [!+link] (+link-after-libc): Likewise.
258 [!+link] (+link-tests): Likewise.
259 [!+link] (+link): Define in terms of $(+link-before-libc) and
260 $(+link-after-libc).
261 [!+link-static] (+link-static-before-libc): New variable.
262 [!+link-static] (+link-static-after-libc): Likewise.
263 [!+link-static] (+link-static-tests): Likewise.
264 [!+link-static] (+link-static): Define in terms of
265 $(+link-static-before-libc) and $(+link-static-after-libc).
266 [build-shared] (link-libc-before-gnulib): New variable.
267 [build-shared] (link-libc-tests): Likewise.
268 [build-shared] (link-libc): Define in terms of
269 $(link-libc-before-gnulib).
270 [!build-shared] (link-libc-tests): New variable.
271 (link-libc-static-tests): New variable.
272 [!gnulib] (gnulib-arch): New variable.
273 [!gnulib] (gnulib-tests): Likewise.
274 [!gnulib] (static-gnulib-arch): Likewise.
275 [!gnulib] (static-gnulib-tests): Likewise.
276 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
277 Define with "=" instead of ":=".
278 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
279 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
280 * Rules (binaries-all-notests): New variable.
281 (binaries-all-tests): Likewise.
282 (binaries-static-notests): Likewise.
283 (binaries-static-tests): Likewise.
284 (binaries-all): Define using $(binaries-all-notests) and
285 $(binaries-all-tests).
286 (binaries-static): Define using $(binaries-static-notests) and
287 $(binaries-static-tests).
288 (binaries-shared-tests): New variable.
289 (binaries-shared-notests): Likewise.
290 (binaries-shared): Remove variable.
291 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
292 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
293 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
294 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
295 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
296 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
297 * elf/Makefile (sln-modules): New variable.
298 (extra-objs): Add $(sln-modules:=.o).
299 (ldconfig-modules): Add static-stubs.
300 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
301 * elf/static-stubs.c: New file.
302
7a845b2c
JM
303 [BZ #14283]
304 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
305 by 7 not 8 to examine high bit of fractional part. Use volatile
306 variables when splitting into final array of floats if
307 __FLT_EVAL_METHOD__ != 0.
308 * math/libm-test.inc (cos_test): Add another test.
309 (sin_test): Likewise.
310 * sysdeps/i386/fpu/libm-test-ulps: Update.
311
e2283f38
JM
312 [BZ #14273]
313 * math/libm-test.inc (cosh_test): Add more tests.
314
370ca3d2
JM
315 * version.h (RELEASE): Set to "development".
316 (VERSION): Set to "2.16.90".
317
ee9247c3
CD
3182012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
319
320 * NEWS: Update copyright. Remove last-updated date.
321 Mention math library bug fixes and timezone data changes.
322 * README: Mention GNU/Hurd, x32, and HPPA support status.
323
4648c381
TS
3242012-06-28 Thomas Schwinge <thomas@codesourcery.com>
325
326 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
327
aac78a43
AJ
3282012-06-27 Andreas Jaeger <aj@suse.de>
329
330 * manual/contrib.texi (Contributors): Add Samuel Thibault.
331
ed3dbfad
AJ
3322012-06-25 Andreas Jaeger <aj@suse.de>
333
334 * sysdeps/s390/fpu/libm-test-ulps: Update.
335
4d0ee855
AS
3362012-06-23 Andreas Schwab <schwab@linux-m68k.org>
337 Thomas Schwinge <thomas@codesourcery.com>
338
339 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
340 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
341 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
342 fanotify_mark.
343
af1bce34
TS
3442012-06-23 Thomas Schwinge <thomas@codesourcery.com>
345
a9fa33ba
TS
346 * sysdeps/mach/start.c: Remove file.
347 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
348 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
349 * sysdeps/sh/init-first.c: Likewise.
350
58f902b8
TS
351 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
352 registers for frame unwinding purposes, add CFI directives.
353 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
354 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
355 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
356 Likewise.
357
1518f58b
TS
358 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
359 __fortify_fail returning.
360 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
361
db9b5059
TS
362 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
363 sysdeps/sh/____longjmp_chk.S.
364 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
365 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
366 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
367 (gen-as-const-headers): Append sigaltstack-offsets.sym.
368
967705fe
TS
369 * sysdeps/sh/abort-instr.h: New file.
370 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
371 process in case exit returns.
372
a9def8c4
TS
373 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
374 initialize the GOT register before use.
375
2a649725
TS
376 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
377 calculation of ARGC > 4.
378
af1bce34
TS
379 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
380 meaningful names to some local labels.
381
d230f50a
KK
3822012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
383 Kaz Kojima <kkojima@rr.iij4u.or.jp>
384
385 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
386 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
387 (__arch_compare_and_exchange_val_16_acq): Likewise.
388 (__arch_compare_and_exchange_val_32_acq): Likewise.
389 (atomic_exchange_and_add): Fix gUSA sequence.
390 (atomic_add): Likewise.
391 (atomic_add_negative): Likewise.
392 (atomic_add_zero): Likewise.
393 (atomic_bit_test_set): Likewise.
394
0479b305
AS
3952012-06-22 Andreas Schwab <schwab@redhat.com>
396
397 [BZ #13579]
398 * include/link.h (struct link_map): Add l_free_initfini.
399 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
400 l_initfini.
401 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
402 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
403 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
404 set.
405
0e3933b9
CD
4062012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
407
408 * configure.in: Use AC_LANG_SOURCE.
409 * configure: Regenerate.
410
4248b1b1
RM
4112012-06-22 Roland McGrath <roland@hack.frob.com>
412
413 * configure.in (libc_cv_localstatedir): New substituted variable.
414 * configure: Regenerated.
415 * config.make.in (localstatedir): New variable, substituted from
416 libc_cv_localstatedir.
417 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
418 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
419 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
420 * sysdeps/gnu/configure: Regenerated.
421
006dd861
JL
4222012-06-21 Jeff Law <law@redhat.com>
423
424 [BZ #14277]
425 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
426 free. Simplify list management for _LIBC case.
427
79662d42
JM
4282012-06-21 Joseph Myers <joseph@codesourcery.com>
429
b7abb4bf
JM
430 [BZ #14273]
431 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
432 Clear sign bit of 64-bit integer value before comparing against
433 overflow value.
434
79662d42
JM
435 * sysdeps/mach/configure: Regenerated.
436
1f150908
L
4372012-06-21 H.J. Lu <hongjiu.lu@intel.com>
438
439 [BZ #14278]
440 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
441
28363bbf
JL
4422012-06-21 Jeff Law <law@redhat.com>
443
444 [BZ #13882]
445 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
446 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 447 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
448 * elf/dl-open.c (dl_open_worker): Likewise.
449
09615db4
CD
4502012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
451
452 * scripts/list-sources.sh: Scan PORTS for translations.
453 * po/libc.pot: Regenerated.
454
2174c6dd
AJ
4552012-06-21 Andreas Jaeger <aj@suse.de>
456
457 [BZ #12194]
458 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
459 warning.
460 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
461 * bits/byteswap-16.h (__bswap_16): Likewise.
462 * bits/byteswap.h (__bswap_constant_16): Likewise.
463
3ee947b1
L
4642012-06-18 H.J. Lu <hongjiu.lu@intel.com>
465
466 [BZ #14117]
a2f34833
L
467 * sysdeps/i386/fpu_control.h: Removed.
468 * sysdeps/x86_64/fpu_control.h: Moved to ...
469 * sysdeps/x86/fpu_control.h: Here.
470
3ee947b1
L
471 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
472 (_FPU_SETCW): Likewise.
473
ed1825f8
L
4742012-06-15 H.J. Lu <hongjiu.lu@intel.com>
475
25f1282a
L
476 [BZ #14117]
477 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
478 * sysdeps/x86/fpu/bits/mathinline.h: This.
479 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
480
ed1825f8
L
481 [BZ #14050]
482 [BZ #14117]
483 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
484 functions if __x86_64__ is defined.
485
36d54b74
CLT
4862012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
487
488 * string/endian.h: Add !__ASSEMBLER__ condition for including
489 conversion interfaces.
490
10285c21
JM
4912012-06-15 Joseph Myers <joseph@codesourcery.com>
492
493 [BZ #14241]
494 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
495 of ABS(x) in calculating zero to negative powers other than odd
496 integers.
497 * math/libm-test.inc (pow_test): Add more tests.
498
06c5abbd
AJ
4992012-06-15 Andreas Jaeger <aj@suse.de>
500
501 * manual/contrib.texi (Contributors): Update entry of Liubov
502 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
503 Machado Filho.
504
a3aeac40
CH
5052012-06-15 Cyril Hrubis <metan@ucw.cz>
506
507 * string/string.h: Add __wur to GNU version of strerror_r.
508
49bdf4c1
L
5092012-06-14 H.J. Lu <hongjiu.lu@intel.com>
510
511 [BZ #14229]
512 * string/Makefile (tests): Add tst-strtok_r.
513 * string/tst-strtok_r.c: New file.
514 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
515 RAX_LP/RDX_LP on SAVE_PTR.
516
834f9b8d
RM
5172012-06-14 Roland McGrath <roland@hack.frob.com>
518
519 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
520
75fa1921
JM
5212012-06-14 Joseph Myers <joseph@codesourcery.com>
522
523 * libm_test.inc (csqrt_test): Allow more spurious underflow
524 exceptions.
525 (j0_test): Likewise.
526 (j1_test): Likewise.
527 (y0_test): Likewise.
528 (y1_test): Likewise.
529
771766df
CD
5302012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
531
532 * po/Makefile (libc.pot): Use UTF-8 charset.
533
ceb9e56b
PP
5342012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
535
536 [BZ #14210]
537 Suppress sign-conversion warning from FD_SET.
538 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
539 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
540 not unsigned long int.
541 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
542
ddb28975
L
5432012-06-12 H.J. Lu <hongjiu.lu@intel.com>
544
545 [BZ #14050]
546 [BZ #14117]
547 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
548 __extern_always_inline instead of __extern_inline.
549 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
550 (__signbit): Likewise.
551 (__signbitl): Support C++ namespace.
552 (lrintf): New inline function.
553 (lrint): Likewise.
554 (llrintf): Likewise.
555 (llrint): Likewise.
556 (fmaxf): Likewise.
557 (fmax): Likewise.
558 (fminf): Likewise.
559 (fmin): Likewise.
560 (rint): Likewise.
561 (rintf): Likewise.
562 (ceil): Likewise.
563 (ceilf): Likewise.
564 (floor): Likewise.
565 (floorf): Likewise.
566 (nearbyint): Likewise.
567 (nearbyintf): Likewise.
568
d7b4fb26
TS
5692012-06-12 Thomas Schwinge <thomas@codesourcery.com>
570
571 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
572 non-default versions.
573
eb55f5c2
RM
5742012-06-11 Roland McGrath <roland@hack.frob.com>
575
576 [BZ #14218]
577 * manual/argp.texi (Argp): Reword argp_parse description slightly.
578
366af02c
TS
5792012-06-09 Thomas Schwinge <thomas@codesourcery.com>
580
99ff6e5c
TS
581 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
582 (FE_UPWARD, FE_DOWNWARD): Don't define.
583 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
584 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
585
366af02c
TS
586 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
587 reading it.
588 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
589 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
590
793ea851
KK
5912012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
592
593 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
594 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
595 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
596 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
597
a728a38f
L
5982012-06-06 H.J. Lu <hongjiu.lu@intel.com>
599
600 [BZ #14117]
c08010c7
L
601 * sysdeps/i386/fpu/bits/fenv.h: Removed.
602 * sysdeps/i386/fpu/Implies: New file.
603 * sysdeps/x86_64/fpu/Implies: Likewise.
604 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
605 * sysdeps/x86/fpu/bits/fenv.h: This.
606
a728a38f
L
607 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
608 __SSE_MATH__.
609
6e230d11
SP
6102012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
611
612 [BZ #14134]
613 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
614 character 0xffff that matches the last element of the
615 conversion table.
616
1b671feb
AZ
6172012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
618
619 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
620 fmodl commit.
621
6043738b
AZ
6222012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
623
624 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
625 values higher than 25.6283.
626
34ae0b32
AZ
6272012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
628
629 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
630 subnormal exponent extraction and add some __builtin_expect.
631 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
632 Fix for subnormal mantissa calculation.
633
1214ec8f
MF
6342012-06-04 Mike Frysinger <vapier@gentoo.org>
635
636 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
637 cpu2 is -1 and errno is not ENOSYS.
638
f3d1f93c
L
6392012-06-04 H.J. Lu <hongjiu.lu@intel.com>
640
641 [BZ #14117]
0e4a3cd7
L
642 * sysdeps/i386/i486/bits/string.h: Renamed to ...
643 * sysdeps/x86/bits/string.h: This.
644 * sysdeps/x86_64/bits/string.h: Removed.
645
6704c645
L
646 * sysdeps/i386/i486/bits/string.h: Define inline functions only
647 if not compiling for x86-64, but compiling for >= i486.
648
48495318
L
649 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
650 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
651
14adcbfc
L
652 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
653 New macro from Linux kernel 3.4.0.
654 (FP_XSTATE_MAGIC2): Likewise.
655 (FP_XSTATE_MAGIC2_SIZE): Likewise.
656 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
657 (struct _fpx_sw_bytes): New struct.
658 (struct _xsave_hdr): Likewise.
659 (struct _ymmh_state): Likewise.
660 (struct _xstate): Likewise.
661
68e408ab
L
662 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
663 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
664 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
665 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
666 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
667 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
668
f3d1f93c
L
669 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
670 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
671 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
672 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
673 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
674 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
675
d9dc34cd
TMQMF
6762012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
677
678 [BZ #13743]
679 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
680 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
681 (sysdep_headers): Include sys/platform/ppc.h.
682 * sysdeps/powerpc/test-gettimebase.c: Test for
683 __ppc_get_timebase() to catch future ISA opcode/insn changes.
684 * manual/Makefile (appendices): Include platform.texi.
685 * manual/contrib.texi (Contributors): Update @node pointers.
686 * manual/maint.texi (Maintenance): Likewise.
687 (Platform): New node.
688 * manual/platform.texi: New file. Document the new features.
689
4af3879c
SP
6902012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
691 Jakub Jelinek <jakub@redhat.com>
692
693 [BZ #14188]
694 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
695 where __builtin_expect is unavailable.
696
2fd6ff13
DM
6972012-06-03 David S. Miller <davem@davemloft.net>
698
699 * stdlib/longlong.h: Updated from GCC.
700
173f7220
AS
7012012-06-02 Andreas Schwab <schwab@linux-m68k.org>
702
703 [BZ #14042]
704 * sysdeps/powerpc/powerpc32/mcount.c: New file.
705 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
706 __mcount_internal.
707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
708 (GLIBC_2.16): Likewise.
709
f34a1c6f
L
7102012-06-01 H.J. Lu <hongjiu.lu@intel.com>
711
712 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
713
88a4576f
JM
7142012-06-01 Joseph Myers <joseph@codesourcery.com>
715
ea32bcdd
JM
716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
717 (default-abi): New variable.
718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
719 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
720 variable.
721 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
722 Likewise.
723 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
724 Likewise.
725 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
726 Likewise.
727
88a4576f
JM
728 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
729 definition. Document in comment.
730
402fe938
DM
7312012-06-01 David S. Miller <davem@davemloft.net>
732
733 * stdlib/longlong.h: Updated from GCC.
734
3553723f
L
7352012-06-01 H.J. Lu <hongjiu.lu@intel.com>
736
737 [BZ #14117]
3bd872c4
L
738 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
739 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
740 sys/debugreg.h sys/io.h here.
741 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
742 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
743 sys/io.h.
744 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
745 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
746 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
747 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
748 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
749 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
750
3553723f
L
751 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
752 Define only if __x86_64__ is defined.
753
4842e4fe
JM
7542012-06-01 Joseph Myers <joseph@codesourcery.com>
755
c5bfe3d5
JM
756 [BZ #14048]
757 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
758 Use int64_t for variable i.
759 * math/libm-test.inc (fmod_test): Add more tests.
760
4842e4fe
JM
761 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
762 z computation is not scheduled after fetestexcept.
763 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
764 Use math_force_eval instead of asm to ensure calculation scheduled
765 before exception test.
766 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
767 Ensure a1 + u.d computation is not scheduled after fetestexcept.
768
efb73488
AJ
7692012-06-01 Aurelien Jarno <aurelien@aurel32.net>
770
771 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
772 computation is not scheduled after fetestexcept.
773
29bcce7c
L
7742012-06-01 H.J. Lu <hongjiu.lu@intel.com>
775
776 [BZ #14117]
777 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
778 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
779
73a68f94
AZ
7802012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
781
782 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
783 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
784
67b6df78
L
7852012-05-31 H.J. Lu <hongjiu.lu@intel.com>
786
edf2933a 787 [BZ #14117]
ebc64a18
L
788 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
789 <bits/wordsize.h>.
790 (__WCHAR_MIN): Support __WORDSIZE == 64.
791 (__WCHAR_MAX): Likewise.
792
edf2933a
L
793 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
794 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
795
57c6cf40
L
796 [BZ #14183]
797 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
798 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
799
67b6df78 800 [BZ #14117]
8eb6281e
L
801 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
802 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
803
aac639f4
L
804 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
805 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
806
67b6df78
L
807 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
808 Defined to 1 if __x86_64__ isn't defined.
809 (_STAT_VER_LINUX_OLD): New.
810 (st_atime): Remove duplicate.
811 (st_mtime): Likewise.
812 (st_ctime): Likewise.
813
1c2cfe81
DM
8142012-05-31 David S. Miller <davem@davemloft.net>
815
816 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
817 entries.
818
5be8418c
AS
8192012-06-01 Andreas Schwab <schwab@linux-m68k.org>
820
e7725326
AS
821 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
822 gen-libm-test.pl.
823
5be8418c
AS
824 [BZ #14132]
825 * elf/dl-reloc.c: Include <_itoa.h>.
826 (_dl_reloc_bad_type): Remove use of INTUSE.
827 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
828 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
829 * stdio-common/psiginfo.c (psiginfo): Likewise.
830 * stdio-common/psignal.c (psignal): Likewise.
831 * string/strsignal.c (strsignal): Likewise.
832 * include/signal.h (_sys_siglist): Declare hidden proto.
833 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
834 INTVARDEF with libc_hidden_data_def.
835 * stdio-common/itoa-udigits.c: Likewise.
836 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
837 (_itoa_lower_digits_internal): Remove declaration.
838 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
839 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
840 (_sys_sigabbrev_internal): Remove aliases.
841 (_sys_siglist): Define hidden alias.
842
507352f1
MT
8432012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
844
845 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
846 bits/sysctl.h.
847
42bbb1c3
L
8482012-05-31 H.J. Lu <hongjiu.lu@intel.com>
849
850 [BZ #14117]
6bd784b6
L
851 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
852 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
853
8bca20f0
L
854 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
855 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
856 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
857 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
858 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
859 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
860
f9e890a9
L
861 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
862 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
863 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
864
471101a1
L
865 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
866 with __addr.
867 (insw): Likewise.
868 (insl): Likewise.
869 (outsb): Likewise.
870 (outsw): Likewise.
871 (outsl): Likewise.
872
6451c862
L
873 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
874 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
875 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
876
a254b8c9
L
877 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
878 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
879 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
880 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
881 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
882 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
883
b8dfdd92
L
884 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
885 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
886
578cd270
L
887 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
888 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
889
de662f5f
L
890 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
891 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
892 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
893
25653439
L
894 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
895 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
896 to ...
897 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
898
6bad24a0
L
899 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
900 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
901 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
902
42bbb1c3
L
903 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
904 for x86-64.
905 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
906
2d10d547
JM
9072012-05-31 Joseph Myers <joseph@codesourcery.com>
908
909 * math/math.h (M_El): Use two more decimal places.
910 (M_LOG2El): Likewise.
911 (M_LOG10El): Likewise.
912 (M_LN2l): Likewise.
913 (M_LN10l): Likewise.
914 (M_PIl): Likewise.
915 (M_PI_2l): Likewise.
916 (M_PI_4l): Likewise.
917 (M_1_PIl): Likewise.
918 (M_2_PIl): Likewise.
919 (M_2_SQRTPIl): Likewise.
920 (M_SQRT2l): Likewise.
921 (M_SQRT1_2l): Likewise.
922
f230c29b
DM
9232012-05-31 David S. Miller <davem@davemloft.net>
924
925 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
926 values between float registers.
927 * sysdeps/sparc/sparc64/memset.S: Likewise.
928 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
929
fed806c3
MF
9302012-05-31 Mike Frysinger <vapier@gentoo.org>
931
932 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
933 -D_FORTIFY_SOURCE=1.
934 (CPPFLAGS-tst-longjmp_chk.c): Define.
935 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
936 (CPPFLAGS-tst-longjmp_chk2.c): Define.
937 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
938 CFLAGS-tst-wchar-h.c.
939
30917259
MP
9402012-05-31 Marek Polacek <polacek@redhat.com>
941
942 [BZ #14132]
943 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
944 __endmntent_internal): Remove declaration.
945 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
946 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
947 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
948
1c58d5dc
DM
9492012-05-30 David S. Miller <davem@davemloft.net>
950
951 * sysdeps/sparc/sparc32/soft-fp/q_util.c
952 (___Q_simulate_exceptions): Use real FP ops rather than writing
953 into the %fsr.
954 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
955 Likewise.
956
7dc00e0d
L
9572012-05-30 H.J. Lu <hongjiu.lu@intel.com>
958
959 [BZ #14117]
0bd53985
L
960 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
961 * sysdeps/x86/bits/xtitypes.h: This.
962
3a257e66
L
963 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
964 * sysdeps/x86/bits/wordsize.h: This.
965
62f62904
L
966 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
967 * sysdeps/x86/bits/huge_vall.h: This.
968
404fe9d9
L
969 * sysdeps/i386/bits/select.h: Removed.
970 * sysdeps/x86_64/bits/select.h: Renamed to ...
971 * sysdeps/x86/bits/select.h: This.
972
d48d0446
L
973 * sysdeps/i386/bits/setjmp.h: Removed.
974 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
975 * sysdeps/x86/bits/setjmp.h: This.
976
7dc00e0d
L
977 * sysdeps/i386/bits/mathdef.h: Removed.
978 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
979 * sysdeps/x86/bits/mathdef.h: This.
980
03277f8f
AS
9812012-05-30 Andreas Schwab <schwab@linux-m68k.org>
982
983 [BZ #14132]
984 * include/sys/socket.h (__connect_internal)
985 (__libc_sa_len_internal): Remove declaration.
986 (__connect, __libc_sa_len): Declare hidden_proto.
987 (SA_LEN): Remove use of INTUSE.
988 * socket/connect.c: Add libc_hidden_def.
989 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
990 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
991 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
992 alias.
993 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
994 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
995 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
996 of adding _internal alias.
997
13764867
L
9982012-05-30 H.J. Lu <hongjiu.lu@intel.com>
999
1000 [BZ #14117]
6bd97696
L
1001 * sysdeps/i386/bits/link.h: Removed.
1002 * sysdeps/i386/bits/linkmap.h: Likewise.
1003 * sysdeps/x86_64/bits/link.h: Renamed to ...
1004 * sysdeps/x86/bits/link.h: This.
1005 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1006 * sysdeps/x86/bits/linkmap.h: This.
1007
f726f0bb
L
1008 * sysdeps/i386/bits/endian.h: Removed.
1009 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1010 * sysdeps/x86/bits/endian.h: This.
1011
13764867
L
1012 * sysdeps/i386/bits/byteswap.h: Removed.
1013 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1014 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1015 * sysdeps/x86/bits/byteswap.h: This.
1016 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1017 * sysdeps/x86/bits/byteswap-16.h: This.
1018 * sysdeps/i386/Implies: Add x86.
1019 * sysdeps/x86_64/Implies: Likewise.
1020
ae251b0b
DM
10212012-05-30 David S. Miller <davem@davemloft.net>
1022
1023 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1024 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1025 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1026 (FP_TRAPPING_EXCEPTIONS): Define.
1027 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1028 (FP_TRAPPING_EXCEPTIONS): Define.
1029 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1030 subnormals only when inexact has been signalled or underflow
1031 exceptions are enabled.
1032 (_FP_PACK_CANONICAL): Likewise.
1033
d5c90867
L
10342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1035
1036 [BZ #14183]
1037 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1038 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1039
63f1549e
RH
10402012-05-30 Richard Henderson <rth@twiddle.net>
1041
8d8f2279
RH
1042 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1043 with #ifndef NOT_IN_libc.
1044
63f1549e
RH
1045 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1046 marked to avoid plt entry.
1047
0ab0291b
L
10482012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1049
1050 [BZ #14112]
1051 * Makeconfig (default-abi): New macro.
1052 (abi-includes): Likewise.
1053 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1054 $(abi-$(default-abi)-lib-soname) for soname if defined.
1055 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1056 abi-variants.
1057 * Makefile (installed-stubs): Likewise.
1058 * include/stubs-biarch.h: Removed.
1059 * scripts/lib-names.awk: Only handle one library at a time.
1060 * scripts/soversions.awk: Remove WORDSIZE support.
1061 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1062 entries.
1063 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1064 Removed.
1065 (syscall-list-default-condition): Likewise.
1066 (syscall-list-default-condition): Likewise.
1067 (syscall-list-includes): Likewise.
1068 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1069 syscall-list-* with abi-*. Handle undefined abi-variants.
1070 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1071 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1072 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1073 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1074 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1075 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1076 Removed.
1077 (syscall-list-32-options): Likewise.
1078 (syscall-list-32-condition): Likewise.
1079 (syscall-list-64-options): Likewise.
1080 (syscall-list-64-condition): Likewise.
1081 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1082 macro.
1083 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1084 Renamed to ...
1085 (abi-*): This.
1086 (abi-64-ld-soname): New macro.
1087 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1088 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1089 Renamed to ...
1090 (abi-*): This.
1091 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1092 * sysdeps/x86_64/x32/shlib-versions: Likewise.
1093
4da0431d
JM
10942012-05-30 Joseph Myers <joseph@codesourcery.com>
1095
3a85279c
JM
1096 * sysdeps/unix/sysv/linux/kernel-features.h
1097 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1098 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1099 include <kernel-features.h>.
1100 [!__NR_ftruncate64]: Remove conditional code.
1101 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1102 [__NR_ftruncate64]: Make code unconditional.
1103 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1104 * sysdeps/unix/sysv/linux/truncate64.c: Do not
1105 include <kernel-features.h>.
1106 [!__NR_ftruncate64]: Remove conditional code.
1107 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1108 [__NR_ftruncate64]: Make code unconditional.
1109 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1111 include <kernel-features.h>.
1112 [!__NR_ftruncate64]: Remove conditional code.
1113 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1114 [__NR_ftruncate64]: Make code unconditional.
1115 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1117 include <kernel-features.h>.
1118 [!__NR_ftruncate64]: Remove conditional code.
1119 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1120 [__NR_ftruncate64]: Make code unconditional.
1121 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1122
4da0431d
JM
1123 * configure.in (libc_cv_fpie): Weaken to a compile test using
1124 LIBC_TRY_CC_OPTION.
1125 * configure: Regenerated.
1126
11ef492c
AK
11272012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1128
1129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1133 Refreshed.
1134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1140 Refreshed.
1141
d66ef399
DM
11422012-05-27 David S. Miller <davem@davemloft.net>
1143
1144 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1145 (___Q_zero): New.
1146 (__Q_simulate_exceptions): Return void. Change to simulate
1147 exceptions by writing into the %fsr.
1148 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1149 (__Qp_handle_exceptions): Likewise.
1150 (numbers): Delete.
1151 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1152 __Qp_handle_exceptions.
1153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1154 __Qp_handle_exceptions.
1155 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1156 as unused and give dummy FP_RND_NEAREST initializer.
1157 (FP_INHIBIT_RESULTS): Define.
1158 (___Q_simulate_exceptions): Update declaration.
1159 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1160 formatting.
1161 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1162 as unused and give dummy FP_RND_NEAREST initializer.
1163 (__Qp_handle_exceptions): Update declaration.
1164 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1165 formatting.
1166
04fb54b5
TS
11672012-05-27 Thomas Schwinge <thomas@codesourcery.com>
1168
1169 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1170 the temporary FPU control word.
1171 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1172 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1173 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1174 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1175 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1176 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1177 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1178 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1179 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1180 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1181 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1182
3f99608f
KK
11832012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1184
1185 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1186 fields.
1187
65a4de4e
CLT
11882012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
1189
1190 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1191 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1192 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1193 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1194 Likewise.
1195 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1196 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1197 Likewise.
1198
15749d40
UD
11992012-05-27 Ulrich Drepper <drepper@gmail.com>
1200
1201 * po/h.po: Update from translation team.
1202
25dbcb27
AS
12032012-05-26 Andreas Schwab <schwab@linux-m68k.org>
1204
3d3f8e55
AS
1205 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1206
25dbcb27
AS
1207 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1208 handling of denormals.
1209 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1210 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1211 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1212 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1213 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1214 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1215 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1216 Likewise.
1217
7ad47a80 12182012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
1219
1220 [BZ #14152]
1221 * math/libm-test.inc (fma_test): Don't always expect underflow
1222 exception.
1223
9c6ea9fa
SP
12242012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1225
1226 [BZ #12416]
1227 * elf/tst-execstack.c: Include stackinfo.h.
1228 (do_test): Adjust test case to ensure that pthread_getattr_np
1229 behaviour remains the same after marking stack executable.
1230
a8239222
JM
12312012-05-25 Joseph Myers <joseph@codesourcery.com>
1232
1233 * sysdeps/unix/sysv/linux/kernel-features.h
1234 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1235 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1236 kernel-features.h.
1237 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1238 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1239 * sysdeps/unix/sysv/linux/i386/setrlimit.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
918b5606
L
12442012-05-25 H.J. Lu <hongjiu.lu@intel.com>
1245
1246 * configure.in: Define the default includes to being none.
1247 * configure: Regenerated.
1248
3a097cc7
RM
12492012-05-25 Roland McGrath <roland@hack.frob.com>
1250
8422c9a5
RM
1251 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1252 * sysdeps/x86_64/setjmp.S: Likewise.
1253 * sysdeps/i386/bsd-setjmp.S: Likewise.
1254 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1255 * sysdeps/i386/setjmp.S: Likewise.
1256 * sysdeps/i386/__longjmp.S: Likewise.
1257 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1258 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1259
3a097cc7
RM
1260 * include/stap-probe.h: New file.
1261 * configure.in: Handle --enable-systemtap.
1262 * configure: Regenerated.
1263 * config.h.in (USE_STAP_PROBE): New #undef.
1264 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1265 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1266 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1267
21708942
JM
12682012-05-25 Joseph Myers <joseph@codesourcery.com>
1269
1270 [BZ #13717]
1271 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1272 to 2.4.0 where earlier.
1273 * sysdeps/unix/sysv/linux/configure: Regenerated.
1274 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1275 <kernel-features.h>.
1276 [__ASSUME_32BITUIDS]: Make code unconditional.
1277 [!__ASSUME_32BITUIDS]: Remove conditional code.
1278 * sysdeps/unix/sysv/linux/i386/fchown.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/fchownat.c (fchownat)
1283 [__ASSUME_32BITUIDS]: Make code unconditional.
1284 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1285 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
1286 <kernel-features.h>.
1287 [__ASSUME_32BITUIDS]: Make code unconditional.
1288 [!__ASSUME_32BITUIDS]: Remove conditional code.
1289 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
1326 <kernel-features.h>.
1327 [__NR_setresgid] (__setresgid): Do not declare.
1328 [__ASSUME_32BITUIDS]: Make code unconditional.
1329 [!__ASSUME_32BITUIDS]: Remove conditional code.
1330 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1331 <kernel-features.h>.
1332 [__NR_setresuid] (__setresuid): Do not declare.
1333 [__ASSUME_32BITUIDS]: Make code unconditional.
1334 [!__ASSUME_32BITUIDS]: Remove conditional code.
1335 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
1336 <kernel-features.h>.
1337 [__ASSUME_32BITUIDS]: Make code unconditional.
1338 [!__ASSUME_32BITUIDS]: Remove conditional code.
1339 * sysdeps/unix/sysv/linux/i386/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
1376 (__ASSUME_SETRESUID_SYSCALL): Remove.
1377 (__ASSUME_SETRESGID_SYSCALL): Likewise.
1378 (__ASSUME_32BITUIDS): Likewise.
1379 (__ASSUME_LDT_WORKS): Likewise.
1380 (__ASSUME_O_DIRECTORY): Likewise.
1381 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1382 architecture but not kernel version.
1383 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1384 (__ASSUME_MMAP2_SYSCALL): Likewise.
1385 (__ASSUME_STAT64_SYSCALL): Likewise.
1386 (__ASSUME_IPC64): Likewise.
1387 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1388 <kernel-features.h>.
1389 [__ASSUME_32BITUIDS]: Make code unconditional.
1390 [!__ASSUME_32BITUIDS]: Remove conditional code.
1391 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1392 <kernel-features.h>.
1393 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1394 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1395 132096]: Remove conditional code.
1396 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1397 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1398 <kernel-features.h>.
1399 [__ASSUME_32BITUIDS]: Make code unconditional.
1400 [!__ASSUME_32BITUIDS]: Remove conditional code.
1401 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
1406 <kernel-features.h>.
1407 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1408 unconditional.
1409 (__setresgid): Do not declare.
1410 [__ASSUME_32BITUIDS]: Make code unconditional.
1411 [!__ASSUME_32BITUIDS]: Remove conditional code.
1412 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1413 <kernel-features.h>.
1414 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1415 unconditional.
1416 (__setresuid): Do not declare.
1417 [__ASSUME_32BITUIDS]: Make code unconditional.
1418 [!__ASSUME_32BITUIDS]: Remove conditional code.
1419 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1420 <kernel-features.h>.
1421 [__ASSUME_32BITUIDS]: Make code unconditional.
1422 [!__ASSUME_32BITUIDS]: Remove conditional code.
1423 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1424 <kernel-features.h>.
1425 [__ASSUME_32BITUIDS]: Make code unconditional.
1426 [!__ASSUME_32BITUIDS]: Remove conditional code.
1427
a386f1cc
RH
14282012-05-25 Richard Henderson <rth@twiddle.net>
1429
1430 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1431 dl_hwcap to ifunc resolver.
1432 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1433 elf_ifunc_invoke.
1434 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1435 dl_hwcap to ifunc resolver.
1436 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1437
b6550497
JM
14382012-05-24 Joseph Myers <joseph@codesourcery.com>
1439
1440 [BZ #14153]
1441 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1442 for |x| <= 2**-26, not 2**-57.
1443 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1444 exception.
1445
b0bc23a1
JL
14462012-05-24 Jeff Law <law@redhat.com>
1447
1448 * stdio-common/Makefile (tests): Add bug25.
1449 * stdio-common/bug25.c: New test.
1450
347c92e9
L
14512012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1452
1453 [BZ #13576]
1454 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1455 multiple of MALLOC_ALIGNMENT in size.
1456 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1457
6bcc8b3f
JM
14582012-05-24 Joseph Myers <joseph@codesourcery.com>
1459
1460 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1461 Require >= 256.
1462 (FILENAME_MAX): Use macro-int-constant.
1463 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1464 (_IOFBF): Use macro-int-constant.
1465 (_IOLBF): Likewise.
1466 (_IONBF): Likewise.
1467 (SEEK_CUR): Likewise.
1468 (SEEK_END): Likewise.
1469 (SEEK_SET): Likewise.
1470 (TMP_MAX): Likewise.
1471 (EOF): Use macro-int-constant. Require < 0.
1472 (NULL): Use macro-constant. Require == 0.
1473 (stdin): Require type to be FILE *.
1474 (stdout): Likewise.
1475 (stderr): Likewise.
1476 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1477 macro-int-constant.
1478 (EXIT_SUCCESS): Likewise.
1479 (NULL): Use macro-constant. Require == 0.
1480 (RAND_MAX): Use macro-int-constant.
1481 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1482 [C99-based standards] (strtof): Require function.
1483 [C99-based standards] (strtold): Likewise.
1484 [C99-based standards] (strtoll): Likewise.
1485 [C99-based standards] (strtoull): Likewise.
1486 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1487 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1488 [ISO || ISO99 || ISO11] (math.h): Likewise.
1489 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1490 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1491 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1492
d18ea0c5
AS
14932012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1494
1495 [BZ #14132]
56d25bb8
AS
1496 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1497 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1498 * intl/dgettext.c (DCGETTEXT): Likewise.
1499 * intl/gettext.c (DCGETTEXT): Likewise.
1500 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1501 * posix/regex_internal.h (gettext): Likewise.
1502 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1503 Remove declaration.
1504 * include/argz.h (__argz_count_internal)
1505 (__argz_stringify_internal): Remove declaration.
1506 (__argz_count, __argz_stringify): Declare hidden proto.
1507 * intl/dcgettext.c: Remove use of INTDEF.
1508 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1509 * string/argz-stringify.c: Likewise.
1510 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1511 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1512 Declare hidden proto.
d18ea0c5
AS
1513 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1514 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1515 Declare hidden proto.
1516 * include/stdio.h (__asprintf_internal): Don't declare.
1517 (__asprintf): Don't define as macro. Declare hidden proto.
1518 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1519 (__fsetlocking): Declare hidden proto.
1520 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1521 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1522 hidden proto.
1523 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1524 (_IO_setlinebuf): Remove use of INTUSE.
1525 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1526 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1527 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1528 Remove declaration.
1529 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1530 (_IO_do_flush): Remove use of INTUSE.
1531 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1532 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1533 (_IO_adjust_column, _IO_least_wmarker)
1534 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1535 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1536 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1537 (_IO_default_doallocate, _IO_wdefault_doallocate)
1538 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1539 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1540 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1541 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1542 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1543 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1544 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1545 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1546 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1547 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1548 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1549 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1550 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1551 proto.
1552 (_IO_flush_all_internal, _IO_adjust_column_internal)
1553 (_IO_default_uflow_internal, _IO_default_finish_internal)
1554 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1555 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1556 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1557 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1558 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1559 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1560 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1561 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1562 (_IO_file_close_internal, _IO_file_close_it_internal)
1563 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1564 (_IO_file_init_internal, _IO_file_attach_internal)
1565 (_IO_file_fopen_internal, _IO_file_read_internal)
1566 (_IO_file_sync_internal, _IO_file_seek_internal)
1567 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1568 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1569 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1570 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1571 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1572 (_IO_list_all_internal, _IO_link_in_internal)
1573 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1574 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1575 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1576 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1577 (_IO_do_write_internal, _IO_padn_internal)
1578 (_IO_getline_info_internal, _IO_getline_internal)
1579 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1580 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1581 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1582 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1583 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1584 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1585 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1586 with libc_hidden_ver, remove use of INTUSE.
1587 * libio/genops.c: Likewise.
1588 * libio/freopen.c: Likewise.
1589 * libio/freopen64.c: Likewise.
1590 * libio/iofclose.c: Likewise.
1591 * libio/iofdopen.c: Likewise.
1592 * libio/iofflush.c: Likewise.
1593 * libio/iofflush_u.c: Likewise.
1594 * libio/iofgets.c: Likewise.
1595 * libio/iofgets_u.c: Likewise.
1596 * libio/iofopen.c: Likewise.
1597 * libio/iofopncook.c: Likewise.
1598 * libio/iofread.c: Likewise.
1599 * libio/iofread_u.c: Likewise.
1600 * libio/ioftell.c: Likewise.
1601 * libio/iofwrite.c: Likewise.
1602 * libio/iogetline.c: Likewise.
1603 * libio/iogets.c: Likewise.
1604 * libio/iogetwline.c: Likewise.
1605 * libio/iopadn.c: Likewise.
1606 * libio/iopopen.c: Likewise.
1607 * libio/ioseekoff.c: Likewise.
1608 * libio/ioseekpos.c: Likewise.
1609 * libio/iosetbuffer.c: Likewise.
1610 * libio/iosetvbuf.c: Likewise.
1611 * libio/ioungetc.c: Likewise.
1612 * libio/ioungetwc.c: Likewise.
1613 * libio/iovdprintf.c: Likewise.
1614 * libio/iovsprintf.c: Likewise.
1615 * libio/iovsscanf.c: Likewise.
1616 * libio/memstream.c: Likewise.
1617 * libio/obprintf.c: Likewise.
1618 * libio/oldfileops.c: Likewise.
1619 * libio/oldiofclose.c: Likewise.
1620 * libio/oldiofdopen.c: Likewise.
1621 * libio/oldiofopen.c: Likewise.
1622 * libio/oldiopopen.c: Likewise.
1623 * libio/oldstdfiles.c: Likewise.
1624 * libio/putc.c: Likewise.
1625 * libio/setbuf.c: Likewise.
1626 * libio/setlinebuf.c: Likewise.
1627 * libio/stdfiles.c: Likewise.
1628 * libio/strops.c: Likewise.
1629 * libio/vasprintf.c: Likewise.
1630 * libio/vscanf.c: Likewise.
1631 * libio/vsnprintf.c: Likewise.
1632 * libio/vswprintf.c: Likewise.
1633 * libio/wfiledoalloc.c: Likewise.
1634 * libio/wfileops.c: Likewise.
1635 * libio/wgenops.c: Likewise.
1636 * libio/wmemstream.c: Likewise.
1637 * libio/wstrops.c: Likewise.
1638 * libio/__fpurge.c: Likewise.
1639 * libio/__fsetlocking.c: Likewise.
1640 * assert/assert.c: Likewise.
1641 * debug/fgets_chk.c: Likewise.
1642 * debug/fgets_u_chk.c: Likewise.
1643 * debug/fread_chk.c: Likewise.
1644 * debug/fread_u_chk.c: Likewise.
1645 * debug/gets_chk.c: Likewise.
1646 * debug/obprintf_chk.c: Likewise.
1647 * debug/vasprintf_chk.c: Likewise.
1648 * debug/vdprintf_chk.c: Likewise.
1649 * debug/vsnprintf_chk.c: Likewise.
1650 * debug/vsprintf_chk.c: Likewise.
1651 * malloc/mtrace.c: Likewise.
1652 * misc/error.c: Likewise.
1653 * misc/syslog.c: Likewise.
1654 * stdio-common/asprintf.c: Likewise.
1655 * stdio-common/fxprintf.c: Likewise.
1656 * stdio-common/getw.c: Likewise.
1657 * stdio-common/isoc99_fscanf.c: Likewise.
1658 * stdio-common/isoc99_scanf.c: Likewise.
1659 * stdio-common/isoc99_vfscanf.c: Likewise.
1660 * stdio-common/isoc99_vscanf.c: Likewise.
1661 * stdio-common/isoc99_vsscanf.c: Likewise.
1662 * stdio-common/printf-prs.c: Likewise.
1663 * stdio-common/printf_fp.c: Likewise.
1664 * stdio-common/printf_fphex.c: Likewise.
1665 * stdio-common/printf_size.c: Likewise.
1666 * stdio-common/putw.c: Likewise.
1667 * stdio-common/scanf.c: Likewise.
1668 * stdio-common/sprintf.c: Likewise.
1669 * stdio-common/tmpfile.c: Likewise.
1670 * stdio-common/vfprintf.c: Likewise.
1671 * stdio-common/vfscanf.c: Likewise.
1672 * stdlib/strfmon_l.c: Likewise.
1673 * sunrpc/openchild.c: Likewise.
1674 * sunrpc/xdr_stdio.c: Likewise.
1675 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1676 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1677
d6c33fda
RM
16782012-05-24 Roland McGrath <roland@hack.frob.com>
1679
c1487492
RM
1680 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1681
1682 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1683 in the third column, to generate for the shared library an IFUNC
1684 that uses _dl_vdso_vsym.
1685 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1686 * Makeconfig (object-suffixes-noshared): New variable.
1687
1688 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1689 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1690 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1691 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1692
d6c33fda
RM
1693 [BZ #14132]
1694 * include/sys/time.h (__gettimeofday): Remove macro.
1695 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1696 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1697 Remove INTDEF.
1698 (__gettimeofday): Add libc_hidden_def.
1699 (gettimeofday): Add libc_hidden_weak.
1700 * sysdeps/mach/gettimeofday.c: Likewise.
1701 * sysdeps/posix/gettimeofday.c: Likewise.
1702 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1703 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1704 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1705 (__gettimeofday_internal): Remove strong_alias.
1706 (__gettimeofday): Add libc_hidden_def.
1707 (gettimeofday): Add libc_hidden_weak.
1708 * sysdeps/unix/syscalls.list (gettimeofday):
1709 Remove __gettimeofday_internal alias.
1710
b5a2bbe6
L
17112012-05-24 Daniel Jacobowitz <drow@false.org>
1712 H.J. Lu <hongjiu.lu@intel.com>
1713
1714 [BZ #12495]
1715 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1716 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1717 (largebin_index_32_big): New.
1718 (largebin_index): Use it for 16-byte alignment.
1719 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1720 correction with front_misalign.
1721
cfba4fda
L
17222012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1723
7f907421
L
1724 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1726 Likewise.
1727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1728 Likewise.
1729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1730 Likewise.
1731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1732 Likewise.
1733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1734 Likewise.
1735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1736 Likewise.
1737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1738 Likewise.
1739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1740 Likewise.
1741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1742 Likewise.
1743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1744 Likewise.
1745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1746 Likewise.
1747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1748 Likewise.
1749
cfba4fda
L
1750 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1751 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1752
80bad0cc
JM
17532012-05-24 Joseph Myers <joseph@codesourcery.com>
1754
7a25eb06
JM
1755 [BZ #10846]
1756 [BZ #14036]
1757 * math/libm-test.inc (exp_test): Add test from bug 14036.
1758 (pow_test): Add test from bug 10846.
1759
795405f9
JM
1760 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1761 and other flags.
1762 (special_function): Do not include flags in test name.
1763 (parse_args): Likewise.
1764 * sysdeps/i386/fpu/libm-test-ulps: Update.
1765 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1766 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1767 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1769
80bad0cc
JM
1770 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1771 exceptions.
1772 * math/libm-test.inc ("Philosophy"): Update comment about
1773 exception testing.
1774 (UNDERFLOW_EXCEPTION): New macro.
1775 (UNDERFLOW_EXCEPTION_OK): Likewise.
1776 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1777 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1778 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1779 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1780 (INVALID_EXCEPTION_OK): Update value.
1781 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1782 (OVERFLOW_EXCEPTION_OK): Likewise.
1783 (IGNORE_ZERO_INF_SIGN): Likewise.
1784 (test_exceptions): Handle underflow exceptions.
1785 (acos_test): Update for underflow exception expectations.
1786 (cexp_test): Likewise.
1787 (clog_test): Likewise.
1788 (clog10_test): Likewise.
1789 (csqrt_test): Likewise.
1790 (ctan_test): Likewise.
1791 (ctanh_test): Likewise.
1792 (exp_test): Likewise.
1793 (exp10_test): Likewise.
1794 (exp2_test): Likewise.
1795 (expm1_test): Likewise.
1796 (fma_test): Likewise.
1797 (j0_test): Likewise.
1798 (jn_test): Likewise.
1799 (nexttoward_test): Likewise.
1800 (pow_test): Likewise.
1801 (scalbn_test): Likewise.
1802 (scalbln_test): Likewise.
1803 (tan_test): Likewise.
1804 (y1_test): Likewise.
1805 * sysdeps/i386/fpu/libm-test-ulps: Update.
1806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1807
9e0e3d0b
DM
18082012-05-23 David S. Miller <davem@davemloft.net>
1809
1810 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1811 (__libc_sigaction): Remove unused local variables.
1812
ccd0a08f
L
18132012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1814
1815 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1816
62bdf9a6
PE
18172012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1818
f8591f80
PE
1819 mktime: avoid signed integer overflow
1820 * time/mktime.c (__mktime_internal): Do not mishandle the case
1821 where diff == INT_MIN.
1822
94c7d826
PE
1823 mktime: simplify computation of average
1824 * time/mktime.c (ranged_convert): Use new time_t_avg function
1825 instead of rolling our own (probably-slower) code.
1826
ce73d683
PE
1827 mktime: do not assume signed right shift propagates sign bit
1828 * time/mktime.c (isdst_differ): New static function.
1829 (__mktime_internal): No need to normalize tm_isdst now.
1830 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1831 tm_isdst values.
1832
72a22e59
PE
1833 mktime: merge another wrapv change from gnulib
1834 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1835 from some compilers.
1836
68605433
PE
1837 mktime: remove incorrect attempt at unusual arithmetics
1838 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1839 The code didn't really work on such machines anyway.
1840 (TYPE_MINIMUM): Assume two's complement.
1841 (twos_complement_arithmetic): Verify that long_int and time_t
1842 are two's complement (or unsigned, in the latter case).
1843
03cf7fe3
PE
1844 mktime: check signed shifts on long_int and time_t, too
1845 * time/mktime.c (SHR): Check that shifts work as desired
1846 on the types long_int and time_t too, as SHR is used on
1847 such types.
1848
f04dfbc2
PE
1849 mktime: do not assume 'long' is wide enough
1850 * time/mktime.c (verify): Move decl up.
1851 (long_int): New type.
1852 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1853 to remove assumption in the code that 'long' is wide enough to
1854 store year values. This assumption is not true on x32 and on
1855 some non-glibc platforms.
1856
62bdf9a6
PE
1857 mktime: merge wrapv change from gnulib
1858 * time/mktime.c (WRAPV): New macro.
1859 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1860 (guess_time_tm, __mktime_internal): Do not assume that signed
1861 integer overflow wraps around; modern compilers generate code
1862 where this assumption is no longer valid.
1863
5e292e4f
L
18642012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1865
1866 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1867 Replace "jmp L(pseudo_end)" with "ret".
1868 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1869 Likewise.
1870
8caf8c87
AJ
18712012-05-23 Andreas Jaeger <aj@suse.de>
1872
1873 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1874 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1875
1a09dc56
AJ
18762012-05-23 Andreas Jaeger <aj@suse.de>
1877 Maximilian Attems <max@stro.at>
1878
1879 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1880 New macros.
1881
1c87aba0
L
18822012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1883
1884 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1885 code so that pseudo_end is just ret and the stack pointer is
1886 correct also for static library in error case.
1887
40e45bd5
JM
18882012-05-23 Joseph Myers <joseph@codesourcery.com>
1889
c2670533
JM
1890 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1891 move to syscalls.list.
1892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1896
40e45bd5
JM
1897 * manual/install.texi (Running make install): Do not mention Linux
1898 kernel version for which pt_chown is not needed.
1899 (Linux): Do not mention problems with nscd with 2.0 kernels.
1900 * INSTALL: Regenerated.
1901
be08eda5
AJ
19022012-05-23 Andreas Jaeger <aj@suse.de>
1903
1904 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1905 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1906 macro.
1907 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1908 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1909 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1910 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1911 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1912 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1913 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1914 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1915 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1916 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1917 * sysdeps/unix/sysv/linux/bits/in.h
1918 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1919
a6a056bb
RM
19202012-05-22 Roland McGrath <roland@hack.frob.com>
1921
1922 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1923 (PREPARE_VERSION): Just use assert instead, it will be elided
1924 under [NDEBUG] anyway.
1925
c9009328
L
19262012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1927
1928 * sysdeps/unix/sysv/linux/Makefile: Include
1929 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1930 (sysdep_routines): Remove sysctl.
c9009328
L
1931 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1932 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1933 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1934 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1935 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1936
73338355
AJ
19372012-05-22 Andreas Jaeger <aj@suse.de>
1938
1939 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1940 that pseudo_end is just ret and the stack pointer is correct also
1941 for static library in error case.
1942
d44638b0
PP
19432012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1944
1945 [BZ #14122]
1946 * nss/nsswitch.c (defconfig_entries): New variable.
1947 (__nss_database_lookup): Don't leak defconfig entries.
1948 (nss_parse_service_list): Don't leak on error paths.
1949 (free_database_entries): New function.
1950 (free_defconfig): New function.
1951 (free_mem): Move common code to free_database_entries.
1952
31a39bd8
L
19532012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1954
da0331a8
L
1955 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1956 Add arch_prctl.
1957 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1958
31a39bd8
L
1959 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1960 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1961 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1962 New macro.
1963 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1964 (INTERNAL_SYSCALL_TYPES): Likewise.
1965 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1966 (LOAD_REGS_TYPES_[1-6]): Likewise.
1967 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1968 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1969
45470df3
AZ
19702012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1971
1972 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1973 copysignl for GLIBC_2_0.
1974 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1975 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1976 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1977 logbl for GLIBC_2_0.
1978 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1979 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1980
98a61bcb
L
19812012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1982
a4f6e481
L
1983 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1984 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1985
f63d5db6
L
1986 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1987 Use "neg %eax".
1988
98a61bcb
L
1989 * time/mktime.c: Update copyright years.
1990
95770f14
PE
19912012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1992
6226efbd
PE
1993 mktime: merge comment-quoting-style change from gnulib
1994 * time/mktime.c: Quote 'like this' in comments.
1995 The GNU coding standards suggest that we no longer quote `like this',
1996 as "`" and "'" are typically rendered asymmetrically nowadays.
1997 The typical gnulib style is to quote 'like this' when quoting
1998 code, and "like this" when quoting English.
1999
b99e4f78
PE
2000 * time/mktime.c (compile-command): Add "-I.".
2001
643e01e6
PE
2002 mktime: merge mktime-internal.h change from gnulib
2003 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2004
2554247d
PE
2005 mktime: merge time_r change from gnulib
2006 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2007
826dd0ab
PE
2008 mktime: merge DEBUG change from gnulib
2009 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2010 case system <time.h> has a #define.
2011
bd83aabe
PE
2012 mktime: merge <sys/types.h> change from gnulib
2013 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2014 since <time.t> is now guaranteed to define time_t.
2015
95770f14
PE
2016 mktime: merge HAVE_CONFIG_H change from gnulib
2017 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2018
5e1a27a9
L
20192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2020
0e44a77e
L
2021 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2022 Use "neg %eax".
2023
5e1a27a9
L
2024 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2025 __rlim_t cast.
2026 (struct rusage): Use anonymous union to pad each field to
2027 __syscall_slong_t.
2028
46259bec
DM
20292012-05-21 David S. Miller <davem@davemloft.net>
2030
2031 * Makefules (o-iterator): Remove .s cases.
2032 (compile-command.s): Delete.
2033 (COMPILE.s): Delete.
2034 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2035
59f0c22e
JM
20362012-05-21 Joseph Myers <joseph@codesourcery.com>
2037
2038 * configure.in (libc_cv_predef_stack_protector): Only consider
2039 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2040 * configure: Regenerated.
2041
20c07380
L
20422012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2043
bbb3154b
L
2044 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2045 New macro. Use R*LP on int and pointer.
2046 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
2047 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2048 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
2049 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2050
20c07380
L
2051 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2052 [__WORDSIZE_TIME64_COMPAT32] instead of
2053 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2054 (struct utmp): Likewise.
2055 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2056 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2057 Renamed to ...
2058 (__WORDSIZE_TIME64_COMPAT32): This.
2059 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2060 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2061 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2062 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2063 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2064 (__WORDSIZE_TIME64_COMPAT32): New macro.
2065
d8d1017e
AJ
20662012-05-21 Andreas Jaeger <aj@suse.de>
2067
2068 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2069 only if [SHARED]. Add prototype for __wcschr_ia32.
2070
6c7fb145
RM
20712012-05-21 Roland McGrath <roland@hack.frob.com>
2072
2073 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2074 of %rbp unmolested in the jmp_buf while mangling the low bits.
2075 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2076 unmolested high bits of %rbp while demangling the low bits.
2077 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2078
66274218
AJ
20792012-05-21 Andreas Jaeger <aj@suse.de>
2080
07c58f8f
AJ
2081 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2082 * sunrpc/svc_simple.c: Use it for registerrpc.
2083 * sunrpc/xcrypt.c: Use it for passwd2des.
2084
66274218
AJ
2085 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2086
61f65140
L
20872012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2088
2089 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2090 Don't define if [__SYSCALL_WORDSIZE != 32].
2091 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2092 New macro.
2093
5fefb436
AJ
20942012-05-21 Bruno Haible <bruno@clisp.org>
2095 Andreas Jaeger <aj@suse.de>
2096
2097 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2098 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2099 inptr and inend for must_buffer_ch.
2100 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2101 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2102 * stdio-common/Makefile (tests): Remove bug15.
2103 (bug15-ENV): Remove macro.
2104 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2105 anymore.
2106
d8e272ab
AJ
21072012-05-19 Andreas Jaeger <aj@suse.de>
2108 Roland McGrath <roland@hack.frob.com>
2109
2110 * manual/contrib.texi: Completely rewritten. It contains now an
2111 alphabetical list of contributors and their contributions.
2112
4a56a162
RH
21132012-05-21 Richard Henderson <rth@twiddle.net>
2114
2115 * misc/getauxval.c (__getauxval): Use unsigned long int.
2116 * misc/sys/auxv.h: Include <sys/cdefs.h>.
2117 (getauxval): Use unsigned long int.
2118
d024d23c
L
21192012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2120
2121 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2122
cbc00a03
RM
21232012-05-21 Roland McGrath <roland@hack.frob.com>
2124
2125 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2126 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2127 __alignof__ (long double).
2128
478143fa
AZ
21292012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2130
2131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2132
c7683a6d
RH
21332012-05-20 Richard Henderson <rth@twiddle.net>
2134
2135 * misc/getauxval.c: New file.
2136 * misc/sys/auxv.h: New file.
2137 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2138 (routines): Add getauxval.
2139 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2140 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2141 * elf/dl-sysdep.c (_dl_auxv): Remove.
2142 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2143 * elf/dl-support.c (_dl_auxv): New variable.
2144 (_dl_aux_init): Initialize it.
2145 * manual/startup.texi (Auxiliary Vector): New node.
2146 * sysdeps/generic/bits/hwcap.h: New file.
2147 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2148 * sysdeps/powerpc/sysdep.h: ... here. Include it.
2149 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2150 * sysdeps/sparc/sysdep.h: ... here. Include it.
2151 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2152 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
2153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2154 Update.
c7683a6d
RH
2155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2158 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2163
a6f1845d
AZ
21642012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2165
2166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2167
cbcbe830
DM
21682012-05-19 David S. Miller <davem@davemloft.net>
2169
2170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2171
e0b16cc2
JM
21722012-05-19 Joseph Myers <joseph@codesourcery.com>
2173
2174 [BZ #14123]
2175 * math/s_ccosh.c: Include <float.h>
2176 (__ccosh): Avoid internal overflow calculating sinh and cosh
2177 values before multiplying by sin and cos values.
2178 * math/s_ccoshf.c: Likewise.
2179 * math/s_ccoshl.c: Likewise.
2180 * math/s_csin.c: Likewise.
2181 * math/s_csinf.c: Likewise.
2182 * math/s_csinl.c: Likewise.
2183 * math/s_csinh.c: Likewise.
2184 * math/s_csinhf.c: Likewise.
2185 * math/s_csinhl.c: Likewise.
2186 * math/libm-test.inc (ccos_test): Add more tests.
2187 (ccosh_test): Likewise.
2188 (csin_test): Likewise.
2189 (csinh_test): Likewise.
2190 * sysdeps/i386/fpu/libm-test-ulps: Update.
2191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2192
6ad13e08
L
21932012-05-19 H.J. Lu <hongjiu.lu@intel.com>
2194
f66f0ce8
L
2195 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2196 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2197
6ad13e08
L
2198 * sysdeps/x86_64/x32/_itoa.h: Add comment.
2199
b1d072a7
JM
22002012-05-19 Joseph Myers <joseph@codesourcery.com>
2201
2202 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2203 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2204 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2205 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2206 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2207 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2208 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2209 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2210 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2211 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2212 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2213 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2214 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2215 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2216 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2217 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2218 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2219 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2220 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2221 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2222 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2223 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2224 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2225 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2226 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2227 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2228 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2229 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2230 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2231 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2232 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2233
9eae47cb
AJ
22342012-05-18 Andreas Jaeger <aj@suse.de>
2235
2236 * csu/.gitignore: Delete.
2237
bb07f69f
L
22382012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2239
2240 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2241 (timex): Use __syscall_slong_t.
2242
e6bdb741
AJ
22432012-05-18 Andreas Jaeger <aj@suse.de>
2244 Carlos O'Donell <carlos_odonell@mentor.com>
2245
2246 * manual/install.texi (Configuring and compiling): Update
2247 description about files modified in the source directory.
d6c33fda 2248 * INSTALL: Regenerated.
e6bdb741 2249
1b74487e
L
22502012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2251
2252 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2253 value. Use "or" to set return value to -1.
2254 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2255 negate return value.
2256
a88b64b9
TMQMF
22572012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2258
2259 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2260 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2261 failure if the compiler has Graphite support disabled.
2262 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2263 Likewise.
2264 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2265 CFLAGS-memmove.c): Likewise.
2266 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2267 Likewise.
2268
3707636e
L
22692012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2270
610b8622
L
2271 * sysdeps/x86_64/x32/_itoa.h: New file.
2272
7cd195df
L
2273 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2274 getdents system call only if kernel and user dirents have the
2275 same d_ino and d_off.
2276
94b07d20
L
2277 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2278 LLONG_MAX != LONG_MAX.
2279 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2280 (_fitoa_word): Likewise.
2281
18298070
L
2282 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2283 years.
2284 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2285 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2286 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2287
553c7ea4
L
2288 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2289 include <bits/wordsize.h>. Check __x86_64__ instead of
2290 __WORDSIZE.
2291 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2292 if __x86_64__ is defined. Use anonymous union on fpstate.
2293
3707636e
L
2294 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2295 anonymous union.
2296
b53ef01a
AS
22972012-05-18 Andreas Schwab <schwab@linux-m68k.org>
2298
37fb1dc0
AS
2299 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2300 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
2301 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
2302 Refer to _rtld_local_ro instead of _rtld_global_ro.
2303 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
2304 Likewise.
2305 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
2306 Likewise.
2307 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
2308 Likewise.
2309 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2310 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2311 of _rtld_global, and rtld_progname instead of _dl_argv[0].
2312
b53ef01a
AS
2313 * sysdeps/powerpc/powerpc32/dl-machine.c
2314 (__elf_machine_runtime_setup) [PROF]: Don't reference
2315 _dl_prof_resolve.
2316
7a185db2
AJ
23172012-05-18 Andreas Jaeger <aj@suse.de>
2318
2319 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2320 function only available for GCCs before 3.4 since GCC 3.4
2321 introduced a builtin.
2322 (lrint): Likewise.
2323 (llrintf): Likewise.
2324 (llrint): Likewise.
2325 (fmaxf): Likewise.
2326 (fmax): Likewise.
2327 (fminf): Likewise.
2328 (fmin): Likewise.
2329 (rint): Likewise.
2330 (rintf): Likewise.
2331 (nearbyint): Likewise.
2332 (nearbyintf): Likewise.
2333 (ceil): Likewise.
2334 (ceilf): Likewise.
2335 (floor): Likewise.
2336 (floorf): Likewise.
2337
3e5aef87
L
23382012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2339
428bd707
L
2340 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2341 on both fields and cast pointer to __syscall_ulong_t.
2342
3e5aef87
L
2343 * bits/types.h (__fsword_t): New type.
2344 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2345 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2346 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2347 (__FSWORD_T_TYPE): Likewise.
2348 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2349 (__FSWORD_T_TYPE): Likewise.
2350 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2351 (__FSWORD_T_TYPE): Likewise.
2352 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2353 (__FSWORD_T_TYPE): Likewise.
2354 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2355 __SWORD_TYPE with __fsword_t.
2356 (statfs64): Likewise.
2357
1ba7c3dc
DM
23582012-05-17 David S. Miller <davem@davemloft.net>
2359
2360 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2361
59910343
AJ
23622012-05-17 Andreas Jaeger <aj@suse.de>
2363
2364 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2365 warning.
2366
2e4c1e9e
L
23672012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2368
2369 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2370
de7f5ce7
AJ
23712012-05-17 Andreas Jaeger <aj@suse.de>
2372
2373 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2374 when it is used.
2375
286abc3d
CM
23762012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2377
2378 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2379
477cc68e
L
23802012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2381
2382 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2383 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2384
1a0994f5
CD
23852012-05-17 Andreas Jaeger <aj@suse.de>
2386 Carlos O'Donell <carlos_odonell@mentor.com>
2387
2388 [BZ #14059]
2389 * sysdeps/x86_64/multiarch/init-arch.h
2390 (bit_YMM_Usable): Rename to...
2391 (bit_AVX_Usable): ... this.
2392 (bit_FMA4_Usable): New macro.
2393 (bit_XMM_state): New macro.
2394 (bit_YMM_state): New macro.
2395 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2396 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2397 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2398 (CPUID_OSXSAVE): New macro.
2399 (CPUID_AVX): New macro.
2400 (CPUID_FMA4): New macro.
2401 (index_YMM_Usable): Rename to...
2402 (index_AVX_Usable): ... this.
2403 (HAS_AVX): Use HAS_ARCH_FEATURE.
2404 (HAS_FMA4): Likewise.
2405 (HAS_YMM_USABLE): Remove.
2406 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2407 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2408 are present.
2409 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2410 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2411 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2412 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2413 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2414
0af797de
CM
24152012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2416
2417 * math/libm-test.c: Support platforms without multiple rounding modes.
2418 * math/bug-nextafter.c: Support platforms without FP exceptions.
2419 * math/bug-nexttoward.c: Likewise.
2420 * math/test-fenv.c: Likewise.
2421 * math/test-misc.c: Likewise.
2422 * stdlib/bug-getcontext.c: Likewise.
2423
e39745ff
AJ
24242012-05-17 Andreas Jaeger <aj@suse.de>
2425
2426 * manual/examples/search.c (critter_cmp): Change signature to
2427 avoid warnings.
2428 * manual/string.texi (Collation Functions): Likewise.
2429
48970aba
L
24302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2431
2432 * bits/types.h: Fold copyright years.
2433 * bits/typesizes.h: Likewise.
2434 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2435 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2436 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2437 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2438 * time/time.h: Likewise.
2439
bedee953
PP
24402012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2441
2442 [BZ #208]
2443 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2444 in instead of returning them. Return void.
2445 (__libc_mallinfo): Accumulate over all arenas.
2446 (__malloc_stats): Adjust for change in int_mallinfo interface.
2447
61653dfb
RM
24482012-05-16 Roland McGrath <roland@hack.frob.com>
2449
30b99d79
RM
2450 [BZ #10375]
2451 * configure.in (NM): Add AC_CHECK_TOOL for it.
2452 (libc_extra_cflags): New substituted variable.
2453 Check for -fstack-protector being used implicitly.
2454 * configure: Regenerated.
2455 * config.make.in (config-extra-cflags): New variable,
2456 gets @libc_extra_cflags@.
2457 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2458
61653dfb
RM
2459 [BZ #10375]
2460 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2461 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2462 * configure: Regenerated.
2463 * config.make.in (CPPUNDEFS): New substituted variable.
2464 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2465 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2466 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2467
661768bb
L
24682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2469
2470 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2471 (mq_attr): Use __syscall_slong_t.
2472
d4261567
L
24732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2474
2475 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2476 Check __x86_64__ instead of __WORDSIZE.
2477 (_STAT_VER_LINUX): Likewise.
2478 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2479 __syscall_ulong_t and __syscall_slong_t.
2480 (stat64): Likewise.
2481
cf3ff365
L
24822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2483
2484 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2485
76cf3e4d
L
24862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2487
2488 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2489
a637753a
L
24902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2491
2492 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2493 __syscall_ulong_t.
2494
d5e05119
L
2495 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2496 include <bits/wordsize.h>. Check __x86_64__ instead of
2497 __WORDSIZE.
2498 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2499 defined.
2500 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2501
f62ee380
L
2502 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2503 include <bits/wordsize.h>. Check __x86_64__ instead of
2504 __WORDSIZE.
2505 (user_regs_struct): Use "__extension__ unsigned long long"
2506 instead of "unsigned long" if __x86_64__ is defined.
2507 (user): Likewise. Pad after pointer field if __ILP32__ is
2508 defined.
2509
4e124ced
JM
25102012-05-16 Joseph Myers <joseph@codesourcery.com>
2511
6a3951a0
JM
2512 * configure.in (makeinfo): Require version 4.5 or later. Allow
2513 versions 5 to 9.
2514 * configure: Regenerated.
2515 * manual/install.texi (texinfo): Increase version requirement to
2516 4.5 or later.
2517 * INSTALL: Regenerated.
2518
4e124ced
JM
2519 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2520
953ca31a
L
25212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2522
2523 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2524
617aca05
L
2525 * sysdeps/x86_64/x32/ffs.c: New file.
2526
5762f7ae
L
2527 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2528 __syscall_ulong_t.
2529 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2530 defined. Use __syscall_ulong_t.
2531 (shminfo): Use __syscall_ulong_t.
2532 (shm_info): Likewise.
2533
a26b6856
L
2534 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2535 __syscall_ulong_t.
2536
cb2b9ef7
L
2537 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2538 <bits/wordsize.h>.
2539 (msgqnum_t): Use __syscall_ulong_t.
2540 (msglen_t): Likewise.
2541 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2542 __syscall_ulong_t.
2543
34683bb0
L
2544 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2545 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2546
84a68786
L
2547 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2548
48baa5f1
L
2549 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2550 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2551
180be88b
L
2552 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2553 __syscall_slong_t.
2554
5e90c8ad
L
2555 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2556 include <bits/wordsize.h>. Check __x86_64__ instead of
2557 __WORDSIZE.
2558
23dfb58b
L
2559 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2560 "unsigned long long int" if __x86_64__ is defined.
2561 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2562
ce5d54b0
L
2563 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2564 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2565 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2566
13dc9eac
L
2567 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2568 <stdint.h>.
2569 (GET_PC): Cast to uintptr_t first.
2570 (GET_FRAME): Likewise.
2571 (GET_STACK): Likewise.
2572
a7895d15
L
2573 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2574 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2575 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2576 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2577 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2578 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2579 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2580 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2581 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2582 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2583 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2584 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2585 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2586 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2587 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2588 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2589 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2590 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2591 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2592 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2593 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2594 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2595 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2596 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2597 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2598 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2599 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2600 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2601 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2602
656416c9
AS
26032012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2604
5bd66283
AS
2605 * Makerules (+depfiles): Also collect depfiles from .oS in
2606 $(extra-objs).
2607 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2608 .oS, $(libnldbl-routines)).
2609
656416c9
AS
2610 * Makerules (native-compile-mkdep-flags): Define.
2611 * sunrpc/Makefile (extra-objs): Add $(addprefix
2612 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2613 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2614 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2615 calling $(make-target-directory).
2616
a46f2169
L
26172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2618
2619 * bits/types.h (__snseconds_t): Removed.
2620 * time/time.h (struct timespec): Replace __snseconds_t with
2621 __syscall_slong_t.
2622 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2623 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2624 Likewise.
2625 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2626 (__SNSECONDS_T_TYPE): Likewise.
2627 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2628 (__SNSECONDS_T_TYPE): Likewise.
2629 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2630 (__SNSECONDS_T_TYPE): Likewise.
2631
6af6528b
L
26322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2633
2634 * sysdeps/mach/hurd/bits/typesizes.h
2635 (__SYSCALL_SLONG_TYPE): New macro.
2636 (__SYSCALL_ULONG_TYPE): Likewise.
2637
de986b56
L
26382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2639
2640 * bits/types.h (__syscall_slong_t): New type.
2641 (__syscall_ulong_t): Likewise.
2642
2643 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2644 (__SYSCALL_ULONG_TYPE): Likewise.
2645 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2646 (__SYSCALL_SLONG_TYPE): Likewise.
2647 (__SYSCALL_ULONG_TYPE): Likewise.
2648 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2649 (__SYSCALL_SLONG_TYPE): Likewise.
2650 (__SYSCALL_ULONG_TYPE): Likewise.
2651 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2652 (__SYSCALL_SLONG_TYPE): Likewise.
2653 (__SYSCALL_ULONG_TYPE): Likewise.
2654
85736dc7
L
26552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2656
2657 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2658 Add sigaltstack-offsets.sym.
2659 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2660 <sigaltstack-offsets.h>.
2661 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2662 longjmp_msg pointer.
2663 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2664 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2665 signal stack.
2666 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2667
cc03b296
JM
26682012-05-15 Joseph Myers <joseph@codesourcery.com>
2669
a9538892
JM
2670 * elf/stackguard-macros.h: Remove file.
2671 * sysdeps/generic/stackguard-macros.h: New file.
2672 * sysdeps/i386/stackguard-macros.h: Likewise.
2673 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2674 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2675 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2676 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2677 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2678 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2679 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2680 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2681 <elf/stackguard-macros.h>.
2682
cc03b296
JM
2683 [BZ #14109]
2684 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2685 __aligned__ in attribute.
2686 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2687 (gregset_t): Likewise.
2688
93171016
L
26892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2690
2691 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2692 * sysdeps/x86_64/64/Implies-after: Here. New file.
2693 * sysdeps/x86_64/x32/Implies-after: New file.
2694
d86813a0
L
26952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2696
2697 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2698 and access return value for _dl_profile_fixup. Use R10_LP to
2699 load frame size.
2700
2953ec75
L
27012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2702
2703 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2704
3b550e9e
L
27052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2706
2707 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2708 * sysdeps/x86_64/x32/sysdep.h: New file.
2709
eda41706
L
27102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2711
2712 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2713 * sysdeps/x86_64/setjmp.S: Likewise.
2714
9ea01d93
AZ
27152012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2716
2717 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2718 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2719 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2720 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2721 remove unused global constant.
2722
02a91938
CM
27232012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2724
2725 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2726 include of <not-cancel.h>.
2727
6540185f
RM
27282012-05-15 Roland McGrath <roland@hack.frob.com>
2729
2730 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2731
509072a0
AJ
27322012-05-15 Jeff Law <law@redhat.com>
2733 Andreas Jaeger <aj@suse.de>
2734
2735 [BZ #13594]
2736 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2737 out from...
2738 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2739 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2740 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2741 code changing __hst_map_handle.map.
2742
ba75122d
RM
27432012-05-15 Roland McGrath <roland@hack.frob.com>
2744
2745 * configure.in (sysnames): Look for Implies-before and Implies-after
2746 files.
2747 * configure: Regenerated.
2748
890d8bd8
L
27492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2750
2751 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2752 8-byte data alignment with LP_SIZE alignment.
2753
f6ee6623
L
27542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2755
2756 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2757 into R10_LP.
2758
ea2626f6
L
27592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2760
2761 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2762
085f715e
L
27632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2764
2765 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2766 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2767 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2768 Likewise.
2769 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2770
be8498fc
L
27712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2772
2773 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2774 (stackinfo_sub_sp): Likewise.
2775
70bc83b9
L
27762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2777
2778 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2779 RAX_LP.
2780
9bc0b730
L
27812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2782
2783 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2784 into R*_LP.
2785
6d2850e7
L
27862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2787
2788 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2789 sizes into R*_LP.
2790
3cb84561
L
27912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2792
2793 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2794
54e2ed81
L
27952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2796
2797 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2798 into R11_LP and load __x86_64_shared_cache_size_half into
2799 R8_LP.
2800
8a17f349
L
28012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2802
2803 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2804 R8_LP.
2805
777b1eea
AZ
28062012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2807
2808 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2809 logb for POWER7.
2810 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2811 logbf for POWER7.
2812 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2813 logbl for POWER7.
2814 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2815 powerpc32/power7/fpu/s_logb.c via #include.
2816 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2817 powerpc32/power7/fpu/s_logbf.c via #include.
2818 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2819 powerpc32/power7/fpu/s_logbl.c via #include.
2820
d20d4ac2
JM
28212012-05-15 Joseph Myers <joseph@codesourcery.com>
2822
2823 * README.libm: Remove file.
2824
6cdef1ab
L
28252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2826
2827 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2828 count for x32. Use R*_LP and omit operand-size suffix.
2829
0b254d8f
L
28302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2831
2832 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2833 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2834 * sysdeps/x86_64/x32/shlib-versions: New file.
2835
ceb809dc
RM
28362012-05-14 Roland McGrath <roland@hack.frob.com>
2837
2838 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2839 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2840 Use _dl_fatal_printf instead.
2841
37f1abd4
JM
28422012-05-14 Joseph Myers <joseph@codesourcery.com>
2843
2844 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2845 set if not set by the user. Do not allow for being unset.
2846 * sysdeps/unix/sysv/linux/configure: Regenerated.
2847
11de3a33
L
28482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2849
2850 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2851 the `q' suffix from lea and replace .quad with ASM_ADDR.
2852
e02f153a
L
28532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2854
2855 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2856 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2857 instead of $17.
2858 (PTR_DEMANGLE): Likewise.
2859
520ae0fd
L
28602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2861
2862 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2863 (LP_OP): Likewise.
2864 (ASM_ADDR): Likewise.
2865 (RAX_LP): Likewise.
2866 (RBP_LP): Likewise.
2867 (RBX_LP): Likewise.
2868 (RCX_LP): Likewise.
2869 (RDI_LP): Likewise.
2870 (RSI_LP): Likewise.
2871 (RSP_LP): Likewise.
2872 (R8_LP): Likewise.
2873 (R9_LP): Likewise.
2874 (R10_LP): Likewise.
2875 (R10_LP): Likewise.
2876 (R11_LP): Likewise.
2877 (R12_LP): Likewise.
2878 (R13_LP): Likewise.
2879 (R14_LP): Likewise.
2880 (R15_LP): Likewise.
2881
b985be81
L
28822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2883
2884 * sysdeps/x86_64/x32/dl-machine.h: New file.
2885
6a4888ff
AJ
28862012-05-14 Andreas Jaeger <aj@suse.de>
2887
2888 * manual/Makefile (subdir): Remove export of subdir.
2889 (all): Remove target.
2890 (.PHONY): Remove all from list.
2891 (mkinstalldirs): Remove.
2892 (.PHONY): Remove installdirs from list.
2893 ($(inst_infodir)/libc.info): Use make-target-directory.
2894 (installdirs): Remove.
2895 (subdir_%): Remove.
2896 (glibc-targets): Remove.
2897 (lib): Remove.
2898 (stubs): Remove.
2899 ($(objpfx)stubs ../po/manual.pot): Remove.
2900 ($(objpfx)stamp%): Remove.
2901 (make-target-directory): Remove.
2902 (subdir_install): Remove.
2903 (routines): Remove.
2904 (aux): Remove.
2905 (sources): Remove.
2906 (objects): Remove.
2907 (headers): Remove.
2908
2909 [BZ #13750]
2910 * manual/.gitignore: Remove, it's not needed anymore.
2911 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2912 all files in it.
2913 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2914 directory.
2915 (texis): Renamed to $(objpfx)texis.
2916 (texis-path): New, contains path to generated files.
2917 (chapters.%): Use texis-path for complete path, add extra argument
2918 libc-texinfo.sh.
2919 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2920 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2921 (summary,texi, stamp-summary): Use complete path of
2922 files. Generate files in build dir.
2923 (dir-add.texi): Build in build dir.
2924 (libm-err.texi,stamp-libm-err): Likewise.
2925 (version.texi, stamp-version): Likewise.
2926 (.%c.texi): Likewise.
2927 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2928 (mostlyclean): Remove target.
2929 (realclean): Remove target.
2930 (generated): Add new variable with contents from mostlyclean and
2931 realclean, remove entries duplicated in common-mostlyclean, add
2932 stamp-libm-err and stamp-version.
2933 (generated-dirs): Add libc directory.
2934 ($(inst_infodir)/libc.info): Install files from build dir.
2935
2936 * manual/install.texi (Configuring and compiling): Adjust since
2937 the info files are not part of the tar ball anymore.
2938
7ac77294
AJ
29392012-05-14 Andreas Jaeger <aj@suse.de>
2940
2941 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2942 variable.
2943
ffb7875d
JM
29442012-05-14 Joseph Myers <joseph@codesourcery.com>
2945
2946 [BZ #13717]
2947 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2948 to 2.2.0 where earlier.
2949 * sysdeps/unix/sysv/linux/configure: Regenerated.
2950 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2951 Remove conditional code.
2952 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2953 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2954 Remove conditional code.
2955 [!__NR_lchown]: Likewise.
2956 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2957 [__NR_lchown]: Likewise.
2958 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2959 comment referencing __ASSUME_LCHOWN_SYSCALL.
2960 * sysdeps/unix/sysv/linux/i386/sigaction.c
2961 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2962 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2963 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2964 Remove conditional code.
2965 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2966 (__protocol_available): Remove #if 0 code.
2967 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2968 conditional code.
2969 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2970 * sysdeps/unix/sysv/linux/kernel-features.h
2971 (__ASSUME_GETCWD_SYSCALL): Don't define.
2972 (__ASSUME_REALTIME_SIGNALS): Likewise.
2973 (__ASSUME_PREAD_SYSCALL): Likewise.
2974 (__ASSUME_PWRITE_SYSCALL): Likewise.
2975 (__ASSUME_POLL_SYSCALL): Likewise.
2976 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2977 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2978 non-SPARC.
2979 (__ASSUME_SIOCGIFNAME): Don't define.
2980 (__ASSUME_MSG_NOSIGNAL): Likewise.
2981 (__ASSUME_SENDFILE): Define unconditionally.
2982 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2983 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2984 conditional code.
2985 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2986 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2987 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2988 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2989 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2990 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2991 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2993 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2994 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2996 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2997 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2999 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3000 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3002 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3003 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3005 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3006 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3008 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3009 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3011 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3012 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3014 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3015 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3016 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3017 Remove conditional code.
3018 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3019 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3020 Remove conditional code.
3021 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3022 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3023 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3024 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3025 Remove conditional code.
3026 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3027 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3028 Remove conditional code.
3029 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3030 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3031 Remove conditional code.
3032 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3033 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3034 Remove conditional code.
3035 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3036 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3037 Remove conditional code.
3038 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3039 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3040 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3041 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3042 * sysdeps/unix/sysv/linux/sigaction.c
3043 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3044 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3045 * sysdeps/unix/sysv/linux/sigpending.c
3046 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3047 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3048 * sysdeps/unix/sysv/linux/sigprocmask.c
3049 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3050 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3051 * sysdeps/unix/sysv/linux/sigsuspend.c
3052 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3053 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3054 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3055 (__libc_missing_rt_sigs): Remove.
3056 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3057 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3058 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3059 Remove conditional code.
3060 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3061 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3062 return 1.
3063 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3064 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3065 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3066 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3067
1bfb7291
AJ
30682012-05-14 Andreas Jaeger <aj@suse.de>
3069
caae5a81
AJ
3070 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3071 it's not used in glibc.
3072 (__coshm1): Likewise.
3073 (__acosh1p): Likewise.
3074 (__sgn): Likewise.
3075
1bfb7291
AJ
3076 * manual/string.texi (Copying and Concatenation): Add missing
3077 variable in concat example.
3078 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3079
c044d724
L
30802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3081
144c5467 3082 [BZ #14103]
c044d724
L
3083 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3084 __builtin_clzl with __builtin_clzll.
3085
2523c62b
L
30862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3087
3088 [BZ #14104]
3089 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3090 libc_freeres_ptr.
3091
d7bb4c42
LD
30922012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3093
3094 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3095 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3096 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3097 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3098
9dc4e1fb
MF
30992012-05-14 Mike Frysinger <vapier@gentoo.org>
3100
3101 * NEWS: Update ia64 info.
3102
c7df0112
AS
31032012-05-12 Andreas Schwab <schwab@linux-m68k.org>
3104
3105 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3106 used as bcopy.
3107
dc70356c
TS
31082012-05-12 Thomas Schwinge <thomas@codesourcery.com>
3109
3110 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3111 * sysdeps/unix/syscalls.list (dup3): Likewise.
3112 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3113 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3114
9fb1a21f
L
31152012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3116
3117 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3118 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3119
4822a2a5
L
31202012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3121
3122 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3123 thread pointer.
3124 (TLS_IE): Use mov/add instead of movq/addq to load thread
3125 pointer.
3126 (TLS_GD_PREFIX): New.
3127 (TLS_GD): Use it.
3128
842b81d6
DM
31292012-05-11 David S. Miller <davem@davemloft.net>
3130
3131 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3132 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3133 (_FPU_SETCW): Likewise.
3134
1cf463cd
L
31352012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3136
3137 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3138 is 32-byte aligned.
3139
60cc4a18
AS
31402012-05-11 Andreas Schwab <schwab@linux-m68k.org>
3141
3142 [BZ #11837]
3143 * iconvdata/gb18030.c: Update tables.
3144 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
3145 characters specially.
3146 (BODY for TO_LOOP): Add encoding of missing ranges.
3147
febb44a4
TS
31482012-05-11 Thomas Schwinge <thomas@codesourcery.com>
3149
3150 [BZ #13673]
3151 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3152 * sysdeps/mach/hurd/dup3.c: Likewise.
3153 * sysdeps/mach/hurd/readlinkat.c: Likewise.
3154 * sysdeps/powerpc/memmove.c:: Likewise.
3155
0a10fb9e
L
31562012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3157
3158 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3159 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3160
df8a552f
L
31612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3162
3163 * elf/elf.h (R_X86_64_RELATIVE64): New.
3164 (R_X86_64_NUM): Updated.
3165 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3166 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
3167 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3168 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3169 tst-quad1pie tst-quad2pie
3170 (modules-names): Add tst-quadmod1 tst-quadmod2.
3171 ($(objpfx)tst-quad1): New dependency.
3172 ($(objpfx)tst-quad2): Likewise.
3173 ($(objpfx)tst-quad1pie): Likewise.
3174 ($(objpfx)tst-quad2pie): Likewise.
3175 * sysdeps/x86_64/tst-quad1.c: New file.
3176 * sysdeps/x86_64/tst-quad1pie.c: New file.
3177 * sysdeps/x86_64/tst-quad2.c: Likewise.
3178 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3179 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3180 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3181 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3182 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3183
f34d6f84
ST
31842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3185
f42d41d1
ST
3186 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3187 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3188 * streams/stropts.h (t_scalar_t): Define type.
3189
3c3571fc
ST
3190 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3191 (_PATH_PRESERVE): Set to "/var/lib".
3192 (_PATH_RWHODIR): Set to "/var/spool/rwho".
3193
61f06bd3
ST
3194 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3195 instead of int.
3196
918d4d71
ST
3197 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3198 if __dir_mkfile succeeded.
3199
f34d6f84
ST
3200 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3201 checking for _hurd_dtablesize. Unlock it right after having
3202 finished _hurd_dtable allocation.
3203
10589b4a
TS
32042012-05-10 Thomas Schwinge <thomas@schwinge.name>
3205
674cdbc7
TS
3206 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3207 * sysdeps/mach/hurd/configure: Regenerated.
3208 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3209 special-casing to...
3210 * sysdeps/gnu/configure.in: ... this new file.
3211 * sysdeps/unix/sysv/linux/configure: Regenerated.
3212 * sysdeps/gnu/configure: New generated file.
3213
8e41b99f
TS
3214 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3215 for Linux: use nsec instead of usec, as well as:
3216 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3217 members of type struct timespec.
3218 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3219 New macros.
3220 (struct stat64): Likewise.
3221 (_STATBUF_ST_NSEC): New macro.
3222 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3223
10589b4a
TS
3224 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3225 __strtoul_internal rather than strtoul.
3226
63643c85
PT
32272012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3228
3229 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3230 and reject them.
3231
3faebe6a
ST
32322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3233
3234 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3235 which preserves existing values.
3236 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3237
c6474b07
PT
32382012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3239
3240 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3241 TIMEOUT values. Return EINVAL for NFDS values either negative or
3242 greater than FD_SETSIZE.
3243
1043890b
ST
32442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3245
3246 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3247 allocated, call __vm_protect to finish enabling the existing space, and
3248 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3249 allocate the remainder.
3250
37ed8b9b
PT
32512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3252
3253 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3254 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
3255
db653660
ST
32562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3257
37ed8b9b
PT
3258 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3259 sysdeps/mach/hurd/readlink.c.
b29d4053 3260
db653660
ST
3261 * posix/tst-sysconf.c (posix_options): Only use
3262 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3263 _POSIX_SYNCHRONIZED_IO when they are defined
3264 * sysdeps/mach/hurd/bits/posix_opt.h:
3265 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3266 (_XOPEN_REALTIME): Undefine macro.
3267 (_XOPEN_REALTIME_THREADS): Undefine macro.
3268 (_XOPEN_SHM): Undefine macro.
3269 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3270 macro to -1.
3271 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3272 macro to -1.
3273 (_POSIX_ASYNC_IO): Undefine macro.
3274 (_POSIX_PRIORITIZED_IO): Undefine macro.
3275 (_POSIX_SPIN_LOCKS): Define macro to -1.
3276
ee16e894
ST
3277 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3278 SA_NODEFER, SA_RESETHAND.
3279 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3280 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3281 F_DUPFD_CLOEXEC.
3282
6103ae3b
TS
32832012-05-10 Thomas Schwinge <thomas@schwinge.name>
3284
3285 * elf/Makefile (pldd-modules): Define unconditionally.
3286
80b4e5f3
TS
32872012-05-10 Thomas Schwinge <thomas@schwinge.name>
3288
3289 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3290
edadcbd6
ST
32912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3292
3293 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3294 Return ENOENT when name is empty.
3295 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3296
80694780
TS
32972012-05-10 Thomas Schwinge <thomas@schwinge.name>
3298
1792c087
TS
3299 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
3300
80694780
TS
3301 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
3302
6b645f0d
ST
33032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3304
80694780
TS
3305 Fix mlock in all cases except non-readable pages.
3306 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
3307 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 3308
6b645f0d
ST
3309 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3310 (__mkdir): When path is `/', just fail with EEXIST.
3311 * sysdeps/mach/hurd/mkdirat.c: Likewise.
3312
e468f8a3
TS
33132012-05-10 Thomas Schwinge <thomas@schwinge.name>
3314
3315 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3316 <sys/uio.h> (for writev).
3317 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3318 and <sys/param.h> (for MIN).
3319
a4186cff
PT
33202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3321
3322 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
3323 REQUESTED_TIME. Properly set the remaining time and return EINTR
3324 if interrupted.
3325
510bbf14
TS
33262012-05-10 Thomas Schwinge <thomas@schwinge.name>
3327
3328 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3329 Depend on against $(link-rpcuserlibs).
3330
5d5722e8
ST
33312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3332
a4186cff
PT
3333 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3334 (__libc_stack_end): Do not use attribute_relro.
3335 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3336 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 3337 to libthread-provided value.
a4186cff
PT
3338 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3339 attribute_relro.
5d5722e8 3340
37233df9
TS
33412012-05-10 Thomas Schwinge <thomas@schwinge.name>
3342
be971a2b
TS
3343 [BZ #3748]
3344 * bits/libc-lock.h (__libc_once_get): New macro.
3345 * sysdeps/mach/bits/libc-lock.h: Likewise.
3346 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3347 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3348 instead of using implementation details.
3349
37233df9
TS
3350 * libio/fileops.c: Unconditionally include <kernel-features.h>.
3351 * libio/freopen.c: Likewise.
3352 * libio/freopen64.c: Likewise.
3353 * misc/syslog.c: Likewise.
3354 * nscd/connections.c: Likewise.
3355 * nscd/netgroupcache.c: Likewise.
3356 * sysdeps/posix/getcwd.c: Likewise.
3357
38de94a5
RM
33582012-05-10 Roland McGrath <roland@hack.frob.com>
3359
3360 * math/w_ilogbf.c: Add #include <limits.h>.
3361
67530489
ST
33622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3363
a4186cff 3364 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
3365 path instead of returning without unlocking.
3366
67530489
ST
3367 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3368 immediate-write ioctls.
3369 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3370
5aa3a74a
TS
33712012-05-10 Thomas Schwinge <thomas@schwinge.name>
3372
18bad2ae
TS
3373 * sysdeps/mach/hurd/i386/init-first.c (init): Use
3374 __builtin_frame_address instead of making assumptions about the
3375 location of the return address relative to DATA. Force early load of
3376 the return address.
3377 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3378 __builtin_frame_address.
3379
5aa3a74a
TS
3380 dup3 for GNU Hurd.
3381 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3382 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3383 implement dup3 and do some further code clean-ups.
3384 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3385 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3386
ecd0de9a
ST
33872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3388
cd9fa985
ST
3389 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3390
a4186cff
PT
3391 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3392 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3393 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3394 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3395 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3396 d->port.lock.
802ca5a5 3397
a4186cff
PT
3398 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3399 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3400 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 3401
bcf55240
TS
34022012-05-10 Thomas Schwinge <thomas@schwinge.name>
3403
6960eb42
TS
3404 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3405 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3406 definitions.
3407
eb43375f
TS
3408 accept4 for GNU Hurd.
3409 * include/sys/socket.h (__libc_accept4): New prototype.
3410 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3411 to implement __libc_accept4.
3412 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3413 __libc_accept4.
3414 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3415
bcf55240
TS
3416 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3417 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3418 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3419 signal-defines.sym.
3420
6178c55b
ST
34212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3422
a4186cff 3423 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 3424
6f080c2f
TS
34252012-05-10 Thomas Schwinge <thomas@schwinge.name>
3426
3427 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3428 assertion on O_CLOEXEC flag.
3429 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3430 * hurd/intern-fd.c: Likewise.
3431 * hurd/port2fd.c: Likewise.
3432
bcfe3a54
ST
34332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3434
3435 [BZ #3906]
3436 * bits/in.h (IPV6_PKTINFO): Define new macro.
3437 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3438
89c9aa49
AZ
34392012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3440
3441 [BZ #13954]
3442 [BZ #13955]
3443 [BZ #13956]
3444 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3445 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3446 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3447 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3448 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3449 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3450 * math/libm-test.inc (logb_test) : Additional logb tests.
3451
021db4be
AJ
34522012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3453 Andreas Jaeger <aj@suse.de>
3454
3455 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3456 * configure: Regenerated.
3457 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3458 * config.make.in (link-obsolete-rpc): New substituted variable.
3459 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3460 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3461 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3462 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3463 so that libc.a contains the symbols.
3464 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3465 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3466 * sunrpc/auth_none.c: Likewise.
3467 * sunrpc/auth_unix.c: Likewise.
3468 * sunrpc/authdes_prot.c: Likewise.
3469 * sunrpc/authuxprot.c: Likewise.
3470 * sunrpc/clnt_gen.c: Likewise.
3471 * sunrpc/clnt_perr.c: Likewise.
3472 * sunrpc/clnt_raw.c: Likewise.
3473 * sunrpc/clnt_simp.c: Likewise.
3474 * sunrpc/clnt_tcp.c: Likewise.
3475 * sunrpc/clnt_udp.c: Likewise.
3476 * sunrpc/clnt_unix.c: Likewise.
3477 * sunrpc/des_crypt.c: Likewise.
3478 * sunrpc/des_soft.c: Likewise.
3479 * sunrpc/get_myaddr.c: Likewise.
3480 * sunrpc/key_call.c: Likewise.
3481 * sunrpc/key_prot.c: Likewise.
3482 * sunrpc/netname.c: Likewise.
3483 * sunrpc/pm_getmaps.c: Likewise.
3484 * sunrpc/pm_getport.c: Likewise.
3485 * sunrpc/pmap_clnt.c: Likewise.
3486 * sunrpc/pmap_prot.c: Likewise.
3487 * sunrpc/pmap_prot2.c: Likewise.
3488 * sunrpc/pmap_rmt.c: Likewise.
3489 * sunrpc/publickey.c: Likewise.
3490 * sunrpc/rpc_cmsg.c: Likewise.
3491 * sunrpc/rpc_common.c: Likewise.
3492 * sunrpc/rpc_dtable.c: Likewise.
3493 * sunrpc/rpc_prot.c: Likewise.
3494 * sunrpc/rpc_thread.c: Likewise.
3495 * sunrpc/rtime.c: Likewise.
3496 * sunrpc/svc.c: Likewise.
3497 * sunrpc/svc_auth.c: Likewise.
3498 * sunrpc/svc_raw.c: Likewise.
3499 * sunrpc/svc_run.c: Likewise.
3500 * sunrpc/svc_tcp.c: Likewise.
3501 * sunrpc/svc_udp.c: Likewise.
3502 * sunrpc/svc_unix.c: Likewise.
3503 * sunrpc/svcauth_des.c: Likewise.
3504 * sunrpc/xcrypt.c: Likewise.
3505 * sunrpc/xdr.c: Likewise.
3506 * sunrpc/xdr_array.c: Likewise.
3507 * sunrpc/xdr_float.c: Likewise.
3508 * sunrpc/xdr_intXX_t.c: Likewise.
3509 * sunrpc/xdr_mem.c: Likewise.
3510 * sunrpc/xdr_rec.c: Likewise.
3511 * sunrpc/xdr_ref.c: Likewise.
3512 * sunrpc/xdr_sizeof.c: Likewise.
3513 * sunrpc/xdr_stdio.c: Likewise.
3514
b5c086a2
RM
35152012-05-10 Roland McGrath <roland@hack.frob.com>
3516
3517 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3518 change. Update copyright years.
3519
6d74dd09
JM
35202012-05-10 Joseph Myers <joseph@codesourcery.com>
3521
3522 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3523
28e72501
MK
35242012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3525 Joseph Myers <joseph@codesourcery.com>
3526 Paul Pluzhnikov <ppluzhnikov@google.com>
3527
3528 [BZ #14012]
3529 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3530 requiring rpcgen.
3531 [cross-compiling] (extra-libs): Likewise.
3532 [cross-compiling] (extra-libs-others): Likewise.
3533 [cross-compiling] (librpcsvc-routines): Likewise.
3534 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3535 [cross-compiling] (omit-deps): Likewise.
3536 (sunrpc-CPPFLAGS): New variable.
3537 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3538 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3539 (cross-rpcgen-objs): New variable.
3540 (extra-objs): Append $(cross-rpcgen-objs).
3541 ($(cross-rpcgen-objs)): New rule.
3542 ($(objpfx)cross-rpcgen): Likewise.
3543 (rpcgen-cmd): Define to use $(built-program-file). Expand
3544 comment.
3545 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3546 ($(objpfx)x%.stmp): Likewise.
3547 * sunrpc/proto.h [IS_IN_build] (_): Define.
3548 [IS_IN_build] (_libc_intl_domainname): Likewise.
3549
c8c59454
L
35502012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3551
3552 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3553 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3554 and R_X86_64_TPOFF64.
3555
6f27cd16
JM
35562012-05-10 Joseph Myers <joseph@codesourcery.com>
3557
3558 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3559 sysdeps/unix/sysv/syscalls.list.
3560 (stime): Likewise.
3561 (utime): Likewise.
3562 * sysdeps/unix/sysv/syscalls.list: Remove file.
3563
02467e1c
PE
35642012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3565
3566 [BZ #3440]
3567 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3568 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3569 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3570 (__LC_IDENTIFICATION): Make these macros useful in #if
3571 expressions, as required by C99.
3572
da392631
AS
35732012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3574
3575 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3576 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3577 after this.
3578
8115f29b
L
35792012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3580
3581 * stdlib/longlong.h: Updated from GCC.
3582
bdd74070
AJ
35832012-05-09 Andreas Jaeger <aj@suse.de>
3584
edfe0dbe
AJ
3585 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3586 default is first entry.
3587 (run_mode): Set type.
3588 (main): Remove informal message about syslog.
3589 (options): Fix typo.
3590
bcfe3a54
ST
3591 [BZ #14053]
3592 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 3593 to asm.
bcfe3a54
ST
3594 (lrint): Likewise.
3595 (llrintf): Likewise.
3596 (llrint): Likewise.
3597 (rint): Likewise.
3598 (rintf): Likewise.
3599 (nearbyint): Likewise.
3600 (nearbyintf): Likewise.
bdd74070 3601
91d8d69e
AJ
36022012-05-09 Andreas Jaeger <aj@suse.de>
3603 Pedro Alves <palves@redhat.com>
3604
3605 * nscd/nscd.c (run_mode): Use enum.
3606 (main): Cleanup coding style issue.
3607
bb90b80b
AJ
36082012-05-09 Alexandre Oliva <aoliva@redhat.com>
3609 Andreas Jaeger <aj@suse.de>
3610
bcfe3a54
ST
3611 * nscd/nscd.c (go_background): Replaced with...
3612 (run_mode): ... this.
bb90b80b 3613 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
3614 (options): Add -F --foreground.
3615 (main): Implement it.
3616 (parse_opt): Parse it.
bb90b80b 3617
1a4b75a1
AJ
36182012-05-09 Andreas Jaeger <aj@suse.de>
3619
3620 [BZ #14083]
3621 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3622 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3623 -Wconversion warning.
3624 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3625 Likewise.
3626
b1cc2472
JM
36272012-05-09 Joseph Myers <joseph@codesourcery.com>
3628
3629 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3630 == 0.
3631 (LC_ALL): Use macro-int-constant.
3632 (LC_COLLATE): Likewise.
3633 (LC_CTYPE): Likewise.
3634 (LC_MESSAGES): Likewise.
3635 (LC_MONETARY): Likewise.
3636 (LC_NUMERIC): Likewise.
3637 (LC_TIME): Likewise.
3638 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3639 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3640 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3641 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3642 Specify type.
3643 [C99-based standards] (float_t): Expect type.
3644 [C99-based standards] (double_t): Expect type.
3645 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3646 type.
3647 [C99-based standards] (HUGE_VALL): Likewise.
3648 [C99-based standards] (INFINITY): Likewise.
3649 [C99-based standards] (NAN): Likewise.
3650 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3651 [C99-based standards] (FP_NAN): Likewise.
3652 [C99-based standards] (FP_NORMAL): Likewise.
3653 [C99-based standards] (FP_SUBNORMAL): Likewise.
3654 [C99-based standards] (FP_ZERO): Likewise.
3655 [C99-based standards] (FP_FAST_FMA): Use
3656 optional-macro-int-constant. Specify type. Require == 1.
3657 [C99-based standards] (FP_FAST_FMAF): Likewise.
3658 [C99-based standards] (FP_FAST_FMAL): Likewise.
3659 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3660 [C99-based standards] (FP_ILOGBNAN): Likewise.
3661 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3662 Specify type.
3663 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3664 [C99-based standards] (math_errhandling): Specify type.
3665 [ISO99 || ISO11] (signgam): Do not allow.
3666 [non-C99-based standards] (copysignf): Do not allow.
3667 [non-C99-based standards] (exp2f): Likewise.
3668 [non-C99-based standards] (log2f): Likewise.
3669 [non-C99-based standards] (modff): Allow.
3670 [non-C99-based standards] (erff): Do not allow.
3671 [non-C99-based standards] (erfcf): Likewise.
3672 [non-C99-based standards] (gammaf): Likewise.
3673 [non-C99-based standards] (hypotf): Likewise.
3674 [non-C99-based standards] (j0f): Likewise.
3675 [non-C99-based standards] (j1f): Likewise.
3676 [non-C99-based standards] (jnf): Likewise.
3677 [non-C99-based standards] (lgammaf): Likewise.
3678 [non-C99-based standards] (tgammaf): Likewise.
3679 [non-C99-based standards] (y0f): Likewise.
3680 [non-C99-based standards] (y1f): Likewise.
3681 [non-C99-based standards] (ynf): Likewise.
3682 [non-C99-based standards] (isnanf): Likewise.
3683 [non-C99-based standards] (acoshf): Likewise.
3684 [non-C99-based standards] (asinhf): Likewise.
3685 [non-C99-based standards] (atanhf): Likewise.
3686 [non-C99-based standards] (cbrtf): Likewise.
3687 [non-C99-based standards] (expm1f): Likewise.
3688 [non-C99-based standards] (ilogbf): Likewise.
3689 [non-C99-based standards] (log1pf): Likewise.
3690 [non-C99-based standards] (logbf): Likewise.
3691 [non-C99-based standards] (nextafterf): Likewise.
3692 [non-C99-based standards] (remainderf): Likewise.
3693 [non-C99-based standards] (rintf): Likewise.
3694 [non-C99-based standards] (scalbf): Likewise.
3695 [non-C99-based standards] (copysignl): Likewise.
3696 [non-C99-based standards] (exp2l): Likewise.
3697 [non-C99-based standards] (log2l): Likewise.
3698 [non-C99-based standards] (modfl): Allow.
3699 [non-C99-based standards] (erfl): Do not allow.
3700 [non-C99-based standards] (erfcl): Likewise.
3701 [non-C99-based standards] (gammal): Likewise.
3702 [non-C99-based standards] (hypotl): Likewise.
3703 [non-C99-based standards] (j0l): Likewise.
3704 [non-C99-based standards] (j1l): Likewise.
3705 [non-C99-based standards] (jnl): Likewise.
3706 [non-C99-based standards] (lgammal): Likewise.
3707 [non-C99-based standards] (tgammal): Likewise.
3708 [non-C99-based standards] (y0l): Likewise.
3709 [non-C99-based standards] (y1l): Likewise.
3710 [non-C99-based standards] (ynl): Likewise.
3711 [non-C99-based standards] (isnanl): Likewise.
3712 [non-C99-based standards] (acoshl): Likewise.
3713 [non-C99-based standards] (asinhl): Likewise.
3714 [non-C99-based standards] (atanhl): Likewise.
3715 [non-C99-based standards] (cbrtl): Likewise.
3716 [non-C99-based standards] (expm1l): Likewise.
3717 [non-C99-based standards] (ilogbl): Likewise.
3718 [non-C99-based standards] (log1pl): Likewise.
3719 [non-C99-based standards] (logbl): Likewise.
3720 [non-C99-based standards] (nextafterl): Likewise.
3721 [non-C99-based standards] (remainderl): Likewise.
3722 [non-C99-based standards] (rintl): Likewise.
3723 [non-C99-based standards] (scalbl): Likewise.
3724 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3725 [non-C99-based standards] (FP_*): Do not allow.
3726 [C99-based standards] (FP_*): Change to
3727 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3728 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3729 allow.
3730 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3731 (SIG_ERR): Likewise.
3732 [X/Open-based standards] (SIG_HOLD): Likewise.
3733 (SIG_IGN): Likewise.
3734 (SIGABRT): Use macro-int-constant. Specify type. Require
3735 positive value.
3736 (SIGFPE): Likewise.
3737 (SIGILL): Likewise.
3738 (SIGINT): Likewise.
3739 (SIGSEGV): Likewise.
3740 (SIGTER): Likewise.
3741 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3742 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3743 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3744 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3745 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3746 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3747 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3748 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3749 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3750 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3751 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3752 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3753 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3754 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3755 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3756 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3757 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3758 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3759 [X/Open-based standards] (SIGTRAP): Likewise.
3760 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3761 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3762 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3763 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3764 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3765 allow.
3766
b9f1922d
IW
37672012-05-08 Ian Wienand <ianw@vmware.com>
3768
3769 [BZ #14080]
3770 * time/tzset.c (__tzset_parse_tz): Update default rules for
3771 daylight time changes in the Energy Policy Act of 2005.
3772
1db86e88
AJ
37732012-05-09 Andreas Jaeger <aj@suse.de>
3774
3775 [BZ #13983]
3776 * elf/ldconfig.c (parse_conf): Change string to make clear that
3777 ldconfig only issued a warning if ld.so.conf does not exist.
3778
dee4a4e3
DM
37792012-05-08 David S. Miller <davem@davemloft.net>
3780
ee0db190
DM
3781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3782 movxtod instead of popping the value on the stack.
3783
dee4a4e3
DM
3784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3785
6a43ec98
CD
37862012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3787
3788 * config.h.in: Add HAVE_ARM_PCS_VFP.
3789
05c2c961
RMG
37902012-05-08 Roland Mc Grath <roland@hack.frob.com>
3791
bcfe3a54
ST
3792 [BZ #13979]
3793 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3794 checking but the checks are disabled for any reason.
05c2c961 3795
4b30f61a
L
37962012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3797
3798 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3799 and ELF64_R_TYPE with ELFW(R_TYPE).
3800
eee2bc67
JM
38012012-05-08 Joseph Myers <joseph@codesourcery.com>
3802
7ea5391a
JM
3803 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3804 (ulimit): Likewise.
3805
eee2bc67
JM
3806 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3807 (settimeofday): Likewise.
3808
abb66a67
MF
38092012-05-08 Mike Frysinger <vapier@gentoo.org>
3810
3811 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3812 a struct th_u2 inside the union, and move tu_block/tu_code into
3813 a new th_u3 union of tu_block/tu_code inside of that. Move
3814 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3815 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3816 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3817 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3818 (th_stuff): Change to th_u1.tu_stuff.
3819 (th_data): Define.
3820 (th_msg): Change to th_u1.th_u2.tu_data.
3821
7f18b530
DM
38222012-05-07 David S. Miller <davem@davemloft.net>
3823
05760585
DM
3824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3825
7f18b530
DM
3826 [BZ #14074]
3827 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3828 (SETUP_PIC_REG): Use it.
3829 (SETUP_PIC_REG_LEAF): Use it.
3830
495fd99f
JM
38312012-05-07 Joseph Myers <joseph@codesourcery.com>
3832
3833 [BZ #13885]
3834 [BZ #13923]
3835 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3836 USE_AS_EXPM1L.
3837 (EXPL_FINITE): Likewise.
3838 (FLDLOG): Likewise.
3839 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3840 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3841 e_expl.S.
3842 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3843 USE_AS_EXPM1L.
3844 (EXPL_FINITE): Likewise.
3845 (FLDLOG): Likewise.
3846 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3847 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3848 e_expl.S.
3849 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3850 test of -max_value argument for long double.
3851 * sysdeps/i386/fpu/libm-test-ulps: Update.
3852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3853
6693d694
DM
38542012-05-06 David S. Miller <davem@davemloft.net>
3855
3856 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3857 quad soft-float symbols whose references which are compiler
3858 generated.
3859 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3860
6c23e11c
JM
38612012-05-06 Joseph Myers <joseph@codesourcery.com>
3862
d8b82cad
JM
3863 [BZ #13884]
3864 [BZ #13914]
3865 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3866 USE_AS_EXP10L.
3867 (EXPL_FINITE): Likewise.
3868 (FLDLOG): Likewise.
3869 (c0): Likewise.
3870 (c1): Likewise.
3871 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3872 Adjust comments for base varying.
3873 (__expl_finite): Change alias to EXPL_FINITE.
3874 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3875 e_expl.S.
3876 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3877 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3878 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3879 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3880 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3881 USE_AS_EXP10L.
3882 (EXPL_FINITE): Likewise.
3883 (FLDLOG): Likewise.
3884 (c0): Likewise.
3885 (c1): Likewise.
3886 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3887 Adjust comments for base varying.
3888 (__expl_finite): Change alias to EXPL_FINITE.
3889 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3890 tests for bugs.
3891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3892
6c23e11c
JM
3893 [BZ #14064]
3894 * math/libm-test.inc (check_float_internal): Correct ulp
3895 calculation for subnormal expected results.
3896
29ba805c
AJ
38972012-05-06 Andreas Jaeger <aj@suse.de>
3898
3899 * Makeconfig (+math-flags): New, set to -frounding-math.
3900 (+cflags): Add +math-flags so that all of glibc gets compiled with
3901 it.
3902
3903 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3904
7b17aeda
JM
39052012-05-05 Joseph Myers <joseph@codesourcery.com>
3906
5779f134
JM
3907 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3908 Disable one test.
3909
41498f4d
JM
3910 [BZ #13787]
3911 [BZ #13922]
3912 [BZ #14036]
3913 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3914 (__ieee754_expl): Allow for and saturate large arguments.
3915 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3916 (u_threshold): Likewise.
3917 (__exp): Call __ieee754_exp before checking for overflow and
3918 underflow.
3919 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3920 (u_threshold): Likewise.
3921 (__expf): Call __ieee754_expf before checking for overflow and
3922 underflow.
3923 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3924 (u_threshold): Likewise.
3925 (__expl): Call __ieee754_expl before checking for overflow and
3926 underflow.
3927 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3928 (__ieee754_expl): Allow for and saturate large arguments.
3929 * math/libm-test.inc (exp_test): Add another test. Do not allow
3930 missing overflow exception on overflow.
3931 (expm1_test): Do not allow missing overflow exception on overflow.
3932
6698b8bf
JM
3933 * sysdeps/i386/fpu/e_expl.c: Move to ...
3934 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3935 rather than using inline asm.
3936 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3937 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3938 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3939
7b17aeda
JM
3940 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3941 (nice): Likewise.
3942 (poll): Likewise.
3943 (signal): Likewise.
3944 (time): Likewise.
3945 (times): Likewise.
3946
f7c85819
JM
39472012-05-04 Joseph Myers <joseph@codesourcery.com>
3948
3949 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3950 sysdeps/unix/common/syscalls.list.
3951 (fchmod): Likewise.
3952 (fchown): Likewise.
3953 (ftruncate): Likewise.
3954 (getrusage): Likewise.
3955 (gettimeofday): Likewise.
3956 (setpgid): Likewise.
3957 (setregid): Likewise.
3958 (setreuid): Likewise.
3959 (sigaction): Likewise.
3960 (truncate): Likewise.
3961 (vhangup): Likewise.
3962 * sysdeps/unix/common/syscalls.list: Remove file.
3963 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3964 * sysdeps/unix/sysv/linux/Implies: Likewise.
3965
336270d0
L
39662012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3967
3968 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3970 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3971 Moved to ...
3972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3973 Here.
3974 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3975 to ...
3976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3977 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3978 to ...
3979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3980 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3981 to ...
3982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3983 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3984 to ...
3985 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3986 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3987 to ...
3988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3989 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3990 to ...
3991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3992 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3993 to ...
3994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3995 Here.
3996 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3997 to ...
3998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3999 Here.
4000 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4001 to ...
4002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4003 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4004 Moved to ...
4005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4006 Here.
4007 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4008 to ...
4009 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4010
d128e450
JM
40112012-05-04 Joseph Myers <joseph@codesourcery.com>
4012
fa8ee516
JM
4013 * sysdeps/unix/common/bits/dirent.h: Remove file.
4014 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4015
d128e450
JM
4016 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4017 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4018 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4019 * sysdeps/unix/bsd/isatty.c: Likewise.
4020 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4021 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4022 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4023
ff8faaf0 40242012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 4025
62881be4 4026 [BZ #13563]
31dc8730
AZ
4027 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4028 long double comparison inaccuracies.
4029 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4031
6fef930c
AS
40322012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4033
4034 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4035 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4036
8f203e6c
JM
40372012-05-04 Joseph Myers <joseph@codesourcery.com>
4038
4039 [BZ #14049]
4040 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4041 nonzero digits before rounding a hex value.
4042 * stdlib/tst-strtod.c (tests): Add another test.
4043
5197d9c2
AK
40442012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4045
4046 * sysdeps/s390/fpu/libm-test-ulps: Update.
4047
f0c1dedf
AJ
40482012-05-03 Andreas Jaeger <aj@suse.de>
4049
4050 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4051 does not get optimized out.
4052 (malloc_opt_barrier): New.
4053
a65ef2ae 40542012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 4055 Roland McGrath <roland@hack.frob.com>
a65ef2ae 4056
2b942cb7 4057 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 4058 intermediate file deletion.
2b942cb7 4059 (generated): Add .symlist files.
a65ef2ae 4060
54b71e02
JM
40612012-05-03 Joseph Myers <joseph@codesourcery.com>
4062
4063 [BZ #13775]
4064 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4065 Redirect under this condition.
4066 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4067 [__USE_GNU] (__dprintf_chk): Not under this condition.
4068 [__USE_GNU] (__vdprintf_chk): Likewise.
4069 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4070 under this condition.
4071 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4072 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4073 [__USE_XOPEN2K8] (vdprintf): Likewise.
4074 [__USE_GNU] (__dprintf_chk): Not under this condition.
4075 [__USE_GNU] (__vdprintf_chk): Likewise.
4076 [__USE_GNU] (dprintf): Likewise.
4077 [__USE_GNU] (vdprintf): Likewise.
4078
d3dfcc41
RM
40792012-05-03 Roland McGrath <roland@hack.frob.com>
4080
4081 * elf/Makefile (common-generated): Set this instead of generated for
4082 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
4083 $(all-built-dso)-derived lists.
4084
7ac30cc5
AJ
40852012-05-03 Andreas Jaeger <aj@suse.de>
4086
0c51e550
AJ
4087 * sysdeps/i386/fpu/libm-test-ulps: Update.
4088
7ac30cc5
AJ
4089 * FAQ: Removed.
4090 * FAQ.in: Likewise.
4091 * scripts/gen-FAQ.pl: Likewise.
4092 * manual/install.texi (Installation): Point to online location of
4093 FAQ.
4094 * Makefile (files-for-dist): Remove FAQ.
4095 (FAQ): Remove.
4096
d4c2917f
AM
40972012-05-02 Allan McRae <allan@archlinux.org>
4098
4099 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4100 (LDFLAGS-reldepmod5.so): Likewise.
4101 (LDFLAGS-reldep6mod1.so): Likewise.
4102 (LDFLAGS-reldep6mod4.so): Likewise.
4103 (LDFLAGS-reldep8mod3.so): Likewise.
4104 (LDFLAGS-unload4mod1.so): Likewise.
4105 (LDFLAGS-unload4mod2.so): Likewise.
4106 (LDFLAGS-tst-initorder): Likewise.
4107 (LDFLAGS-tst-initordera2.so): Likewise.
4108 (LDFLAGS-tst-initordera3.so): Likewise.
4109 (LDFLAGS-tst-initordera4.so): Likewise.
4110 (LDFLAGS-tst-initorderb2.so): Likewise.
4111 (LDFLAGS-noload): Likewise.
4112 (LDFLAGS-next): Likewise.
4113 (LDFLAGS-order2mod1.so): Likewise.
4114 (LDFLAGS-order2mod2.so): Likewise.
4115 (LDFLAGS-tst-initorder2): Likewise.
4116 (LDFLAGS-tst-initorder2a.so): Likewise.
4117 (LDFLAGS-tst-initorder2b.so): Likewise.
4118 (LDFLAGS-tst-initorder2c.so): Likewise.
4119 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4120
d77f993f
DM
41212012-05-02 David S. Miller <davem@davemloft.net>
4122
4123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4124
171a70b4
PP
41252012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4126
4127 [BZ #14055]
4128 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4129
0be196ad
AJ
41302012-05-02 Andreas Jaeger <aj@suse.de>
4131
4132 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4133 since we manipulate rounding mode.
4134 (CPPFLAGS-test-idouble.c): Likewise.
4135 (CPPFLAGS-test-ifloat.c): Likewise.
4136 (CFLAGS-test-ldouble.c): Likewise.
4137 (CFLAGS-test-double.c): Likewise.
4138 (CFLAGS-test-float.c): Likewise.
4139 (CFLAGS-test-misc.c): Likewise.
4140 (CFLAGS-test-test-fenv.c): Likewise.
4141
4f9d04aa
AZ
41422012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4143
2b942cb7
RM
4144 [BZ #2550]
4145 [BZ #2570]
4146 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4147 comparisons to determine direction to adjust input.
4f9d04aa 4148
82a79e7d
RM
41492012-05-01 Roland McGrath <roland@hack.frob.com>
4150
f5a01ca9
RM
4151 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4152 output to the target.
4153
90fe4186
RM
4154 * scripts/localplt.awk: New file.
4155 * elf/Makefile ($(objpfx)check-localplt): Target removed.
4156 (check-localplt-CFLAGS): Variable removed.
4157 ($(all-built-dso:=.jmprel)): New static pattern rule.
4158 (generated): Add those targets.
4159 (localplt-built-dso): New variable.
4160 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4161
4162 * elf/check-localplt.c: File removed.
4163
82397ed6
RM
4164 * scripts/check-execstack.awk: New file.
4165 * elf/Makefile ($(objpfx)check-execstack): Target removed.
4166 (check-execstack-CFLAGS): Variable removed.
4167 ($(objpfx)check-execstack.h): Target removed.
4168 ($(objpfx)execstack-default): New target.
4169 (generated): Add that instead of check-execstack.h.
4170 ($(all-built-dso:=.phdr)): New static pattern rule.
4171 (generated): Add those targets.
4172 * elf/check-execstack.c: File removed.
4173
82a79e7d
RM
4174 * scripts/check-textrel.awk: New file.
4175 * elf/Makefile ($(objpfx)check-textrel): Target removed.
4176 (check-textrel-CFLAGS): Variable removed.
4177 (all-built-dso): Use := to define.o
4178 ($(all-built-dso:=.dyn)): New static pattern rule.
4179 (generated): Add those targets.
4180 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4181 * config.make.in (READELF): New substituted variable.
4182 * elf/check-textrel.c: File removed.
4183
62fde54f 41842012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 4185
615605c9
JM
4186 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4187 allow.
4188 * conform/data/ctype.h-data [C99-based standards] (isblank):
4189 Expect function.
4190 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4191 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4192 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4193 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4194 Specify type. Require positive value.
4195 (EILSEQ): Likewise.
4196 (ERANGE): Likewise.
4197 [ISO || POSIX] (EILSEQ): Do not expect.
4198 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4199 Specify type. Require positive value.
4200 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4201 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4202 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4203 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4204 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4205 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4206 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4207 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4208 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4209 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4210 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4211 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4212 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4213 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4214 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4215 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4216 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4217 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4218 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4219 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4220 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4221 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4222 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4223 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4224 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4225 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4226 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4227 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4228 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4229 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4230 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4231 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4232 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4233 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4234 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4235 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4236 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4237 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4238 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4239 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4240 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4241 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4242 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4243 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4244 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4245 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4246 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4247 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4248 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4249 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4250 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4251 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4252 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4253 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4254 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4255 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4256 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4257 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4258 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4259 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4260 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4261 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4262 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4263 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4264 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4265 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4266 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4267 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4268 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4269 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4270 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4271 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4272 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4273 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4274 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4275 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4276 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4277 Require >= 2.
4278 (FLT_ROUNDS): Expect as macro, not constant.
4279 (FLT_MANT_DIG): Use macro-int-constant.
4280 (DBL_MANT_DIG): Likewise.
4281 (LDBL_MANT_DIG): Likewise.
4282 (FLT_DIG): Likewise.
4283 (DBL_DIG): Likewise.
4284 (LDBL_DIG): Likewise.
4285 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
4286 (DBL_MIN_EXP): Likewise.
4287 (LDBL_MIN_EXP): Likewise.
4288 (FLT_MAX_EXP): Use macro-int-constant.
4289 (DBL_MAX_EXP): Likewise.
4290 (LDBL_MAX_EXP): Likewise.
4291 (FLT_MAX_10_EXP): Likewise.
4292 (DBL_MAX_10_EXP): Likewise.
4293 (LDBL_MAX_10_EXP): Likewise.
4294 (FLT_MAX): Use macro-constant.
4295 (DBL_MAX): Likewise.
4296 (LDBL_MAX): Likewise.
4297 (FLT_EPSILON): Use macro-constant. Give upper bound.
4298 (DBL_EPSILON): Likewise.
4299 (LDBL_EPSILON): Likewise.
4300 (FLT_MIN): Likewise.
4301 (DBL_MIN): Likewise.
4302 (LDBL_MIN): Likewise.
4303 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
4304 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
4305 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
4306 [ISO11] (FLT_HAS_SUBNORM): Likewise.
4307 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
4308 [ISO11] (DBL_DECIMAL_DIG): Likewise.
4309 [ISO11] (FLT_DECIMAL_DIG): Likewise.
4310 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4311 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4312 [ISO11] (FLT_TRUE_MIN): Likewise.
4313 [ISO11] (LDBL_TRUE_MIN): Likewise.
4314 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4315 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4316 (SCHAR_MIN): Use macro-int-constant. Specify type.
4317 (SCHAR_MAX): Likewise.
4318 (UCHAR_MAX): Likewise.
4319 (CHAR_MIN): Likewise.
4320 (CHAR_MAX): Likewise.
4321 (MB_LEN_MAX): Use macro-int-constant.
4322 (SHRT_MIN): Use macro-int-constant. Specify type.
4323 (SHRT_MAX): Likewise.
4324 (USHRT_MAX): Likewise.
4325 (INT_MAX): Likewise.
4326 (INT_MIN): Use macro-int-constant. Specify type. Make upper
4327 bound negative.
4328 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
4329 bound with "U".
4330 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4331 bound with "L".
4332 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
4333 bound negative. Suffix upper bound with "L".
4334 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4335 bound with "UL".
4336 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4337 Specify type.
4338 [C99-based standards] (LLONG_MAX): Likewise.
4339 [C99-based standards] (ULLONG_MAX): Likewise.
4340 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
4341 == 0.
4342 [ISO11] (max_align_t): Require type.
4343 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4344
c9140a62
JM
4345 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4346 from $CFLAGS, without defining away __attribute__ calls.
4347 (checknamespace): Use $CFLAGS_namespace.
4348
9af0bf29
JM
4349 * conform/conformtest.pl (@keywords): Only include C99 keywords
4350 for standards based on C99 or C11.
4351
343222a2
JM
4352 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4353 Disable tests.
4354 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4355 UNIX98]: Likewise.
4356
661f8cf0
JM
4357 * conform/conformtest.pl: Handle "macro-int-constant" and test for
4358 usability of symbols in #if.
4359
ee74b9cb
JM
4360 * conform/conformtest.pl: If macro or constant types start
4361 "promoted:", expect the symbol to be of the following type
4362 promoted by the integer promotions.
62fde54f 4363
aafc49b3
JM
4364 * conform/conformtest.pl: Parse all "constant" and "macro" lines
4365 in one place. Also handle "macro-constant".
4366
fefdf574
JM
4367 * conform/conformtest.pl: Only accept expected macro values with
4368 "==". Parse all "macro" lines in one place.
4369 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4370
f2d922fe
JM
4371 * conform/conformtest.pl: Handle braced types on "constant" lines
4372 instead of handling "typed-constant".
4373 * conform/data/signal.h-data: Use "constant" instead of
4374 "typed-constant".
4375
d22956c9
JM
4376 * conform/conformtest.pl: Handle "optional-" at start of lines in
4377 one place rather than duplicating several cases. Handle each
4378 format of "macro" line with initial "optional-".
4379
028e2e38
JM
4380 * conform/conformtest.pl: Only accept expected constant or
4381 optional-constant values with "==". Parse all "constant" lines in
4382 one place. Parse all "optional-constant" lines in one place.
4383 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4384 * conform/data/fmtmsg.h-data: Likewise.
4385 * conform/data/netinet/in.h-data: Likewise.
4386 * conform/data/tar.h-data: Likewise.
4387 * conform/data/limits.h-data: Use "==" form on "constant" and
4388 "optional-constant" lines.
4389
1b8f2850
JM
4390 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4391 Use -std=c99 for XOPEN2K.
4392 (@knownproblems): Remove.
4393 (newtoken): Don't check %isknown.
4394
a05a144b
JM
4395 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4396 Do not expect macro.
4397 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4398 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4399 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4400 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4401 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4402 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4403 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4404 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4405 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4406 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4407 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4408 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4409 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4410 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4411 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4412 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4413 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4414 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4415 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4416 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4417 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4418 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4419 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4420 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4421 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4422 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4423 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4424 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4425 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4426 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4427 [XPG3] (acosh): Likewise.
4428 [XPG3] (asinh): Likewise.
4429 [XPG3] (atanh): Likewise.
4430 [XPG3] (cbrt): Likewise.
4431 [XPG3] (expm1): Likewise.
4432 [XPG3] (ilogb): Likewise.
4433 [XPG3] (log1p): Likewise.
4434 [XPG3] (logb): Likewise.
4435 [XPG3] (nextafter): Likewise.
4436 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4437 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4438 [XPG3] (remainder): Likewise.
4439 [XPG3] (rint): Likewise.
4440 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4441 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4442 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4443 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4444 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4445 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4446 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4447 [UNIX98 || XOPEN2K] (scalb): Expect.
4448 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4449 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4450 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4451 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4452 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4453 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4454 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4455 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4456 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4457 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4458 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4459 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4460 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4461 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4462 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4463 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4464 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4465 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4466 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4467 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4468 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4469 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4470 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4471 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4472 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4473 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4474 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4475 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4476 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4477 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4478 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4479 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4480 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4481 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4482 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4483 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4484 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4485 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4486 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4487 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4488 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4489 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4490 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4491 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4492 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4493 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4494 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4495 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4496 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4497 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4498 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4499 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4500 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4501 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4502 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4503 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4504 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4505 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4506 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4507 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4508 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4509 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4510 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4511 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4512 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4513 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4514 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4515 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4516 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4517 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4518 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4519 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4520 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4521 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4522 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4523 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4524 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4525 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4526 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4527 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4528 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4529 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4530 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4531 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4532 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4533 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4534 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4535 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4536 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4537 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4538 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4539 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4540 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4541 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4542 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4543 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4544 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4545 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4546 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4547 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4548 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4549 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4550 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4551 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4552 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4553 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4554 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4555 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4556 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4557 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4558 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4559 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4560 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4561 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4562 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4563 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4564 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4565 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4566 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4567 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4568 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4569 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4570 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4571 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4572 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4573 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4574 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4575 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4576 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4577 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4578 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4579 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4580 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4581 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4582 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4583 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4584 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4585
73c5ebe3
JM
4586 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4587 _XOPEN_SOURCE_EXTENDED for XPG4.
4588
39c33b6c
JM
4589 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4590
62fde54f
JM
4591 * Makeconfig (localtime): Remove variable.
4592 (inst_localtime-file): Likewise.
4593
0741d64c
AS
45942012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4595
4596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4597 Update.
4598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4599 Update.
4600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4601 Update.
4602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4603 Update.
4604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4605 Update.
4606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4607 Update.
4608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4609 Update.
4610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4611 Update.
4612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4613 Update.
4614
7cb029ee
JM
46152012-05-01 Joseph Myers <joseph@codesourcery.com>
4616
4617 [BZ #2550]
4618 [BZ #2570]
4619 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4620 comparisons to determine direction to adjust input.
4621 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4622 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4623 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4624 Likewise.
4625 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4626 Likewise.
4627 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4628 Likewise.
4629 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4630 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4631 Likewise.
4632 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4633 Likewise.
4634 * math/libm-test.inc (nexttoward_test): Add more tests.
4635
412bd966
AS
46362012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4637
4638 [BZ #14040]
4639 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4640 in version GLIBC_2.1, not GLIBC_2.0.
4641 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4642 Likewise.
4643
9568c0c2
JM
46442012-04-30 Joseph Myers <joseph@codesourcery.com>
4645
adfbc8ac
JM
4646 [BZ #13942]
4647 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4648 (1 - x) * (1 + x).
4649 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4650 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4651 * math/libm-test.inc (acos_test): Add more tests.
4652 (asin_test): Likewise.
4653 * sysdeps/i386/fpu/libm-test-ulps: Update.
4654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4655
5ba3cc69
JM
4656 [BZ #14034]
4657 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4658 of square root.
4659 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4660 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4661 * math/libm-test.inc (acos_test_tonearest): New function.
4662 (acos_test_towardzero): Likewise.
4663 (acos_test_downward): Likewise.
4664 (acos_test_upward): Likewise.
4665 (asin_test_tonearest): Likewise.
4666 (asin_test_towardzero): Likewise.
4667 (asin_test_downward): Likewise.
4668 (asin_test_upward): Likewise.
4669 (main): Call the new functions.
4670 * sysdeps/i386/fpu/libm-test-ulps: Update.
4671 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4672
9568c0c2
JM
4673 [BZ #13884]
4674 [BZ #13924]
4675 * math/e_exp10.c: Include <float.h>.
4676 (__ieee754_exp10): Handle underflow here rather than multiplying
4677 large negative argument by M_LN10.
4678 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4679 of __ieee754_expf.
4680 * math/e_exp10l.c: Include <float.h>.
4681 (__ieee754_exp10l): Handle underflow here rather than multiplying
4682 large negative argument by M_LN10l.
4683 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4684 spurious overflow exception on underflow.
4685
5ac3ea17
MP
46862012-04-29 Marek Polacek <polacek@redhat.com>
4687
4688 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4689 (__fortify_function): New macro.
4690 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4691 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4692 __extern_always_inline.
4693 * libio/bits/stdio2.h: Likewise.
4694 * libio/bits/stdio.h: Likewise.
4695 * string/string.h: Likewise.
4696 * string/bits/string3.h: Likewise.
4697 * include/stdio.h: Likewise.
4698 * stdlib/bits/stdlib.h: Likewise.
4699 * stdlib/stdlib.h: Likewise.
4700 * rt/bits/mqueue2.h: Likewise.
4701 * rt/mqueue.h: Likewise.
4702 * posix/bits/unistd.h: Likewise.
4703 * posix/unistd.h: Likewise.
4704 * io/bits/poll2.h: Likewise.
4705 * io/bits/fcntl2.h: Likewise.
4706 * io/fcntl.h: Likewise.
4707 * io/sys/poll.h: Likewise.
4708 * misc/bits/syslog.h: Likewise.
4709 * misc/bits/syslog-ldbl.h: Likewise.
4710 * misc/sys/syslog.h: Likewise.
4711 * socket/bits/socket2.h: Likewise.
4712 * socket/sys/socket.h: Likewise.
4713 * debug/tst-chk1.c: Likewise.
4714 * wcsmbs/bits/wchar2.h: Likewise.
4715 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4716 * wcsmbs/wchar.h: Likewise.
4717
ecf0ebfb
AJ
47182012-04-29 Andreas Jaeger <aj@suse.de>
4719
4720 * Makerules (tests): Remove enable-check-abi protection.
4721 (check-abi-warn): Remove.
4722 (check-abi-%): Remove check-abi-warn usage.
4723
4724 * configure.in: Remove check-abi configure option.
4725 * configure: Regenerated.
4726 * config.make.in (enable-check-abi): Remove.
4727
6d5c57fa
AS
47282012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4729
24c5d07e 4730 [BZ #14033]
ded5180a
AS
4731 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4732 double functions to double *_finite functions.
4733
7e0d315d
AS
4734 [BZ #13941]
4735 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4736 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4737 LDBL_MIN_EXP.
4738 * stdio-common/Makefile (tests): Add tst-sprintf3.
4739 * stdio-common/tst-sprintf3.c: New file.
4740
6d5c57fa
AS
4741 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4742 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4743
0749ff8b
JM
47442012-04-28 Joseph Myers <joseph@codesourcery.com>
4745
4746 * conform/conformtest.pl: Remove duplicate typed-constant
4747 handling.
4748
8dbd5d7b
DM
47492012-04-28 David S. Miller <davem@davemloft.net>
4750
4751 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4752 (check-abi-%): Remove AWK script prerequisite and explicit
4753 abilist directory.
4754 (check-abi): Rewrite to just diff the symlist with the abilist.
4755 (config-tls, config-abi-config): Delete, no longer used.
4756 (update-abi-%): Remove AWK script and explicit abilist directory.
4757 (update-abi): Rewrite to simply compare and conditionally copy the
4758 symlist and the sysdep abilist file. Remove update-abi-config
4759 checks.
4760 * abilist/ld.abilist: Remove.
4761 * abilist/libBrokenLocale.abilist: Remove.
4762 * abilist/libanl.abilist: Remove.
4763 * abilist/libcrypt.abilist: Remove.
4764 * abilist/libdl.abilist: Remove.
4765 * abilist/librt.abilist: Remove.
4766 * abilist/libthread_db.abilist: Remove.
4767 * abilist/libutil.abilist: Remove.
4768 * scripts/extract-abilist.awk: Remove.
4769 * scripts/merge-abilist.awk: Remove.
4770 * sysdeps/generic/libcidn.abilist: New file.
4771 * sysdeps/generic/libnss_compat.abilist: New file.
4772 * sysdeps/generic/libnss_db.abilist: New file.
4773 * sysdeps/generic/libnss_dns.abilist: New file.
4774 * sysdeps/generic/libnss_files.abilist: New file.
4775 * sysdeps/generic/libnss_hesiod.abilist: New file.
4776 * sysdeps/generic/libnss_nis.abilist: New file.
4777 * sysdeps/generic/libnss_nisplus.abilist: New file.
4778 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4779 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4780 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4781 file.
4782 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4783 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4784 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4785 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4786 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4787 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4788 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4789 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4790 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4791 file.
4792 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4793 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4794 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4795 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4796 file.
4797 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4798 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4799 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4800 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4801 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4802 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4803 file.
4804 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4805 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4806 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4807 file.
4808 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4809 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4810 New file.
4811 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4812 New file.
4813 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4814 New file.
4815 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4816 New file.
4817 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4818 New file.
4819 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4820 New file.
4821 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4822 New file.
4823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4824 New file.
4825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4826 New file.
4827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4828 New file.
4829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4830 New file.
4831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4832 New file.
4833 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4834 New file.
4835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4836 file.
4837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4838 New file.
4839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4840 New file.
4841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4842 file.
4843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4844 New file.
4845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4846 New file.
4847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4848 file.
4849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4850 New file.
4851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4852 New file.
4853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4854 New file.
4855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4856 New file.
4857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4858 New file.
4859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4860 New file.
4861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4863 file.
4864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4865 New file.
4866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4867 file.
4868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4869 file.
4870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4871 file.
4872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4873 file.
4874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4875 file.
4876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4877 New file.
4878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4879 file.
4880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4881 file.
4882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4883 New file.
4884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4885 file.
4886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4888 file.
4889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4890 New file.
4891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4892 file.
4893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4894 file.
4895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4896 file.
4897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4898 file.
4899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4900 file.
4901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4902 New file.
4903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4904 file.
4905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4906 file.
4907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4908 New file.
4909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4910 file.
4911 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4912 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4913 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4914 file.
4915 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4916 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4917 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4918 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4919 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4920 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4921 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4922 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4923 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4924 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4927 file.
4928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4929 New file.
4930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4931 file.
4932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4933 file.
4934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4935 file.
4936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4937 file.
4938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4939 file.
4940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4941 New file.
4942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4943 New file.
4944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4945 file.
4946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4947 New file.
4948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4949 file.
4950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4952 file.
4953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4954 New file.
4955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4956 file.
4957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4958 file.
4959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4960 file.
4961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4962 file.
4963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4964 file.
4965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4966 New file.
4967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4968 New file.
4969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4970 file.
4971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4972 New file.
4973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4974 file.
4975
41d73a1b
JM
49762012-04-28 Joseph Myers <joseph@codesourcery.com>
4977
4978 * conform/conformtest.pl: Fix typo in handling typed-constant from
4979 allow-header.
4980
28aeeda4
JM
49812012-04-27 Joseph Myers <joseph@codesourcery.com>
4982
adae8f5e
JM
4983 * README: Cut down references to pre-2.6 Linux kernels and
4984 Linuxthreads. Update lists of configurations in libc and ports
4985 and sort alphabetically. Say "or newer" with Linux kernel version
4986 requirements.
4987
28aeeda4
JM
4988 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4989
a462cb63
RA
49902012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4991
4992 [BZ #887]
4993 * math/libm-test.inc (logb_test_downward): New test to expose
4994 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4995 rounding mode.
4996
6ad3493e
JM
49972012-04-27 Joseph Myers <joseph@codesourcery.com>
4998
4999 [BZ #14027]
5000 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5001 to be done.
5002 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5003 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5004
2ce4f015
JM
50052012-04-26 Joseph Myers <joseph@codesourcery.com>
5006
5aeb141a
JM
5007 * sysdeps/unix/i386/brk.S: Remove file.
5008 * sysdeps/unix/i386/dl-brk.S: Likewise.
5009 * sysdeps/unix/i386/pipe.S: Likewise.
5010 * sysdeps/unix/i386/sigreturn.S: Likewise.
5011 * sysdeps/unix/i386/syscall.S: Likewise.
5012 * sysdeps/unix/i386/vfork.S: Likewise.
5013 * sysdeps/unix/i386/wait.S: Likewise.
5014
7143acae
JM
5015 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5016 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5017
2ce4f015
JM
5018 * configure.in (arm*-none*): Do not allow without
5019 --enable-hacker-mode.
5020 (netbsd*): Remove case setting base_os.
5021 (386bsd*): Likewise.
5022 (freebsd*): Likewise.
5023 (bsdi*): Likewise.
5024 (osf*): Likewise.
5025 (sunos*): Likewise.
5026 (ultrix*): Likewise.
5027 (newsos*): Likewise.
5028 (dynix*): Likewise.
5029 (*bsd*): Likewise.
5030 (sysv*): Likewise.
5031 (isc*): Likewise.
5032 (esix*): Likewise.
5033 (sco*): Likewise.
5034 (minix*): Likewise.
5035 (irix4*): Likewise.
5036 (irix6*): Likewise.
5037 (solaris[2-9]*): Likewise.
5038 (none): Likewise.
5039 * configure: Regenerated.
5040
0ac229c8
AZ
50412012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5042
5043 [BZ #11521]
5044 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5045 overflow or cancellation in calculating denominator.
5046 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5047 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5048 down expression to avoid unexpected rounding in newer GCCs.
5049 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5050
33f244f4
DM
50512012-04-26 David S. Miller <davem@davemloft.net>
5052
5053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5054 long-double compat symbols.
5055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5068
cfa1f3e8
DM
50692012-04-25 David S. Miller <davem@davemloft.net>
5070
5071 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5072 HWCAP_* values only after the memory barriers have been defined.
5073 (atomic_full_barrier): Define.
5074 (atomic_read_barrier): Define.
5075 (atomic_write_barrier): Define.
5076
6e236b92
SP
50772012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5078
5079 * shlib-versions: Add libgcc_s version information.
5080 * sysdeps/generic/libgcc_s.h: Remove.
5081 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5082 libgcc_s.h.
5083 * sysdeps/gnu/unwind-resume.c: Likewise.
5084 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5085
aab39a09
DM
50862012-04-25 David S. Miller <davem@davemloft.net>
5087
5088 * sysdeps/unix/sparc/brk.S: Delete.
5089 * sysdeps/unix/sparc/dl-brk.S: Delete.
5090 * sysdeps/unix/sparc/pipe.S: Delete.
5091 * sysdeps/unix/sparc/sysdep.S: Delete.
5092 * sysdeps/unix/sparc/sysdep.h: Delete.
5093 * sysdeps/unix/sparc/vfork.S: Delete.
5094 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5095 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5096 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5097 ret_ERRVAL, r0, r1, MOVE): Define.
5098 (JUMPTARGET): Remove.
5099 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5100 sysdeps/unix/sparc/sysdep.h
5101 (ENTRY, END): Remove.
5102 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5103
a3cc4f48
JM
51042012-04-25 Joseph Myers <joseph@codesourcery.com>
5105
2ed8cda2
JM
5106 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5107 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5108 -DIS_IN_build.
5109
35d76d59
JM
5110 * timezone/README: Update upstream location and email address for
5111 tzcode and tzdata.
5112 * timezone/zdump.c: Update from tzcode 2012b.
5113 * timezone/zic.c: Likewise.
5114
a3cc4f48
JM
5115 * configure.in (libc_cv_as_needed): Remove test.
5116 * configure: Regenerated.
5117 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5118 conditional definition.
5119 [$(have-as-needed) != yes] (no-as-needed): Likewise.
5120 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5121 * config.make.in (have-as-needed): Remove variable.
5122
ceab42c3
SP
51232012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5124 Paul Pluzhnikov <ppluzhnikov@google.com>
5125
5126 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5127 strings correctly.
5128
3ce2865f
CLT
51292012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5130
5131 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5132 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5133 * sysdeps/sh/strlen.S: Likewise.
5134
f37e0d68
JM
51352012-04-24 Joseph Myers <joseph@codesourcery.com>
5136
ae186e9a
JM
5137 * sysdeps/unix/fork.S: Remove file.
5138 * sysdeps/unix/i386/fork.S: Likewise.
5139 * sysdeps/unix/sparc/fork.S: Likewise.
5140
b96914af
JM
5141 * sysdeps/unix/system.c: Remove file.
5142 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5143
f37e0d68
JM
5144 * sysdeps/unix/getegid.S: Remove file.
5145 * sysdeps/unix/geteuid.S: Likewise.
5146
87ef29ca
RM
51472012-04-24 Roland McGrath <roland@hack.frob.com>
5148
83bcd236
RM
5149 * scripts/check-localplt.awk: New file.
5150 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5151 of diff.
5152 * scripts/data/localplt-generic.data: Add a comment.
5153
87ef29ca
RM
5154 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5155 NODE when __dir_mkfile failed.
5156 * sysdeps/mach/hurd/symlinkat.c: Likewise.
5157 Reported by Ludovic Courtès <ludo@gnu.org>.
5158
e5a6e567
AJ
51592012-04-24 Andreas Jaeger <aj@suse.de>
5160
5161 * Makerules (common-clean): Also remove gen-as-const-headers
5162 files.
5163
c1820385
JM
51642012-04-24 Joseph Myers <joseph@codesourcery.com>
5165
5166 * Makerules (native-compile): Do not change working directory for
5167 build. Use $(OUTPUT_OPTION) in command.
5168 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5169
94e02fc4
AZ
51702012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5171
5172 [BZ #13886]
5173 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5174 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5175 * math/libm-test.inc (floor_test): Add more tests.
5176 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5177
3a533ca3
JM
51782012-04-24 Joseph Myers <joseph@codesourcery.com>
5179
940ab4b3
JM
5180 * sysdeps/unix/getdents.c: Remove file.
5181 * sysdeps/unix/sysv/getdents.c: Likewise.
5182 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5183
90e037bd
JM
5184 * sysdeps/unix/syscalls.list (madvise): Add syscall from
5185 sysdeps/unix/mman/syscalls.list.
5186 (mmap): Likewise.
5187 (mprotect): Likewise.
5188 (msync): Likewise.
5189 (munmap): Likewise.
5190 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5191 * sysdeps/unix/mman/syscalls.list: Remove.
5192 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5193
3a533ca3
JM
5194 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5195 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5196 * configure: Regenerated.
5197 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5198 $(libgcc_s_suffix).
5199 * config.make.in (libgcc_s_suffix): Remove variable.
5200
1ad743de
JM
52012012-04-23 Joseph Myers <joseph@codesourcery.com>
5202
4ad451e2
JM
5203 * sysdeps/unix/sysv/gethostname.c: Move to ...
5204 * sysdeps/posix/gethostname.c: ... here.
5205
5e37ce39
JM
5206 * sysdeps/unix/execve.S: Remove file.
5207
1ad743de
JM
5208 * sysdeps/unix/_exit.S: Remove file.
5209
4e681b5b
AJ
52102012-04-23 Andreas Jaeger <aj@suse.de>
5211
5212 [BZ #13739]
5213 * manual/Makefile: Remove make dist support, there's no
5214 need for a stand-alone documentation tar ball.
5215 (TEXI2DVI): Define always, it's not in Makeconfig.
5216 (dist): Removed.
5217 (tar-it): Removed.
5218 (edition): Removed.
5219 (glibc-doc-$(edition).tar): Removed
5220 (%.Z): Removed.
5221 (%.gz): Removed.
5222 (%.uu): Removed.
5223 (ETAGS): Remove, it's in Makeconfig.
5224 (move-if-change): Remove, it's in Makeconfig.
5225
c0baea34
PE
52262013-04-23 Paul Eggert <eggert@cs.ucla.edu>
5227
5228 [BZ #13970]
5229 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5230 (strtod, strtof, strtold, strtol, strtoul, strtoq)
5231 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5232 (strtod_l, strtof_l, strtold_l): Remove __wur.
5233 It is not necessarily an error to ignore strtol's return value.
5234 One can reliably look at the stored endptr to decide whether
5235 the number had valid syntax.
5236
7c0616fa
AJ
52372012-04-21 Andreas Jaeger <aj@suse.de>
5238
803cb6b7 5239 [BZ #13739]
7c0616fa
AJ
5240 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5241
b0fe253f
JM
52422012-04-21 Joseph Myers <joseph@codesourcery.com>
5243
5244 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5245 * sysdeps/unix/sysv/Versions: Remove file.
5246
8280f22d
MT
52472012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
5248
5249 [BZ #13927]
5250 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5251
75ce411f 52522012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
5253
5254 [BZ #7064]
5255 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5256 version from __vm86.
5257
097d59fa
JM
52582012-04-20 Joseph Myers <joseph@codesourcery.com>
5259
a90f3bcb
JM
5260 * sysdeps/unix/common/lxstat.c: Remove file.
5261 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5262
edc7ea78
JM
5263 * sysdeps/unix/sysv/Makefile: Remove file.
5264
cb78c221
JM
5265 * sysdeps/unix/sysv/direct.h: Remove file.
5266
efa6a45f
JM
5267 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5268 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5269 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5270 * sysdeps/unix/sysv/bits/signum.h: Likewise.
5271 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5272 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5273 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5274
9c9f2d0c
JM
5275 * sysdeps/unix/sysv/setrlimit.c: Remove file.
5276
4541c83b
JM
5277 * sysdeps/unix/xmknod.c: Remove file.
5278 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5279
f5d153a0
JM
5280 * sysdeps/unix/sysv/settimeofday.c: Remove file.
5281
aa746595
JM
5282 * sysdeps/unix/sysv/i386/time.S: Remove file.
5283
cce5905e
JM
5284 * sysdeps/unix/fxstat.c: Remove file.
5285 * sysdeps/unix/xstat.c: Likewise.
5286 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5287
37fa3841
JM
5288 * sysdeps/unix/sysv/sigaction.c: Remove file.
5289
ff1962a3
JM
5290 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5291 (sysdep_headers): Remove variable.
5292 [termio.h not in sysdep_headers] (generated): Likewise.
5293 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5294 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5295 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5296 * sysdeps/unix/sysv/tcflow.c: Likewise.
5297 * sysdeps/unix/sysv/tcflush.c: Likewise.
5298 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5299 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
5300 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5301 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5302 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
5303
e7740d31
JM
5304 * sysdeps/unix/siglist.c: Remove file.
5305
ee06f18b
JM
5306 * sysdeps/unix/getppid.S: Remove file.
5307
097d59fa
JM
5308 * sysdeps/unix/mkdir.c: Remove file.
5309 * sysdeps/unix/rmdir.c: Likewise.
5310
ff3d51ec
AS
53112012-04-19 Andreas Schwab <schwab@linux-m68k.org>
5312
5313 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5314 ERR_MAX value.
5315 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5316 errlist-compat value.
5317
50f81fd7
DM
53182012-04-18 David S. Miller <davem@davemloft.net>
5319
5320 * sysdeps/generic/memcopy.h (reg_char): Delete.
5321 * debug/strcat_chk.c: Use char, not reg_char.
5322 * debug/strcpy_chk.c: Likewise.
5323 * debug/strncat_chk.c: Likewise.
5324 * debug/strncpy_chk.c: Likewise.
5325 * string/memchr.c: Likewise.
5326 * string/memrchr.c: Likewise.
5327 * string/rawmemchr.c: Likewise.
5328 * string/strcat.c: Likewise.
5329 * string/strchr.c: Likewise.
5330 * string/strchrnul.c: Likewise.
5331 * string/strcmp.c: Likewise.
5332 * string/strcpy.c: Likewise.
5333 * string/strncat.c: Likewise.
5334 * string/strncmp.c: Likewise.
5335 * string/strncpy.c: Likewise.
5336
8ff41c46
WS
53372012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5338
5339 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5340 __builtin_memcopy is called when src and dest ranges are known to not
5341 overlap.
5342
6b652f46
WS
53432012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5344
5345 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5346 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5347 fwd_align_merge macro call.
5348 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5349 bwd_align_merge macro call.
5350 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5351
b282631e
WS
53522012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5353
5354 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5355 bwd_align_merge macros.
5356 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5357 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5358 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5359
95aa737c
DM
53602012-04-18 David S. Miller <davem@davemloft.net>
5361
5362 * sysdeps/sparc/sparc64/memcopy.h: Delete.
5363
7a99a614
AJ
53642012-04-18 Andreas Jaeger <aj@suse.de>
5365
5366 [BZ# 6794]
5367 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5368 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5369 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5370
5371 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5372 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5373 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5374
5375 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5376 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5377 Adjust for changed ldbl-128 files.
5378
5379 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5380 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5381 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5382
e5270c23
DM
53832012-04-17 David S. Miller <davem@davemloft.net>
5384
5385 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5386
fb5e92c9
AS
53872012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5388
5389 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5390 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5391 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5392 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5393 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5394 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5395
76da7265
AZ
53962012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5397
5398 [BZ #6794]
5399 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5400 * math/libm-test.inc: Add ilogb errno and exception tests.
5401 * math/w_ilogb.c: New file: ilogb wrapper.
5402 * math/w_ilogbf.c: New file: ilogbf wrapper.
5403 * math/w_ilogbl.c: New file: ilogbl wrapper.
5404 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5405 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5406 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5407 exception being thrown with 0.0 as argument.
5408 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5409 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5410 exception being thrown with 0.0 as argument.
5411 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5412 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5413 exception being thrown with 0.0 as argument.
5414 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5415 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5416 exception being thrown with 0.0 as argument.
5417 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5418 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 5419 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
5420 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5421 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5422 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5423 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5424 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5425 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5426
0396e69d
PB
54272012-04-17 Petr Baudis <pasky@ucw.cz>
5428
5429 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5430 with altivec.
5431
750b5926
MP
54322012-04-16 Marek Polacek <polacek@redhat.com>
5433
5434 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5435
751728a1
MP
54362012-04-16 Marek Polacek <polacek@redhat.com>
5437
5438 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5439 operands of fdivp instruction.
5440
34a27407
L
54412012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5442
5443 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5444 * elf/tst-auditmod3b.c: Likewise.
5445 * elf/tst-auditmod4b.c: Likewise.
5446 * elf/tst-auditmod5b.c: Likewise.
5447 * elf/tst-auditmod6b.c: Likewise.
5448 * elf/tst-auditmod6c.c: Likewise.
5449 * elf/tst-auditmod7b.c: Likewise.
5450 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5451 * sysdeps/x86_64/preconfigure.in: Likewise.
5452 * sysdeps/x86_64/preconfigure: Regenerated.
5453
7e73e17d
L
54542012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5455
5456 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5457 __ILP32__.
5458
c7a6ab72
AB
54592012-04-13 Antoine Balestrat <merkil33@gmail.com>
5460
5461 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5462 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5463
a9e8e0e0
CL
54642012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5465
5466 [BZ #13973]
5467 * locale/iso-639.def: Fix gl language name. Spotted by
5468 Yaron Shahrabani.
5469
ec98af7d
RM
54702012-04-12 Roland McGrath <roland@hack.frob.com>
5471
5472 [BZ #2074]
5473 * libio/libio.h (__io_write_fn): Update comment.
5474
247c3ede
PB
54752012-04-12 Petr Baudis <pasky@ucw.cz>
5476
5477 [BZ #2074]
5478 * stdio.texi (Hook Functions): The user provided writer function
5479 is not allowed to return -1.
5480
55939d6d
DM
54812012-04-11 David S. Miller <davem@davemloft.net>
5482
5483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5484
90020f5a
MF
54852012-04-11 Mike Frysinger <vapier@gentoo.org>
5486
5487 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5488 Add a leading slash to rtkaio.
5489
288f9098
JM
54902012-04-11 Jim Meyering <meyering@redhat.com>
5491
90020f5a
MF
5492 [BZ #11959]
5493 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5494 It is not necessarily an error to ignore fwrite's return
5495 value. One can reliably use ferror to test for errors after
5496 the fact.
288f9098 5497
4be2b570
L
54982012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5499
5500 * bits/types.h (__snseconds_t): New type.
5501 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5502
5503 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5504 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5505 (__SNSECONDS_T_TYPE): Likewise.
5506 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5507 (__SNSECONDS_T_TYPE): Likewise.
5508 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5509 (__SNSECONDS_T_TYPE): Likewise.
5510
288f9098 55112012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
5512
5513 [BZ #2636]
5514 * manual/time.texi (Processor Time): Return type of times is
5515 elapsed real time since an arbitrary point in the past.
5516 (CPU Time): Move CLK_TCK from here...
5517 (Processor Time): ...to here. Correct description.
5518 * manual/conf.texi (Constants for Sysconf): Correct description of
5519 _SC_CLK_TCK.
5520
d7dd4413
DM
55212012-04-10 David S. Miller <davem@davemloft.net>
5522
5523 [BZ #13967]
5524 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5525 where the is a gap between DT_REL(A) and DT_JMPREL.
5526
b46068fc
L
55272012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5528
5529 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5530 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5531 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5532
73d65cc3
SP
55332012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5534
5535 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5536 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5537 (dl_main): Handle --inhibit-cache.
5538 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5539 _dl_inhibit_cache.
5540 * elf/dl-load.c (_dl_map_object): Use it.
5541 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5542
bcc8d661
JM
55432012-04-09 Joseph Myers <joseph@codesourcery.com>
5544
8f9a2fae
JM
5545 [BZ #13872]
5546 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5547 (__ieee754_powl): Saturate large exponents rather than testing for
5548 overflow of y*log2(x).
5549 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5550 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5551 exceptions.
5552
bcc8d661
JM
5553 [BZ #11521]
5554 * math/s_ctan.c: Include <float.h>.
5555 (__ctan): Avoid internal overflow or cancellation in calculating
5556 denominator.
5557 * math/s_ctanf.c: Likewise.
5558 * math/s_ctanl.c: Likewise.
5559 * math/s_ctanh.c: Likewise.
5560 * math/s_ctanhf.c: Likewise.
5561 * math/s_ctanhl.c: Likewise.
5562 * math/libm-test.inc (ctan_test): Add more tests.
5563 (ctanh_test): Likewise.
5564 * sysdeps/i386/fpu/libm-test-ulps: Update.
5565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5566
823fbbb4
AJ
55672012-04-09 Andreas Jaeger <aj@suse.de>
5568
03879793
AJ
5569 [BZ #6894]
5570 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5571 is an optional BSD extension.
5572
823fbbb4
AJ
5573 [BZ #10254]
5574 * manual/stdio.texi (Opening Streams): Document additional fopen
5575 parameters.
5576
8de131cb
RM
55772012-04-09 Roland McGrath <roland@hack.frob.com>
5578
5579 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5580 %eax without telling the compiler.
5581
c0ed9d7d
CD
55822012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5583
5584 [BZ # 13963]
5585 * manual/install.texi: Use sourceware.org.
5586
c483f6b4
JM
55872012-04-09 Joseph Myers <joseph@codesourcery.com>
5588
d7dd9453
JM
5589 [BZ #13873]
5590 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5591 (__ieee754_pow): Generate overflow and underflow using huge*huge
5592 and tiny*tiny rather than just returning constant infinity or zero
5593 for large exponents.
5594 * math/libm-test.inc (pow_test): Require overflow exceptions for
5595 applicable cases of large exponents.
5596
c483f6b4
JM
5597 [BZ #706]
5598 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5599 (__ieee754_pow): Use iterative multiplication algorithm only for
5600 integer exponents with absolute value below 1024. Check for odd
5601 integer exponents when using algorithm for real exponents.
5602 * math/libm-test.inc (pow_test): Add more tests.
5603 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5604
d2de7579
JM
56052012-04-08 Joseph Myers <joseph@codesourcery.com>
5606
5607 [BZ #13705]
5608 * math/libm-test.inc (exp_test): Do not allow overflow exception
5609 on underflow test.
5610
f77f1232
AJ
56112012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5612
5613 [BZ #13705]
5614 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5615 instead of __kernel_standard_f.
5616
3884932b
MF
56172012-04-08 Mike Frysinger <vapier@gentoo.org>
5618
5619 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5620 * sysdeps/x86_64/memset_chk.S: Likewise.
5621
54472e9c
AJ
56222012-04-08 Andreas Jaeger <aj@suse.de>
5623
6ab0fbfc
AJ
5624 [BZ #10153]
5625 * manual/startup.texi (Environment Access): Describe return value
5626 for putenv and setenv.
5627
61efba8c
AJ
5628 [BZ #6895]
5629 * manual/filesys.texi (Directory Entries): Add description for
5630 DT_LNK.
5631
95c3f29a
AJ
5632 [BZ #6890]
5633 * manual/filesys.texi (Directory Entries): Clarify that it's file
5634 system not operating system in the description of DT_UNKNOWN.
5635
54472e9c
AJ
5636 [BZ #6578]
5637 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5638
624254b1
SC
56392012-04-08 Stephen Compall <s11@member.fsf.org>
5640
5641 [BZ #6649]
5642 * manual/llio.texi (Opening and Closing Files): Add cross
5643 reference to explain mode argument.
5644
1e4920e0
MF
56452012-04-07 Mike Frysinger <vapier@gentoo.org>
5646
5647 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5648 * sysdeps/x86_64/memset_chk.S: Likewise.
5649
5ed848f3
DM
56502012-04-07 David S. Miller <davem@davemloft.net>
5651
5652 * elf/elf.h (R_SPARC_WDISP10): Define.
5653 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5654 R_SPARC_SIZE32.
5655 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5656 R_SPARC_SIZE64 and R_SPARC_H34.
5657
96154cd8
CD
56582012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5659
5660 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5661 conditions and remove no longer applicable assertion.
5662
9904dc47
L
56632012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5664
5665 * bits/byteswap.h: Include <features.h>.
5666 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5667 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5668
f8887d0a
L
56692012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5670
5671 * bits/byteswap.h (__bswap_16): Removed.
5672 Include <bits/byteswap-16.h> to get __bswap_16.
5673 * sysdeps/i386/bits/byteswap.h: Likewise.
5674 * sysdeps/s390/bits/byteswap.h: Likewise.
5675 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5676 * bits/byteswap-16.h: New file.
5677 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5678 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5679 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5680 * string/Makefile (headers): Add bits/byteswap-16.h.
5681
62470f60
PP
56822012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5683
5684 [BZ #13895]
5685 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5686 extra indirection.
5687 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5688 * nss/tst-nss-static.c: New.
5689
4dad7bab
RM
56902012-04-06 Robert Millan <rmh@gnu.org>
5691
5692 [BZ #6486]
5693 * manual/llio.texi (File Position Primitive): lseek
5694 refers to WHENCE when it really means OFFSET.
5695
e9142a17
AJ
56962012-04-06 Andreas Jaeger <aj@suse.de>
5697
2c040eff
AJ
5698 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5699 strncmp declarations.
5700
e9142a17
AJ
5701 * abilist/libc.abilist: Add __poll and __ppoll.
5702
ff9f1c5f
DM
57032012-04-05 David S. Miller <davem@davemloft.net>
5704
dcd2ae90
DM
5705 * scripts/check-local-headers.sh: Accept a host triplet in the
5706 path matched by the exclude regexp.
5707
993eb054
DM
5708 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5709 definition.
5710 * sysdeps/powerpc/powerpc32/dl-machine.h
5711 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5712 * sysdeps/s390/s390-32/dl-machine.h
5713 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5714 * sysdeps/sparc/sparc32/dl-machine.h
5715 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5716 * sysdeps/sparc/sparc64/dl-machine.h
5717 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5718
ff9f1c5f
DM
5719 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5720 lazy binding.
48e2e132 5721 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5722 undefined symbol errors.
5723
48e2e132 5724 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5725 DT_NEEDED entries.
5726
e80d6f94
MM
57272012-04-05 Michael Matz <matz@suse.de>
5728
5729 [BZ #13592]
5730 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5731
349fa79f
AJ
57322012-04-05 Andreas Jaeger <aj@suse.de>
5733
5734 [BZ #13908]
5735 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5736 comment.
5737
f402708f
KK
57382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5739
5740 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5741 which ROUND is no valid rounding mode.
5742
2ecccfc9
KK
57432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5744
5745 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5746 read again.
5747 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5748
8a53f50f
KK
57492012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5750
5751 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5752 an exception using FPU order intentionally.
5753
57542012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5755
5756 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5757 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5758 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5759 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5760
d653abb7
SJ
57612012-04-05 Simon Josefsson <simon@josefsson.org>
5762
5763 [BZ #12340]
5764 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5765 EINVAL when BUFLEN is too smal.
5766
c3b1bf7d
TS
57672012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5768
5769 [BZ #13553]
5770 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5771 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5772
b1aa60f3
AJ
57732012-04-03 Andreas Jaeger <aj@suse.de>
5774
c3b1bf7d 5775 [BZ #13938]
67f60a26
AJ
5776 * manual/setjmp.texi (System V contexts): Fix sentence.
5777
b1aa60f3
AJ
5778 [BZ #13926]
5779 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5780 New macro for this case.
5781 [!__GNUC__] (__bswap_64): New inline function for this case.
5782 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5783 * bits/byteswap.h: Likewise.
5784 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5785 ull, guard with __GLIBC_HAVE_LONG_LONG.
5786
5787 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5788 __GLIBC_HAVE_LONG_LONG.
5789
5790 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5791 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5792
39c59c35
TMQMF
57932012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5794
5795 [BZ #13691]
5796 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5797 inptr and inend, rather than using last_ch.
5798
135ffda8
DM
57992012-04-02 David S. Miller <davem@davemloft.net>
5800
5801 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5802 * stdio-common/printf-parse.h (read_int): Change return type to
5803 'int', return -1 on INT_MAX overflow.
5804 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5805 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5806 overflows INT_MAX. Check for overflow of in-format-string precision
5807 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5808 SIZE_MAX not INT_MAX for integer overflow test.
5809 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5810 skip the construct in the format string but do not record anything.
5811 * stdio-common/bug22.c: Adjust to test both width/prevision
5812 INT_MAX overflow as well as total length INT_MAX overflow. Check
5813 explicitly for proper errno values.
5814
228c019e
TS
58152012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5816
302cadd3
TS
5817 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5818 CHAR_MAX.
5819 * string/test-strcmp.c [! WIDE]: Likewise.
5820 * time/tst-mktime2.c: Likewise for INT_MAX.
5821 * string/test-string.h: #include <sys/param.h> for MIN.
5822
228c019e
TS
5823 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5824 * sysdeps/i386/init-first.c (init): Likewise.
5825 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5826 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5827 * sysdeps/sh/init-first.c (init): Likewise.
5828
cfa633f5
UD
58292012-04-01 Ulrich Drepper <drepper@gmail.com>
5830
5831 * po/ru.po: Update from translation team.
d1635ef8 5832 * po/vi.po: Likewise.
cfa633f5 5833
6cd0a5ea
SP
58342012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5835
5836 * resolv/nss_dns/dns-host.c: Merge copyright years.
5837
4b43400f
LD
58382012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5839
5840 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5841 Optimize memcpy with prefetch if
5842 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5843 src, dst pointers have unequal 16 byte alignments.
5844
48c41d04
SP
58452012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5846
5847 [BZ #13928]
5848 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5849 from a CNAME entry and return the minimum ttl for the query.
5850 (gaih_getanswer_slice): Likewise.
5851
b8dc394d
JL
58522012-03-30 Jeff Law <law@redhat.com>
5853
5854 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5855 due to long keys.
5856 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5857 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5858
2f5a5ed0
JL
5859 * resolv/nss_dns/dns-host.c: Update copyright year.
5860
1d39e359
UD
58612012-03-30 Ulrich Drepper <drepper@gmail.com>
5862
c030f70c 5863 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5864 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5865
1d39e359
UD
5866 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5867 comments for sendmmsg.
5868
58692012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5870
5871 [BZ #13691]
5872 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5873 with only 1 character between 0x0041 and 0x01b0.
5874 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5875 * wcsmbs/tst-mbsnrtowcs.c: New file.
5876
20fde227
DM
58772012-03-29 David S. Miller <davem@davemloft.net>
5878
5879 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5880 small copies by hand.
5881
984a4237
JL
58822012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5883
5884 [BZ #13761]
5885 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5886 _nss_compat_initgroups_dyn): Fall back to malloc/free
5887 for large group memberships.
5888
18c9d62b
DM
58892012-03-28 David S. Miller <davem@davemloft.net>
5890
88d85d4f
DM
5891 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5892 that branches into memcpy.
5893 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5894 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5895 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5896 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5897 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5898 bits.
5899 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5900 implementation too.
5901 * sysdeps/sparc/mempcpy.S: New file.
5902
e5aa83e1
DM
5903 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5904 the IFUNC routine in the libc case.
5905 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5906
88570753
DM
5907 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5908 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5909 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5910 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5911 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5912 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5913 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5914 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5915
249d7567
DM
5916 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5917 loop to 256 bytes instead of 64 bytes and fix test signedness.
5918
18c9d62b
DM
5919 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5920 * sysdeps/sparc/sparc32/Makefile: rather than here...
5921 * sysdeps/sparc/sparc64/Makefile: and here.
5922
05f3d1f6
UD
59232012-03-28 Ulrich Drepper <drepper@gmail.com>
5924
5925 * malloc/mallocbug.c: Avoid warnings about unused variables.
5926
86ae07a8
JL
59272012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5928
5929 [BZ #13760]
5930 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5931 in the right place. Discard and retry query if response is
5932 larger than input buffer size.
5933
41bf21a1
JM
59342012-03-28 Joseph Myers <joseph@codesourcery.com>
5935
d6270972
JM
5936 [BZ #369]
5937 [BZ #2678]
5938 [BZ #3866]
5939 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5940 x for large integer exponent.
5941 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5942 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5943 sign of result as needed afterwards.
5944 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5945 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5946 result for underflowing pow the same as for overflow.
5947 (__kernel_standard_l): Handle powl overflow and underflow here
5948 rather than calling __kernel_standard.
5949 * math/libm-test.inc (pow_test): Add more tests.
5950
414fca03 5951 [BZ #3868]
41bf21a1
JM
5952 [BZ #13879]
5953 [BZ #13910]
5954 [BZ #13911]
5955 [BZ #13912]
5956 [BZ #13913]
5957 [BZ #13915]
5958 [BZ #13916]
5959 [BZ #13917]
5960 [BZ #13918]
5961 [BZ #13919]
5962 [BZ #13920]
5963 [BZ #13921]
5964 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5965 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5966 (__kernel_standard_l): New function.
5967 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5968 __kernel_standard.
5969 * math/w_acosl.c (__acosl): Likewise.
5970 * math/w_asinl.c (__asinl): Likewise.
5971 * math/w_atan2l.c (__atan2l): Likewise.
5972 * math/w_atanhl.c (__atanhl): Likewise.
5973 * math/w_coshl.c (__coshl): Likewise.
5974 * math/w_exp10l.c (__exp10l): Likewise.
5975 * math/w_exp2l.c (__exp2l): Likewise.
5976 * math/w_fmodl.c (__fmodl): Likewise.
5977 * math/w_hypotl.c (__hypotl): Likewise.
5978 * math/w_j0l.c (__j0l, __y0l): Likewise.
5979 * math/w_j1l.c (__j1l, __y1l): Likewise.
5980 * math/w_jnl.c (__jnl, __ynl): Likewise.
5981 * math/w_lgammal.c (__lgammal): Likewise.
5982 * math/w_log10l.c (__log10l): Likewise.
5983 * math/w_log2l.c (__log2l): Likewise.
5984 * math/w_logl.c (__logl): Likewise.
5985 * math/w_powl.c (__powl): Likewise.
5986 * math/w_remainderl.c (__remainderl): Likewise.
5987 * math/w_scalbl.c (sysv_scalbl): Likewise.
5988 * math/w_sinhl.c (__sinhl): Likewise.
5989 * math/w_sqrtl.c (__sqrtl): Likewise.
5990 * math/w_tgammal.c (__tgammal): Likewise.
5991 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5992 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5993 * math/libm-test.inc (acos_test): Add more tests.
5994 (acosh_test): Likewise.
5995 (asin_test): Likewise.
5996 (atanh_test): Likewise.
5997 (exp_test): Likewise.
5998 (exp10_test): Likewise.
5999 (exp2_test): Likewise.
6000 (expm1_test): Likewise.
6001 (lgamma_test): Likewise.
6002 (log_test): Likewise.
6003 (log10_test): Likewise.
6004 (log1p_test): Likewise.
6005 (log2_test): Likewise.
6006 (pow_test): Do not allow some spurious overflow exceptions.
6007 (sqrt_test): Add more tests.
6008 (tgamma_test): Likewise.
6009 (y0_test): Likewise.
6010 (y1_test): Likewise.
6011 (yn_test): Likewise.
6012
dd62fda6
AB
60132012-03-27 Anton Blanchard <anton@samba.org>
6014
6015 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6016 MAP_HUGETLB.
6017 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6018 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6019 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6020
1e3cdfda
AJ
60212012-03-27 David S. Miller <davem@davemloft.net>
6022
b855ab85
DM
6023 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6024
1e3cdfda
AJ
6025 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6026 have-as-vis3 check.
6027
60282012-03-27 Andreas Jaeger <aj@suse.de>
6029
6030 * sysdeps/x86_64/elf/configure.in: Moved to ...
6031 * sysdeps/x86_64/configure.in: ... here.
6032 * sysdeps/x86_64/elf/start.S: Moved to ...
6033 * sysdeps/x86_64/start.S: ... here.
6034 * sysdeps/x86_64/elf/configure: Delete.
6035
6036 * sysdeps/x86_64/configure.in: Merge contents from
6037 sysdeps/i386/configure.in (without i686 check).
6038
6039 * sysdeps/i386/elf/Versions: Merge into ...
6040 * sysdeps/i386/Versions: ... this.
6041 * sysdeps/i386/elf/Versions: Delete file.
6042 * sysdeps/i386/elf/start.S: Moved to ...
6043 * sysdeps/i386/start.S: ...here.
6044 * sysdeps/i386/elf/configure.in: Merge into...
6045 * sysdeps/i386/configure.in: ...here.
6046 * sysdeps/i386/elf/configure.in: Delete file.
6047 * sysdeps/i386/elf/configure: Delete file.
6048
6049 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6050 * debug/backtracesyms.c: ... here.
6051 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6052 * debug/backtracesymsfd.c: ... here.
6053 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6054 * sysdeps/generic/ifunc-sel.h: ... here.
6055
6056 * sysdeps/unix/i386/start.c: Delete file.
6057 * sysdeps/unix/sparc/start.c: Delete file.
6058 * sysdeps/unix/start.c: Delete file.
6059
6060 * sysdeps/sh/elf/configure.in: Moved to ...
6061 * sysdeps/sh/configure.in: ... here.
6062 * sysdeps/sh/elf/start.S: Moved to ...
6063 * sysdeps/sh/start.S: ... here.
6064 * sysdeps/sh/elf/configure: Delete file.
6065
6066 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6067 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6068 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6069 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6070 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6071 * sysdeps/powerpc/powerpc64/start.S: here.
6072 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6073 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6074 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6075 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6076 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6077
6078 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6079 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6080 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6081 * sysdeps/powerpc/powerpc32/start.S: ... here.
6082 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6083 * sysdeps/powerpc/powerpc32/configure.in: ... this.
6084 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6085
6086 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6087 * sysdeps/powerpc/ifunc-sel.h: ... here.
6088 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6089 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6090
6091 * sysdeps/sparc/elf/configure.in: Moved to ...
6092 * sysdeps/sparc/configure.in: ... here.
6093 * sysdeps/sparc/elf/configure: Delete file.
6094 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6095 * sysdeps/sparc/sparc32/start.S: ... here.
6096 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6097 * sysdeps/sparc/sparc64/start.S: ... here.
6098 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6099 * sysdeps/sparc/sparc32/Makefile: ... this.
6100 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6101 * sysdeps/sparc/sparc64/Makefile: ... this.
6102
6103 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6104 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6105 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6106 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6107 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6108 * sysdeps/s390/s390-32/setjmp.S: ... here.
6109 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6110 * sysdeps/s390/s390-32/configure.in: ... here.
6111 * sysdeps/s390/s390-32/elf/configure: Delete file.
6112 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6113 * sysdeps/s390/s390-32/start.S: ... here.
6114
6115 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6116 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6117 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6118 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6119 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6120 * sysdeps/s390/s390-64/setjmp.S: ... here.
6121 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6122 * sysdeps/s390/s390-64/configure.in: ... here
6123 * sysdeps/s390/s390-64/elf/configure: Delete file.
6124 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6125 * sysdeps/s390/s390-64/start.S: ... here.
6126 * sysdeps/s390/s390-64/elf/configure: Delete.
6127
6128 * configure.in: Remove support for elf directories in sysdeps.
6129
6130 * configure: Regenerated.
6131 * sysdeps/i386/configure: Regenerated.
6132 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6133 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6134 * sysdeps/s390/s390-32/configure: Regenerated.
6135 * sysdeps/s390/s390-64/configure: Regenerated.
6136 * sysdeps/sh/configure: Regenerated.
6137 * sysdeps/sparc/configure: Regenerated.
6138 * sysdeps/x86_64/configure: Regenerated.
6139
a3f61311
AS
61402012-03-26 Andreas Schwab <schwab@linux-m68k.org>
6141
c876e002
AS
6142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6143
a3f61311
AS
6144 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6145 denormal result into account.
6146
ac4c54f0
RM
61472012-03-25 Roland McGrath <roland@hack.frob.com>
6148
6149 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6150 Reported by Allan McRae <allan@archlinux.org>.
6151
6a9b9c02
JL
61522012-03-23 Jeff Law <law@redhat.com>
6153
6154 * nss/getnssent.c (__nss_getent): Fix typo.
6155
4c42a0c1
DM
61562012-03-23 David S. Miller <davem@davemloft.net>
6157
6158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6159
1532c7ac
L
61602012-03-23 H.J. Lu <hongjiu.lu@intel.com>
6161
6162 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6163 to pad to uint64_t for each field.
6164 (dl_tls_index): Replace unsigned long with uint64_t.
6165
3ff42526
PP
61662012-03-23 Daniel Jacobowitz <dmj@google.com>
6167 Paul Pluzhnikov <ppluzhnikov@google.com>
6168
6169 [BZ #6528]
6170 * grp/Makefile (otherlibs): Don't set it.
6171 * inet/Makefile (otherlibs): Likewise.
6172 * login/Makefile (otherlibs): Likewise.
6173 * nscd/Makefile (otherlibs): Likewise.
6174 * posix/Makefile (otherlibs): Likewise.
6175 * pwd/Makefile (otherlibs): Likewise.
6176 * rt/Makefile (otherlibs): Likewise.
6177 * sunrpc/Makefile (otherlibs): Likewise.
6178 * nss/Makefile (otherlibs): Likewise.
6179 Add libnss_files to routines and static-only-routines.
6180 ($(objpfx)getent): Remove rule.
6181 * resolv/Makefile: Add libnss_dns and libresolv to routines and
6182 static-only-routines.
6183
7c69cd14
JM
61842012-03-22 Joseph Myers <joseph@codesourcery.com>
6185
6186 [BZ #13892]
6187 * math/s_cexp.c: Include <float.h>.
6188 (__cexp): Handle exp result overflowing not necessarily
6189 overflowing both real and imaginary parts of result.
6190 * math/s_cexpf.c: Likewise.
6191 * math/s_cexpl.c: Likewise.
6192 * math/libm-test.inc (cexp_test): Add more tests.
6193 * sysdeps/i386/fpu/libm-test-ulps: Update.
6194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6195
81b035fe
L
61962012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6197
6198 * include/link.h (ELFW): New macro.
6199 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6200 Replace ELF64_R_TYPE with ELFW(R_TYPE).
6201
1da7940c
L
62022012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6203
6204 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6205 with uint64_t.
6206
b749dbb9
L
62072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6208
6209 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6210 declaration.
6211 (struct La_x32_retval): Likewise.
6212
2ff87f3f
L
62132012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6214
6215 * sysdeps/x86_64/preconfigure.in: New file.
6216 * sysdeps/x86_64/preconfigure: New generated file.
6217
c0df8e69
JM
62182012-03-22 Joseph Myers <joseph@codesourcery.com>
6219
48e44791
JM
6220 [BZ #13824]
6221 * math/e_exp2l.c: Include <float.h>.
6222 (__ieee754_exp2l): Handle overflow and underflow cases
6223 separately. Only pass fractional part of argument to
6224 __ieee754_expl.
6225 * math/libm-test.inc (exp2_test): Add more tests.
6226
c0df8e69
JM
6227 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6228 negating x to take absolute value.
6229 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6230 Likewise.
6231 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6232 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6233 Likewise.
6234 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6235 computing low part if x was negated.
6236 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6237
c8e43ba7
L
62382012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6239
6240 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6241 la_x32_gnu_pltexit.
6242 (pltexit): Cast int_retval to ptrdiff_t.
6243 * elf/tst-auditmod3b.c: Likewise.
6244 * elf/tst-auditmod4b.c: Likewise.
6245 * elf/tst-auditmod5b.c: Likewise.
6246 * elf/tst-auditmod6b.c: Likewise.
6247 * elf/tst-auditmod6c.c: Likewise.
6248 * elf/tst-auditmod7b.c: Likewise.
6249
6250 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6251 and x32_gnu_pltexit.
6252
6253 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6254 __ELF_NATIVE_CLASS.
6255 (La_x32_regs): New macro.
6256 (La_x32_retval): Likewise.
6257 (la_x32_gnu_pltenter): New function prototype.
6258 (la_x32_gnu_pltexit): Likewise.
6259
7998fa78
AS
62602012-03-21 Andreas Schwab <schwab@linux-m68k.org>
6261
dcb33988
AS
6262 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6263 exponent.
6264
233fc563
AS
6265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6266
7998fa78
AS
6267 * configure.in (libc_cv_cc_nofma): Check for option to disable
6268 generation of FMA instructions.
6269 * configure: Regenerate.
6270 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6271 * sysdeps/ieee754/dbl-64/Makefile: New file.
6272 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6273 Remove brandred-fma4.
6274 (CFLAGS-brandred-fma4.c): Remove.
6275 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6276 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6277 define.
6278 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6279 define.
6280
8e95c99a
L
62812012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6282
6283 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6284 LLONG_MAX != LONG_MAX.
6285 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6286 (_fitoa_word): Likewise.
6287 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6288 LLONG_MAX != LONG_MAX.
6289 * stdio-common/_itowa.h: Include <_itoa.h>.
6290 (_itowa_word): Use _ITOA_WORD_TYPE on value.
6291 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
6292 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
6293 only if not defined.
6294 (_ITOA_WORD_TYPE): Likewise.
6295 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6296 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6297
6f4db457
DM
62982012-03-21 David S. Miller <davem@davemloft.net>
6299
6300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6301
7785fe5a
L
63022012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6303
6304 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
6305 of x86_64 when setting libc_cv_slibdir, libdir and
6306 libc_cv_localedir.
6307 * sysdeps/unix/sysv/linux/configure: Regenerated.
6308
4535cd55
JM
63092012-03-21 Joseph Myers <joseph@codesourcery.com>
6310
6311 * manual/lang.texi (Old Varargs): Remove section.
6312 (How Variadic): Update menu.
6313 (va_start): Do not mention varargs.h.
6314
17228132
TS
63152012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6316 Joseph Myers <joseph@codesourcery.com>
6317
6318 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6319 link test.
6320 * configure: Regenerated.
6321
8149f976
TS
63222012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6323
05f3d1f6
UD
6324 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
6325 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
6326 conformtest.pl
8149f976 6327
1a4ac776
JM
63282012-03-21 Joseph Myers <joseph@codesourcery.com>
6329
be22ce65
JM
6330 * NOTES: Remove.
6331 * Makefile (files-for-dist): Remove NOTES.
6332 (NOTES): Remove rule.
6333 * README: Don't refer to NOTES.
6334 * manual/creature.texi: Don't include macros.texi.
6335 * manual/intro.texi (creature.texi): Remove comment referring to
6336 NOTES.
6337
40b601fb
JM
6338 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6339 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6340 * configure: Regenerated.
6341 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6342 LIBC_TRY_CC_OPTION.
6343 (libc_cv_as_i686): Likewise.
6344 (libc_cv_cc_avx): Likewise.
6345 (libc_cv_cc_sse2avx): Likewise.
6346 (libc_cv_cc_fma4): Likewise.
6347 (libc_cv_cc_novzeroupper): Likewise.
6348 * sysdeps/i386/configure: Regenerated.
6349
1a4ac776
JM
6350 [BZ #13883]
6351 * sysdeps/i386/fpu/s_cexp.S: Remove.
6352 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6353 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6354 * math/libm-test.inc (cexp_test): Add more tests.
6355 * sysdeps/i386/fpu/libm-test-ulps: Update.
6356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6357
a458e7fe
AM
63582012-03-21 Allan McRae <allan@archlinux.org>
6359
6360 * timezone/Makefile: Do not install iso3166.tab and zone.tab
6361
0cb7efc5
JM
63622012-03-21 Joseph Myers <joseph@codesourcery.com>
6363
6364 [BZ #13871]
6365 * math/w_exp2.c: Do not include <float.h>.
6366 (o_threshold, u_threshold): Remove.
6367 (__exp2): Calculate result before checking finiteness and calling
6368 __kernel_standard.
6369 * math/w_exp2f.c: Likewise.
6370 * math/w_exp2l.c: Likewise.
6371 * math/libm-test.inc (exp2_test): Require overflow exception for
6372 1e6 input.
2460d3aa
JM
6373
6374 [BZ #3866]
6375 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6376 range of signed 64-bit integers before using fistpll. Remove
6377 checks for whether integers fit in mantissa bits.
6378 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6379 the range of signed 32-bit integers before using fistpl. Remove
6380 checks for whether integers fit in mantissa bits.
6381 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6382 (__ieee754_powl): Test for y outside the range of signed 64-bit
6383 integers before using fistpll. Reduce 64-bit values to 63-bit
6384 ones as needed.
6385 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6386 divide-by-zero is raised for zero to large negative powers.
6387 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6388 (__ieee754_powl): Test for y outside the range of signed 64-bit
6389 integers before using fistpll. Reduce 64-bit values to 63-bit
6390 ones as needed.
6391 * math/libm-test.inc (pow_test): Add more tests.
6392
eb96ffb0
L
63932012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6394
6395 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6396 <stdio-common/_itoa.h>.
6397 * debug/segfault.c: Likewise.
6398 * elf/dl-cache.c: Likewise.
6399 * elf/dl-minimal.c: Likewise.
6400 * elf/dl-misc.c: Likewise.
6401 * elf/dl-sysdep.c: Likewise.
6402 * elf/dl-version.c: Likewise.
6403 * elf/rtld.c: Likewise.
6404 * hurd/hurdsock.c: Likewise.
6405 * hurd/lookup-retry.c: Likewise.
6406 * malloc/malloc.c: Likewise.
6407 * malloc/mtrace.c: Likewise.
6408 * nscd/nscd_getgr_r.c: Likewise.
6409 * nscd/nscd_getpw_r.c: Likewise.
6410 * nscd/nscd_getserv_r.c: Likewise.
6411 * posix/getopt_init.c: Likewise.
6412 * posix/wordexp.c: Likewise.
6413 * stdio-common/_itoa.c: Likewise.
6414 * stdio-common/printf_fphex.c: Likewise.
6415 * stdio-common/vfprintf.c: Likewise.
6416 * string/_strerror.c: Likewise.
6417 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6418 * sysdeps/i386/i686/hp-timing.h: Likewise.
6419 * sysdeps/mach/_strerror.c: Likewise.
6420 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6421 * sysdeps/mach/hurd/sethostid.c: Likewise.
6422 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6423 * sysdeps/mach/xpg-strerror.c: Likewise.
6424 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6425 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6426 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6427 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6428 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6429 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6430 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6431 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6432 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6433 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6434 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6435 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6436 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6437 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6438 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6439 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6440 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6441 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6442 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6443 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6444 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6445
6446 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6447
6448 * stdio-common/_itoa.h: Moved to ...
6449 * sysdeps/generic/_itoa.h: Here.
6450
6451 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6452
6453 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6454 instead of "_itoa.h" and "_itowa.h".
6455 * stdio-common/vfprintf.: Likewise.
6456
d1af992d
L
64572012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6458
6459 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6460 <bits/wordsize.h>.
6461 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6462 (__signbit): Likwise.
6463 (llrintf): Likwise.
6464 (llrint): Likwise.
6465
114883e0
L
64662012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6467
6468 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6469 __WORDSIZE != 64.
6470
c135cc1b
JM
64712012-03-20 Joseph Myers <joseph@codesourcery.com>
6472
6473 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6474 OVERFLOW_EXCEPTION_OK.
6475 * math/libm-test.inc ("Philosophy"): Update comment about
6476 exception testing.
6477 (OVERFLOW_EXCEPTION): Define.
6478 (OVERFLOW_EXCEPTION_OK): Likewise.
6479 (INVALID_EXCEPTION_OK): Renumber.
6480 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6481 (IGNORE_ZERO_INF_SIGN): Likewise.
6482 (test_exceptions): Handle FE_OVERFLOW.
6483 (exp10_test): Expect overflow exceptions.
6484 (exp2_test): Likewise.
6485 (expm1_test): Likewise.
6486 (nextafter_test): Likewise.
6487 (pow_test): Likewise.
6488 (scalbn_test): Likewise.
6489 (scalbln_test): Likewise.
6490
95443d88
L
64912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6492
6493 * sysdeps/x86_64/bits/atomic.h
6494 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6495 64bit integer.
6496 (atomic_exchange_acq): Likewise.
6497 (__arch_exchange_and_add_body): Likewise.
6498 (__arch_add_body): Likewise.
6499 (atomic_add_negative): Likewise.
6500 (atomic_add_zero): Likewise.
6501
490df6c4
L
65022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6503
c2722551 6504 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
6505 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6506
5e52b189
L
65072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6508
6509 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6510 Check __x86_64__ instead of __WORDSIZE.
6511
a9879d4c
L
65122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6513
6514 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6515
5df98260
DM
65162012-03-19 David S. Miller <davem@davemloft.net>
6517
e1497744
DM
6518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6519
5df98260
DM
6520 * sysdeps/sparc/fpu/fenv_private.h: New file.
6521 * sysdeps/sparc/fpu/math_private.h: Use it.
6522 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6523 Remove.
6524 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6525 (libc_feholdexcept_setroundl): Remove.
6526 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6527 Remove.
6528 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6529 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6530
b4c35121
L
65312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6532
6533 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6534 int64_t instead of long int.
6535 (INSERT_WORDS64): Likwise.
6536
56965fd7
L
65372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6538
6539 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6540 _Unwind_GetCFA return to _Unwind_Ptr first.
6541
83d1aec8
JM
65422012-03-19 Joseph Myers <joseph@codesourcery.com>
6543
1897ad44
JM
6544 [BZ #13629]
6545 * math/s_clog.c: Include <float.h>.
6546 (__clog): Scale large or subnormal inputs.
6547 * math/s_clogf.c: Likewise.
6548 * math/s_clogl.c: Likewise.
6549 * math/s_clog10.c: Include <float.h>.
6550 (M_LOG10_2): Define.
6551 (__clog10): Scale large or subnormal inputs.
6552 * math/s_clog10f.c: Likewise.
6553 * math/s_clog10l.c: Likewise.
6554 * math/libm-test.inc (clog_test): Add more tests.
6555 (clog10_test): Likewise.
6556 * sysdeps/i386/fpu/libm-test-ulps: Update.
6557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6558
7726d6a9
JM
6559 [BZ #11451]
6560 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6561 x and y.
6562 * math/libm-test.inc (atan2_test): Add another test.
6563
83d1aec8
JM
6564 * Makerules (common-objdir-compile): Remove.
6565 * sysdeps/unix/Makefile (config-generated): Do not add
6566 $(unix-generated) to variable.
6567 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6568 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6569 Remove rule.
6570 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6571 Likewise.
6572 [generic bits/local_lim.h] (before-compile): Do not append to
6573 variable.
6574 [generic bits/local_lim.h] (common-generated): Likewise.
6575 [generic sys/param.h] (before-compile): Do not append to variable.
6576 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6577 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6578 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6579 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6580 include.
6581 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6582 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6583 [generic sys/param.h] ($(addprefix
6584 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6585 [generic sys/param.h] (common-generated): Do not append to
6586 variable.
6587 [generic sys/param.h] (sysdep_headers): Likewise.
6588 [generic bits/errno.h] (before-compile): Do not append to
6589 variable.
6590 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6591 rule.
6592 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6593 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6594 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6595 [generic bits/errno.h] (common-generated): Do not append to
6596 variable.
6597 [generic bits/ioctls.h] (before-compile): Do not append to
6598 variable.
6599 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6600 rule.
6601 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6602 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6603 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6604 rule.
6605 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6606 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6607 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6608 [generic bits/ioctls.h] (common-generated): Do not append to
6609 variable.
6610 [generic sys/syscall.h] (syscall.h): Remove variable.
6611 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6612 rule.
6613 [generic sys/syscall.h] (before-compile): Do not append to
6614 variable.
6615 [generic sys/syscall.h] (common-generated): Likewise.
6616 * sysdeps/unix/errnos-tmpl.c: Remove file.
6617 * sysdeps/unix/errnos.awk: Likewise.
6618 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6619 * sysdeps/unix/ioctls.awk: Likewise.
6620 * sysdeps/unix/mk-local_lim.c: Likewise.
6621 * sysdeps/unix/snarf-ioctls: Likewise.
6622
4851a949
RH
66232012-03-19 Richard Henderson <rth@twiddle.net>
6624
bd37f2ee
RH
6625 * sysdeps/i386/fpu/fenv_private.h: New file.
6626 * sysdeps/i386/fpu/math_private.h: Use it.
6627 (math_opt_barrier, math_force_eval): Remove.
6628 (libc_feholdexcept_setround_53bit): Remove.
6629 (libc_feupdateenv_53bit): Remove.
6630 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6631 (math_opt_barrier, math_force_eval): Remove.
6632 (libc_feholdexcept): Remove.
6633 (libc_feholdexcept_setround): Remove.
6634 (libc_fetestexcept, libc_fesetenv): Remove.
6635 (libc_feupdateenv_test): Remove.
6636 (libc_feupdateenv, libc_feholdsetround): Remove.
6637 (libc_feresetround): Remove.
6638
d0adc922
RH
6639 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6640 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6641
0fe0f1f8
RH
6642 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6643 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6644 (libc_feupdateenv_testl): New.
6645 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6646 (libc_feupdateenv_testf): New.
6647 (libc_feupdateenv): Use libc_feupdateenv_test.
6648 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6649 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6650
eb92c487
RH
6651 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6652 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6653 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6654 (libc_feresetround_noex): New.
6655 (libc_feresetround_noexf): New.
6656 (libc_feresetround_noexl): New.
6657 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6658 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6659 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6660 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6661 SET_RESTORE_ROUND.
6662 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6663 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6664 (__cos): Likewise.
6665 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6666 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6667 SET_RESTORE_ROUND_NOEX.
6668 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6669 SET_RESTORE_ROUND_NOEXF.
6670 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6671 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6672 (libc_feholdsetroundf): New.
6673 (libc_feresetround, libc_feresetroundf): New.
6674
7d2e8012
RH
6675 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6676 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6677 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6678
b4dabbb4
RH
6679 * sysdeps/generic/math_private.h: Include <fenv.h>.
6680 (default_libc_feholdexcept): New.
6681 (default_libc_feholdexcept_setround): New.
6682 (default_libc_fesetenv, default_libc_feupdateenv): New.
6683 (libc_feholdexcept): Only define if undefined.
6684 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6685 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6686 (libc_feholdexcept_setroundl): Likewise.
6687 (libc_feholdexcept_setround_53bit): Likewise.
6688 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6689 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6690 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6691 (libc_feupdateenv_53bit): Likewise.
6692 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6693 (libc_feholdexcept): Convert from macro to inline function.
6694 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6695 (libc_fesetenv, libc_feupdateenv): Likewise.
6696
4851a949
RH
6697 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6698 not previously defined.
6699 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6700 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6701 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6702 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6703 * sysdeps/ieee754/flt-32/math_private.h: New file.
6704 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6705 math_private.h below SET_FLOAT_WORD.
6706 (__isnan, __isinf_ns, __finite): Remove.
6707 (__isnanf, __isinf_nsf, __finitef): Remove.
6708
e79d442e
AS
67092012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6710
6711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6712
90b80344
DM
67132012-03-17 David S. Miller <davem@davemloft.net>
6714
6715 [BZ #6471]
6716 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6717 for 2.16.
6718
edc21804
DM
67192012-03-16 David S. Miller <davem@davemloft.net>
6720
77e927af
DM
6721 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6722 warnings.
6723
374976dd
DM
6724 [BZ #6471]
6725 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6726 properly.
6727 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6728 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6729 sysdep_routines when subdir is sysvipc.
6730 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6731 __getshmlba helper.
6732
edc21804
DM
6733 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6734
473c3ef3
L
67352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6736
6737 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6738 [__LP64__].
6739
eb0f39b6
L
67402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6741
6742 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6743 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6744 (__lround): Renamed to ...
6745 (__llround): This. Replace long int with long long int.
6746 Define lround functions as aliases of llround functions.
6747 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6748
6b6cd74b
L
67492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6750
6751 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6752 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6753 adresses to uintptr_t. Replace "long int" and "unsigned long
6754 int" with "greg_t" on va_arg.
6755
f1a77b01
L
67562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6757
6758 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6759 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6760
6761 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6762 Move e_machine check before EI_CLASS check. Handle x32
6763 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6764 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6765 SKIP_EM_IA_64 and include
6766 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6767
6768 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6769 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6770 (add_system_dir): New macro.
6771
6772 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6773 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6774
11b90b9f
JM
67752012-03-16 Joseph Myers <joseph@codesourcery.com>
6776
c36e1d23
JM
6777 [BZ #2551]
6778 [BZ #2552]
6779 [BZ #2553]
6780 [BZ #2554]
6781 [BZ #2562]
6782 [BZ #2563]
6783 [BZ #2565]
6784 [BZ #2566]
6785 [BZ #2576]
6786 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6787 (y0): Likewise.
6788 * math/w_j0f.c (j0f): Likewise.
6789 (y0f): Likewise.
6790 * math/w_j0l.c (__j0l): Likewise.
6791 (__y0l): Likewise.
6792 * math/w_j1.c (j1): Likewise.
6793 (y1): Likewise.
6794 * math/w_j1f.c (j1f): Likewise.
6795 (y1f): Likewise.
6796 * math/w_j1l.c (__j1l): Likewise.
6797 (__y1l): Likewise.
6798 * math/w_jn.c (jn): Likewise.
6799 (yn): Likewise.
6800 * math/w_jnf.c (jnf): Likewise.
6801 (ynf): Likewise.
6802 * math/w_jnl.c (__jnl): Likewise.
6803 (__ynl): Likewise.
6804 * math/libm-test.inc (j0_test): Add more tests.
6805 (j1_test): Likewise.
6806 (jn_test): Likewise. Add trailing semicolon to existing test.
6807 (y0_test): Likewise.
6808 (y1_test): Likewise.
6809 * sysdeps/i386/fpu/libm-test-ulps: Update.
6810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6811
11b90b9f
JM
6812 [BZ #13851]
6813 [BZ #13854]
6814 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6815 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6816 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6817 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6818 (__tanl): Set errno for infinite argument.
6819 * sysdeps/i386/fpu/mptan.c: Remove.
6820 * sysdeps/i386/fpu/s_tan.S: Likewise.
6821 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6822 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6823 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6824 * math/libm-test.inc (tan_test): Add more tests and enable more
6825 tests for double and long double.
6826 * sysdeps/i386/fpu/libm-test-ulps: Update.
6827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6828
6a1bd2a1
JK
68292012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6830
6831 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6832 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6833
10a803e0
RM
68342012-03-16 Roland McGrath <roland@hack.frob.com>
6835
6836 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6837 * configure.in: Use it for both main tree and add-ons.
6838 * configure: Regenerated.
6839
f196c7f7
L
68402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6841
6842 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6843
8848d99d
JM
68442012-03-16 Joseph Myers <joseph@codesourcery.com>
6845
96cbe7f4
JM
6846 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6847 in comment.
6848
8848d99d
JM
6849 [BZ #13851]
6850 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6851 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6852 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6853 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6854 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6855 infinite argument.
6856 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6857 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6858 != 0 for prec == 2.
6859 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6860 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6861 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6862 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6863 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6864 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6865 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6866 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6867 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6868 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6869 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6870 * math/libm-test.inc (cos_test): Add more tests and enable more
6871 tests for long double.
6872 (sin_test): Likewise.
6873 (sincos_test): Likewise.
6874 * sysdeps/i386/fpu/libm-test-ulps: Update.
6875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6876
dd7f4703
DM
68772012-03-16 David S. Miller <davem@davemloft.net>
6878
6879 * sysdeps/sparc/fpu/math_private.h: New file.
6880
006f1daa
DM
68812012-03-15 David S. Miller <davem@davemloft.net>
6882
c0c83bc8
DM
6883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6884 file.
e6a62e18 6885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6887 file.
e6a62e18
DM
6888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6889 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6891 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6893 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6894 sysdep routines.
6895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6896
88cb87d9
DM
6897 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6898 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6899
006f1daa 6900 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6902 sparc-ifunc.h
006f1daa 6903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6905 Likewise.
6906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6907 Likewise.
006f1daa
DM
6908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6912 Likewise.
006f1daa
DM
6913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6918 Likewise.
6919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6920 Likewise.
006f1daa
DM
6921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6925 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6926 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6927 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6928 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6929 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6930 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6931 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6932 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6933 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6934 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6935 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6936 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6937 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6938 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6939 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6940 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6941 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6942 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6943 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6944 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6945
11e0098e
AS
69462012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6947
6948 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6949 scaling.
6950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6951
e85b09d0
AJ
69522012-03-15 Andreas Jaeger <aj@suse.de>
6953
6954 [BZ #13852]
6955 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6956 ieee754/flt-32 implementation for sin, cos and sincos.
6957 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6958 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6959 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6960 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6961 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6962 ieee754/flt-32 implementation for tan.
6963
6964 * math/libm-test.inc (cos_test): Enable some large input tests for
6965 float as well
6966 (sin_test): Likewise.
6967 (sincos_test): Likewise.
6968 (tan_test): Add tests for large input.
6969
6970 * sysdeps/i386/fpu/libm-test-ulps: Update.
6971
81c64153
AJ
69722012-03-15 Andreas Jaeger <aj@suse.de>
6973
6974 [BZ #13658]
6975 * math/libm-test.inc (cos_test): Add more test cases.
6976 (sin_test): Likewise.
6977 (sincos_test): Likewise.
6978
7bbfa5c6
AJ
69792012-03-15 Andreas Jaeger <aj@suse.de>
6980
6981 [BZ #13837]
6982 * math/libm-test.inc (cos_test): Add a test case for large input
6983 value.
6984 (sin_test): Likewise.
6985 (sincos_test): Likewise.
6986
69872012-03-15 Andreas Jaeger <aj@suse.de>,
6988 Joseph Myers <joseph@codesourcery.com>
6989
6990 [BZ #13658]
0671f479 6991 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6992 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6993 * sysdeps/i386/fpu/branred.c: Likewise.
6994 * sysdeps/i386/fpu/dosincos.c: Likewise.
6995 * sysdeps/i386/fpu/mpa.c: Likewise.
6996 * sysdeps/i386/fpu/s_cos.S: Likewise.
6997 * sysdeps/i386/fpu/s_sin.S: Likewise.
6998 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6999 * sysdeps/i386/fpu/sincos32.c: Likewise.
7000
7001 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7002 Define.
7003 (libc_feupdateenv_53bit): Define.
7004 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7005 Define.
7006 (libc_feupdateenv_53bit): Define.
7007
7008 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7009 53 bit (without extend i386 double precision).
7010
7011 * math/libm-test.inc (sincos_test): Add tests for large input.
7012 (sin): Likewise.
7013 (cos): Likewise.
7014
7015 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7016
9cad04ea
AS
70172012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7018
7019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7020
f7062b9a
DM
70212012-03-15 David S. Miller <davem@davemloft.net>
7022
7023 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7024 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7025 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7026 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7034 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7035 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7036 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7037 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
7038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7039 file.
f7062b9a 7040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
7041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7042 file.
f7062b9a 7043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
7044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7045 file.
f7062b9a 7046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
7047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7048 file.
f7062b9a
DM
7049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7050 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7051 fmin/fmax sysdep routines.
7052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7053
7bd951ff
DM
70542012-03-14 David S. Miller <davem@davemloft.net>
7055
559398ab
DM
7056 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7057 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7058 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7059 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7060 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7061 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7062 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7063 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7064 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7065 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7066 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7067 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7068 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7069 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7070 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7071 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7072 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7073 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7074 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7075 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7076 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7077 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7078 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7079 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7080 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7081 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7082 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7083 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7084 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7085 routines.
7086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7087 file.
559398ab 7088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
7089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7090 file.
559398ab 7091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
7092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7093 file.
559398ab 7094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
7095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7096 file.
559398ab 7097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
7098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7099 file.
559398ab 7100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
7101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7102 file.
7103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7104 file.
7105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7106 file.
7107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7108 file.
7109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7110 New file.
7111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7112 file.
7113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7114 file.
559398ab 7115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
7116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7117 file.
559398ab 7118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7120 file.
559398ab 7121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
7122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7123 file.
559398ab 7124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
7125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7126 VIS3 routines.
559398ab
DM
7127
7128 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7129 New file.
7130
5a1c1e32
DM
7131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7132
eae47a36
DM
7133 * sysdeps/sparc/configure.in: New file.
7134 * sysdeps/sparc/configure: Generate.
7135 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7136 * configure: Regenerate.
7137 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7138 * config.make.in (have-as-vis3): New.
7139 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7140 available use -Av9d instead of -Av9a.
7141 * sysdeps/sparc/sparc64/Makefile: Likewise.
7142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
7143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7144 New file.
7145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7146 file.
7147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7148 New file.
7149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7150 file.
eae47a36
DM
7151 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7152 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7153 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7154 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7155 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7156
c0c83bc8
DM
7157 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7158 fzeros/fnegs to load 0x80000000 into a float register instead of
7159 using the stack.
7bd951ff
DM
7160 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7161
bd951ccb
JM
71622012-03-14 Joseph Myers <joseph@codesourcery.com>
7163
7164 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7165 bits/syscall.h.
7166 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7167 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7168 ($(inst_includedir)/bits/syscall.h): Remove rule.
7169 ($(objpfx)bits/syscall.d): Include instead of
7170 $(objpfx)syscall-list.d.
7171 (generated): Change syscall-list.h and syscall-list.d to
7172 bits/syscall.h and bits/syscall.d.
7173
bb4e6db2
RM
71742012-03-14 Roland McGrath <roland@hack.frob.com>
7175
7176 [BZ #13846]
7177 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7178
aa4a2ae1
JM
71792012-03-14 Joseph Myers <joseph@codesourcery.com>
7180
e456826d
JM
7181 [BZ #13841]
7182 * math/s_csqrt.c: Include <float.h>.
7183 (__csqrt): Scale large or subnormal inputs.
7184 * math/s_csqrtf.c: Likewise.
7185 * math/s_csqrtl.c: Likewise.
7186 * math/libm-test.inc (csqrt_test): Add more tests.
7187 * sysdeps/i386/fpu/libm-test-ulps: Update.
7188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7189
aa4a2ae1
JM
7190 [BZ #13840]
7191 * math/libm-test.inc (hypot_test): Add more tests.
7192
7c10fd35
DM
71932012-03-13 David S. Miller <davem@davemloft.net>
7194
7195 [BZ #13840]
7196 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7197 double-precision for the calculation instead of scaling.
7198
f453b98b
JM
71992012-03-13 Joseph Myers <joseph@codesourcery.com>
7200
7201 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7202 manipulate bits before adding and subtracting TWO52[sx].
7203 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7204 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7205 Likewise.
7206 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7207
09a3453f
DM
72082012-03-13 David S. Miller <davem@davemloft.net>
7209
8e59da90
DM
7210 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7211 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7212 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7213 rtld-global-offsets.h
7214 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7215
2a8ab7f2
DM
7216 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7217 large parameters.
7218
10f62770
DM
7219 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7220
5f0bdb18
DM
7221 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7222 'err' in the ifdef scope in which it is actually used.
7223
09a3453f
DM
7224 * nss/nss_db/db-init.c: Include string.h
7225
b4b2eb5e
DM
72262012-03-12 David S. Miller <davem@davemloft.net>
7227
98bb2f1c
DM
7228 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7229 masking out of the most significant byte of random value used.
7230 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7231 Fix coding style in previous change.
7232
b4b2eb5e
DM
7233 * sysdeps/unix/sysv/linux/kernel-features.h
7234 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7235 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7236 expression.
7237 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7238 later.
7239
6e226b09
DM
72402012-03-11 David S. Miller <davem@davemloft.net>
7241
a1bcbd40
DM
7242 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7243 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7244 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7245 for 'resultvar' otherwise things get truncated on 64-bit.
7246
cb9d6174
DM
7247 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7248 Fix masking out of the most significant byte of random value used.
7249
6e226b09
DM
7250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7251
058c132d
AS
72522012-03-10 Andreas Schwab <schwab@linux-m68k.org>
7253
7254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7255
2d2cd515
DM
72562012-03-09 David S. Miller <davem@davemloft.net>
7257
7258 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7259 variables with appropriate CPP guards.
7260 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7261 frame pointer, not the stack pointer. Correct layout comments. Fix test
7262 on resulting framesize and the management of the outregs buffer for pltexit.
7263 Preserve floating point return values across _dl_call_pltexit call.
7264 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7265 framesize and the management of the outregs buffer for pltexit.
7266 Preserve floating point return values across _dl_call_pltexit
7267 call.
7268 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7269 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7270 (print_exit): Fix format string for return register value.
7271
9a07f9d0
JM
72722012-03-10 Joseph Myers <joseph@codesourcery.com>
7273
7274 * sunrpc/Makefile (others): Add rpcgen.
7275 ($(objpfx)rpcgen): Remove special build rule and dependency on
7276 libc.
7277 * sunrpc/rpcgen.c: New file.
7278
547b5e30
PE
72792012-03-09 Paul Eggert <eggert@cs.ucla.edu>
7280
c524201a
PE
7281 [BZ #13673]
7282 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7283 * stdio-common/bug-vfprintf-nargs.c: Likewise.
7284 * sysdeps/i386/crti.S: Likewise.
7285 * sysdeps/i386/crtn.S: Likewise.
7286 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7287 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7288 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7289 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7290 * sysdeps/sh/crti.S: Likewise.
7291 * sysdeps/sh/crtn.S: Likewise.
7292 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7293
7b6235f2
PE
7294 [BZ #13673]
7295 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7296 with URL.
7297 * locale/programs/locfile-kw.gperf: Likewise.
7298 * locale/programs/charmap-kw.h: Regenerated.
7299 * locale/programs/locfile-kw.h: Likewise.
7300
547b5e30
PE
7301 [BZ #13673]
7302 * intl/plural.y: Replace FSF snail mail address with URL.
7303 * intl/plural.c: Regenerated.
7304
5f0a5dae
RH
73052012-03-09 Richard Henderson <rth@twiddle.net>
7306
7307 * include/math_private.h: Remove file.
7308 * math/math_private.h: Move file ...
7309 * sysdeps/generic/math_private.h: ... here.
7310
b8c03620
RH
7311 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7312 * sysdeps/powerpc/fpu/math_private.h: Likewise.
7313 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7314
4e234f5d 7315 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
7316 and <math_private.h>.
7317 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7318 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7319 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7320 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7321 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7322 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
7323 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7324 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7325 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7326 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7327 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7328 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7329 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7330 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7331 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7332 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7333 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7334 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7335 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7336 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7337 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7338 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7339 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7340 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7341 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7342 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7343 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7344 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7345 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7346 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7347 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7348 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7349 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7350 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7351 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7352 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7353 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7354 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7355 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7356 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7357 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7358 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7359 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7360 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7361 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7362 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7363 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7364 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7365 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7366 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7367 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7368 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7369 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7370 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7371 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7372 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7373 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7374 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7375 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7376 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7377 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7378 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7379 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7380 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7381 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7382 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7383 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7384 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7385 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7386 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7387 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7388 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7389 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7390 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7391 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7392 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7393 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7394 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7395 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7396 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7397 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7398 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7399 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7400 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7401 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7402 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7403 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7404 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7405 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7406 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7407 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7408 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7409 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7410 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7411 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7412 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7413 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7414 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7415 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7416 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7417 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7418 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7419 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7420 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7421 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7422 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7423 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7424 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7425 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7426 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7427 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7428 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7429 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7430 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7431 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7432 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7433 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7434 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7435 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7436 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7437 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7438 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7439 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7440 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7441 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7442 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7443 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7444 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7445 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7446 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7447 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7448 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7449 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7450 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7451 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7452 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7453 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7454 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7455 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7456 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7457 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7458 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7459 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7460 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7461 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7462 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7463 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7464 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7465 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7466 * sysdeps/ieee754/k_standard.c: Likewise.
7467 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7468 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7469 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7470 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7471 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7472 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7473 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7474 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7475 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7476 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7477 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7478 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7479 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7480 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7481 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7482 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7483 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7484 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7485 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7486 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7487 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7488 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7489 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7490 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7491 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7492 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7493 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7494 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7495 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7496 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7497 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7498 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7499 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7500 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7501 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7502 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7503 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7504 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7505 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7506 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7507 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7508 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7509 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7510 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7511 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7512 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7513 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7514 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7515 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7516 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7517 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7518 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7519 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7520 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7521 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7522 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7523 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7524 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7525 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7526 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7527 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7528 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7529 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7530 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7531 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7532 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7533 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7534 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7535 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7536 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7537 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7538 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7539 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7540 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7541 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7542 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7543 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7544 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7545 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7546 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7547 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7548 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7549 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7550 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7551 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7552 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7553 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7554 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7555 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7556 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7557 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7558 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7559 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7560 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7561 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7562 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7563 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7564 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7565 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7566 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7567 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7568 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7569 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7570 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7571 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7572 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7573 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7574 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7575 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7576 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7577 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7578 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7579 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7580 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7581 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7582 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7583 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7584 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7585 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7586 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7587 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7588 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7589 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7590 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7591 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7592 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7593 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7594 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7595 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7596 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7597 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7598 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7599 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7600 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7601 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7602 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7603 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7604 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7605 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7606 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7607 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7608 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7609 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7610 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7611 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7612 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7613 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7614 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7615 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7616 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7617 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7618 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7619 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7620 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7621 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7622 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7623 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7624 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7625 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7626 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7627 * sysdeps/ieee754/s_lib_version.c: Likewise.
7628 * sysdeps/ieee754/s_matherr.c: Likewise.
7629 * sysdeps/ieee754/s_signgam.c: Likewise.
7630 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7631 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7632 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7633 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7634 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7635 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7636 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7637 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7638 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7639 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7640 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7641 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7642 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7643 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7644 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7645 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7646 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7647 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7648 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7649 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7650 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 7651
1991fa03
JM
76522012-03-09 Joseph Myers <joseph@codesourcery.com>
7653
7654 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7655 * sunrpc/rpc_main.c: Likewise.
7656 * sunrpc/rpc_svcout.c: Likewise.
7657
60d6f5a6
DM
76582012-03-09 David S. Miller <davem@davemloft.net>
7659
7660 * include/math_private.h: New file.
7661
4962050e
JM
76622012-03-09 Joseph Myers <joseph@codesourcery.com>
7663
02a6f887
JM
7664 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7665 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7666 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7667 from <bits/socket_type.h>.
7668 (enum __socket_type): Don't define here.
7669 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7670 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7671 bits/socket_type.h.
7672
c6e013c1
JM
7673 [BZ #13566]
7674 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7675 checking __USE_GNU.
7676
4962050e
JM
7677 * Makerules ($(inst_includedir)/%.h): New rule.
7678 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7679 (install-others): Remove variable setting.
7680 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7681
38842f45
RH
76822012-03-08 Richard Henderson <rth@twiddle.net>
7683
67bb6da6
RH
7684 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7685 from macro to inline function; merge with the
7686 !__LIBC_INTERNAL_MATH_INLINES version.
7687 (__ieee754_sqrtf): Likewise.
7688
15194b4b
RH
7689 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7690 to inline function.
7691 (__rintf, __floor, __floorf): Likewise.
7692
64e21ede
RH
7693 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7694 macro to inline function.
7695 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7696
38842f45
RH
7697 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7698 not <math/math_private.h>.
7699
c64bf5fe
DM
77002012-03-08 David S. Miller <davem@davemloft.net>
7701
7702 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7703 copyright year.
7704 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7705
82d86f28
TS
77062012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7707
7708 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7709 normalization.
7710 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7711 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7712
aea5d727
UD
77132012-03-08 Ulrich Drepper <drepper@gmail.com>
7714
7715 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7716 be defined individually, they must be defined as a block. Define
7717 S for printing a string instead of hidint the different by using a
7718 macro for adding the 'l'.
7719 * stdio-common/tst-fphex-wide.c: Adjust.
7720
70bca0a3
MP
77212012-03-07 Marek Polacek <polacek@redhat.com>
7722
7723 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7724
65b81130
MP
77252012-03-08 Marek Polacek <polacek@redhat.com>
7726
7727 [BZ #13806]
7728 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7729 * stdio-common/tst-fphex.c: Define a few macros to make the
7730 test reusable. Use them.
7731 * stdio-common/tst-fphex-wide.c: New file.
7732
07037eeb
JM
77332012-03-08 Joseph Myers <joseph@codesourcery.com>
7734
a7a93d50
JM
7735 [BZ #6911]
7736 * manual/macros.texi (gnusystems): New macro.
7737 (nongnusystems): Likewise.
7738 (gnulinuxhurdsystems): Likewise.
7739 (gnuhurdsystems): Likewise..
7740 (gnulinuxsystems): Likewise.
7741 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7742 variants of the GNU system, not "GNU system".
7743 * manual/conf.texi: Likewise.
7744 * manual/errno.texi: Likewise. Update example of errno macro
7745 expansion.
7746 * manual/filesys.texi: Likewise.
7747 (getumask): Document as specific to GNU/Hurd.
7748 * manual/install.texi: Likewise. Reword some references to
7749 GNU/Linux.
7750 * manual/intro.texi: Likewise.
7751 * manual/io.texi: Likewise.
7752 (File Name Portability): Detail which constraints are inapplicable
7753 to all GNU systems and which are only inapplicable to GNU/Hurd.
7754 * manual/job.texi: Likewise.
7755 * manual/llio.texi: Likewise.
7756 (O_NOCTTY): Document as present on GNU/Linux.
7757 * manual/maint.texi: Likewise.
7758 * manual/memory.texi: Likewise.
7759 * manual/pattern.texi: Likewise.
7760 * manual/pipe.texi: Likewise.
7761 * manual/process.texi: Likewise.
7762 * manual/resource.texi: Likewise.
7763 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7764 child on GNU/Hurd.
7765 * manual/setjmp.texi: Likewise.
7766 * manual/signal.texi: Likewise.
7767 * manual/startup.texi: Likewise.
7768 * manual/stdio.texi: Likewise.
7769 * manual/terminal.texi: Likewise.
7770 (ONLCR): Document as POSIX.
7771 (OXTABS): Document availability on GNU/Linux as XTABS.
7772 (ONOEOT): Document availability separately from other bits.
7773 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7774 * manual/time.texi: Likewise.
7775 * manual/users.texi: Likewise.
7776 * INSTALL: Regenerated.
7777 * sysdeps/gnu/errlist.c: Regenerated.
7778
07037eeb
JM
7779 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7780 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7781 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7782 puts.
7783 * configure: Regenerated.
7784
d1d3431a
JM
77852012-03-07 Joseph Myers <joseph@codesourcery.com>
7786
af6a1e37
JM
7787 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7788 default includes instead of AC_HEADER_CHECK.
7789 * sysdeps/i386/configure: Regenerated.
7790
d1d3431a
JM
7791 [BZ #10716]
7792 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7793 * math/s_cacoshf.c (__cacoshf): Likewise.
7794 * math/s_cacoshl.c (__cacoshl): Likewise.
7795 * math/s_casinh.c (__casinh): Set signs of result from argument.
7796 * math/s_casinhf.c (__casinhf): Likewise.
7797 * math/s_casinhl.c (__casinhl): Likewise.
7798 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7799 (casinh_test): Add more tests.
7800 * sysdeps/i386/fpu/libm-test-ulps: Update.
7801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7802
482ff4da
UD
78032012-03-07 Ulrich Drepper <drepper@gmail.com>
7804
872fda05
UD
7805 * po/zh_TW.po: Update from translation team.
7806
a4300c7a
UD
7807 * login/Makefile (distribute): Remove variable.
7808 * catgets/Makefile: Likewise.
7809 * mach/Makefile: Likewise.
7810 * malloc/Makefile: Likewise.
7811 * misc/Makefile: Likewise.
7812 * iconv/Makefile: Likewise.
7813 * nscd/Makefile: Likewise.
7814 * hurd/Makefile: Likewise.
7815 * manual/Makefile: Likewise.
7816 * locale/Makefile: Likewise.
7817 * intl/Makefile: Likewise.
7818 * conform/Makefile: Likewise.
7819 * nss/Makefile: Likewise.
7820 * time/Makefile: Likewise.
7821 * soft-fp/Makefile: Likewise.
7822 * dirent/Makefile: Likewise.
7823 * gmon/Makefile: Likewise.
7824 * po/Makefile: Likewise.
7825 * rt/Makefile: Likewise.
7826 * socket/Makefile: Likewise.
7827 * math/Makefile: Likewise.
7828 * signal/Makefile: Likewise.
7829 * debug/Makefile: Likewise.
7830 * elf/Makefile: Likewise.
7831 * timezone/Makefile: Likewise.
7832 * stdlib/Makefile: Likewise.
7833 * iconvdata/Makefile: Likewise.
7834 * sunrpc/Makefile: Likewise.
7835 * io/Makefile: Likewise.
7836 * argp/Makefile: Likewise.
7837 * inet/Makefile: Likewise.
7838 * hesiod/Makefile: Likewise.
7839 * grp/Makefile: Likewise.
7840 * csu/Makefile: Likewise.
7841 * wctype/Makefile: Likewise.
7842 * crypt/Makefile: Likewise.
7843 * libio/Makefile: Likewise.
7844 * string/Makefile: Likewise.
7845 * nis/Makefile: Likewise.
7846 * resolv/Makefile: Likewise.
7847 * stdio-common/Makefile: Likewise.
7848 * wcsmbs/Makefile: Likewise.
7849 * dlfcn/Makefile: Likewise.
7850 * posix/Makefile: Likewise.
7851
3b7c4e74 7852 [BZ #6959]
482ff4da
UD
7853 * timezone/Makefile: Don't install timezone files, just the programs
7854 and scripts.
7855
f72ed77d
UD
78562012-03-06 Ulrich Drepper <drepper@gmail.com>
7857
a000466f
UD
7858 * nss/databases.def: Add missing gshadow entry.
7859
f72ed77d
UD
7860 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7861
a53b7a4e
MP
78622012-03-06 Marek Polacek <polacek@redhat.com>
7863
7864 [BZ #13726]
7865 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7866 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7867 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7868 * stdio-common/tst-long-dbl-fphex.c: New file.
7869
e9258400
DM
78702012-03-06 David S. Miller <davem@davemloft.net>
7871
7872 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7873 (set_obp_int): New function.
7874 (get_obp_int): New function.
7875 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7876 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7877 Avoid unused variable warnings on 'val' and use builtin_expect.
7878 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7879 __builtin_expect.
e9258400
DM
7880 (INLINE_CLONE_SYSCALL): Likewise.
7881
3bd2c723
DM
78822012-03-05 David S. Miller <davem@davemloft.net>
7883
7884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7885
bbb78d03
AS
78862012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7887
884c5db4
AS
7888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7889
bbb78d03
AS
7890 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7891 only for |x| >= 40.
7892 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7893
1c9f702a 78942012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7895
7896 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7897 Replace gettimeofday with __vdso_gettimeofday.
7898
7be16f82
RM
7899 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7900 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7901 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7902
7903 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7904 time with __vdso_time.
7905
ed58a00f
JM
79062012-03-05 Joseph Myers <joseph@codesourcery.com>
7907
7908 * manual/lang.texi (size_t): Note types to which size_t may be
7909 equivalent with the GNU C Library, but do not describe when
7910 differences between them are significant.
7911
30ee4ced
AJ
79122012-03-05 Andreas Jaeger <aj@suse.de>
7913
7914 * sysdeps/i386/fpu/libm-test-ulps: Update.
7915
b7cd39e8
JM
79162012-03-05 Joseph Myers <joseph@codesourcery.com>
7917
7918 [BZ #3976]
7919 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7920 (__ieee754_pow): Save and restore rounding mode and use
7921 round-to-nearest for main computations.
7922 * math/libm-test.inc (pow_test_tonearest): New function.
7923 (pow_test_towardzero): Likewise.
7924 (pow_test_downward): Likewise.
7925 (pow_test_upward): Likewise.
7926 (main): Call the new functions.
7927 * sysdeps/i386/fpu/libm-test-ulps: Update.
7928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7929
7930 [BZ #3976]
7931 * math/libm-test.inc (cosh_test_tonearest): New function.
7932 (cosh_test_towardzero): Likewise.
7933 (cosh_test_downward): Likewise.
7934 (cosh_test_upward): Likewise.
7935 (sinh_test_tonearest): Likewise.
7936 (sinh_test_towardzero): Likewise.
7937 (sinh_test_downward): Likewise.
7938 (sinh_test_upward): Likewise.
7939 (main): Call the new functions.
7940 * sysdeps/i386/fpu/libm-test-ulps: Update.
7941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7942
6c6a98c9
TV
79432012-03-05 Tom de Vries <tom@codesourcery.com>
7944
7945 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7946 default stack guard is set in last bytes.
7947 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7948
21bb2d2e 79492012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7950
21bb2d2e 7951 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7952
21bb2d2e
AJ
7953 [BZ #13656]
7954 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7955 possibly allocate from heap instead of stack.
7956 * stdio-common/bug-vfprintf-nargs.c: New file.
7957 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7958
c6922934
AS
79592012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7960
7961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7962
bc957d53
MP
79632012-03-03 Marek Polacek <polacek@redhat.com>
7964
7965 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7966 * math/math_private.h: Likewise.
7967 * stdlib/tst-strtod.c: Likewise.
7968 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7969 * sysdeps/x86_64/bits/atomic.h: Likewise.
7970
6358490d
DM
79712012-03-02 David S. Miller <davem@davemloft.net>
7972
7973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7977 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7978 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7979 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7980 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7981
01ae168d
RM
79822012-03-02 Roland McGrath <roland@hack.frob.com>
7983
d9a17c07
RM
7984 [BZ #13792]
7985 * manual/examples/README: New file, says the example source files
7986 can be used under GPL>=2.
7987 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7988 line containing just "*/".
7989 * manual/examples/add.c: Add copyright header (GPL>=2).
7990 * manual/examples/argp-ex1.c: Likewise.
7991 * manual/examples/argp-ex2.c: Likewise.
7992 * manual/examples/argp-ex3.c: Likewise.
7993 * manual/examples/argp-ex4.c: Likewise.
7994 * manual/examples/atexit.c: Likewise.
7995 * manual/examples/db.c: Likewise.
7996 * manual/examples/dir.c: Likewise.
7997 * manual/examples/dir2.c: Likewise.
7998 * manual/examples/execinfo.c: Likewise.
7999 * manual/examples/filecli.c: Likewise.
8000 * manual/examples/filesrv.c: Likewise.
8001 * manual/examples/fmtmsgexpl.c: Likewise.
8002 * manual/examples/genpass.c: Likewise.
8003 * manual/examples/inetcli.c: Likewise.
8004 * manual/examples/inetsrv.c: Likewise.
8005 * manual/examples/isockad.c: Likewise.
8006 * manual/examples/longopt.c: Likewise.
8007 * manual/examples/memopen.c: Likewise.
8008 * manual/examples/memstrm.c: Likewise.
8009 * manual/examples/mkfsock.c: Likewise.
8010 * manual/examples/mkisock.c: Likewise.
8011 * manual/examples/mygetpass.c: Likewise.
8012 * manual/examples/pipe.c: Likewise.
8013 * manual/examples/popen.c: Likewise.
8014 * manual/examples/rprintf.c: Likewise.
8015 * manual/examples/search.c: Likewise.
8016 * manual/examples/select.c: Likewise.
8017 * manual/examples/setjmp.c: Likewise.
8018 * manual/examples/sigh1.c: Likewise.
8019 * manual/examples/sigusr.c: Likewise.
8020 * manual/examples/stpcpy.c: Likewise.
8021 * manual/examples/strdupa.c: Likewise.
8022 * manual/examples/strftim.c: Likewise.
8023 * manual/examples/strncat.c: Likewise.
8024 * manual/examples/subopt.c: Likewise.
8025 * manual/examples/swapcontext.c: Likewise.
8026 * manual/examples/termios.c: Likewise.
8027 * manual/examples/testopt.c: Likewise.
8028 * manual/examples/testpass.c: Likewise.
8029 * manual/examples/timeval_subtract.c: Likewise.
8030
01ae168d
RM
8031 [BZ #13792]
8032 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8033 function to ...
8034 * manual/timeval_subtract.c.texi: ... here, new file.
8035
49efa33d
DM
80362012-03-02 David S. Miller <davem@davemloft.net>
8037
8038 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8039
28afd92d
JM
80402012-03-02 Joseph Myers <joseph@codesourcery.com>
8041
804360ed
JM
8042 [BZ #3976]
8043 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8044 (__sin): Save and restore rounding mode and use round-to-nearest
8045 for all computations.
8046 (__cos): Save and restore rounding mode and use round-to-nearest
8047 for all computations.
8048 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8049 <fenv.h>.
8050 (tan): Save and restore rounding mode and use round-to-nearest for
8051 all computations.
8052 * math/libm-test.inc (cos_test_tonearest): New function.
8053 (cos_test_towardzero): Likewise.
8054 (cos_test_downward): Likewise.
8055 (cos_test_upward): Likewise.
8056 (sin_test_tonearest): Likewise.
8057 (sin_test_towardzero): Likewise.
8058 (sin_test_downward): Likewise.
8059 (sin_test_upward): Likewise.
8060 (tan_test_tonearest): Likewise.
8061 (tan_test_towardzero): Likewise.
8062 (tan_test_downward): Likewise.
8063 (tan_test_upward): Likewise.
8064 (main): Call the new functions.
8065 * sysdeps/i386/fpu/libm-test-ulps: Update.
8066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8067
a6d06d7b
JM
8068 [BZ #10135]
8069 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8070 small n, then large n, before computing and testing k+n.
8071 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8072 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8073 Likewise.
8074 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8075 Likewise.
8076 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8077 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8078 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8079 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8080 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8081 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8082 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8083 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8084 * math/libm-test.inc (scalbn_test): Add more tests.
8085 (scalbln_test): Likewise.
8086
07e12bb3
JM
8087 * manual/filesys.texi (mode_t): Describe constraints on size and
8088 signedness, not exact equivalence to a particular type.
8089 (ino_t): Likewise.
8090 (ino64_t): Likewise.
8091 (dev_t): Likewise.
8092 (nlink_t): Likewise.
8093 (blkcnt_t): Likewise.
8094 (blkcnt64_t): Likewise.
8095 * manual/llio.texi (off_t): Likewise.
8096
28afd92d
JM
8097 [BZ #3976]
8098 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8099 (__ieee754_exp): Save and restore rounding mode and use
8100 round-to-nearest for all computations.
8101 * math/libm-test.inc (exp_test_tonearest): New function.
8102 (exp_test_towardzero): Likewise.
8103 (exp_test_downward): Likewise.
8104 (exp_test_upward): Likewise.
8105 (main): Call the new functions.
8106 * sysdeps/i386/fpu/libm-test-ulps: Update.
8107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8108
b1eeb65d
CD
81092012-03-01 Chris Demetriou <cgd@google.com>
8110
8111 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8112 have predictable order.
8113
53362a4b
DM
81142012-03-01 David S. Miller <davem@davemloft.net>
8115
3c969083
DM
8116 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8117
759707de
DM
8118 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8119 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8120 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8121 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8122
dfdb8ff2
DM
8123 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8124 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8125 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8127 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8128 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8129 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8130 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8131 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8132
ead89f96
DM
8133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8134
7f66bd07
DM
8135 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8136 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8137 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8138
53362a4b
DM
8139 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8140 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8141 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8142 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8143 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8144 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8145 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8146 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8147 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8148 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8149 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8150 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8151 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8152 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8153 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8154 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8155 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8156 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8157 * sysdeps/sparc/elf/configure: Regenerated.
8158
7b1902cb
JM
81592012-03-01 Joseph Myers <joseph@codesourcery.com>
8160
bec039bc
JM
8161 * configure.in (AS, LD): Require binutils 2.20 or later.
8162 * configure: Regenerated.
8163 * manual/install.texi (Tools for Compilation): Give binutils 2.20
8164 as required minimum version.
8165 * INSTALL: Regenerated.
8166
7b1902cb
JM
8167 [BZ #2541]
8168 [BZ #4108]
8169 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8170 before squaring exponent.
8171 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8172 bottom long double and 27 bits of top long double before squaring
8173 exponent.
8174 * math/libm-test.inc (erfc_test): Add more tests.
8175 * sysdeps/i386/fpu/libm-test-ulps: Update.
8176 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8178
f775c276
KT
81792012-03-01 Kai Tietz <ktietz@redhat.com>
8180
8181 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8182 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8183 containing bit-fields.
8184 * soft-fp/extended.h (_FP_UNION_E): Likewise.
8185 * soft-fp/single.h (_FP_UNION_S): Likewise.
8186 * soft-fp/double.h (_FP_UNION_D): Likewise.
8187
5b8a4d4a
JM
81882012-02-29 Joseph Myers <joseph@codesourcery.com>
8189
0bab47b6
JM
8190 [BZ #13786]
8191 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8192 not include ../strcmp.S.
8193 [USE_AS_STRNCASECMP_L]: Likewise.
8194 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8195 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8196 * sysdeps/i386/i686/multiarch/strncase_l-c.c
8197 (__strncasecmp_l_ia32): Define as alias to
8198 __strncasecmp_l_nonascii.
8199
0fcad3e2
JM
8200 [BZ #5794]
8201 * math/libm-test.inc (expm1_test): Add test for bug 5794.
8202 * sysdeps/i386/fpu/libm-test-ulps: Update.
8203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8204
5b8a4d4a
JM
8205 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8207
8fdceb2e
JL
82082012-02-29 Jeff Law <law@redhat.com>
8209
8210 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8211 out of bounds read.
8212
1f393a11
MP
82132012-02-29 Marek Polacek <polacek@redhat.com>
8214
8215 [BZ #13706]
8216 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8217 * elf/Makefile: Add rules to run tst-unused-dep.out.
8218
8847f037
DM
82192012-02-28 David S. Miller <davem@davemloft.net>
8220
8221 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8222 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8223 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8224 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8225 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8226 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8227
169d7f11
JM
82282012-02-29 Joseph Myers <joseph@codesourcery.com>
8229
8230 * math/libm-test.inc (llround_test): Move one test from
8231 lround_test. Use TEST_f_L in moved test.
8232 (lround_test): Move misplaced test to llround_test. Add testcase
8233 from bug 2561.
8234
39adf059
UD
82352012-02-28 Ulrich Drepper <drepper@gmail.com>
8236
8237 * sysdeps/x86_64/fpu/e_expf.S: New file.
8238 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8239
71b5d1c5
SB
82402012-02-28 Stanislav Brabec <sbrabec@suse.cz>
8241
8242 [BZ #13637]
8243 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8244 of remain_len that may cause incomplete multi-byte character and
8245 false match.
8246 * posix/bug-regex33.c: New file.
8247 * posix/Makefile (tests): Add bug-regex33.
8248
1f77f049
JM
82492012-02-28 Joseph Myers <joseph@codesourcery.com>
8250
8251 * manual/macros.texi: New file.
8252 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8253 * manual/libc.texinfo: Include macros.texi.
8254 * manual/creatute.texi: Likewise.
8255 * manual/install.texi: Likewise.
8256 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8257 @glibcadj{} in references to the GNU C Library.
8258 * manual/charset.texi: Likewise.
8259 * manual/conf.texi: Likewise.
8260 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
8261 when not using those macros.
8262 * manual/creature.texi: Likewise.
8263 * manual/crypt.texi: Likewise.
8264 * manual/errno.texi: Likewise.
8265 * manual/filesys.texi: Likewise.
8266 * manual/header.texi: Likewise.
8267 * manual/install.texi: Likewise.
8268 * manual/intro.texi: Likewise.
8269 * manual/io.texi: Likewise.
8270 * manual/job.texi: Likewise.
8271 * manual/lang.texi: Likewise.
8272 * manual/libc.texiinfo: Likewise.
8273 * manual/llio.texi: Likewise.
8274 * manual/locale.texi: Likewise.
8275 * manual/maint.texi: Likewise.
8276 * manual/math.texi: Likewise.
8277 * manual/memory.texi: Likewise.
8278 * manual/message.texi: Likewise.
8279 * manual/nss.texi: Likewise.
8280 * manual/pattern.texi: Likewise.
8281 * manual/process.texi: Likewise.
8282 * manual/resource.texi: Likewise.
8283 * manual/search.texi: Likewise.
8284 * manual/setjmp.texi: Likewise.
8285 * manual/signal.texi: Likewise.
8286 * manual/socket.texi: Likewise.
8287 * manual/startup.texi: Likewise.
8288 * manual/stdio.texi: Likewise.
8289 * manual/string.texi: Likewise.
8290 * manual/sysinfo.texi: Likewise.
8291 * manual/syslog.texi: Likewise.
8292 * manual/terminal.texi: Likewise.
8293 * manual/time.texi: Likewise.
8294 * manual/users.texi: Likewise.
8295 * INSTALL: Regenerated.
8296 * NOTES: Regenerated.
d40c5d54 8297 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 8298
450bf206
AS
82992012-02-28 Andreas Schwab <schwab@linux-m68k.org>
8300
8301 * include/dirent.h: Include <dirstream.h> before
8302 <dirent/dirent.h>.
8303
741a235b
DM
83042012-02-28 David S. Miller <davem@davemloft.net>
8305
8306 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
8307 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
8308 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8309 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8310
d6b5aa58
DM
83112012-02-27 David S. Miller <davem@davemloft.net>
8312
1aff59a3
DM
8313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8315 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8316 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8317
d6b5aa58
DM
8318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8319 frame pointer instead of stack pointer relative arg slot.
8320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8321 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8322 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8323
433f48bf
CD
83242012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
8325
8326 [BZ #3992]
8327 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8328
d674b76d
DM
83292012-02-27 David S. Miller <davem@davemloft.net>
8330
8331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8335 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8336 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8337 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8338 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8339
0e7727f7
JM
83402012-02-27 Joseph Myers <joseph@codesourcery.com>
8341
8342 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8343 later. Allow versions 5-9.
43be4ca2 8344 * configure: Regenerated.
0e7727f7
JM
8345 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8346 required minimum version and 4.6 as recommended version. Do not
8347 mention bugs in GCC 2.7 and 2.8.
43be4ca2 8348 * INSTALL: Regenerated.
0e7727f7 8349
a78bc654
DM
83502012-02-27 David S. Miller <davem@davemloft.net>
8351
428d5830
DM
8352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8356 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8357 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8358 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8359 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8360
a78bc654
DM
8361 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8362 manipulate bits before adding and subtracting TWO112[sx].
8363 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8364
4579f81c
RM
83652012-02-27 Roland McGrath <roland@hack.frob.com>
8366
36c8acb4
RM
8367 [BZ #13775]
8368 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8369 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8370 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8371 being in POSIX, because they are in 1003.1-2008.
8372
84ad622b
RM
8373 * rt/tst-aio.c: Include <fcntl.h>.
8374 * rt/tst-aio7.c: Likewise.
8375 * rt/tst-aio64.c: Likewise.
8376
4579f81c
RM
8377 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8378
abd923db
JM
83792012-02-27 Joseph Myers <joseph@codesourcery.com>
8380
8381 * manual/install.texi (--with-headers): Describe headers as
8382 interface headers, not private headers.
8383 (Specific advice for GNU/Linux systems): Describe use of headers
8384 from "make headers_install", not private headers from older
8385 kernels.
43be4ca2 8386 * INSTALL: Regenerated.
abd923db
JM
8387 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8388 Change to 2.6.19.
8389 * sysdeps/unix/sysv/linux/configure: Regenerated.
8390
6664049b
JM
8391 * manual/llio.texi (fclean): Remove documentation.
8392
bb8b6697
JM
8393 * manual/Makefile (libc-texi-generated): New variable. Include
8394 version.texi.
8395 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8396 $(libc-texi-generated), not duplicated list of files.
8397 (version.texi, stamp-version): New rules.
8398 (realclean): Remove $(libc-texi-generated), not individual files
8399 from that list. Do not remove dir-add.texinfo.
8400 * manual/libc.texinfo: Comment out uses of edition numbers and
8401 references to printed manual. Remove last-updated dates.
8402 (EDITION): Comment out.
8403 (ISBN): Likewise.
8404 (VERSION, UPDATED): Remove.
8405 (version.texi): Include.
8406
12e5c3b9
AS
84072012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8408
8409 * sysdeps/posix/spawni.c: Include <signal.h>.
8410 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8411 * sysdeps/pthread/aio_fsync.c: Likewise.
8412
4efeffc1 84132012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 8414
ba63ba08
UD
8415 * conform/Makefile (tests): Run only when not cross-compiling and
8416 when fast-check is not defined.
8417
d94a4670
UD
8418 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8419 * conform/data/limits.h-data: Fixes for POSIX2008.
8420 * conform/run-conformtest.sh: Run all tests.
8421 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8422 headers.
8423 * include/bits/dlfcn.h: Likewise.
8424 * include/langinfo.h: Likewise.
8425 * include/monetary.h: Likewise.
8426 * include/sys/poll.h: Likewise.
8427
8428 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8429 for __USE_GNU.
8430 * posix/spawn.h: Define __need_sigset_t.
8431 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8432 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8433 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8434 to get sigevent_t only.
8435 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8436 only for __USE_GNU.
8437 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8438 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8439 process_vm_writev only for __USE_GNU.
8440 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
8441
8442 * conform/Makefile: For now ignore errors from run-conformtest.
8443 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8444 POSIX to avoid namespace pollution. Don't prepend headers.
8445 * conform/data/aio.h-data: Fixes for POSIX testing.
8446 * conform/data/fcntl.h-data: Likewise.
8447 * conform/data/glob.h-data: Likewise.
8448 * conform/data/grp.h-data: Likewise.
8449 * conform/data/pthread.h-data: Likewise.
8450 * conform/data/pwd.h-data: Likewise.
8451 * conform/data/signal.h-data: Likewise.
8452 * conform/data/spawn.h-data: Likewise.
8453 * conform/data/stdio.h-data: Likewise.
8454 * conform/data/stdlib.h-data: Likewise.
8455 * conform/data/stropts.h-data: Likewise.
8456 * conform/data/sys/mman.h-data: Likewise.
8457 * conform/data/sys/stat.h-data: Likewise.
8458 * conform/data/sys/types.h-data: Likewise.
8459 * conform/data/sys/wait.h-data: Likewise.
8460 * conform/data/time.h-data: Likewise.
8461 * conform/data/unistd.h-data: Likewise.
8462 * conform/data/utime.h-data: Likewise.
8463
8464 * io/sys/stat.h: fchmod was always in POSIX.
8465 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8466 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8467 * rt/aio.h: Define __need_timespec before including <time.h>.
8468 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8469 struct. Add forward declaration of pthread_attr_t and use it in
8470 sigevent.
8471 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8472 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8473 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8474 always remove CLK_TCK definition.
8475
c20105c3
AS
84762012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8477
8478 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8479
7a270350
UD
84802012-02-25 Ulrich Drepper <drepper@gmail.com>
8481
31341567
UD
8482 * conform/run-conformtest.sh: New file.
8483 * conform/Makefile: Run run-conformtest for tests.
8484 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8485 support.
8486
8487 * conform/data/uchar.h-data: New file.
8488 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8489 * conform/data/arpa/inet.h-data: Likewise.
8490 * conform/data/assert.h-data: Likewise.
8491 * conform/data/complex.h-data: Likewise.
8492 * conform/data/cpio.h-data: Likewise.
8493 * conform/data/ctype.h-data: Likewise.
8494 * conform/data/dirent.h-data: Likewise.
8495 * conform/data/dlfcn.h-data: Likewise.
8496 * conform/data/errno.h-data: Likewise.
8497 * conform/data/fcntl.h-data: Likewise.
8498 * conform/data/float.h-data: Likewise.
8499 * conform/data/fmtmsg.h-data: Likewise.
8500 * conform/data/fnmatch.h-data: Likewise.
8501 * conform/data/ftw.h-data: Likewise.
8502 * conform/data/glob.h-data: Likewise.
8503 * conform/data/grp.h-data: Likewise.
8504 * conform/data/iconv.h-data: Likewise.
8505 * conform/data/inttypes.h-data: Likewise.
8506 * conform/data/langinfo.h-data: Likewise.
8507 * conform/data/libgen.h-data: Likewise.
8508 * conform/data/limits.h-data: Likewise.
8509 * conform/data/locale.h-data: Likewise.
8510 * conform/data/math.h-data: Likewise.
8511 * conform/data/monetary.h-data: Likewise.
8512 * conform/data/mqueue.h-data: Likewise.
8513 * conform/data/ndbm.h-data: Likewise.
8514 * conform/data/net/if.h-data: Likewise.
8515 * conform/data/netdb.h-data: Likewise.
8516 * conform/data/netinet/in.h-data: Likewise.
8517 * conform/data/nl_types.h-data: Likewise.
8518 * conform/data/poll.h-data: Likewise.
8519 * conform/data/pthread.h-data: Likewise.
8520 * conform/data/pwd.h-data: Likewise.
8521 * conform/data/regex.h-data: Likewise.
8522 * conform/data/sched.h-data: Likewise.
8523 * conform/data/search.h-data: Likewise.
8524 * conform/data/semaphore.h-data: Likewise.
8525 * conform/data/setjmp.h-data: Likewise.
8526 * conform/data/signal.h-data: Likewise.
8527 * conform/data/spawn.h-data: Likewise.
8528 * conform/data/stdarg.h-data: Likewise.
8529 * conform/data/stdio.h-data: Likewise.
8530 * conform/data/stdlib.h-data: Likewise.
8531 * conform/data/string.h-data: Likewise.
8532 * conform/data/strings.h-data: Likewise.
8533 * conform/data/stropts.h-data: Likewise.
8534 * conform/data/sys/ipc.h-data: Likewise.
8535 * conform/data/sys/mman.h-data: Likewise.
8536 * conform/data/sys/msg.h-data: Likewise.
8537 * conform/data/sys/resource.h-data: Likewise.
8538 * conform/data/sys/select.h-data: Likewise.
8539 * conform/data/sys/sem.h-data: Likewise.
8540 * conform/data/sys/shm.h-data: Likewise.
8541 * conform/data/sys/socket.h-data: Likewise.
8542 * conform/data/sys/stat.h-data: Likewise.
8543 * conform/data/sys/statvfs.h-data: Likewise.
8544 * conform/data/sys/time.h-data: Likewise.
8545 * conform/data/sys/timeb.h-data: Likewise.
8546 * conform/data/sys/times.h-data: Likewise.
8547 * conform/data/sys/types.h-data: Likewise.
8548 * conform/data/sys/uio.h-data: Likewise.
8549 * conform/data/sys/un.h-data: Likewise.
8550 * conform/data/sys/utsname.h-data: Likewise.
8551 * conform/data/sys/wait.h-data: Likewise.
8552 * conform/data/syslog.h-data: Likewise.
8553 * conform/data/tar.h-data: Likewise.
8554 * conform/data/termios.h-data: Likewise.
8555 * conform/data/utime.h-data: Likewise.
8556 * conform/data/utmpx.h-data: Likewise.
8557 * conform/data/varargs.h-data: Likewise.
8558 * conform/data/wchar.h-data: Likewise.
8559 * conform/data/wctype.h-data: Likewise.
8560 * conform/data/wordexp.h-data: Likewise.
8561
8562 * include/stropts.h: New file.
8563 * include/uchar.h: New file.
8564 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8565 * include/assert.h: Likewise.
8566 * include/ctype.h: Likewise.
8567 * include/dirent.h: Likewise.
8568 * include/dlfcn.h: Likewise.
8569 * include/fcntl.h: Likewise.
8570 * include/fnmatch.h: Likewise.
8571 * include/glob.h: Likewise.
8572 * include/grp.h: Likewise.
8573 * include/libio.h: Likewise.
8574 * include/locale.h: Likewise.
8575 * include/math.h: Likewise.
8576 * include/net/if.h: Likewise.
8577 * include/netdb.h: Likewise.
8578 * include/netinet/in.h: Likewise.
8579 * include/pthread.h: Likewise.
8580 * include/pwd.h: Likewise.
8581 * include/regex.h: Likewise.
8582 * include/sched.h: Likewise.
8583 * include/search.h: Likewise.
8584 * include/setjmp.h: Likewise.
8585 * include/signal.h: Likewise.
8586 * include/stdio.h: Likewise.
8587 * include/stdlib.h: Likewise.
8588 * include/string.h: Likewise.
8589 * include/sys/cdefs.h: Likewise.
8590 * include/sys/mman.h: Likewise.
8591 * include/sys/msg.h: Likewise.
8592 * include/sys/resource.h: Likewise.
8593 * include/sys/select.h: Likewise.
8594 * include/sys/socket.h: Likewise.
8595 * include/sys/stat.h: Likewise.
8596 * include/sys/statvfs.h: Likewise.
8597 * include/sys/time.h: Likewise.
8598 * include/sys/times.h: Likewise.
8599 * include/sys/uio.h: Likewise.
8600 * include/sys/utsname.h: Likewise.
8601 * include/sys/wait.h: Likewise.
8602 * include/termios.h: Likewise.
8603 * include/time.h: Likewise.
8604 * include/ulimit.h: Likewise.
8605 * include/unistd.h: Likewise.
8606 * include/utime.h: Likewise.
8607 * include/wchar.h: Likewise.
8608 * include/wctype.h: Likewise.
8609 * include/wordexp.h: Likewise.
8610
8611 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8612
7a270350
UD
8613 * time/time.h: TIME_UTC must be a macro.
8614 Make timespec_get available for ISO C11 only as well.
8615
7724defc
UD
86162012-02-24 Ulrich Drepper <drepper@gmail.com>
8617
8618 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8619 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8620
6b1d1d46
JM
86212012-02-24 Joseph Myers <joseph@codesourcery.com>
8622
8623 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 8624
0f8bbd69
JM
86252012-02-24 Joseph Myers <joseph@codesourcery.com>
8626
8627 * manual/texinfo.tex: Update to version 2012-01-19.16.
8628
66ab80bc
JM
86292012-02-24 Joseph Myers <joseph@codesourcery.com>
8630
8631 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8632
74981cc5
RM
86332012-02-24 Roland McGrath <roland@hack.frob.com>
8634
ee968201
RM
8635 [BZ #13738]
8636 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8637 * manual/fdl-1.3.texi: New file.
8638 * manual/fdl-1.1.texi: File removed.
8639
74981cc5
RM
8640 [BZ #13738]
8641 * manual/libc.texinfo (FDL_VERSION): New @set.
8642 Use it for mention of FDL in cover text.
8643 (Documentation License): Use it in @include file name.
8644
7bb764bc
JM
86452012-02-22 Joseph Myers <joseph@codesourcery.com>
8646 Roland McGrath <roland@hack.frob.com>
8647
8648 [BZ #5461]
8649 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8650 not LONG_LONG_MAX and LONG_LONG_MIN.
8651 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8652 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8653 name.
8654 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8655
6cbeae47
JM
86562012-02-22 Joseph Myers <joseph@codesourcery.com>
8657
8658 [BZ #2547]
8659 [BZ #11365]
8660 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8661 manipulate bits before adding and subtracting TWO23[sx].
8662 * math/libm-test.inc (nearbyint_test): Add more tests.
8663
fe45ce09
JM
86642012-02-22 Joseph Myers <joseph@codesourcery.com>
8665
8666 [BZ #2548]
8667 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8668 bits before adding and subtracting TWO23[sx].
8669 * math/libm-test.inc (rint_test): Add more tests.
8670 (rint_test_tonearest): Likewise.
8671 (rint_test_towardzero): Likewise.
8672 (rint_test_downward): Likewise.
8673 (rint_test_upward: Likewise.
8674
ff3b3d82
JM
86752012-02-22 Joseph Myers <joseph@codesourcery.com>
8676
8677 [BZ #10110]
8678 * include/stdc-predef.h: New file. Extracted from features.h.
8679 * include/features.h: Include stdc-predef.h.
8680 * Makefile (headers): Add stdc-predef.h.
8681 * CONFORMANCE (Compiler limitations): Update.
8682
ef0aab35
JM
86832012-02-22 Joseph Myers <joseph@codesourcery.com>
8684
8685 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8686
58639409
DM
86872012-02-21 David S. Miller <davem@davemloft.net>
8688
8689 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8690 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8691
c0e70b25
DM
86922012-02-20 David S. Miller <davem@davemloft.net>
8693
8694 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8695 using a normal save/restore sequence, rather than allocating a
8696 dummy stack frame just to store a frame pointer and restore.
8697 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8698
fb06851d
JM
86992012-02-21 Joseph Myers <joseph@codesourcery.com>
8700
8701 * manual/install.texi: Fix stray word in line-wrapped comment.
8702
7a8b71c3
DM
87032012-02-20 David S. Miller <davem@davemloft.net>
8704
d510c123
DM
8705 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8706 both binutils and gcc support GOTDATA.
8707
0722d7c2
DM
8708 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8709 "rd %pc" in the PIC register setup sequences.
8710
3d2b3019
DM
8711 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8712 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8713 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8714 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8715 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8716 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8717 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8718 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8719 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8720 (SYSCALL_ERROR_HANDLER): Likewise.
8721 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8722 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8723 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8724 (SYSCALL_ERROR_HANDLER): Likewise.
8725
c80098a9
DM
8726 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8727 (HAVE_GCC_GOTDATA): New.
8728 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8729 relocation support in both binutils and gcc.
8730 * sysdeps/sparc/elf/configure: Regenerate.
8731
3a2545a0
DM
8732 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8733 * sysdeps/sparc/sparc32/elf/configure: Delete.
8734 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8735 * sysdeps/sparc/sparc64/elf/configure: Delete.
8736 * sysdeps/sparc/elf/configure.in: New file.
8737 * sysdeps/sparc/elf/configure: Generate.
8738
7a8b71c3
DM
8739 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8740 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8741 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8742 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8743 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8744
f1e86fca
JM
87452012-02-21 Joseph Myers <joseph@codesourcery.com>
8746
8747 * manual/install.texi: Do not mention specific glibc version
8748 numbers.
8749 * manual/libc.texinfo (VERSION, UPDATED): Update.
8750 (@copying): Use @copyright{} and range of years.
8751
0e7dfaef
JM
87522012-02-21 Joseph Myers <joseph@codesourcery.com>
8753
8754 [BZ #13695]
8755 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8756 [crti.S not in sysdirs] (generated): Do not append.
8757 [crti.S not in sysdirs] (omit-deps): Likewise.
8758 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8759 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8760 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8761 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8762 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8763 Likewise.
8764 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8765 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8766 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8767 * csu/defs.awk: Remove file.
8768 * sysdeps/generic/initfini.c: Likewise.
8769 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8770 variable.
8771 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8772 Likewise.
8773
599af3ca
JM
87742012-02-20 Joseph Myers <joseph@codesourcery.com>
8775
8776 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8777 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8778 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8779 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8780 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8781 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8782 <bits/epoll.h>.
8783 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8784 (__EPOLL_PACKED): Define to empty if not defined by
8785 <bits/epoll.h>.
8786 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8787 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8788 bits/epoll.h.
8789
0e499750
JM
87902012-02-20 Joseph Myers <joseph@codesourcery.com>
8791
8792 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8793 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8794 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8795 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8796 <bits/timerfd.h>.
8797 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8798 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8799 bits/timerfd.h.
8800
5ad91f6e
JM
88012012-02-20 Joseph Myers <joseph@codesourcery.com>
8802
8803 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8804 in C locale.
8805 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8806 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8807 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8809
06b99b02
AJ
88102012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8811
8812 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8813 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8814
7638c0fd
AS
88152012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8816
8817 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8818 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8819 defined.
8820 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8821 Likewise.
8822 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8823 entry for 2.16.
8824
92221550
AJ
88252012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8826
8827 * math/w_acos.c: Use non-signaling floating-point comparisons.
8828 * math/w_acosf.c: Likewise.
8829 * math/w_acosh.c: Likewise.
8830 * math/w_acoshf.c: Likewise.
8831 * math/w_acoshl.c: Likewise.
8832 * math/w_acosl.c: Likewise.
8833 * math/w_asin.c: Likewise.
8834 * math/w_asinf.c: Likewise.
8835 * math/w_asinl.c: Likewise.
8836 * math/w_atanh.c: Likewise.
8837 * math/w_atanhf.c: Likewise.
8838 * math/w_atanhl.c: Likewise.
8839 * math/w_exp2.c: Likewise.
8840 * math/w_exp2f.c: Likewise.
8841 * math/w_exp2l.c: Likewise.
8842 * math/w_j0.c: Likewise.
8843 * math/w_j0f.c: Likewise.
8844 * math/w_j0l.c: Likewise.
8845 * math/w_j1.c: Likewise.
8846 * math/w_j1f.c: Likewise.
8847 * math/w_j1l.c: Likewise.
8848 * math/w_jn.c: Likewise.
8849 * math/w_jnf.c: Likewise.
8850 * math/w_log.c: Likewise.
8851 * math/w_log10.c: Likewise.
8852 * math/w_log10f.c: Likewise.
8853 * math/w_log10l.c: Likewise.
8854 * math/w_log2.c: Likewise.
8855 * math/w_log2f.c: Likewise.
8856 * math/w_log2l.c: Likewise.
8857 * math/w_logf.c: Likewise.
8858 * math/w_logl.c: Likewise.
8859 * math/w_sqrt.c: Likewise.
8860 * math/w_sqrtf.c: Likewise.
8861 * math/w_sqrtl.c: Likewise.
8862 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8863 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8864 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8865 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8866 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8867
ebaf36eb
JM
88682012-02-19 Joseph Myers <joseph@codesourcery.com>
8869
8870 [BZ #9739]
8871 * manual/string.texi (strnlen): Use correct parameter name in
8872 equivalent expression.
8873
71c254a6
JM
88742012-02-19 Joseph Myers <joseph@codesourcery.com>
8875
8876 [BZ #11174]
8877 * manual/users.texi (seteuid): Consistently use neweuid for
8878 argument name.
8879
16d2c631
JM
88802012-02-19 Joseph Myers <joseph@codesourcery.com>
8881
8882 [BZ #13704]
8883 * manual/nss.texi (Services in the NSS configuration): Correct
8884 list of services in example configuration file.
8885
cd837b09
NB
88862012-02-19 Nick Bowler <nbowler@draconx.ca>
8887
8888 [BZ #11322]
8889 * manual/arith.texi: Remove statements about negative zero
8890 behaving identically to zero.
8891
02c4bbad
JM
88922012-02-18 Joseph Myers <joseph@codesourcery.com>
8893
8894 [BZ #5993]
8895 * manual/install.texi: Do not document upgrading from libc5.
8896
366842e7
JM
88972012-02-18 Joseph Myers <joseph@codesourcery.com>
8898
8899 [BZ #4596]
8900 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8901
dd54084d
DM
89022012-02-18 David S. Miller <davem@davemloft.net>
8903
8904 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8905 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8906 %o7 across the call.
8907 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8908 instead.
8909 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8910 SETUP_PIC_REG_LEAF.
8911 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8912 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8913 * sysdeps/sparc/crtn.S: Likewise.
8914
2bcc53a3
UD
89152012-02-17 Ulrich Drepper <drepper@gmail.com>
8916
8917 * aout/Makefile: Remove.
8918
09c093b5
RK
89192012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8920
8921 [BZ #13058]
8922 * manual/examples/argp-ex1.c (main): Format definition in GNU
8923 style.
8924 * manual/examples/argp-ex2.c (main): Likewise.
8925 * manual/examples/argp-ex3.c (main): Likewise.
8926 * manual/examples/argp-ex4.c (main): Likewise.
8927 * manual/examples/longopt.c (main): Use new-style prototype
8928 definition.
8929 * manual/examples/strncat.c (main): Specify return type and use
8930 (void) for arguments.
8931 * manual/examples/subopt.c (main): Use char **argv argument.
8932
2ee633a2
JM
89332012-02-17 Joseph Myers <joseph@codesourcery.com>
8934
8935 [BZ #5077]
8936 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8937 rounding modes.
8938
0520adde
FB
89392012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8940
8941 [BZ #6907]
8942 * manual/string.texi (strchr): Change when strchrnul is
8943 recommended.
8944
3f4081cd
DGM
89452012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8946
8947 [BZ #174]
8948 * manual/locale.texi (setlocale): Document LOCPATH.
8949
d1b10e78
JM
89502012-02-17 Joseph Myers <joseph@codesourcery.com>
8951
8952 [BZ #10210]
8953 * manual/process.texi (execle): Move @dots{} before last argument.
8954
79c6869c
PB
89552012-02-17 Paul Bolle <pebolle@tiscali.nl>
8956
8957 [BZ #12047]
8958 * manual/charset.texi (Generic Charset Conversion): Fix typo
8959 (LC_TYPE -> LC_CTYPE).
8960
cc6e48bc
NB
89612012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8962
8963 [BZ #5805]
8964 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8965 (scalbnf): Likewise.
8966 (scalbnl): Likewise.
8967 (scalbln): Likewise.
8968 (scalblnf): Likewise.
8969 (scalblnl): Likewise.
8970 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8971 (vwarnx): Likewise.
8972 (verr): Likewise.
8973 (verrx): Likewise.
8974 * manual/filesys.texi (telldir): Use braces around return type.
8975 * manual/llio.texi (mmap): Add space after comma.
8976 (mmap64): Likewise.
8977 * manual/math.texi (jn): Use @var{} on parameter names.
8978 (jnf): Likewise.
8979 (jnl): Likewise.
8980 (yn): Likewise.
8981 (ynf): Likewise.
8982 (ynl): Likewise.
8983 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8984 line.
8985 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8986 "...".
8987 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8988 (sched_get_priority_max): Likewise.
8989 * manual/signal.texi (sigvec): Add space after comma.
8990 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8991 names.
8992 (if_indextoname): Likewise.
8993 (if_freenameindex): Likewise.
8994 (sendto): Use ',' instead of '.' in prototype.
8995 * manual/startup.texi (syscall): Use @dots{} instead of literal
8996 "...".
8997 * manual/stdio.texi (__fpending): Separate initial words of
8998 paragraph from @deftypefun line.
8999 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9000 "...".
9001 (vsyslog): Use @var{} on parameter names.
9002 * manual/terminal.texi (stty): Use @var{} on parameter names.
9003 * manual/users.texi (getutmp): Use @var{} on parameter names.
9004 (getutmpx): Likewise.
9005
5b23062f
JM
90062012-02-17 Joseph Myers <joseph@codesourcery.com>
9007
9008 [BZ #6884]
9009 * manual/stdio.texi (fopen): Fix typos in description of
9010 ",ccs=STRING".
9011
8dee4833
AJ
90122012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9013
9014 [BZ #4026]
9015 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9016 get clock_id definition.
9017
9078ce93
TS
90182012-02-17 Thomas Schwinge <thomas@schwinge.name>
9019
9020 [BZ #4822]
9021 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9022 (madvise): Cast every argument to void on its own.
9023
3835c55f
JM
90242012-02-17 Joseph Myers <joseph@codesourcery.com>
9025
9026 [BZ #9902]
9027 * manual/startup.texi (Exit Status): Fix typo.
9028
35c47e37
JM
90292012-02-17 Joseph Myers <joseph@codesourcery.com>
9030
9031 [BZ #10140]
9032 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9033 * manual/examples/argp-ex2.c: Likewise.
9034 * manual/examples/argp-ex3.c: Likewise.
9035
e3b69ca7
RH
90362012-02-16 Richard Henderson <rth@redhat.com>
9037
9038 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9039 * sysdeps/s390/s390-32/initfini.c: Remove.
9040 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9041 * sysdeps/s390/s390-64/initfini.c: Remove.
9042
df83af67
KK
90432012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9044
9045 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9046 compiler output for sysdeps/generic/initfini.c.
9047 * sysdeps/sh/elf/initfini.c: Remove file.
9048
f63f3380
DM
90492012-02-16 David S. Miller <davem@davemloft.net>
9050
fb59b3a4
DM
9051 [BZ #11494]
9052 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9053
f63f3380
DM
9054 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9055 * sysdeps/sparc/crti.S: New file.
9056 * sysdeps/sparc/crtn.S: New file.
9057 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9058 * sysdeps/sparc/sparc64/Makefile: Likewise.
9059
df6a4a4a
MF
90602012-02-15 Mike Frysinger <vapier@gentoo.org>
9061
6dd8f3dc 9062 [BZ #3335]
df6a4a4a
MF
9063 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9064
1cac7236
RM
90652012-02-15 Roland McGrath <roland@hack.frob.com>
9066
d2c736f8
RM
9067 [BZ #4822]
9068 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9069
1cac7236
RM
9070 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9071 (write, read, close): Likewise.
9072 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9073
8e475601
JM
90742012-02-15 Joseph Myers <joseph@codesourcery.com>
9075
9076 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9077 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9078 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9079 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9080 <bits/signalfd.h>.
9081 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9082 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9083 bits/signalfd.h.
9084
ed656b40
MP
90852012-02-14 Marek Polacek <polacek@redhat.com>
9086
9087 * sysdeps/x86_64/crti.S: New file.
9088 * sysdeps/x86_64/crtn.S: New file.
9089 * sysdeps/x86_64/elf/initfini.c: Remove file.
9090
2a979d3a
JM
90912012-02-13 Joseph Myers <joseph@codesourcery.com>
9092
9093 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9094 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9095 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9096 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9097 <bits/inotify.h>.
9098 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9099 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9100 bits/inotify.h.
9101
2a418ac3
JM
91022012-02-13 Joseph Myers <joseph@codesourcery.com>
9103
9104 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9105 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9106 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9107 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9108 <bits/eventfd.h>.
9109 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9110 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9111 bits/eventfd.h.
9112
fb779be7
TS
91132012-02-10 Thomas Schwinge <thomas@codesourcery.com>
9114
e19e83c5
RM
9115 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9116 __feraiseexcept instead of feraiseexcept.
7c35ffed 9117
fb779be7
TS
9118 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9119 nanosleep invocations.
9120 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9121 strings, and add error checking for a nanosleep invocations.
9122
59ba27a6
PE
91232012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9124
9125 Replace FSF snail mail address with URLs, as per GNU coding standards.
9126 Most of the snail mail addresses were wrong anyway, and omitting
9127 them makes the source code easier to maintain. Almost all of the
9128 changes are to license notices and to locale LC_IDENTIFICATION
9129 addresses, except for this one:
9130 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9131 not its snail mail address.
9132
57b957eb
RH
91332012-02-09 Richard Henderson <rth@twiddle.net>
9134
af850b1c
RH
9135 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9136 of kernel-features.h.
9137
57b957eb
RH
9138 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9139
6b73181a
MP
91402012-02-08 Marek Polacek <polacek@redhat.com>
9141
9142 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9143 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9144 * sysdeps/gnu/_G_config.h: Likewise.
9145 * sysdeps/generic/_G_config.h: Likewise.
9146
26ecc33a
AS
91472012-02-08 Andreas Schwab <schwab@linux-m68k.org>
9148
6c6dbc63
AS
9149 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9150 tests.
9151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9152
e216c012
AS
9153 * sysdeps/powerpc/powerpc32/crti.S: New file.
9154 * sysdeps/powerpc/powerpc32/crtn.S: New file.
9155 * sysdeps/powerpc/powerpc64/crti.S: New file.
9156 * sysdeps/powerpc/powerpc64/crtn.S: New file.
9157
26ecc33a
AS
9158 * Makeconfig (have-initfini): Don't set.
9159 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9160 * configure.in (nopic_initfini): Don't substitute.
9161 * config.h.in (HAVE_INITFINI): Don't #undef.
9162 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9163 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9164
3add8e13
JM
91652012-02-08 Joseph Myers <joseph@codesourcery.com>
9166
9167 Support crti.S and crtn.S provided directly by architectures.
9168 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9169 [crti.S in sysdirs] (omit-deps): Likewise.
9170 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9171 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9172 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9173 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9174 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9175 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9176 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9177 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9178 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9179 compiler output for sysdeps/generic/initfini.c.
9180 * sysdeps/i386/elf/Makefile: Remove file.
9181 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9182
a22f12b4
MP
91832012-02-07 Marek Polacek <polacek@redhat.com>
9184
9185 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9186 * sysdeps/gnu/_G_config.h: Likewise.
9187 * sysdeps/mach/hurd/_G_config.h: Likewise.
9188
148cf100
MP
91892012-02-07 Marek Polacek <polacek@redhat.com>
9190
9191 * math/Makefile (tests): Add tst-CMPLX2.
9192 * math/tst-CMPLX2.c: New file.
9193
cfdc0dd7
AS
91942012-02-07 Andreas Schwab <schwab@linux-m68k.org>
9195
84ba42c4
AS
9196 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9197
cfdc0dd7
AS
9198 * math/libm-test.inc (jn_test): Add missing L suffix.
9199
622c86f4
MP
92002012-02-06 Marek Polacek <polacek@redhat.com>
9201
9202 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9203 * sysdeps/i386/fpu/e_powf.S: Likewise.
9204 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9205 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9206 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9207 * sysdeps/i386/fpu/e_pow.S: Likewise.
9208 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9209 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9210 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9211 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9212 * sysdeps/i386/fpu/e_log2.S: Likewise.
9213 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9214 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9215 * sysdeps/i386/fpu/e_powl.S: Likewise.
9216 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9217 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9218 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9219 * sysdeps/i386/fpu/e_logl.S: Likewise.
9220 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9221 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9222 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9223 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9224 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9225 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9226 * sysdeps/i386/fpu/e_log.S: Likewise.
9227 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9228 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9229 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9230 * sysdeps/i386/fpu/e_logf.S: Likewise.
9231 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9232 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9233 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9234 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9235 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9236 * sysdeps/i386/fpu/e_log10.S: Likewise.
9237 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9238 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9239 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9240 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9241 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9242 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9243 * sysdeps/i386/asm-syntax.h: Likewise.
9244 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9245 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9246 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9247 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9248 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9249 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9250 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9251 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9252 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9253 * sysdeps/powerpc/sysdep.h: Likewise.
9254 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9255 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9256
d4a54ac6
JM
92572012-02-06 Joseph Myers <joseph@codesourcery.com>
9258
9259 [BZ #411]
9260 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9261
314054ea
JM
92622012-02-06 Joseph Myers <joseph@codesourcery.com>
9263
9264 * sysdeps/i386/sysdep.h: Include <features.h>.
9265 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9266 version.
9267
d8e0ca50
JM
92682012-02-05 Joseph Myers <joseph@codesourcery.com>
9269
9270 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9271 Define.
9272 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9273 LOAD_PIC_REG_STR.
9274
b1da7dd9
JM
92752012-02-03 Joseph Myers <joseph@codesourcery.com>
9276
9277 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9278 (SETUP_PIC_REG): Use GET_PC_THUNK.
9279 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9280 macro.
9281
9a1d9254
JM
92822012-02-03 Joseph Myers <joseph@codesourcery.com>
9283
9284 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9285 for non-PIC compilation.
9286 (SETUP_PIC_REG): Add .p2align directive.
9287 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9288 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9289 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9290 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9291 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9292 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9293 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9294 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9295 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9296 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9297 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9298 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9299 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9300 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9301 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9302 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9303 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9304 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9305 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9306 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9307 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9308 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9309 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9310 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9311 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9312 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9313 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9314 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9315 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9316 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9317 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9318 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9319 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9320 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9321 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9322 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9323 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9324 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9325 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9326 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9327 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9328
65dc3b75
JM
93292012-02-03 Joseph Myers <joseph@codesourcery.com>
9330
9331 * math/tst-CMPLX.c: Include <stdio.h>.
9332
d55bf177
JM
93332012-01-31 Joseph Myers <joseph@codesourcery.com>
9334
9335 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9336 float.
9337 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9338 * sysdeps/sparc/bits/mathdef.h: Likewise.
9339
69db4f8f
MP
93402012-01-31 Marek Polacek <polacek@redhat.com>
9341
9342 * libio/libio.h: Don't define _PARAMS.
9343 * locale/programs/config.h: Don't define PARAMS.
9344 * stdlib/strtol_l.c: Likewise.
9345 (__strtol_l): Remove PARAMS from the prototype.
9346
41b81892
UD
93472012-01-31 Ulrich Drepper <drepper@gmail.com>
9348
3b49edc0
UD
9349 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
9350 names. Just use the correct names. Remove unnecessary wrapper
9351 functions.
9352 * malloc/arena.c: Likewise.
9353 * malloc/hooks.c: Likewise.
9354
41b81892
UD
9355 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9356 ARENA_TEST says not to. Simplify test for creation of a new arena.
9357 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9358
27a25b6e
UD
93592012-01-30 Ulrich Drepper <drepper@gmail.com>
9360
9361 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9362 into tail calls.
9363 (update_get_addr): New function.
9364 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9365 GET_ADDR_MODULE parameter.
9366
c8a89e7d
JM
93672012-01-30 Joseph Myers <joseph@codesourcery.com>
9368
9369 * crypt/cert.c: Remove __STDC__ conditionals.
9370 * crypt/crypt-entry.c: Likewise.
9371 * crypt/crypt_util.c: Likewise.
9372 * libio/filedoalloc.c: Likewise.
9373 * libio/fileops.c: Likewise.
9374 * libio/genops.c: Likewise.
9375 * libio/iofclose.c: Likewise.
9376 * libio/iofdopen.c: Likewise.
9377 * libio/iofopen.c: Likewise.
9378 * libio/iofopen64.c: Likewise.
9379 * libio/iogetdelim.c: Likewise.
9380 * libio/iopopen.c: Likewise.
9381 * libio/obprintf.c: Likewise.
9382 * libio/oldfileops.c: Likewise.
9383 * libio/oldiofclose.c: Likewise.
9384 * libio/oldiofdopen.c: Likewise.
9385 * libio/oldiofopen.c: Likewise.
9386 * libio/oldiopopen.c: Likewise.
9387 * libio/wfiledoalloc.c: Likewise.
9388 * libio/wgenops.c: Likewise.
9389 * locale/programs/xmalloc.c: Likewise.
9390 * misc/syslog.c: Likewise.
9391 * stdio-common/xbug.c: Likewise.
9392 * string/memchr.c: Likewise.
9393 * string/memcmp.c: Likewise.
9394 * string/memrchr.c: Likewise.
9395 * string/rawmemchr.c: Likewise.
9396 * sysdeps/posix/getcwd.c: Likewise.
9397 * time/strftime_l.c: Likewise.
9398
3b100462
JM
93992012-01-30 Joseph Myers <joseph@codesourcery.com>
9400
9401 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
9402 * config.make.in (config-cflags-sse2avx): Define.
9403 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9404 Fix typo.
9405
607998af
CM
94062012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9407
9408 * scripts/config.guess: Update from upstream config git repository.
9409 * scripts/config.sub: Likewise.
9410
3601428f
CM
94112012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9412
3ac8b282
CM
9413 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9414 (EM_NUM): Update.
9415 (R_TILEPRO_*, R_TILEGX_*): New macros.
9416
e034841e
CM
9417 * scripts/firstversions.awk: Fix bug in version range handling.
9418
540d7568
CM
9419 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9420
3601428f
CM
9421 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9422
463de862
CM
9423 * include/sys/epoll.h: New file.
9424 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9425 libc_hidden_def.
9426
73139a76
UD
94272012-01-28 Ulrich Drepper <drepper@gmail.com>
9428
96bc5b45
UD
9429 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9430 Avoid unnecessary __WORDSIZE == 64 test.
9431 (fmaxf): Use VEX format if possible.
9432 (fmax): Likewise.
9433 (fminf): Likewise.
9434 (fmin): Likewise.
9435
56f6f6a2
UD
9436 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9437 * math/math_private.h: Remove libc_fegetround* and
9438 libc_fesetround*.
9439 * sysdeps/i386/configure.in: Check for -msse2avx.
9440 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9441 also if SSE2AVX is defined.
9442 Remove libc_fegetround* and libc_fesetround*.
9443 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9444 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9445 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9446 of HAS_YMM_USABLE.
9447 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9448 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9449 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9450 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9451 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9452
73139a76
UD
9453 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9454
d73f93a4
AZ
94552012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9456
9457 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9458 size is not set.
9459 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9460
6ee65ed6
UD
94612012-01-27 Ulrich Drepper <drepper@gmail.com>
9462
9463 [BZ #13618]
9464 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9465 relocation.
9466 * Makeconfig (libm): Define.
9467 * elf/Makefile: Add rules to build and run tst-relsort1.
9468 * elf/tst-relsort1.c: New file.
9469 * elf/tst-relsort1mod1.c: New file.
9470 * elf/tst-relsort1mod2.c: New file.
9471
8db21882
JM
94722012-01-27 Joseph Myers <joseph@codesourcery.com>
9473
9474 * math/s_ldexp.c: Remove __STDC__ conditionals.
9475 * math/s_ldexpf.c: Likewise.
9476 * math/s_ldexpl.c: Likewise.
9477 * math/s_nextafter.c: Likewise.
9478 * math/s_nexttowardf.c: Likewise.
9479 * math/s_significand.c: Likewise.
9480 * math/s_significandf.c: Likewise.
9481 * math/s_significandl.c: Likewise.
9482 * math/w_jnl.c: Likewise.
9483 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9484 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9485 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9486 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9487 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9488 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9489 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9490 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9491 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9492 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9493 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9494 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9495 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9496 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9497 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9498 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9499 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9500 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9501 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9502 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9503 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9504 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9505 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9506 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9507 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9508 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9509 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9510 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9511 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9512 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9513 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9514 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9515 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9516 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9517 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9518 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9519 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9520 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9521 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9522 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9523 * sysdeps/ieee754/k_standard.c: Likewise.
9524 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9525 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9526 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9527 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9528 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9529 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9530 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9531 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9532 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9533 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9534 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9535 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9536 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9537 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9538 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9539 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9540 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9541 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9542 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9543 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9544 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9545 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9546 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9547 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9548 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9549 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9550 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9551 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9552 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9553 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9554 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9555 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9556 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9557 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9558 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9559 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9560 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9561 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9562 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9563 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9564 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9565 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9566 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9567 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9568 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9569 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9570 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9571 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9572 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9573 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9574 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9575 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9576 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9577 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9578 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9579 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9580 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9581 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9582 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9583 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9584 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9585 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9586 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9587 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9588 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9589 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9590 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9591 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9592 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9593 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9594 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9595 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9596 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9597 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9598 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9599 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9600 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9601 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9602 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9603 * sysdeps/ieee754/s_matherr.c: Likewise.
9604 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9605 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9606 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9607 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9608
965a54a4
JM
96092012-01-26 Joseph Myers <joseph@codesourcery.com>
9610
9611 * crypt/md5.h: Remove __STDC__ conditionals.
9612 * libio/libioP.h: Likewise.
9613 * locale/programs/config.h: Likewise.
9614 * sysdeps/generic/sysdep.h: Likewise.
9615 * sysdeps/i386/asm-syntax.h: Likewise.
9616 * sysdeps/s390/asm-syntax.h: Likewise.
9617 * sysdeps/unix/sysdep.h: Likewise.
9618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9620
7071ad79
JM
96212012-01-26 Joseph Myers <joseph@codesourcery.com>
9622
9623 * libio/libio.h: Remove __STDC__ conditionals.
9624 * malloc/obstack.h: Likewise.
9625 * math/complex.h: Likewise.
9626 * math/math.h: Likewise.
9627 * sysdeps/generic/_G_config.h: Likewise.
9628 * sysdeps/gnu/_G_config.h: Likewise.
9629 * sysdeps/mach/hurd/_G_config.h: Likewise.
9630 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9631 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9632 * sysdeps/sparc/bits/mathdef.h: Likewise.
9633
afc5ed09
UD
96342012-01-26 Ulrich Drepper <drepper@gmail.com>
9635
9636 [BZ #13583]
9637 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 9638 Clean up HAS_* macros.
afc5ed09 9639 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
9640 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9641 possible.
9642 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9643 HAS_AVX.
9644 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9645 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9646 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9647 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9648 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 9649
bdb6de1d
JM
96502012-01-25 Joseph Myers <joseph@codesourcery.com>
9651
9652 * elf/tst-unique3.cc (gets): Remove declaration.
9653 * elf/tst-unique3lib.cc (gets): Likewise.
9654 * elf/tst-unique3lib2.cc (gets): Likewise.
9655 * elf/tst-unique4.cc (gets): Likewise.
9656
b15549e6
UD
96572012-01-24 Ulrich Drepper <drepper@gmail.com>
9658
9659 * include/stdio.h: Add C++ protection. Add gets declarations and
9660 definitions.
9661 * debug/tst-chk1.c: Don't declare gets here.
9662 * stdio-common/tst-gets.c: Likewise.
9663
a037381f
JM
96642012-01-24 Joseph Myers <joseph@codesourcery.com>
9665
9666 * posix/glob: Remove directory.
9667
f1d4aa75
JM
96682012-01-24 Joseph Myers <joseph@codesourcery.com>
9669
9670 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9671
81c0c964
PT
96722012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9673
9674 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9675 of the non-standard EPFNOSUPPORT.
9676
0ea698ae
ST
96772011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9678
9679 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9680 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9681 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9682
d220b117
UD
96832012-01-21 Ulrich Drepper <drepper@gmail.com>
9684
9685 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9686
3e1aa84e
UD
96872012-01-20 Ulrich Drepper <drepper@gmail.com>
9688
9689 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9690 transient errors.
9691 * nscd/grpcache.c (cache_addgr): Likewise.
9692 * nscd/hstcache.c (cache_addhst): Likewise.
9693 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9694 * nscd/pwdcache.c (cache_addpw): Likewise.
9695 * nscd/servicescache.c (cache_addserv): Likewise.
9696
400aa020
UD
96972012-01-16 Ulrich Drepper <drepper@gmail.com>
9698
d77e7869
UD
9699 * malloc/malloc.c: Various cleanups.
9700 * malloc/hooks.c: Likewise.
9701
400aa020
UD
9702 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9703 * stdlib/bug-fmtmsg1.c: New file.
9704
9705 * stdlib/fmtmsg.c (init): Add missing unlock.
9706 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9707
e0a309cf
MP
97082012-01-12 Marek Polacek <polacek@redhat.com>
9709
9710 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9711 and _GNU_SOURCE.
9712
929d11c7
WS
97132012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9714
9715 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9716 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9717 macro to ensure uniqueness of label name.
9718 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9719 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9720
41d0e869
UD
97212012-01-11 Ulrich Drepper <drepper@gmail.com>
9722
0cc5ed3b
UD
9723 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9724
41d0e869
UD
9725 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9726 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9727 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9728 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9729
a47a831a
UD
97302012-01-10 Ulrich Drepper <drepper@gmail.com>
9731
daa891c0
UD
9732 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9733
9734 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9735 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9736 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9737
e58ef0f2
UD
9738 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9739
a47a831a 9740 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9741 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9742 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9743 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9744
9745 * math/bits/math-finite.h: Add ldexp support.
9746
a0bfc9c7
MP
97472012-01-10 Marek Polacek <polacek@redhat.com>
9748
9749 * locale/programs/localedef.h (show_archive_content): Add noreturn
9750 attribute.
9751
d6e97a1d
UD
97522012-01-09 Ulrich Drepper <drepper@gmail.com>
9753
9754 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9755
d5835c26
UD
97562012-01-08 Ulrich Drepper <drepper@gmail.com>
9757
e5f484c6
UD
9758 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9759
d5835c26
UD
9760 * io/Makefile (headers): Add bits/poll2.h.
9761
d1f741e9
WS
97622011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9763
9764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9765 typo #include statement.
9766
ec09c1c4
UD
97672012-01-08 Ulrich Drepper <drepper@gmail.com>
9768
9769 * include/sys/cdefs.h: Define __attribute_alloc_size.
9770 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9771 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9772 * elf/pldd.c: Likewise.
9773 * iconv/iconv_charmap.c: Likewise.
9774 * iconv/iconvconfig.c: Likewise.
9775 * iconv/strtab.c: Likewise.
9776 * locale/programs/locale.c: Likewise.
9777 * locale/programs/localedef.h: Likewise.
9778 * locale/programs/simple-hash.c: Likewise.
9779 * nscd/nscd.h: Likewise.
9780 * nss/makedb.c: Likewise.
9781 * sysdeps/generic/ldconfig.h: Likewise.
9782 * locale/programs/localedef.c: Remove xmalloc prototype.
9783 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9784
20b38e03
PP
97852012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9786
9787 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9788 appropriate.
9789
a0da5fe1
UD
97902012-01-08 Ulrich Drepper <drepper@gmail.com>
9791
1d5a644a 9792 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9793 * math/tst-CMPLX.c: New file.
1d5a644a 9794
8784a6db
UD
9795 * math/complex.h (CMPLXL): Fix typo.
9796
d9a216c0
UD
9797 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9798 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9799 GLIBC_2.16.
9800 * debug/tst-chk1.c: Add poll and ppoll tests.
9801 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9802 * include/sys/poll.h: Add hidden proto for ppoll.
9803 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9804 * sysdeps/mach/hurd/ppoll.c: Likewise.
9805 * io/ppoll.c: Likewise.
9806 * debug/poll_chk.c: New file.
9807 * debug/ppoll_chk.c: New file.
9808 * include/bits/poll2.h: New file.
9809 * io/bits/poll2.h: New file.
9810
ac097f5c
UD
9811 [BZ #1350]
9812 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9813
2119dcfa
UD
9814 * configure.in: static is always set to yes. Remove.
9815 * config.make.in: Don't set build-static.
9816 * Makeconfig: Remove use of build-static.
9817 * dlfcn/Makefile: Likewise.
9818 * elf/Makefile: Likewise.
9819 * math/Makefile: Likewise.
9820 * misc/Makefile: Likewise.
9821 * nptl/Makefile: Likewise.
9822 * sysdeps/mach/hurd/Makefile: Likewise.
9823
121766a9
UD
9824 * configure.in: PWD_P is not used anymore.
9825 * config.make.in: Remove PWD_P entry.
9826
51a1d39c 9827 * configure.in: Remove last remnants of RANLIB.
8720d066 9828 No need to check for signed size_t anymore.
215f4bdc
UD
9829 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9830 and IA-64.
3857022a 9831 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9832 * aclocal.m4: Likewise.
9833
d3ed7225
UD
9834 * wcsmbs/mbrtoc16.c: Implement using towc function.
9835 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9836 * wcsmbs/wcsmbsload.c: Likewise.
9837 * iconv/gconv_simple.c: Likewise.
9838 * iconv/gconv_int.h: Likewise.
9839 * iconv/gconv_builtin.h: Likewise.
9840 * iconv/iconv_prog.c: Remove CHAR16 handling.
9841
9842 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9843
9844 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9845
a0da5fe1
UD
9846 * configure.in: Remove --with-elf and --enable-bounded options.
9847 Dont set base_machine for ia64. More non-ELF conditions removed.
9848 Remove testing and setting of leading underscore information.
9849 * config.make.in (build-bounded): Set to no.
9850 * config.h.in: Remove NO_UNDERSCORES entry.
9851 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9852 them.
9853 * csu/start.c: Remove !NO_UNDERSCORE code.
9854 * locale/localeinfo.h: Likewise.
9855 * sysdeps/generic/machine-gmon.h: Likewise.
9856 * sysdeps/generic/sysdep.h: Likewise.
9857 * sysdeps/i386/sysdep.h: Likewise.
9858 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9859 * sysdeps/mach/sysdep.h: Likewise.
9860 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9861 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9862 * sysdeps/sh/sysdep.h: Likewise.
9863 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9864 * sysdeps/unix/i386/sysdep.S: Likewise.
9865 * sysdeps/unix/sparc/start.c: Likewise.
9866 * sysdeps/unix/sparc/sysdep.S: Likewise.
9867 * sysdeps/unix/sparc/sysdep.h: Likewise.
9868 * sysdeps/unix/start.c: Likewise.
9869 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9870 * sysdeps/x86_64/sysdep.h: Likewise.
9871
df78418a
UD
98722012-01-07 Ulrich Drepper <drepper@gmail.com>
9873
a784e502
UD
9874 [BZ #13553]
9875 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9876 for non-gcc.
9877 * argp/argp-fmtstream.h: Use const instead __const.
9878 * argp/argp.h: Likewise.
9879 * assert/assert.h: Likewise.
9880 * bits/fenv.h: Likewise.
9881 * bits/sched.h: Likewise.
9882 * bits/sigset.h: Likewise.
9883 * bits/sigthread.h: Likewise.
9884 * catgets/nl_types.h: Likewise.
9885 * conform/data/pthread.h-data: Likewise.
9886 * crypt/crypt-private.h: Likewise.
9887 * crypt/crypt.h: Likewise.
9888 * crypt/crypt_util.c: Likewise.
9889 * ctype/ctype.h: Likewise.
9890 * debug/execinfo.h: Likewise.
9891 * debug/mbsnrtowcs_chk.c: Likewise.
9892 * debug/mbsrtowcs_chk.c: Likewise.
9893 * debug/wcsnrtombs_chk.c: Likewise.
9894 * debug/wcsrtombs_chk.c: Likewise.
9895 * debug/wcstombs_chk.c: Likewise.
9896 * dirent/dirent.h: Likewise.
9897 * dlfcn/dlfcn.h: Likewise.
9898 * elf/neededtest4.c: Likewise.
9899 * grp/grp.h: Likewise.
9900 * gshadow/gshadow.h: Likewise.
9901 * iconv/gconv.h: Likewise.
9902 * iconv/gconv_int.h: Likewise.
9903 * iconv/gconv_simple.c: Likewise.
9904 * iconv/iconv.h: Likewise.
9905 * iconv/loop.c: Likewise.
9906 * iconv/skeleton.c: Likewise.
9907 * include/aio.h: Likewise.
9908 * include/aliases.h: Likewise.
9909 * include/argz.h: Likewise.
9910 * include/arpa/inet.h: Likewise.
9911 * include/assert.h: Likewise.
9912 * include/dirent.h: Likewise.
9913 * include/dlfcn.h: Likewise.
9914 * include/execinfo.h: Likewise.
9915 * include/fcntl.h: Likewise.
9916 * include/fenv.h: Likewise.
9917 * include/glob.h: Likewise.
9918 * include/grp.h: Likewise.
9919 * include/libintl.h: Likewise.
9920 * include/mntent.h: Likewise.
9921 * include/netdb.h: Likewise.
9922 * include/pwd.h: Likewise.
9923 * include/rpc/netdb.h: Likewise.
9924 * include/sched.h: Likewise.
9925 * include/search.h: Likewise.
9926 * include/shadow.h: Likewise.
9927 * include/signal.h: Likewise.
9928 * include/stdio.h: Likewise.
9929 * include/stdlib.h: Likewise.
9930 * include/string.h: Likewise.
9931 * include/sys/socket.h: Likewise.
9932 * include/sys/stat.h: Likewise.
9933 * include/sys/statfs.h: Likewise.
9934 * include/sys/statvfs.h: Likewise.
9935 * include/sys/syslog.h: Likewise.
9936 * include/sys/time.h: Likewise.
9937 * include/sys/uio.h: Likewise.
9938 * include/time.h: Likewise.
9939 * include/unistd.h: Likewise.
9940 * include/utmp.h: Likewise.
9941 * include/wchar.h: Likewise.
9942 * include/wctype.h: Likewise.
9943 * inet/aliases.h: Likewise.
9944 * inet/arpa/inet.h: Likewise.
9945 * inet/netinet/ether.h: Likewise.
9946 * inet/netinet/in.h: Likewise.
9947 * intl/libintl.h: Likewise.
9948 * io/bits/fcntl2.h: Likewise.
9949 * io/fcntl.h: Likewise.
9950 * io/ftw.h: Likewise.
9951 * io/sys/poll.h: Likewise.
9952 * io/sys/stat.h: Likewise.
9953 * io/sys/statfs.h: Likewise.
9954 * io/sys/statvfs.h: Likewise.
9955 * io/utime.h: Likewise.
9956 * libio/bits/stdio.h: Likewise.
9957 * libio/bits/stdio2.h: Likewise.
9958 * libio/libio.h: Likewise.
9959 * libio/libioP.h: Likewise.
9960 * libio/stdio.h: Likewise.
9961 * locale/lc-ctype.c: Likewise.
9962 * locale/locale.h: Likewise.
9963 * login/utmp.h: Likewise.
9964 * malloc/arena.c: Likewise.
9965 * malloc/malloc.c: Likewise.
9966 * malloc/malloc.h: Likewise.
9967 * malloc/mcheck.c: Likewise.
9968 * malloc/mtrace.c: Likewise.
9969 * math/bits/mathcalls.h: Likewise.
9970 * math/fenv.h: Likewise.
9971 * math/math_private.h: Likewise.
9972 * misc/bits/error.h: Likewise.
9973 * misc/bits/syslog.h: Likewise.
9974 * misc/err.h: Likewise.
9975 * misc/error.h: Likewise.
9976 * misc/fstab.h: Likewise.
9977 * misc/mntent.h: Likewise.
9978 * misc/regexp.h: Likewise.
9979 * misc/search.h: Likewise.
9980 * misc/sgtty.h: Likewise.
9981 * misc/sys/mman.h: Likewise.
9982 * misc/sys/syslog.h: Likewise.
9983 * misc/sys/uio.h: Likewise.
9984 * misc/sys/xattr.h: Likewise.
9985 * misc/ttyent.h: Likewise.
9986 * nis/rpcsvc/ypclnt.h: Likewise.
9987 * nss/nss.h: Likewise.
9988 * posix/bits/unistd.h: Likewise.
9989 * posix/fnmatch.h: Likewise.
9990 * posix/glob.h: Likewise.
9991 * posix/sched.h: Likewise.
9992 * posix/spawn.h: Likewise.
9993 * posix/sys/wait.h: Likewise.
9994 * posix/unistd.h: Likewise.
9995 * posix/wordexp.h: Likewise.
9996 * pwd/pwd.h: Likewise.
9997 * resolv/netdb.h: Likewise.
9998 * resource/sys/resource.h: Likewise.
9999 * rt/aio.h: Likewise.
10000 * rt/bits/mqueue2.h: Likewise.
10001 * rt/mqueue.h: Likewise.
10002 * shadow/shadow.h: Likewise.
10003 * signal/signal.h: Likewise.
10004 * socket/send.c: Likewise.
10005 * socket/sendto.c: Likewise.
10006 * socket/sys/socket.h: Likewise.
10007 * stdio-common/printf.h: Likewise.
10008 * stdlib/bits/stdlib.h: Likewise.
10009 * stdlib/fmtmsg.h: Likewise.
10010 * stdlib/monetary.h: Likewise.
10011 * stdlib/stdlib.h: Likewise.
10012 * stdlib/ucontext.h: Likewise.
10013 * streams/stropts.h: Likewise.
10014 * string/argz.h: Likewise.
10015 * string/bits/string2.h: Likewise.
10016 * string/string.h: Likewise.
10017 * string/strings.h: Likewise.
10018 * sunrpc/rpc/auth.h: Likewise.
10019 * sunrpc/rpc/auth_des.h: Likewise.
10020 * sunrpc/rpc/clnt.h: Likewise.
10021 * sunrpc/rpc/netdb.h: Likewise.
10022 * sunrpc/rpc/pmap_clnt.h: Likewise.
10023 * sunrpc/rpc/xdr.h: Likewise.
10024 * sysdeps/generic/inttypes.h: Likewise.
10025 * sysdeps/generic/net/if.h: Likewise.
10026 * sysdeps/generic/sys/swap.h: Likewise.
10027 * sysdeps/gnu/net/if.h: Likewise.
10028 * sysdeps/gnu/utmpx.h: Likewise.
10029 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10030 * sysdeps/i386/i486/bits/string.h: Likewise.
10031 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10032 * sysdeps/s390/bits/string.h: Likewise.
10033 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10034 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10035 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10036 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10037 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10038 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10039 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10040 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10041 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10042 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10043 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10044 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10045 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10046 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10047 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10048 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10049 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10050 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10051 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10052 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10053 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10054 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10055 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10056 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10057 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10058 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10059 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10060 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10061 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10062 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10063 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10064 * sysvipc/sys/ipc.h: Likewise.
10065 * sysvipc/sys/msg.h: Likewise.
10066 * sysvipc/sys/sem.h: Likewise.
10067 * sysvipc/sys/shm.h: Likewise.
10068 * termios/termios.h: Likewise.
10069 * time/sys/time.h: Likewise.
10070 * time/time.h: Likewise.
10071 * wcsmbs/bits/wchar2.h: Likewise.
10072 * wcsmbs/uchar.h: Likewise.
10073 * wcsmbs/wchar.h: Likewise.
10074 * wctype/wctype.h: Likewise.
10075
0269750c
UD
10076 [BZ #13551]
10077 * Makeconfig: Remove all but ELF support including AIX support.
10078 * Makerules: Likewise.
10079 * config.h.in: Likewise.
10080 * config.make.in: Likewise.
10081 * configure: Likewise.
10082 * configure.in: Likewise.
10083 * csu/Makefile: Likewise.
10084 * csu/version.c: Likewise.
10085 * debug/Makefile: Likewise.
10086 * dlfcn/Makefile: Likewise.
10087 * elf/Makefile: Likewise.
10088 * extra-lib.mk: Likewise.
10089 * iconv/Makefile: Likewise.
10090 * include/libc-symbols.h: Likewise.
10091 * include/shlib-compat.h: Likewise.
10092 * resolv/Makefile: Likewise.
10093 * resolv/res_libc.c: Likewise.
10094 * rt/Makefile: Likewise.
10095 * sysdeps/i386/asm-syntax.h: Likewise.
10096 * sysdeps/i386/sysdep.h: Likewise.
10097 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10098 * sysdeps/mach/sysdep.h: Likewise.
10099 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10100 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10101 * sysdeps/s390/asm-syntax.h: Likewise.
10102 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10103 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10104 * sysdeps/sh/sysdep.h: Likewise.
10105 * sysdeps/unix/sparc/sysdep.h: Likewise.
10106 * sysdeps/wordsize-32/divdi3.c: Likewise.
10107 * sysdeps/x86_64/sysdep.h: Likewise.
10108
00bbd29b
UD
10109 * argp/Versions: Remove _argp_unlock_xxx.
10110
10111 [BZ #13559]
10112 * abilist/ld.abilist: Update. Adjust for removal of tls option.
10113 * abilist/libBrokenLocale.abilist: Likewise.
10114 * abilist/libanl.abilist: Likewise.
10115 * abilist/libc.abilist: Likewise.
10116 * abilist/libcrypt.abilist: Likewise.
10117 * abilist/libdl.abilist: Likewise.
10118 * abilist/libm.abilist: Likewise.
10119 * abilist/libnsl.abilist: Likewise.
10120 * abilist/libpthread.abilist: Likewise.
10121 * abilist/libresolv.abilist: Likewise.
10122 * abilist/librt.abilist: Likewise.
10123 * abilist/libthread_db.abilist: Likewise.
10124 * abilist/libutil.abilist: Likewise.
10125 * abilist/libnss_db.abilist: New file.
10126
10127 * scripts/abilist.awk: Add support for indirect functions.
10128
a2693a0e
UD
10129 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10130
3f05895f
UD
10131 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10132
ecb6fb48
UD
10133 * shlib-versions: Remove entries for ports architectures.
10134
664f8cb9
UD
10135 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10136 files in ports.
10137 * elf/stackguard-macros.h: Remove support for IA-64.
10138 * elf/tst-auditmod1.c: Likewise.
10139 * sysdeps/generic/ldsodefs.h: Likewise.
10140
7ae81d88
UD
10141 * sysdeps/unix/sysv/linux/configure.in: Ports should define
10142 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10143 configure files.
10144
bdeba135
UD
10145 [BZ #13552]
10146 * configure.in: Remove --enable-omitfp support.
10147 * FAQ.in: Adjust.
10148 * config.make.in: Likewise.
10149 * Makeconfig: Likewise.
10150 * manual/install.texi: Likewise.
10151
d75a0a62
UD
10152 In case anyone cares, the IA-64 architecture could move to ports.
10153 * sysdeps/ia64/*: Removed.
10154 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 10155 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 10156
dcc9756b
UD
10157 [BZ #13555]
10158 * configure.in: Remove entries for unsupported architectures.
10159
d3761ebc 10160 [BZ #13533]
9954432e
UD
10161 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10162 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
10163 routines.
10164 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10165 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10166 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
10167 fall back to using wcrtomb.
10168 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10169 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
10170 renaming.
10171 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10172 * wcsmbs/tst-c16c32-1.c: New file.
10173
10174 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10175 local variable.
10176
c3a87236
UD
10177 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10178
28926a1b
UD
10179 * elf/tst-unique3.cc: Add explicit declaration of gets.
10180 * elf/tst-unique3lib.cc: Likewise.
10181 * elf/tst-unique3lib2.cc: Likewise.
10182 * elf/tst-unique4.cc: Likewise.
10183
df78418a
UD
10184 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10185
8ecd6b2a
JM
101862012-01-06 Joseph Myers <joseph@codesourcery.com>
10187
10188 [BZ #13566]
10189 * assert/assert.h (static_assert): Don't define for C++.
10190 * libio/stdio.h (gets): Do declare for C++ <= C++11.
10191 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10192
9f115170
UD
101932012-01-03 Ulrich Drepper <drepper@gmail.com>
10194
5e0d0300
UD
10195 * iconv/loop.c (single loop): Fix assertion in storing of
10196 remaining bytes.
10197
9f115170
UD
10198 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10199
81fb02b0
UD
102002012-01-01 Ulrich Drepper <drepper@gmail.com>
10201
10202 * posix/getconf.c: Update copyright year.
10203 * nss/getent.c: Likewise.
a316c1f6 10204 * nss/makedb.c: Likewise.
81fb02b0
UD
10205 * iconv/iconvconfig.c: Likewise.
10206 * iconv/iconv_prog.c: Likewise.
10207 * elf/ldconfig.c: Likewise.
a316c1f6
UD
10208 * elf/pldd.c: Likewise.
10209 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
10210 * catgets/gencat.c: Likewise.
10211 * csu/version.c: Likewise.
10212 * elf/ldd.bash.in: Likewise.
10213 * elf/sprof.c (print_version): Likewise.
10214 * locale/programs/locale.c: Likewise.
10215 * locale/programs/localedef.c: Likewise.
a316c1f6 10216 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
10217 * nscd/nscd.c (print_version): Likewise.
10218 * debug/xtrace.sh: Likewise.
10219 * malloc/memusage.sh: Likewise.
10220 * malloc/mtrace.pl: Likewise.
10221 * debug/catchsegv.sh: Likewise.
10222
2ba92745
JJ
102232011-12-30 Jakub Jelinek <jakub@redhat.com>
10224
10225 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10226 pure attribute.
10227
dadebdae
UD
102282011-12-24 Ulrich Drepper <drepper@gmail.com>
10229
d3761ebc 10230 [BZ #13533]
db6af3eb
UD
10231 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10232 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10233 transformations.
10234 * iconv/gconv_int.h: Likewise.
10235 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10236 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10237 from libc for GLIBC_2.16.
10238 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10239 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10240 * wcsmbs/uchar.h: Really define mbstate_t.
10241 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10242 * wcsmbs/c16rtomb.c: New file.
10243 * wcsmbs/mbrtoc16.c: New file.
10244 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10245 for C/POSIX locale.
10246 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10247 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10248
dadebdae
UD
10249 * wcsmbs/wchar.h: Add missing __restrict.
10250
67371b56
UD
102512011-12-23 Ulrich Drepper <drepper@gmail.com>
10252
74033a25
UD
10253 [BZ #13532]
10254 * time/Makefile (routines): Add timespec_get.
10255 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10256 * time/time.h: Define TIME_UTC and declare timespec_get. Define
10257 timespec for ISO C11.
10258 * time/timespec_get.c: New file.
10259 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10260 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10261
380d7e87
UD
10262 [BZ #13531]
10263 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10264 * stdlib/stdlib.h: Declare aligned_alloc.
10265 * Versions.def: Add GLIBC_2.16 for libc.
10266 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10267
4e9e7a35
UD
10268 [BZ 13527]
10269 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10270 ISO C11.
10271
380d7e87 10272 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
10273 code.
10274
03a71829
UD
10275 [BZ #13528]
10276 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10277
839e283e
UD
10278 [BZ #13529]
10279 * assert/assert.h (static_assert): Define.
10280
ce5294e2 10281 * version.h: Update for 2.16 development version.
90fa7312 10282
8d44e150 10283 [BZ #13526]
d7809905
UD
10284 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10285 _ISOC11_SOURCE.
10286
c0da14cd
UD
10287 * version.h (RELEASE): Bump for 2.15 release.
10288 * include/features.h (__GLIBC_MINOR__): Bump to 15.
10289
530a3249
MP
10290 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10291 Patch by Marek Polacek <mpolacek@redhat.com>.
10292
67371b56
UD
10293 * bits/byteswap.h: Protect long long constants with __extension__.
10294 * sysdeps/i386/bits/byteswap.h: Likewise.
10295 * sysdeps/ia64/bits/byteswap.h: Likewise.
10296 * sysdeps/s390/bits/byteswap.h: Likewise.
10297 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10298
15db4de1
LD
102992011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10300
10301 [BZ #13540]
bbe315ea
LD
10302 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
10303 destination buffer.
15db4de1
LD
10304 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10305
2b2596b1
MP
103062011-12-23 Marek Polacek <polacek@redhat.com>
10307
10308 * elf/dl-addr.c (determine_info): Add inline keyword.
10309 * elf/tst-auditmod4b.c (check_avx): Likewise.
10310 * elf/tst-auditmod6b.c (check_avx): Likewise.
10311 * elf/tst-auditmod6c.c (check_avx): Likewise.
10312 * elf/tst-auditmod7b.c (check_avx): Likewise.
10313
70c6c246
UD
103142011-12-23 Ulrich Drepper <drepper@gmail.com>
10315
10316 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10317 !__SSE_MATH__.
10318
c044cf14
LD
103192011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10320
15db4de1 10321 [BZ #13540]
c044cf14
LD
10322 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
10323 processing for last bytes.
10324
6b13d9d9
BH
103252011-08-06 Bruno Haible <bruno@clisp.org>
10326
d455f537
BH
10327 [BZ #13061]
10328 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10329 U+0385, not to U+1FEE.
10330
6b13d9d9
BH
10331 [BZ #13062]
10332 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10333 entry for U+00A5 U+0301.
10334
db910efd
UD
103352011-12-22 Ulrich Drepper <drepper@gmail.com>
10336
27deeafc
UD
10337 [BZ #13166]
10338 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10339 buffer for the output is too small.
10340
aed9d171
UD
10341 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10342 optimization.
10343
db910efd
UD
10344 [BZ #13185]
10345 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10346 SSE flags if possible.
10347
2bd779ae
LD
103482011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10349
e7f9dac3 10350 [BZ #13540]
2bd779ae
LD
10351 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10352 processing for last bytes.
10353
154bfc16
JM
103542011-12-22 Joseph Myers <joseph@codesourcery.com>
10355
10356 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10357 (syscall-list-default-options, syscall-list-default-condition)
10358 (syscall-list-includes): Define.
10359 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10360 list of ABIs and options and #if conditions for each ABI. Do not
10361 handle common syscalls between ABIs specially.
10362 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10363 Remove.
10364 (syscall-list-variants, syscall-list-32bit-options)
10365 (syscall-list-32bit-condition, syscall-list-64bit-options)
10366 (syscall-list-64bit-condition): Define.
10367 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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/sparc/Makefile (64bit-predefine):
10372 Remove.
10373 (syscall-list-variants, syscall-list-32bit-options)
10374 (syscall-list-32bit-condition, syscall-list-64bit-options)
10375 (syscall-list-64bit-condition): Define.
10376 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10377 Remove.
10378 (syscall-list-variants, syscall-list-32bit-options)
10379 (syscall-list-32bit-condition, syscall-list-64bit-options)
10380 (syscall-list-64bit-condition): Define.
10381
21eaf3a5
UD
103822011-12-22 Ulrich Drepper <drepper@gmail.com>
10383
16c6f992
UD
10384 * locale/iso-639.def: Add brx entry.
10385
41043168
UD
10386 [BZ #13328]
10387 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10388 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10389
21eaf3a5
UD
10390 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10391 __feraiseexcept_renamed.
10392
e3a851a2
UD
103932011-12-21 Ulrich Drepper <drepper@gmail.com>
10394
4920765e
UD
10395 [BZ #13538]
10396 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10397 EPOLLET with unsigned values.
10398 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10399 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10400
e3a851a2
UD
10401 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10402 to large cancellation.
10403 * math/s_cacoshf.c: Likewise.
10404 * math/s_cacoshl.c: Likewise.
10405
b27e24b8
RK
104062011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10407
10408 [BZ #13305]
aebefeee 10409 [BZ #12786]
b27e24b8
RK
10410 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10411 * math/s_cacoshf.c: Likewise.
10412 * math/s_cacoshl.c: Likewise.
10413
ee190f67
UD
104142011-12-21 Ulrich Drepper <drepper@gmail.com>
10415
10416 [BZ #13439]
10417 * iconv/gconv.h: Define __GCONV_SWAP.
10418 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10419 * iconvdata/utf-16.c: Likewise.
10420 * iconvdata/utf-32.c: Likewise.
10421
707f25df
AS
104222011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10423
10424 [BZ #13524]
10425 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10426 numerator after shifting it by one limb.
10427
d2daaa1e
RÁE
104282011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10429
10430 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10431 under [__USE_EXTERN_INLINES].
10432
a4647e72
UD
104332011-12-17 Ulrich Drepper <drepper@gmail.com>
10434
10435 [BZ #13446]
10436 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10437
f0b264f1
AZ
104382011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10439
10440 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10441 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10442 optimized code.
10443 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10444 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10445 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10446 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10447 for strncasecmp/strncasecmp_l compilation.
10448 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10449 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10450
8ef4f244
MP
104512011-12-08 Marek Polacek <mpolacek@redhat.com>
10452
10453 [BZ #13484]
10454 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10455 of __asm__.
10456
97ac2654
UD
104572011-12-17 Ulrich Drepper <drepper@gmail.com>
10458
10459 [BZ #13506]
10460 * time/tzfile.c (__tzfile_read): Check values from file header.
10461
91d2a845
WS
104622011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10463
10464 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10465 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10466 * powerpc/powerpc32/dl-start.S: Likewise.
10467 * powerpc/powerpc32/elf/start.S: Likewise.
10468 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10469 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10470 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10471 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10472 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10473 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10474 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10475 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10476 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10477 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10478 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10479 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10480 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10481 * powerpc/powerpc32/memset.S: Likewise.
10482 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10483 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10484 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10485 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10486 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10487 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10488 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10489 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10490 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10491 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10492 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10493 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10494 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10495
a1267ba1
AZ
104962011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10497
10498 * math/libm-test.inc: Added more nearbyint tests.
10499 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10500 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10501 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10502 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10503
ad8ac1bd
RL
105042011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10505
10506 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10507 FD_CLOEXEC.
10508
1d3e4b61
UD
105092011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10510
10511 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10512 Add wcscpy-ssse3 wcscpy-c.
10513 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10514 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10515 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10516 * sysdeps/x86_64/wcschr.S: New file.
10517 * sysdeps/x86_64/wcsrchr.S: New file.
10518 * string/test-strcmp.c: Remove checking of wcscmp function for
10519 wrong alignments.
10520 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10521 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10522 wcsrchr-sse2 wcsrchr-c.
10523 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10524 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10525 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10526 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10527 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10528 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10529 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10530 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10531 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10532 * wcsmbc/wcschr.c (WCSCHR): New macro.
10533
5b330a2d
UD
105342011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10535
10536 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10537 * wcsmbs/test-wcsrchr.c: New file.
10538 * string/test-strrchr.c: Add wcsrchr support.
10539 (WIDE): New macro.
10540 * wcsmbs/test-wcscpy.c: New file.
10541 * string/test-strcpy.c: Add wcscpy support.
10542 (WIDE): New macro.
26428b7c 10543
f039c043
UD
105442011-12-10 Ulrich Drepper <drepper@gmail.com>
10545
10546 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10547 the inner loop.
10548
850fb039
AS
105492011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10550
10551 [BZ #13472]
10552 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10553
4efbd5cb
UD
105542011-12-04 Ulrich Drepper <drepper@gmail.com>
10555
52ff5dd0 10556 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 10557 Minor optimizations.
52ff5dd0 10558
4efbd5cb
UD
10559 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10560 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10561 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10562
8a426e12
UD
105632011-12-03 Ulrich Drepper <drepper@gmail.com>
10564
aff2453d
UD
10565 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10566 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10567 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10568 for gcc to avoid warnings.
10569 * inet/Makefile (tests): Add tst-checks.
10570 * inet/tst-checks.c: New file.
10571
10572 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10573 warning.
10574
10575 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10576 __wmemcmp_sse2.
10577
10578 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10579 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10580
8a426e12
UD
10581 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10582
9bea3473
UD
105832011-12-02 Ulrich Drepper <drepper@gmail.com>
10584
3a965496
UD
10585 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10586 problem.
10587
9bea3473
UD
10588 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10589
f101631b
UD
105902011-11-29 Joseph Myers <joseph@codesourcery.com>
10591
10592 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10593 conditional on GCC version.
10594 (__arch_compare_and_exchange_val_8_acq)
10595 (__arch_compare_and_exchange_val_16_acq)
10596 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10597 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10598 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10599
a98275aa
UD
106002011-12-02 Joseph Myers <joseph@codesourcery.com>
10601
10602 * sysdeps/sh/backtrace.c: New file.
10603
d4cc29a2
AS
106042011-12-02 Andreas Schwab <schwab@redhat.com>
10605
10606 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10607 parenthesis.
10608
6257af2d
AS
106092011-12-01 Andreas Schwab <schwab@redhat.com>
10610
10611 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10612 falling back to utime.
10613
b5f44c1a
AS
106142011-11-30 Andreas Schwab <schwab@redhat.com>
10615
10616 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10617 expectations for float.
10618
f3a6cc0a
AS
106192011-11-29 Andreas Schwab <schwab@redhat.com>
10620
10621 * locale/weight.h (findidx): Add parameter len.
10622 * locale/weightwc.h (findidx): Likewise.
10623 * posix/fnmatch_loop.c (FCT): Adjust caller.
10624 * posix/regcomp.c (build_equiv_class): Likewise.
10625 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10626 * posix/regexec.c (check_node_accept_bytes): Likewise.
10627 * string/strcoll_l.c (STRCOLL): Likewise.
10628 * string/strxfrm_l.c (STRXFRM): Likewise.
10629
9d65ea3a
UD
106302011-11-17 Ulrich Drepper <drepper@gmail.com>
10631
10632 * Makefile.in: Remove CVSOPT handling.
10633 * configure.in: Remove use of AC_REVISION.
10634 * iconvdata/Makefile (distribute): No need to filter out CVS.
10635 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10636 handling.
10637
5583a086
AS
106382011-11-16 Andreas Schwab <schwab@redhat.com>
10639
10640 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10641 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10642 [USE_AS_STRNCASECMP_L]: Likewise.
10643 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10644 NO_TLS_DIRECT_SEG_REFS.
10645 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10646 Fix argument offsets for non-PIC.
10647 [USE_AS_STRNCASECMP_L]: Likewise.
10648 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10649 NO_TLS_DIRECT_SEG_REFS.
10650
d62a8200
UD
106512011-11-15 Ulrich Drepper <drepper@gmail.com>
10652
9d65ea3a 10653 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
10654 O_CLOEXEC.
10655 * locale/loadlocale.c (_nl_load_locale): Likewise.
10656
09f93bd3
AS
106572011-11-15 Andreas Schwab <schwab@redhat.com>
10658
446514f9
AS
10659 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10660 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10661 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10662 (SYSCALL_GETTIME): Set errno on error.
10663
09f93bd3
AS
10664 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10665 count references to noai6ai_cached.
10666
312be3f9
UD
106672011-11-15 Ulrich Drepper <drepper@gmail.com>
10668
10669 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10670
10671 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10672 FD_CLOEXEC for /proc/self/maps.
10673
10674 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10675 FD_CLOEXEC for /proc/meminfo.
10676
10677 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10678 gai.conf.
10679
10680 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10681 FD_CLOEXEC for given file.
10682
10683 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10684
10685 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10686 FD_CLOEXEC for /etc/hosts.
10687 (_gethtent): Likewise.
10688
10689 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10690
10691 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10692 cancellation and set FD_CLOEXEC for /etc/netgroup.
10693
10694 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10695 reading /etc/publickey.
10696
10697 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10698 allow cancellation when reading /etc/group.
10699
10700 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10701 cancellation.
10702 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10703
10704 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10705 when using data file.
10706
10707 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10708
10709 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10710 (write_nis_obj): Use "c" and "e" in fopen.
10711
10712 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10713
10714 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10715
10716 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10717
10718 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10719
10720 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10721 locale.alias.
10722
10723 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10724
10725 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10726
10727 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10728
10729 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10730 file parsing and set FD_CLOEXEC.
10731
82af0fa8
UD
107322011-11-14 Ulrich Drepper <drepper@gmail.com>
10733
10734 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10735
a5fb313c
AS
107362011-11-14 Andreas Schwab <schwab@redhat.com>
10737
10738 * malloc/arena.c (arena_get2): Don't call reused_arena when
10739 _int_new_arena failed.
10740
6abf3465
UD
107412011-11-14 Ulrich Drepper <drepper@gmail.com>
10742
10743 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10744 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10745 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10746 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10747 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10748 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10749 to compile strcasecmp and strncasecmp.
10750 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10751 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10752
10753 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10754
76e3966e
UD
107552011-11-13 Ulrich Drepper <drepper@gmail.com>
10756
10757 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10758 locale-defines.sym to gen-as-const-headers.
10759 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10760 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10761 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10762 to compile strcasecmp and strncasecmp.
10763 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10764 strcasecmp_l and strncasecmp_l.
10765 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10766 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10767 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10768 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10769 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10770 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10771 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10772 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10773 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10774 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10775 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10776
ab26144e
UD
107772011-11-12 Ulrich Drepper <drepper@gmail.com>
10778
7edb22ef
UD
10779 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10780 result of SYSDEP_GETTIME_CPU to retval.
10781 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10782 parameter list to macro. Remove trailing semicolon. Adjust users.
10783
9694fc44
UD
10784 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10785 variable.
10786
8ad89ef8
UD
10787 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10788 mantissa words.
10789 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10790
0c822ef9
UD
10791 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10792 from unused variable.
10793
874e0564
UD
10794 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10795 DWARF definitions.
10796 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10797 for assembling.
10798
3a2edc79
UD
10799 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10800 over namespaces.
10801
f3c2577f
UD
10802 * sunrpc/rpc_prot.c (rejected): Fix case value.
10803
294ce126
UD
10804 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10805 unsigned long long int to avoid warnings in shift.
10806
5e2b63c6
UD
10807 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10808 of use of trans.
10809 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10810 variable tmp.
10811
e7f4b08e
UD
10812 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10813 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10814 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10815
ab26144e
UD
10816 * nis/nis_table.c (nis_list): Use variable of correct type for
10817 result of __follow_path call.
10818
8a6d5255
AZ
108192011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10820
10821 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10822 of math functions ceil, trunc, floor, round, and sqrt, when
10823 avaliable on the platform.
10824 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10825 name clash.
10826 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10827 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10828 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10829
aaddc98c
MP
108302011-10-30 Marek Polacek <mpolacek@redhat.com>
10831
10832 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10833 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10834
95b7042b
RM
108352011-11-11 Roland McGrath <roland@hack.frob.com>
10836
10837 * include/unistd.h: Fix __readlink return type.
10838 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10839
57769839
UD
108402011-11-11 Ulrich Drepper <drepper@gmail.com>
10841
10842 * stdlib/ucontext.h: Undo last change for makecontext.
10843
edc5984d
AS
108442011-11-11 Andreas Schwab <schwab@redhat.com>
10845
98591e58
AS
10846 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10847
edc5984d
AS
10848 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10849 * setjmp/setjmp.h: Mark functions as non-leaf.
10850 * setjmp/bits/setjmp2.h: Likewise.
10851 * stdlib/ucontext.h: Likewise.
10852
77cdc054
AS
108532011-11-10 Andreas Schwab <schwab@redhat.com>
10854
10855 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10856 (reused_arena): Don't check arena limit.
10857 (arena_get2): Atomically check arena limit.
10858
fe72eebd
UD
108592011-11-08 Ulrich Drepper <drepper@gmail.com>
10860
5f078c32
UD
10861 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10862 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10863
fe72eebd
UD
10864 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10865 instructions.
10866
ae1bc2fa
AS
108672011-11-07 Andreas Schwab <schwab@redhat.com>
10868
7583a88d
AS
10869 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10870 handler when locking.
10871
ae1bc2fa
AS
10872 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10873 Fix size of allocated buffer.
10874
10fb0bfa
AS
108752011-11-04 Andreas Schwab <schwab@redhat.com>
10876
998832a4
AS
10877 [BZ #10103]
10878 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10879 declarations for long double functions.
10880 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10881
10fb0bfa
AS
10882 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10883
3d7ba52b
AS
108842011-11-03 Andreas Schwab <schwab@redhat.com>
10885
a9ae54a1
AS
10886 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10887 installed.
10888
3d7ba52b
AS
10889 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10890 is disabled.
10891
bc8db248
ST
108922011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10893
10894 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10895
45b96dd6
AS
108962011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10897
647776f6
AS
10898 * include/alloca.h (stackinfo_alloca_round): Define.
10899 (extend_alloca): Use it.
10900 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10901 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10902 here.
10903
d91a8b93
AS
10904 * scripts/check-local-headers.sh: Ignore libaudit.h.
10905
45b96dd6
AS
10906 * nscd/Makefile (extra-objs): Make recursively expanded.
10907
432d41ce
UD
109082011-11-01 Ulrich Drepper <drepper@gmail.com>
10909
34372fc6
UD
10910 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10911 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10912
fadb59f8
UD
10913 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10914 * posix/tst-rfc3484-2.c: Likewise.
10915 * posix/tst-rfc3484-3.c: Likewise.
10916
78239589
UD
10917 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10918 process_vm_writev.
10919 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10920 process_vm_writev.
10921 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10922 process_vm_writev from libc using GLIBC_2.15 version.
10923
432d41ce
UD
10924 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10925
02f9c6cf
PP
109262011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10927
10928 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10929 stack usage.
10930
3a2c0242
UD
109312011-10-31 Ulrich Drepper <drepper@gmail.com>
10932
f4ec4833
UD
10933 [BZ #13367]
10934 * nss/getent.c (initgroups_keys): Show error message in case no group
10935 names are given.
10936
3a2c0242
UD
10937 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10938 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10939 __bump_nl_timestamp.
10940 * nscd/connections (nscd_init): When host database is served open
10941 netlink socket and request notification about configuration changes.
10942 (main_loop_poll): Track netlink file descriptor and bump timestamp
10943 in case data becomes available.
10944 (main_loop_epoll): Likewise.
10945 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10946 (database_pers_head): Add extra_data fileds.
10947 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10948 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10949 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10950 Adjust caller.
10951 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10952 in6ai data, call __free_in6ai.
10953 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10954 Add -DHAVE_NETLINK.
10955 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10956 interface information. Reuse previous data if netlink timestamp
10957 is not changed.
10958 (__bump_nl_timestamp): New function.
10959 (__free_in6ai): New function.
10960
636064eb
UD
109612011-10-30 Ulrich Drepper <drepper@gmail.com>
10962
10963 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10964 close_not_cancel_no_status here.
10965 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10966
9beb2334
UD
109672011-10-29 Ulrich Drepper <drepper@gmail.com>
10968
6ef76f3b
UD
10969 [BZ #13276]
10970 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10971 return value.
10972
0ffc4f3e 10973 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10974 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10975 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10976
cb95113e
UD
109772011-07-03 Andreas Jaeger <aj@suse.de>
10978
10979 [BZ #10709]
10980 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10981 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10982 * math/libm-test.inc (sin_test): Add test case.
10983
a1b560ff
UD
109842011-10-29 Ulrich Drepper <drepper@gmail.com>
10985
c9aaface
UD
10986 [BZ #13337]
10987 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10988 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10989
d272e7f1
UD
10990 * elf/chroot_canon.c (chroot_canon): Cleanups.
10991
1bc33071
UD
10992 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10993
1760874d
TJ
10994 [BZ #13335]
10995 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10996 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10997
51d91b18
UD
10998 * string/test-strchr.c: Make usable for strchrnul testing.
10999 * string/test-strchrnul.c: New file.
11000 * string/Makefile (strop-tests): Add strchrnul.
11001
a1b560ff 11002 * po/it.po: Update from translation team.
b611fb81 11003 * po/es.po: Likewise.
a1b560ff 11004
a5b81e1f
UD
110052011-10-28 Ulrich Drepper <drepper@gmail.com>
11006
fd52bc6d
UD
11007 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11008 the three constants needed as parameters. Drop the others.
11009 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11010 __m128i_strloadu_tolower.
52e4b9eb
UD
11011 Create and initialize variable zero and use it in all the places
11012 where _mm_setzero_si128 was used.
fd52bc6d 11013
a5b81e1f
UD
11014 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11015 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11016 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11017 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11018 anymore.
11019 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11020 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11021 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11022 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11023 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11024 __mpranred, __mptan.
11025 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11026 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11027 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11028 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11029 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11030 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11031 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11032 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11033 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11034
b4343346
AS
110352011-10-28 Andreas Schwab <schwab@redhat.com>
11036
0c92d8a8
AS
11037 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11038 redefine if SHARED.
11039 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11040
b4343346
AS
11041 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11042 wide char related routines to wcsmbs subdir.
11043
3871f58f
AS
110442011-10-27 Andreas Schwab <schwab@redhat.com>
11045
11046 [BZ #13344]
11047 * misc/sys/cdefs.h (__THROWNL): Define.
11048 * posix/unistd.h: Use __THREADNL instead of __THREAD
11049 for memory synchronization functions.
11050
94d44d9f
RM
110512011-10-26 Roland McGrath <roland@hack.frob.com>
11052
21b64b15 11053 [BZ #13349]
94d44d9f
RM
11054 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11055 doesn't exist.
11056 * manual/stdio.texi (Obstack Streams): Node removed.
11057
f6ce9294
AS
110582011-10-26 Andreas Schwab <schwab@redhat.com>
11059
80479147
AS
11060 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11061 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11062 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11063
f6ce9294
AS
11064 * math/math_private.h (math_force_eval): Allow non-addressable
11065 arguments.
11066 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11067
618280a1
UD
110682011-10-25 Ulrich Drepper <drepper@gmail.com>
11069
e0016b11
UD
11070 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11071 file is not needed.
11072
11073 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11074 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11075 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11076 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11077 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11078 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11079 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11080 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11081 Add AVX variants.
11082 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11083 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11084 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11085 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11086 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11087 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11088 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11089 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11090 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11091 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11092 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11093 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11094 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11095 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11096 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11097 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11098 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11099 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11100 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11101
11102 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11103 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
11104
618280a1
UD
11105 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11106 place. Use VEX encoding when compiling for AVX.
11107
37822576
AS
111082011-10-25 Andreas Schwab <schwab@redhat.com>
11109
1f1e1947
AS
11110 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11111 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11112
37822576
AS
11113 * string/test-strchr.c (do_test): Don't generate NUL bytes.
11114
31ea014d
UD
111152011-10-25 Ulrich Drepper <drepper@gmail.com>
11116
d7826aa1 11117 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 11118 useless if() expression.
d7826aa1
UD
11119 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11120 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11121 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11122 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11123 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11124 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11125 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11126 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11127 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11128 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11129 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11130 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11131 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11132 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11133 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11134 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11135 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11136 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11137 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11138
31ea014d
UD
11139 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11140
16437fec
AS
111412011-10-25 Andreas Schwab <schwab@redhat.com>
11142
11143 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11144 condition.
11145 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11146
31d3cc00
UD
111472011-10-25 Ulrich Drepper <drepper@gmail.com>
11148
11149 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11150 .text section. Avoid duplicate constants.
11151 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11152 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11153 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11154 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11155 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11156 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11157 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11158 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11159 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11160 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11161 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11162 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11163 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11164 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11165 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11166 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11167 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11168 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11169 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11170 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11171 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11172 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11173 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11174 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11175 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11176 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11177 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11178 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11179 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11180 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11181 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11182 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11183 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11184 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11185 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11186 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11187 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11188 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11189 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11190 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11191 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11192 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11193 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11194 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11195 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11196
58985aa9
UD
111972011-10-24 Ulrich Drepper <drepper@gmail.com>
11198
202c9deb
UD
11199 * sysdeps/x86_64/dla.h: Move to ...
11200 * sysdeps/x86_64/fpu/dla.h: ...here.
11201 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11202 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 11203
af968f62
UD
11204 * config.make.in: Add have-mfma4 entry.
11205 * configure.in: Substitute libc_cv_cc_fma4.
11206 * math/Makefile (dbl-only-routines): Add sincostab.
11207 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11208 Use __sincostab not sincos.
11209 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11210 name is a macro.
11211 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11212 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11213 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11214 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11215 using __copysign.
11216 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11217 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11218 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11219 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11220 and __inv.
11221 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11222 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11223 __copysign.
11224 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
11225 define aliases when function name is a macro.
11226 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11227 sysdeps/ieee754/dbl-64/sincos.tbl.
11228 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11229 fma4-enabled routines.
11230 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11231 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11232 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11233 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11234 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11235 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11236 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11237 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11238 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11239 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11240 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11241 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11242 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11243 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11244 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11245 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11246 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11247 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11248 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11249 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11250 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11251 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11252 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11253 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11254 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11255 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11256 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11257 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11258 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11259 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11260
58985aa9
UD
11261 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11262 rename.
11263 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11264 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11265 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11266 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11267 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11268 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11269 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11270 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11271
a201fbcf
AS
112722011-10-24 Andreas Schwab <schwab@redhat.com>
11273
11274 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11275
fc2ee42a
LD
112762011-10-23 Ulrich Drepper <drepper@gmail.com>
11277
bb3129bd
UD
11278 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11279
0275fff8
UD
11280 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11281 prediction.
11282 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11283
2fa2ae85
UD
11284 * string/strnlen.c: Don't define STRNLEN, reverse logic.
11285 Remove unused variable magic_bits.
11286 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11287
fc2ee42a
LD
11288 * string/strnlen.c: Define and use STRNLEN macro.
11289 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11290 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11291 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11292 * wcsmbs/wcslen.c: Define and use WCSLEN.
11293 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11294 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11295 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11296 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11297 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11298 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11299 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11300
ce7dd29f
LD
113012011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11302
11303 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11304 strnlen-sse2-no-bsf.
11305 Rename strlen-no-bsf to strlen-sse2-no-bsf.
11306 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
11307 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
11308 Add strnlen support.
11309 (USE_AS_STRNLEN): New macro.
11310 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11311 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11312 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11313 * sysdeps/x86_64/wcslen.S: New file.
11314
979c70a3
MZ
113152011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
11316
11317 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11318 XMM-moves are used for copying on small sizes.
11319
2d09f82f
LD
113202011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11321
11322 * wcsmbs/Makefile (strop-tests): Add wcschr.
11323 * wcsmbs/test-wcschr.c: New file.
11324 * string/test-strchr.c: Update.
11325 Add wcschr support.
11326 (WIDE): New macro.
11327
619fccca
LD
113282011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11329
2d09f82f 11330 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
11331 * wcsmbs/test-wcslen.c: New file.
11332 * string/test-strlen.c: Update.
11333 Add wcslen support.
11334 (WIDE): New macro.
11335
09f699ea
UD
113362011-10-23 Ulrich Drepper <drepper@gmail.com>
11337
11338 * po/it.po: Update from translation team.
11339
95584d3b
LD
113402011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11341
11342 * sysdeps/x86_64/wcscmp.S: Update.
11343 Fix wrong comparison semantics.
11344 wcscmp shall use signed comparison not unsigned.
11345 Don't use substraction to avoid overflow bug.
11346 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11347 * wcsmbc/wcscmp.c: Likewise.
11348 * string/test-strcmp.c: Likewise.
11349 Add new tests to check cases with negative values.
11350
c8b3296b
UD
113512011-10-23 Ulrich Drepper <drepper@gmail.com>
11352
11353 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11354 * sysdeps/x86_64/dla.h: ...here. New file.
11355 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11356 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11357 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11358 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11359 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11360 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11361 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11362 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11363 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11364
246ad57a
AS
113652011-10-23 Andreas Schwab <schwab@linux-m68k.org>
11366
11367 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11368 __ynl_finite aliases.
11369
a1a87169
UD
113702011-10-22 Ulrich Drepper <drepper@gmail.com>
11371
0d355eb7
UD
11372 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11373
a1a87169
UD
11374 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11375 define DLA_FMA.
11376 [DLA_FMA] (EMULV): Use DLA_FMA.
11377 [DLA_FMA] (MUL12): Use EMULV.
11378 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11379 that are not needed.
11380 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11381 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11382 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11383 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11384 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11385 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11386 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11387
ee2aafe0
AS
113882011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11389
11390 * math/s_nan.c: Undef __nan.
11391 * math/s_nanf.c: Undef __nanf.
11392 * math/s_nanl.c: Undef __nanl.
11393 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11394 "math_private.h".
11395
bc62c2fb
UD
113962011-10-22 Ulrich Drepper <drepper@gmail.com>
11397
77425c63
UD
11398 * math/s_catan.c: Add branch predictions.
11399 * math/s_catanf.c: Likewise.
11400 * math/s_catanh.c: Likewise.
11401 * math/s_catanhf.c: Likewise.
11402 * math/s_catanhl.c: Likewise.
11403 * math/s_catanl.c: Likewise.
11404 * math/s_cexp.c: Likewise.
11405 * math/s_cexpf.c: Likewise.
11406 * math/s_cexpl.c: Likewise.
11407 * math/s_clog.c: Likewise.
11408 * math/s_clog10.c: Likewise.
11409 * math/s_clog10f.c: Likewise.
11410 * math/s_clog10l.c: Likewise.
11411 * math/s_clogf.c: Likewise.
11412 * math/s_clogl.c: Likewise.
11413 * math/s_csqrt.c: Likewise.
11414 * math/s_csqrtf.c: Likewise.
11415 * math/s_csqrtl.c: Likewise.
11416 * math/s_ctanf.c: Likewise.
11417 * math/s_ctanh.c: Likewise.
11418 * math/s_ctanhf.c: Likewise.
11419 * math/s_ctanhl.c: Likewise.
11420 * math/s_ctanl.c: Likewise.
11421
bc62c2fb
UD
11422 * math/math_private.h: Define __nan, __nanf, __nanl.
11423 * math/s_cacosh.c: Include <math_private.h>.
11424 * math/s_cacoshl.c: Likewise.
11425 * math/s_casinh.c: Likewise.
11426 * math/s_casinhf.c: Likewise.
11427 * math/s_casinhl.c: Likewise.
11428 * math/s_ccos.c: Rely entire on ccosh.
11429 * math/s_ccosf.c: Rely entire on ccoshf.
11430 * math/s_ccosl.c: Rely entirely on ccoshl.
11431 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11432 Remove tests for FE_INVALID.
11433 * math/s_ccoshf.c: Likewise.
11434 * math/s_ccoshl.c: Likewise.
11435 * math/s_csin.c: Likewise.
11436 * math/s_csinf.c: Likewise.
11437 * math/s_csinh.c Likewise.
11438 * math/s_csinhf.c: Likewise.
11439 * math/s_csinhl.c: Likewise.
11440 * math/s_csinl.c: Likewise.
11441 * math/s_ctan.c: Likewise.
11442 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11443 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11444 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11445
8ec250a4
UD
114462011-10-21 Ulrich Drepper <drepper@gmail.com>
11447
c196fed8
UD
11448 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11449 compilation problems.
11450
8ec250a4
UD
11451 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11452 __builtin_expect.
11453
8d4f46c6
UD
114542011-10-20 Ulrich Drepper <drepper@gmail.com>
11455
ed72b654
UD
11456 * sysdeps/i386/configure.in: Test for -mfma4 option.
11457 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11458 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11459 COMMON_CPUID_INDEX_80000001.
11460 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11461 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11462 use it if FMA3 is not supported.
11463 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11464
8d4f46c6
UD
11465 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11466 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11467
d45c60c2
AS
114682011-10-20 Andreas Schwab <schwab@redhat.com>
11469
11470 [BZ #12892]
11471 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11472 it would create a cycle with a link time dependency.
11473
d9a4d2ab
UD
114742011-10-19 Ulrich Drepper <drepper@gmail.com>
11475
855d1560
UD
11476 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11477 instruction.
11478 * string/Makefile (strop-tests): Add rawmemchr.
11479 * string/test-rawmemchr.c: New file.
11480
d9a4d2ab
UD
11481 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11482 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11483 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11484 when compiling str{,n}casecmp and when AVX is available. Hook up
11485 new optimized code in initializers.
11486
8f3b1ffe
AS
114872011-10-19 Andreas Schwab <schwab@redhat.com>
11488
11489 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11490 __feraiseexcept instead of feraiseexcept.
11491
d38f1dba
UD
114922011-10-18 Ulrich Drepper <drepper@gmail.com>
11493
d9a8d0ab
UD
11494 * math/math_private.h: Define defaults for libc_fetestexcept and
11495 libc_feupdateenv.
11496 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11497 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11498 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11499 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11500 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11501 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11502 libc_fetestexcept and libc_feupdateenv.
11503
4855e3dd
UD
11504 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11505 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11506 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11507 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11508 libc_feholdexcept_setround.
11509
581d30e3
UD
11510 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11511 Add s_nearbyint-c and s_nearbyintf-c.
11512 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11513 nearbyintf inlines.
11514 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11515 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11516 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11517 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11518
d38f1dba
UD
11519 * math/math_private.h: Define defaults for libc_fegetround,
11520 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11521 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11522 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11523 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11524 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11525 standard functions.
11526 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11527 Remove comments and hacks for old compiler versions.
11528 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11529 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11530 libc_feholdexceptl.
11531
caa6c9d8
AS
115322011-10-18 Andreas Schwab <schwab@redhat.com>
11533
11534 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
11535 (__feraiseexcept_renamed): Add __NTH.
11536 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
11537 namespace violations.
11538
97c066e6
UD
115392011-10-17 Ulrich Drepper <drepper@gmail.com>
11540
99ce7b04
UD
11541 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11542
1004d182
UD
11543 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11544
228a984d
UD
11545 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11546 recently added interfaces.
11547 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11548
c8553a6a
UD
11549 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11550 about macro parameter expansion.
11551
ed22dcf6
UD
11552 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11553 __NO_MATH_INLINES is defined. Cleanups.
11554
11555 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11556 and __floorf is target has SSE4.1.
11557 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11558 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11559 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11560 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11561
b171c137
UD
11562 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11563 name.
11564 (floorf): Likewise.
11565
97c066e6
UD
11566 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11567
629f62ef
AS
115682011-10-17 Andreas Schwab <schwab@redhat.com>
11569
49a43d80
AS
11570 * misc/sys/cdefs.h: Fix last change.
11571
629f62ef
AS
11572 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11573 database lookup.
11574
e453f6cd
UD
115752011-10-16 Ulrich Drepper <drepper@gmail.com>
11576
aa78043a
UD
11577 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11578
ad0f5cad
UD
11579 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11580 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11581 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11582 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11583 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11584 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11585 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11586 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11587 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11588 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11589 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11590 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11591 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11592 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11593 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11594 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11595 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11596 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11597 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11598 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11599 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11600 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11601
11602 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11603 ceil, ceilf, floor, floorf.
11604
11605 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11606 Perform IRELATIVE relocations last.
11607
e453f6cd
UD
11608 * elf/do-rel.h: Add another parameter nrelative, replacing the
11609 local variable with the same name. Change name of the function
11610 to end in Rel or Rela (uppercase).
11611 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11612 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11613 elf_dynamic_do_##reloc function.
11614
fd5bdc09
UD
116152011-10-15 Ulrich Drepper <drepper@gmail.com>
11616
79b195b5
UD
11617 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11618 is sufficient, at least on modern CPUs.
11619
d4a28569
UD
11620 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11621
b61099b5
UD
11622 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11623 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11624
bcf01e6d
UD
11625 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11626 __expl_finite.
11627 * math/bits/math-finite.h: Add entries for exp.
11628 * math/e_expl.c: Add __*_finite alias.
11629 * sysdeps/i386/fpu/e_exp.S: Likewise.
11630 * sysdeps/i386/fpu/e_expf.S: Likewise.
11631 * sysdeps/i386/fpu/e_expl.c: Likewise.
11632 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11633 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11634 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11635 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11636 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11637 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11638 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11639
ba1a0d59
UD
11640 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11641 is sufficient, at least on modern CPUs.
11642
fd5bdc09
UD
11643 * ctype/ctype-info.c (__ctype_init): Define.
11644 * include/ctype.h (__ctype_init): Declare.
11645 (__ctype_b_loc): The variable is always initialized.
11646 (__ctype_toupper_loc): Likewise.
11647 (__ctype_tolower_loc): Likewise.
11648 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11649 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11650
7872cfb0
AS
116512011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11652
b468825a
AS
11653 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11654
7872cfb0
AS
11655 * configure.in: Also look in $cxxmachine/include for C++ system
11656 headers.
11657
be13f7bf
LD
116582011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11659
11660 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11661 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11662 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11663 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11664 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11665 (USE_AS_WMEMCMP): New macro.
11666 Fixing indents.
11667 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11668 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11669 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11670 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11671 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11672 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11673 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11674 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11675 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11676 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11677 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11678 (USE_AS_WMEMCMP): New macro.
11679 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11680 * sysdeps/string/test-memcmp.c: Update.
11681 Fix simple_wmemcmp.
11682 Add new tests.
11683 * wcsmbs/wmemcmp.c: Update.
11684 (WMEMCMP): New macro.
11685 Fix overflow bug.
11686
556a2007
AJ
116872011-10-12 Andreas Jaeger <aj@suse.de>
11688
11689 [BZ #13268]
11690 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11691
538faaa7
UD
116922011-10-15 Ulrich Drepper <drepper@gmail.com>
11693
ab6737ff
UD
11694 * libio/iofwide.c (do_length): Avoid warning.
11695
538faaa7
UD
11696 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11697
396a21b1
UD
116982011-10-14 Ulrich Drepper <drepper@gmail.com>
11699
cdf2901f
UD
11700 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11701
38ad40ce
UD
11702 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11703 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11704 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11705 * sysdeps/i386/i686/fpu/e_log.S: New file.
11706 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11707 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11708
396a21b1
UD
11709 * ctype/ctype.h: Add support for inlined isXXX functions when
11710 compiling C++ code.
11711
6b1f68c9
AS
117122011-10-14 Andreas Schwab <schwab@redhat.com>
11713
349290c0
AS
11714 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11715
6b1f68c9
AS
11716 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11717
f2282d42
RM
117182011-10-13 Roland McGrath <roland@hack.frob.com>
11719
11720 [BZ #13291]
11721 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11722
5298ffa8
AS
117232011-10-13 Andreas Schwab <schwab@redhat.com>
11724
714fad23
AS
11725 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11726 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11727 feraiseexcept.
11728
81dcc7fb
AS
11729 * sysdeps/x86_64/memrchr.S: Check for zero size.
11730
5298ffa8
AS
11731 * string/stratcliff.c: Add memrchr tests.
11732
951fbcec
LD
117332011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11734
11735 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11736 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11737 rawmemchr-sse2 rawmemchr-sse2-bsf.
11738 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11739 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11740 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11741 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11742 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11743 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11744 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11745 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11746 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11747 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11748 * string/memrchr.c (MEMRCHR): New macro.
11749
0ac5ae23
UD
117502011-10-12 Ulrich Drepper <drepper@gmail.com>
11751
11752 Add integration with gcc's -ffinite-math-only and optimize wrapper
11753 functions in libm.
11754 * Versions.def: Define GLIBC_2.15 version for libm.
11755 * math/Makefile (headers): Add bits/math-finite.h.
11756 * math/bits/math-finite.h: New file.
11757 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11758 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11759 * math/e_acoshl.c: Add __*_finite alias.
11760 * math/e_acosl.c: Likewise.
11761 * math/e_asinl.c: Likewise.
11762 * math/e_atan2l.c: Likewise.
11763 * math/e_atanhl.c: Likewise.
11764 * math/e_coshl.c: Likewise.
11765 * math/e_exp10.c: Likewise.
11766 * math/e_exp10f.c: Likewise.
11767 * math/e_exp10l.c: Likewise.
11768 * math/e_exp2l.c: Likewise.
11769 * math/e_fmodl.c: Likewise.
11770 * math/e_gammal_r.c: Likewise.
11771 * math/e_hypotl.c: Likewise.
11772 * math/e_j0l.c: Likewise.
11773 * math/e_j1l.c: Likewise.
11774 * math/e_jnl.c: Likewise.
11775 * math/e_lgammal_r.c: Likewise.
11776 * math/e_log10l.c: Likewise.
11777 * math/e_log2l.c: Likewise.
11778 * math/e_logl.c: Likewise.
11779 * math/e_powl.c: Likewise.
11780 * math/e_sinhl.c: Likewise.
11781 * math/e_sqrtl.c: Likewise.
11782 * math/e_scalb.c: Completely rewritten and optimized.
11783 * math/e_scalbf.c: Likewise.
11784 * math/e_scalbl.c: Likewise.
11785 * math/w_acos.c: Likewise.
11786 * math/w_acosf.c: Likewise.
11787 * math/w_acosl.c: Likewise.
11788 * math/w_acosh.c: Likewise.
11789 * math/w_acoshf.c: Likewise.
11790 * math/w_acoshl.c: Likewise.
11791 * math/w_asin.c: Likewise.
11792 * math/w_asinf.c: Likewise.
11793 * math/w_asinl.c: Likewise.
11794 * math/w_atan2.c: Likewise.
11795 * math/w_atan2f.c: Likewise.
11796 * math/w_atan2l.c: Likewise.
11797 * math/w_atanh.c: Likewise.
11798 * math/w_atanhf.c: Likewise.
11799 * math/w_atanhl.c: Likewise.
11800 * math/w_exp10.c: Likewise.
11801 * math/w_exp10f.c: Likewise.
11802 * math/w_exp10l.c: Likewise.
11803 * math/w_fmod.c: Likewise.
11804 * math/w_fmodf.c: Likewise.
11805 * math/w_fmodl.c: Likewise.
11806 * math/w_j0.c: Likewise.
11807 * math/w_j0f.c: Likewise.
11808 * math/w_j0l.c: Likewise.
11809 * math/w_j1.c: Likewise.
11810 * math/w_j1f.c: Likewise.
11811 * math/w_j1l.c: Likewise.
11812 * math/w_jn.c: Likewise.
11813 * math/w_jnf.c: Likewise.
11814 * math/w_log.c: Likewise.
11815 * math/w_logf.c: Likewise.
11816 * math/w_logl.c: Likewise.
11817 * math/w_log10.c: Likewise.
11818 * math/w_log10f.c: Likewise.
11819 * math/w_log10l.c: Likewise.
11820 * math/w_log2.c: Likewise.
11821 * math/w_log2f.c: Likewise.
11822 * math/w_log2l.c: Likewise.
11823 * math/w_pow.c: Likewise.
11824 * math/w_powf.c: Likewise.
11825 * math/w_powl.c: Likewise.
11826 * math/w_remainder.c: Likewise.
11827 * math/w_remainderf.c: Likewise.
11828 * math/w_remainderl.c: Likewise.
11829 * math/w_scalb.c: Likewise.
11830 * math/w_scalbf.c: Likewise.
11831 * math/w_scalbl.c: Likewise.
11832 * math/w_sqrt.c: Likewise.
11833 * math/w_sqrtf.c: Likewise.
11834 * math/w_sqrtl.c: Likewise.
11835 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11836 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11837 used.
11838 * math/math_private.h: Declare __kernel_standard_f.
11839 * math/w_cosh.c: Remove cruft and optimize a bit.
11840 * math/w_coshf.c: Likewise.
11841 * math/w_coshl.c: Likewise.
11842 * math/w_exp2.c: Likewise.
11843 * math/w_exp2f.c: Likewise.
11844 * math/w_exp2l.c: Likewise.
11845 * math/w_hypot.c: Likewise.
11846 * math/w_hypotf.c: Likewise.
11847 * math/w_hypotl.c: Likewise.
11848 * math/w_lgamma.c: Likewise.
11849 * math/w_lgamma_r.c: Likewise.
11850 * math/w_lgammaf.c: Likewise.
11851 * math/w_lgammaf_r.c: Likewise.
11852 * math/w_lgammal.c: Likewise.
11853 * math/w_lgammal_r.c: Likewise.
11854 * math/w_sinh.c: Likewise.
11855 * math/w_sinhf.c: Likewise.
11856 * math/w_sinhl.c: Likewise.
11857 * math/w_tgamma.c: Likewise.
11858 * math/w_tgammaf.c: Likewise.
11859 * math/w_tgammal.c: Likewise.
11860 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11861 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11862 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11863 Minor optimizations. Pretty printing. Remove cruft.
11864 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11865 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11866 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11867 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11868 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11869 * sysdeps/i386/fpu/e_asin.S: Likewise.
11870 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11871 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11872 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11873 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11874 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11875 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11876 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11877 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11878 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11879 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11880 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11881 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11882 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11883 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11884 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11885 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11886 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11887 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11888 * sysdeps/i386/fpu/e_log.S: Likewise.
11889 * sysdeps/i386/fpu/e_log10.S: Likewise.
11890 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11891 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11892 * sysdeps/i386/fpu/e_log2.S: Likewise.
11893 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11894 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11895 * sysdeps/i386/fpu/e_logf.S: Likewise.
11896 * sysdeps/i386/fpu/e_logl.S: Likewise.
11897 * sysdeps/i386/fpu/e_pow.S: Likewise.
11898 * sysdeps/i386/fpu/e_powf.S: Likewise.
11899 * sysdeps/i386/fpu/e_powl.S: Likewise.
11900 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11901 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11902 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11903 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11904 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11905 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11906 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11907 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11908 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11909 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11910 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11911 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11912 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11913 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11914 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11915 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11916 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11917 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11918 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11919 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11920 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11921 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11922 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11923 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11924 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11925 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11926 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11927 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11928 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11929 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11930 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11931 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11932 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11933 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11934 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11935 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11936 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11937 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11938 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11939 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11940 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11941 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11942 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11943 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11944 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11945 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11946 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11947 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11948 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11949 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11950 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11951 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11952 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11953 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11954 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11955 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11956 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11957 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11958 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11959 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11960 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11961 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11962 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11963 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11964 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11965 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11966 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11967 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11968 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11969 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11970 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11971 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11972 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11973 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11974 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11975 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11976 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11977 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11978 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11979 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11980 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11981 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11982 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11983 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11984 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11985 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11986 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11987 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11988 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11989 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11990 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11991 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11992 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11993 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11994 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11995 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11996 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11997 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11998 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11999 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12000 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12001 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12002 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12003 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12004 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12005 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12006 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12007 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12008 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12009 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12010 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12011 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12012 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12013 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12014 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12015 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12016 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12017 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12018 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12019 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12020 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12021 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12022 (__isnanf): Likewise.
12023 (__isinf_ns): Likewise.
12024 (__isinf_nsf): Likewise.
12025 (__finite): Likewise.
12026 (__finitef): Likewise.
12027 (__ieee754_sqrt): Define as macro.
12028 (__ieee754_sqrtf): Define as macro.
12029 (__ieee754_sqrtl): Define as macro.
12030 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12031 inlined copy.
12032 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12033 __FINITE_MATH_ONLY__ consistent.
12034 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12035
12cc2fcd
AS
120362011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12037
a843a204
AS
12038 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12039 of rawmemchr.
12040
12cc2fcd
AS
12041 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12042
c853acd5
UD
120432011-10-09 Ulrich Drepper <drepper@gmail.com>
12044
12045 * po/ja.po: Update from translation team.
12046
c658d255
RM
120472011-10-08 Roland McGrath <roland@hack.frob.com>
12048
110946e4
RM
12049 * locale/programs/locarchive.c (prepare_address_space): New function.
12050 (create_archive, enlarge_archive, open_archive): Use it.
12051
50604220
RM
12052 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12053 inside [SHARED], where it is used.
12054
c658d255
RM
12055 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12056
12057 * nss/getent.c (netgroup_keys): Remove unused variable.
12058 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12059
6a621eb7
UD
120602011-10-08 Ulrich Drepper <drepper@gmail.com>
12061
7edb55ce
UD
12062 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12063 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12064 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12065 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12066 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12067 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12068 * math/Makefile (libm-calls): Add s_isinf_ns.
12069 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12070 * math/multc3.c: Likewise.
12071 * math/s_casin.c: Likewise.
12072 * math/s_casinf.c: Likewise.
12073 * math/s_casinl.c: Likewise.
12074 * math/s_ccos.c: Likewise.
12075 * math/s_ccosf.c: Likewise.
12076 * math/s_ccosl.c: Likewise.
12077 * math/s_ctan.c: Likewise.
12078 * math/s_ctanf.c: Likewise.
12079 * math/s_ctanh.c: Likewise.
12080 * math/s_ctanhf.c: Likewise.
12081 * math/s_ctanhl.c: Likewise.
12082 * math/s_ctanl.c: Likewise.
12083 * math/w_fmod.c: Likewise.
12084 * math/w_fmodf.c: Likewise.
12085 * math/w_fmodl.c: Likewise.
12086 * math/w_remainder.c: Likewise.
12087 * math/w_remainderf.c: Likewise.
12088 * math/w_remainderl.c: Likewise.
12089 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12090 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12091 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12092 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12093 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12094 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12095 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12096 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12097
187da0ae
UD
12098 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12099 of the number.
12100 * stdio-common/printf_fphex.c: Likewise.
12101 * stdio-common/printf_size.c: Likewise.
12102
9277c064
UD
12103 * math/e_exp10.c: Include math_private.h using <...> not "...".
12104 * math/e_exp10f.c: Likewise.
12105 * math/e_exp10l.c: Likewise.
12106 * math/e_exp2l.c: Likewise.
12107 * math/e_j0l.c: Likewise.
12108 * math/e_j1l.c: Likewise.
12109 * math/e_jnl.c: Likewise.
12110 * math/e_lgammal_r.c: Likewise.
12111 * math/e_rem_pio2l.c: Likewise.
12112 * math/e_scalb.c: Likewise.
12113 * math/e_scalbf.c: Likewise.
12114 * math/e_scalbl.c: Likewise.
12115 * math/k_cosl.c: Likewise.
12116 * math/k_sinl.c: Likewise.
12117 * math/k_tanl.c: Likewise.
12118 * math/s_cacoshf.c: Likewise.
12119 * math/s_catan.c: Likewise.
12120 * math/s_catanf.c: Likewise.
12121 * math/s_catanh.c: Likewise.
12122 * math/s_catanhf.c: Likewise.
12123 * math/s_catanhl.c: Likewise.
12124 * math/s_catanl.c: Likewise.
12125 * math/s_ccosh.c: Likewise.
12126 * math/s_ccoshf.c: Likewise.
12127 * math/s_ccoshl.c: Likewise.
12128 * math/s_cexp.c: Likewise.
12129 * math/s_cexpf.c: Likewise.
12130 * math/s_cexpl.c: Likewise.
12131 * math/s_clog.c: Likewise.
12132 * math/s_clog10.c: Likewise.
12133 * math/s_clog10f.c: Likewise.
12134 * math/s_clog10l.c: Likewise.
12135 * math/s_clogf.c: Likewise.
12136 * math/s_clogl.c: Likewise.
12137 * math/s_csin.c: Likewise.
12138 * math/s_csinf.c: Likewise.
12139 * math/s_csinh.c: Likewise.
12140 * math/s_csinhf.c: Likewise.
12141 * math/s_csinhl.c: Likewise.
12142 * math/s_csinl.c: Likewise.
12143 * math/s_csqrt.c: Likewise.
12144 * math/s_csqrtf.c: Likewise.
12145 * math/s_csqrtl.c: Likewise.
12146 * math/s_ctan.c: Likewise.
12147 * math/s_ctanf.c: Likewise.
12148 * math/s_ctanh.c: Likewise.
12149 * math/s_ctanhf.c: Likewise.
12150 * math/s_ctanhl.c: Likewise.
12151 * math/s_ctanl.c: Likewise.
12152 * math/s_ldexp.c: Likewise.
12153 * math/s_ldexpf.c: Likewise.
12154 * math/s_ldexpl.c: Likewise.
12155 * math/s_significand.c: Likewise.
12156 * math/s_significandf.c: Likewise.
12157 * math/s_significandl.c: Likewise.
12158 * math/w_acos.c: Likewise.
12159 * math/w_acosf.c: Likewise.
12160 * math/w_acosh.c: Likewise.
12161 * math/w_acoshf.c: Likewise.
12162 * math/w_acoshl.c: Likewise.
12163 * math/w_acosl.c: Likewise.
12164 * math/w_asin.c: Likewise.
12165 * math/w_asinf.c: Likewise.
12166 * math/w_asinl.c: Likewise.
12167 * math/w_atan2.c: Likewise.
12168 * math/w_atan2f.c: Likewise.
12169 * math/w_atan2l.c: Likewise.
12170 * math/w_atanh.c: Likewise.
12171 * math/w_atanhf.c: Likewise.
12172 * math/w_atanhl.c: Likewise.
12173 * math/w_cosh.c: Likewise.
12174 * math/w_coshf.c: Likewise.
12175 * math/w_coshl.c: Likewise.
12176 * math/w_dremf.c: Likewise.
12177 * math/w_exp10.c: Likewise.
12178 * math/w_exp10f.c: Likewise.
12179 * math/w_exp10l.c: Likewise.
12180 * math/w_exp2.c: Likewise.
12181 * math/w_exp2f.c: Likewise.
12182 * math/w_fmod.c: Likewise.
12183 * math/w_fmodf.c: Likewise.
12184 * math/w_fmodl.c: Likewise.
12185 * math/w_hypot.c: Likewise.
12186 * math/w_hypotf.c: Likewise.
12187 * math/w_hypotl.c: Likewise.
12188 * math/w_j0.c: Likewise.
12189 * math/w_j0f.c: Likewise.
12190 * math/w_j0l.c: Likewise.
12191 * math/w_j1.c: Likewise.
12192 * math/w_j1f.c: Likewise.
12193 * math/w_j1l.c: Likewise.
12194 * math/w_jn.c: Likewise.
12195 * math/w_jnf.c: Likewise.
12196 * math/w_jnl.c: Likewise.
12197 * math/w_lgamma.c: Likewise.
12198 * math/w_lgamma_r.c: Likewise.
12199 * math/w_lgammaf.c: Likewise.
12200 * math/w_lgammaf_r.c: Likewise.
12201 * math/w_lgammal.c: Likewise.
12202 * math/w_lgammal_r.c: Likewise.
12203 * math/w_log.c: Likewise.
12204 * math/w_log10.c: Likewise.
12205 * math/w_log10f.c: Likewise.
12206 * math/w_log10l.c: Likewise.
12207 * math/w_log2.c: Likewise.
12208 * math/w_log2f.c: Likewise.
12209 * math/w_log2l.c: Likewise.
12210 * math/w_logf.c: Likewise.
12211 * math/w_logl.c: Likewise.
12212 * math/w_pow.c: Likewise.
12213 * math/w_powf.c: Likewise.
12214 * math/w_powl.c: Likewise.
12215 * math/w_remainder.c: Likewise.
12216 * math/w_remainderf.c: Likewise.
12217 * math/w_remainderl.c: Likewise.
12218 * math/w_scalb.c: Likewise.
12219 * math/w_scalbf.c: Likewise.
12220 * math/w_scalbl.c: Likewise.
12221 * math/w_sinh.c: Likewise.
12222 * math/w_sinhf.c: Likewise.
12223 * math/w_sinhl.c: Likewise.
12224 * math/w_sqrt.c: Likewise.
12225 * math/w_sqrtf.c: Likewise.
12226 * math/w_sqrtl.c: Likewise.
12227 * math/w_tgamma.c: Likewise.
12228 * math/w_tgammaf.c: Likewise.
12229 * math/w_tgammal.c: Likewise.
12230
6a621eb7
UD
12231 * po/ja.po: Update from translation team.
12232
bf582445
AJ
122332011-09-29 Andreas Jaeger <aj@suse.de>
12234
f9efbf3a
AJ
12235 [BZ #13179]
12236 * sunrpc/netname.c (netname2host): Fix logic.
12237
bf582445
AJ
12238 [BZ #6779]
12239 [BZ #6783]
12240 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12241 correctly.
12242 * math/w_remainder.c (__remainder): Likewise.
12243 * math/w_remainderf.c (__remainderf): Likewise.
12244 * math/libm-test.inc (remainder_test): Add test cases.
12245
48693bea
AK
122462011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12247
12248 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
12249 sdiv_qrnnd.
12250
42622229
LD
122512011-10-07 Ulrich Drepper <drepper@gmail.com>
12252
12253 * string/test-memcmp.c: Avoid unncessary #defines.
12254 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12255
093ecf92
LD
122562011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12257
12258 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12259 Use new sse2 version for core i3 - i7 as it's faster
12260 than sse42 version.
12261 (bit_Prefer_PMINUB_for_stringop): New.
12262 * sysdeps/x86_64/rawmemchr.S: Update.
12263 Replace with faster SSE2 version.
12264 * sysdeps/x86_64/memrchr.S: New file.
12265 * sysdeps/x86_64/memchr.S: Update.
12266 Replace with faster SSE2 version.
12267
fde56e5c
MP
122682011-09-12 Marek Polacek <mpolacek@redhat.com>
12269
12270 * elf/dl-load.c (lose): Add cast to avoid warning.
12271
21fd49a9
UD
122722011-10-07 Ulrich Drepper <drepper@gmail.com>
12273
5a06e643
UD
12274 * po/ca.po: Update from translation team.
12275
684ae515
UD
12276 * inet/getnetgrent_r.c: Hook up nscd.
12277 * nscd/Makefile (routines): Add nscd_netgroup.
12278 (nscd-modules): Add netgroupcache.
12279 (CFLAGS-netgroupcache.c): Define.
12280 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12281 (cache_search): Add const to second parameter.
12282 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12283 INNETGR.
12284 (dbs): Add netgrdb entry.
12285 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12286 (verify_persistent_db): Handle netgrdb.
12287 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12288 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12289 GETFDNETGR.
12290 (netgroup_response_header): Define.
12291 (innetgroup_response_header): Define.
12292 (datahead): Add netgroup_response_header and innetgroup_response_header
12293 elements.
12294 * nscd/nscd.conf: Add entries for netgroup cache.
12295 * nscd/nscd.h (dbtype): Add netgrdb.
12296 (_PATH_NSCD_NETGROUP_DB): Define.
12297 (netgroup_iov_disabled): Declare.
12298 (xmalloc, xcalloc, xrealloc): Move declarations here.
12299 (cache_search): Adjust prototype.
12300 Add netgroup-related prototypes.
12301 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
12302 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
12303 (__nscd_innetgr): Declare.
12304 * nscd/selinux.c (perms): Use access_vector_t as element type and
12305 add netgroup-related initializers.
12306 * nscd/netgroupcache.c: New file.
12307 * nscd/nscd_netgroup.c: New file.
12308 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12309 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12310 For four parameters use innetgr.
12311 * nss/nss_files/files-init.c: Add definition and callback for netgr.
12312 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12313 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12314 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12315
21fd49a9
UD
12316 * nscd/connections.c (register_traced_file): Don't register file
12317 for disabled databases.
12318
054c0457
UD
123192011-10-06 Ulrich Drepper <drepper@gmail.com>
12320
32b63198
UD
12321 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
12322
054c0457
UD
12323 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
12324 from tree and freeing node.
12325
64031225
JO
123262011-09-25 Jiri Olsa <jolsa@redhat.com>
12327
12328 * nss/nsswitch.c (__nss_database_lookup): Handle
12329 nss_parse_service_list out of memory case.
12330
0490345c
JO
123312011-09-15 Jiri Olsa <jolsa@redhat.com>
12332
12333 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12334 out of memory case.
12335
3a62d00d
AS
123362011-10-04 Andreas Schwab <schwab@redhat.com>
12337
12338 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12339 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12340 pass it down.
12341 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12342 elf_machine_rela, elf_machine_lazy_rel.
12343 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12344 (ELF_DYNAMIC_DO_REL): Likewise.
12345 (ELF_DYNAMIC_DO_RELA): Likewise.
12346 (ELF_DYNAMIC_RELOCATE): Likewise.
12347 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12348 to ELF_DYNAMIC_DO_REL.
12349 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12350 (dl_main): In trace mode always set __RTLD_NOIFUNC.
12351 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12352 elf_machine_rela.
12353 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12354 skip_ifunc, don't call ifunc function if non-zero.
12355 (elf_machine_rela): Likewise.
12356 (elf_machine_lazy_rel): Likewise.
12357 (elf_machine_lazy_rela): Likewise.
12358 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12359 (elf_machine_lazy_rel): Likewise.
12360 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12361 Likewise.
12362 (elf_machine_lazy_rel): Likewise.
12363 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12364 Likewise.
12365 (elf_machine_lazy_rel): Likewise.
12366 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12367 (elf_machine_lazy_rel): Likewise.
12368 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12369 (elf_machine_lazy_rel): Likewise.
12370 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12371 (elf_machine_lazy_rel): Likewise.
12372 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12373 (elf_machine_lazy_rel): Likewise.
12374 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12375 (elf_machine_lazy_rel): Likewise.
12376 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12377 (elf_machine_lazy_rel): Likewise.
12378
68577918
UD
123792011-09-28 Ulrich Drepper <drepper@gmail.com>
12380
12381 * nss/nss_files/files-init.c (_nss_files_init): Use static
12382 initialization for all the *_traced_file variables.
12383
68822d74
AS
123842011-09-28 Andreas Schwab <schwab@redhat.com>
12385
12386 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12387
2056100b
RM
123882011-09-27 Roland McGrath <roland@hack.frob.com>
12389
12390 [BZ #13226]
12391 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12392
32c76b63
AS
123932011-09-27 Andreas Schwab <schwab@redhat.com>
12394
12395 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12396 Reread the line before reparsing it.
12397
bf972c9d
AS
123982011-09-26 Andreas Schwab <schwab@redhat.com>
12399
12400 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12401
e057a1b5
JM
124022011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12403 Maxim Kuvyrkov <maxim@codesourcery.com>
12404 Joseph Myers <joseph@codesourcery.com>
12405
12406 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12407 if needed for __stack_chk_guard.
12408
bc7e1c36
RM
124092011-09-19 Roland McGrath <roland@hack.frob.com>
12410
ecb1482f
RM
12411 * sysdeps/posix/spawni.c (script_execute): Always define it.
12412 It will be optimized away if unused.
12413 (maybe_script_execute): New function.
12414 (__spawni): Call it.
12415
bc7e1c36
RM
12416 * Makerules: Don't include tls.make.
12417 (config-tls): Always set to thread.
12418 * tls.make.c: File removed.
12419
1c3b002b
MF
124202011-09-19 Mike Frysinger <vapier@gentoo.org>
12421
12422 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12423 * config.make.in (CPPFLAGS-config): New substituted variable.
12424
2840865d
UD
124252011-09-15 Ulrich Drepper <drepper@gmail.com>
12426
88738eb6
UD
12427 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12428
cbf645a6 12429 [BZ #13192]
2840865d
UD
12430 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12431 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12432
b402e91a
RM
124332011-09-15 Roland McGrath <roland@hack.frob.com>
12434
12435 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12436 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12437 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12438 (CALL_FAIL): Likewise.
12439 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12440 (CALL_FAIL): Macro removed.
12441 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12442
4c1a1f71
UD
124432011-09-15 Ulrich Drepper <drepper@gmail.com>
12444
12445 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12446 for __FINITE_MATH_ONLY__ == 1.
12447
edc121be
AS
124482011-09-15 Andreas Schwab <schwab@redhat.com>
12449
12450 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12451 __ieee754_sqrt instead of sqrt.
12452 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12453 __ieee754_sqrtf instead of sqrtf.
12454 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12455 __floorf instead of floorf.
12456 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12457 __floorf, __truncf instead of floorf, truncf.
12458
cd205654
UD
124592011-09-14 Ulrich Drepper <drepper@gmail.com>
12460
ee4d0315
UD
12461 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12462
cd205654
UD
12463 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12464 __extern_always_inline.
12465 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12466 32-bit.
12467
48b67d71
AS
124682011-09-14 Andreas Schwab <schwab@redhat.com>
12469
12470 * elf/rtld.c (dl_main): Also relocate in dependency order when
12471 doing symbol dependency testing.
12472
1ae12c75
AS
124732011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12474
12475 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12476 Always define `refsym'.
12477
995a80df
AS
124782011-09-13 Andreas Schwab <schwab@redhat.com>
12479
e529793b
AS
12480 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12481 (__FD_ELT): Renamed from __FDELT.
12482 * misc/bits/select2.h (__FD_ELT): Likewise.
12483 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12484 __FD_MASK instead of __FDELT, __FDMASK.
12485 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12486 Likewise.
12487 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12488 Likewise.
12489
52d4fef8
AS
12490 * elf/Makefile (gen-ldd): Fix pattern.
12491
995a80df
AS
12492 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12493 (init_tls): Likewise.
12494
8682f8b0
UD
124952011-09-12 Ulrich Drepper <drepper@gmail.com>
12496
12497 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12498
de82006d
AS
124992011-09-12 Andreas Schwab <schwab@redhat.com>
12500
a7c8e6a1
AS
12501 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12502 `struct cmsghdr *' instead of `void *'.
12503 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12504 Likewise.
12505
0f31fe77
AS
125062011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12507
12508 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12509 if non-absolute.
12510 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12511 ldd_rewrite_script.
0f31fe77 12512
32b4c839
UD
125132011-09-11 Ulrich Drepper <drepper@gmail.com>
12514
83cd1420
UD
12515 * configure.in: Remove --with-tls option.
12516 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12517 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12518 out in case it is missing.
12519 * sysdeps/ia64/elf/configure.in: Likewise.
12520 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12521 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12522 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12523 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12524 * sysdeps/sh/elf/configure.in: Likewise.
12525 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12526 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12527 * sysdeps/x86_64/elf/configure.in: Likewise.
12528 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12529 * sysdeps/mach/hurd/tls.h: Likewise.
12530
633f745d
UD
12531 [BZ #13067]
12532 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12533
f318beb8
UD
12534 [BZ #13090]
12535 * configure.in: Fix use of AC_INIT.
12536
32b4c839
UD
12537 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12538
3ce1f295
UD
125392011-09-10 Ulrich Drepper <drepper@gmail.com>
12540
bb016596
UD
12541 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12542 __set_errno.
8e58439c
UD
12543 * malloc/hooks.c: Likewise.
12544
aebae053 12545 [BZ #11929]
02d46fc4
UD
12546 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12547 variables statically.
12548 (narenas): Initialize.
12549 (list_lock): Initialize.
bb016596
UD
12550 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12551 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
12552 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12553 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12554 Add initializers to main_arena and mp_.
12555 (malloc_state): Remove pagesize member. Change all users to use
12556 GLRO(dl_pagesize).
12557
12558 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12559 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12560 is always initialized.
12561
22a89187
UD
12562 * malloc/malloc.c: Removed unused configurations and dead code.
12563 * malloc/arena.c: Likewise.
12564 * malloc/hooks.c: Likewise.
02d46fc4 12565 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 12566
d063d164
UD
12567 * include/tls.h: Removed. USE___THREAD must always be defined.
12568 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12569 * elf/dl-libc.c: Likewise.
12570 * elf/dl-tsd.c: Likewise.
12571 * include/errno.h: Likewise.
12572 * include/netdb.h: Likewise.
12573 * include/resolv.h: Likewise.
12574 * inet/herrno-loc.c: Likewise.
12575 * inet/herrno.c: Likewise.
12576 * malloc/arena.c: Likewise.
12577 * malloc/hooks.c: Likewise.
12578 * malloc/malloc.c: Likewise.
12579 * resolv/res-state.c: Likewise.
12580 * resolv/res_libc.c: Likewise.
12581 * sysdeps/i386/dl-machine.h: Likewise.
12582 * sysdeps/ia64/dl-machine.h: Likewise.
12583 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12584 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12585 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12586 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12587 * sysdeps/sh/dl-machine.h: Likewise.
12588 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12589 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12590 * sysdeps/unix/i386/sysdep.S: Likewise.
12591 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12592 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12593 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12594 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12595 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12596 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12597 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12598 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12599 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12600 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12601 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12602 * sysdeps/x86_64/dl-machine.h: Likewise.
12603 * tls.make.c: Likewise.
12604
3ce1f295
UD
12605 * configure.in: Remove --with-__thread option. Make tests for
12606 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12607 tls_model attribute fail if no support is available. Remove
12608 USE_IN_LIBIO.
12609 * Makeconfig: Adjust for dropped configure option. All features are
12610 now mandatory.
12611 * Makerules: Likewise.
12612 * Versions.def: Likewise.
12613 * argp/argp-fmtstream.c: Likewise.
12614 * argp/argp-fmtstream.h: Likewise.
12615 * argp/argp-help.c: Likewise.
12616 * assert/assert.c: Likewise.
12617 * config.h.in: Likewise.
12618 * config.make.in: Likewise.
12619 * configure: Likewise.
12620 * configure.in: Likewise.
12621 * csu/Versions: Likewise.
12622 * csu/init.c: Likewise.
12623 * elf/tst-audit2.c: Likewise.
12624 * elf/tst-tls10.c: Likewise.
12625 * elf/tst-tls10.h: Likewise.
12626 * elf/tst-tls11.c: Likewise.
12627 * elf/tst-tls12.c: Likewise.
12628 * elf/tst-tls14.c: Likewise.
12629 * elf/tst-tlsmod11.c: Likewise.
12630 * elf/tst-tlsmod12.c: Likewise.
12631 * elf/tst-tlsmod13.c: Likewise.
12632 * elf/tst-tlsmod13a.c: Likewise.
12633 * elf/tst-tlsmod14a.c: Likewise.
12634 * elf/tst-tlsmod15b.c: Likewise.
12635 * elf/tst-tlsmod16a.c: Likewise.
12636 * elf/tst-tlsmod16b.c: Likewise.
12637 * elf/tst-tlsmod7.c: Likewise.
12638 * elf/tst-tlsmod8.c: Likewise.
12639 * elf/tst-tlsmod9.c: Likewise.
12640 * gmon/gmon.c: Likewise.
12641 * grp/fgetgrent_r.c: Likewise.
12642 * grp/putgrent.c: Likewise.
12643 * hurd/fopenport.c: Likewise.
12644 * include/libc-symbols.h: Likewise.
12645 * include/tls.h: Likewise.
12646 * intl/gettextP.h: Likewise.
12647 * intl/loadinfo.h: Likewise.
12648 * locale/global-locale.c: Likewise.
12649 * locale/localeinfo.h: Likewise.
12650 * mach/devstream.c: Likewise.
12651 * malloc/arena.c: Likewise.
12652 * malloc/set-freeres.c: Likewise.
12653 * misc/err.c: Likewise.
12654 * misc/getttyent.c: Likewise.
12655 * misc/mntent_r.c: Likewise.
12656 * posix/getopt.c: Likewise.
12657 * posix/wordexp.c: Likewise.
12658 * pwd/fgetpwent_r.c: Likewise.
12659 * resolv/Versions: Likewise.
12660 * resolv/res_hconf.c: Likewise.
12661 * shadow/fgetspent_r.c: Likewise.
12662 * shadow/putspent.c: Likewise.
12663 * stdio-common/printf_fphex.c: Likewise.
12664 * stdio-common/tmpfile.c: Likewise.
12665 * stdlib/abort.c: Likewise.
12666 * stdlib/fmtmsg.c: Likewise.
12667 * sunrpc/auth_unix.c: Likewise.
12668 * sunrpc/clnt_perr.c: Likewise.
12669 * sunrpc/clnt_tcp.c: Likewise.
12670 * sunrpc/clnt_udp.c: Likewise.
12671 * sunrpc/clnt_unix.c: Likewise.
12672 * sunrpc/openchild.c: Likewise.
12673 * sunrpc/svc_simple.c: Likewise.
12674 * sunrpc/svc_tcp.c: Likewise.
12675 * sunrpc/svc_udp.c: Likewise.
12676 * sunrpc/svc_unix.c: Likewise.
12677 * sunrpc/xdr.c: Likewise.
12678 * sunrpc/xdr_array.c: Likewise.
12679 * sunrpc/xdr_rec.c: Likewise.
12680 * sunrpc/xdr_ref.c: Likewise.
12681 * sunrpc/xdr_stdio.c: Likewise.
12682
1248c1c4
PB
126832011-09-09 Ulrich Drepper <drepper@gmail.com>
12684
12685 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12686
126872011-07-03 Andreas Jaeger <aj@suse.de>
12688
12689 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12690 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12691 regenerate with gen-libm-tests.pl.
12692
126932010-05-12 Petr Baudis <pasky@suse.cz>
12694
12695 [BZ #11589]
12696 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12697 around j0() zero points by switching to j1().
12698 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12699 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12700 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12701 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12702
f22e1074
UD
127032011-09-09 Ulrich Drepper <drepper@gmail.com>
12704
f19009c1
UD
12705 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12706 instead of 0.
12707 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12708 instead of 0. .
12709 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12710 Patch in part by Pavel Roskin <proski@gnu.org>.
12711
3f8cc204
UD
12712 [BZ #13138]
12713 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12714 realloc.
12715 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12716 Free memory block if necessary.
12717
f22e1074
UD
12718 [BZ #12847]
12719 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12720 be NULL. Don't lock in this case.
12721
0a2349f9
RM
127222011-09-09 Roland McGrath <roland@hack.frob.com>
12723
12724 * elf/elf.h (ELFOSABI_GNU): New macro.
12725 (ELFOSABI_LINUX): Define to that.
12726
f3cdd467
DZ
127272011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12728
12729 * string/strncat.c (strncat): Undef the symbol in case it has been
12730 defined in bits/string.h.
12731
74718d13
UD
127322011-09-09 Ulrich Drepper <drepper@gmail.com>
12733
633e9e0f
UD
12734 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12735
0a2349f9 12736 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12737 link map.
12738
f9924780
AJ
127392011-08-17 Andreas Jaeger <aj@suse.de>
12740
12741 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12742
7f5517aa
PP
127432011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12744 Ian Lance Taylor <iant@google.com>
12745
12746 * math/libm-test.inc (lround_test): New testcase.
12747 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12748
762011fe
UD
127492011-09-08 Ulrich Drepper <drepper@gmail.com>
12750
92963737
UD
12751 * Makefile: Remove support for automatic cvs check-ins.
12752 * Makerules: Likewise.
12753 * config.make.in: Likewise.
12754 * configure.in: Likewise.
12755 * intl/Makefile: Likewise.
12756 * locale/Makefile: Likewise.
12757 * po/Makefile: Likewise.
12758 * posix/Makefile: Likewise.
12759 * sysdeps/gnu/Makefile: Likewise.
12760 * sysdeps/mach/hurd/Makefile: Likewise.
12761 * sysdeps/sparc/sparc32/Makefile: Likewise.
12762
b0727fd8
JS
12763 [BZ #13118]
12764 * posix/Makefile (bug-regex32-ENV): Define.
12765 Patch by John Stanley <jpsinthemix@verizon.net>.
12766
a0f33f99
UD
12767 * misc/Makefile (headers): Add bits/select2.h.
12768 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12769 * misc/bits/select2.h: New file.
12770 * include/bits/select2.h: New file.
12771 * debug/Makefile (routines): Add fdelt_chk.
12772 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12773 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12774 FD_ISSET.
12775 * debug/fdelt_chk.c: New file.
12776
762011fe
UD
12777 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12778 * wcsmbs/test-wmemcmp.c: Likewise.
12779 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12780 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12781
127822011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12783
12784 * string/Makefile (strop-tests): Add memcmp.
12785 * string/test-wmemcmp.c: New file.
12786 * string/test-memcmp.c: Add wmemcmp support.
12787
7f513ec8
RM
127882011-09-08 Roland McGrath <roland@hack.frob.com>
12789
0442afb4
RM
12790 [BZ #13153]
12791 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12792 2011-07-19 change.
12793
7f513ec8
RM
12794 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12795 garbage value in a __mach_port_mod_refs call in the cases of the
12796 task-self and thread-self ports.
12797
a12b2239
ST
127982011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12799
12800 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12801
610f9ab4
AS
128022011-09-08 Andreas Schwab <schwab@redhat.com>
12803
7f513ec8 12804 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12805
48882a1a
LD
128062011-09-07 Ulrich Drepper <drepper@gmail.com>
12807
b49865be
UD
12808 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12809
fdc86bc9
UD
12810 * elf/dl-libc.c (dlerror_run): Pass back error code from
12811 dl_catch_error.
12812
c966526a
UD
12813 [BZ #13123]
12814 * elf/dl-load.c (lose): Free l_origin if it is valid.
12815
48882a1a
LD
12816 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12817 names.
12818 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12819 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12820 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12821 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12822 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12823 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12824
77a2a8b4
AZ
128252011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12826
12827 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12828 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12829 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12830 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12831 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12832 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12833 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12834 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12835 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12836 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12837
24f579d8
AM
128382011-08-15 Alan Modra <amodra@gmail.com>
12839
12840 [BZ #13092]
12841 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12842 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12843 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12844 ppc_mcount to static-only-routines.
12845 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12846 __mcount_internal.
12847 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12848 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12849
3d4837df
UD
128502011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12851
12852 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12853 for finite and infinity parameters.
12854
22700377
WS
128552011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12856
12857 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12858 and add nop instructions for throughput optimization.
12859 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12860
5025581e
WS
128612011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12862
12863 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12864 aligned copy for power7 with vector-scalar instructions.
12865 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12866
08a300c9
L
128672011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12868
12869 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12870 AVX check.
12871
59178ef9
AS
128722011-09-07 Andreas Schwab <schwab@redhat.com>
12873
12874 [BZ #13144]
12875 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12876 last change.
12877
e38ba7ab
UD
128782011-09-07 Ulrich Drepper <drepper@gmail.com>
12879
12880 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12881 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12882 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12883 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12884 clock_gettime.
12885
d53a73ac
UD
128862011-09-06 Ulrich Drepper <drepper@gmail.com>
12887
fc8bffcc
UD
12888 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12889 Forgot to demangle the pointer.
12890
ceaa0c5d
UD
12891 * sysdeps/i386/sysdep.h: Define atom_text_section.
12892 * sysdeps/x86_64/sysdep.h: Likewise.
12893 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12894 section with atom_text_section.
12895 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12896 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12897 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12898 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12899 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12900
a77d3c17
UD
12901 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12902 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12903 already be defined. Change to take two parameters and don't assign
12904 result to variable. Adjust all users.
12905 Define INTERNAL_GETTIME if not already defined.
12906 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12907 call.
12908 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12909 HAVE_CLOCK_GETTIME_VSYSCALL.
12910 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12911
d53a73ac
UD
12912 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12913 gettimeofday vsyscall, just use time.
12914
a8f84144
AS
129152011-09-06 Andreas Schwab <schwab@redhat.com>
12916
12917 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12918 <errno.h>.
12919
ef606249
UD
129202011-09-06 Ulrich Drepper <drepper@gmail.com>
12921
12922 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12923 syscall on x86-64.
12924 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12925 syscall.
12926 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12927 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12928 syscall if possible.
12929
6585cb60
UD
129302011-09-05 Ulrich Drepper <drepper@gmail.com>
12931
12932 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12933 e_ident. Don't pass to find_mapsXX.
12934 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12935
a5f524e4
LD
129362011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12937
12938 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12939 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12940 * sysdeps/x86_64/multiarch/strchr.S: Update.
12941 Check bit_slow_BSF bit.
12942 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12943 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12944 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12945
554881ef
UD
129462011-09-05 Ulrich Drepper <drepper@gmail.com>
12947
d96de963
UD
12948 [BZ #13134]
12949 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12950 before glibc 2.15.
12951 (tryshell): Define.
12952 (__spawni): Change last parameter to be flag. Test
12953 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12954 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12955 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12956 * posix/spawni.c: Likewise.
12957 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12958 * posix/spawnp.c: Likewise. Change normal version to use
12959 SPAWN_XFLAGS_USE_PATH.
12960 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12961 SPAWN_XFLAGS_TRY_SHELL.
12962
d48e5868
UD
12963 [BZ #13150]
12964 * posix/glob.h: Remove gcc 1.x support.
12965
554881ef
UD
12966 [BZ #13068]
12967 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12968
693fb948
LD
129692011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12970
12971 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12972 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12973 strrchr-sse2-bsf
12974 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12975 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12976 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12977 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12978 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12979 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12980
1b48c537
UD
129812011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12982
49d42c37
UD
12983 * sysdeps/x86_64/wcscmp.S: New file.
12984
1b48c537
UD
12985 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12986 wcscmp-c wcscmp-sse2
12987 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12988 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12989 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12990 * wcsmbs/wcscmp.c: Allow renaming.
12991
15c95c5d
DM
129922011-09-05 David S. Miller <davem@davemloft.net>
12993
12994 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12995 stack slot, rather than the struct return pointer slot.
12996 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12997 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12999 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13000
2f0ad8f3
UD
130012011-09-05 Ulrich Drepper <drepper@gmail.com>
13002
d88ae418
UD
13003 * po/ja.po: Update from translation team.
13004
2f0ad8f3
UD
13005 [BZ #13144]
13006 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13007 kernel in 64-bit binaries.
13008
5f4318d1
DM
130092011-09-01 David S. Miller <davem@davemloft.net>
13010
13011 * elf/elf.h (HWCAP_SPARC_*): Move to..
13012 * sysdeps/sparc/sysdep.h: this new file and add new values.
13013 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13014 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13015 _DL_HWCAP_COUNT to 24.
13016 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13017 entries.
13018 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13019 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13020 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13021 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13022 instead of magic constants.
13023 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13024
3ba57516
DM
130252011-08-31 David S. Miller <davem@davemloft.net>
13026
13027 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13028 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13029 Reimplement to do errno handling inline.
13030 (SYSCALL_ERROR_HANDLER): New macro.
13031 (__SYSCALL_STRING): Do not do errno handling in asm.
13032 (__CLONE_SYSCALL_STRING): Delete.
13033 (__INTERNAL_SYSCALL_STRING): Delete.
13034 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13035 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13036 (PSEUDO): Reimplement to do errno handling inline.
13037 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13038 (SYSCALL_ERROR_HANDLER): New macro.
13039 (__SYSCALL_STRING): Do not do errno handling in asm.
13040 (__CLONE_SYSCALL_STRING): Delete.
13041 (__INTERNAL_SYSCALL_STRING): Delete.
13042 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13043 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13044 i386.
13045 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13046 (inline_syscall*): Add 'err' argument.
13047 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13048 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13049 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13050 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13051
13052 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13053 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13054
2bc17433
AS
130552011-08-30 Andreas Schwab <schwab@redhat.com>
13056
13057 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13058
fbeb5f4d
JO
130592011-08-29 Jiri Olsa <jolsa@redhat.com>
13060
13061 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13062 directive.
13063
ad69cc26
DM
130642011-08-24 David S. Miller <davem@davemloft.net>
13065
13066 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13067
39dd69df
AS
130682011-08-24 Andreas Schwab <schwab@redhat.com>
13069
13070 * elf/Makefile: Add rules to build and run unload8 test.
13071 * elf/unload8.c: New file.
13072 * elf/unload8mod1.c: New file.
13073 * elf/unload8mod1x.c: New file.
13074 * elf/unload8mod2.c: New file.
13075 * elf/unload8mod3.c: New file.
13076
13077 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13078 it wasn't used.
13079
2c0b250a
DM
130802011-08-23 David S. Miller <davem@davemloft.net>
13081
13082 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13083 subtract stack bias.
13084 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13085 %sp not %fp in calculations.
13086 (_JMPBUF_UNWINDS_ADJ): Likewise.
13087
22044b48
DM
13088 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13089 (aio_suspend): Call it to force an exception region around the
13090 AIO_MISC_WAIT() invocation.
13091
2cae4995
AS
130922011-08-23 Andreas Schwab <schwab@redhat.com>
13093
13094 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13095 backslash.
13096
873a772e
AJ
130972011-07-04 Aurelien Jarno <aurelien@aurel32.net>
13098
13099 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13100 protection macro.
13101 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13102 and <dl-machine.h>.
13103 (Elf64_FuncDesc): Remove.
13104
25ad0df1
DM
131052011-08-22 David S. Miller <davem@davemloft.net>
13106
13107 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13108 sigaltstack check, add missing cfi directives.
13109 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13110 missing cfi directives, and sigaltstack handling.
13111
e888bcbe
AS
131122011-08-16 Andreas Schwab <schwab@redhat.com>
13113
13114 [BZ #11724]
13115 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13116 object is seen twice.
13117 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13118
13119 * elf/Makefile (distribute): Add tst-initorder2.c.
13120 (tests): Add tst-initorder2.
13121 (modules-names): Add tst-initorder2a tst-initorder2b
13122 tst-initorder2c tst-initorder2d. Add rules to build them.
13123 ($(objpfx)tst-initorder2.out): New rule.
13124 * elf/tst-initorder2.c: New file.
13125 * elf/tst-initorder2.exp: New file.
13126
87162f46
AS
131272011-08-22 Andreas Schwab <schwab@redhat.com>
13128
70538b7f
AS
13129 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13130
f55ffe58
AS
13131 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13132 dependencies back to end of function.
13133
87162f46
AS
13134 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13135 $(elfobjdir)/ld.so.
13136
91b392a4
UD
131372011-08-21 Ulrich Drepper <drepper@gmail.com>
13138
13139 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13140 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13141 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13142 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13143 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13144 of __vdso_gettimeofday.
13145 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13146 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
13147 attribute_hidden.
13148 (_libc_vdso_platform_setup): Remove initialization of
13149 __vdso_gettimeofday and __vdso_time.
13150
5c43483f
UD
131512011-08-20 Ulrich Drepper <drepper@gmail.com>
13152
775a77e7
UD
13153 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13154 and fgetc_unlocked.
13155 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13156 getc_unlocked.
89f447ed 13157
49c74ba9
UD
13158 * elf/dl-open.c (add_to_global): Report additions to the global scope
13159 for LD_DEBUG=scopes.
13160 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 13161 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 13162
5c43483f
UD
13163 [BZ #13114]
13164 * stdio-common/Makefile (tests): Add bug24.
13165 * stdio-common/bug24.c: New file.
13166
a101b025
AJ
131672011-08-19 Andreas Jaeger <aj@suse.de>
13168
13169 [BZ #13114]
13170 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13171 non-existant file when using close-on-exec mode.
13172
c88f1766
UD
131732011-08-20 Ulrich Drepper <drepper@gmail.com>
13174
0276a718
UD
13175 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13176 the very first instruction.
13177
c88f1766
UD
13178 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13179 the CFI state in the end.
13180 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13181 inclusion of dl-trampoline.h.
13182 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13183
51ccffa0
AS
131842011-08-19 Andreas Schwab <schwab@redhat.com>
13185
94d7165f
AS
13186 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13187 expectations for long double.
13188
51ccffa0
AS
13189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13190 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13191
fd708658 131922011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
13193
13194 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13195 artificual limit depends upon the system page size.
13196
44f0a71e
UD
131972011-08-17 Ulrich Drepper <drepper@gmail.com>
13198
13199 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13200 * resolv/Makefile: Define CFLAGS-libresolv.
13201
8de79a24
AS
132022011-08-17 Andreas Schwab <schwab@redhat.com>
13203
13204 * nss/makedb.c (compute_tables): Make variables used in nested
13205 function static.
13206
27724598
UD
132072011-08-17 Ulrich Drepper <drepper@gmail.com>
13208
c5305d88
UD
13209 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13210 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13211 if buffer was too small.
13212
27724598
UD
13213 * elf/pldd.c (main): Attach to all threads in the process.
13214 Rewrite /proc handling to use *at functions.
13215
076fe015
UD
132162011-08-16 Ulrich Drepper <drepper@gmail.com>
13217
174baab3
UD
13218 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13219 specifies first scope to show.
13220 (dl_open_worker): Update callers. Move printing scope of new
13221 object to before the relocation.
44f0a71e 13222 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
13223 * sysdeps/generic/ldsodefs.h: Update declaration.
13224
076fe015
UD
13225 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13226 string for the scope number.
13227
a60df2c3
UD
132282011-08-14 Ulrich Drepper <drepper@gmail.com>
13229
13230 * nscd/servicescache.c (cache_addserv): Make sure written is always
13231 initialized.
13232
5e4287d1
RM
132332011-08-14 Roland McGrath <roland@hack.frob.com>
13234
85ae0589
RM
13235 * sysdeps/i386/i486/bits/atomic.h
13236 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13237 statement expression, so as to suppress "set but not used" warning.
13238 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13239
69f63097
RM
13240 * string/strncat.c (STRNCAT): Use prototype definition.
13241
675456ef
RM
13242 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13243 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13244 -Iprograms here.
13245 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13246 (localedef-modules): Add localedef.
13247 (locale-modules): Add locale.
13248
5e4287d1
RM
13249 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13250 * elf/rtld.c (dl_main): Invert order of assignment in last change,
13251 to avoid a warning.
13252
9c96ff23
DM
132532011-08-14 David S. Miller <davem@davemloft.net>
13254
13255 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13256 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13257
f9ddf089
UD
132582011-08-13 Ulrich Drepper <drepper@gmail.com>
13259
44f0a71e 13260 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
13261 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13262 * elf/rtld.c (dl_main): Set l_name of vDSO.
13263 Call _dl_show_scope when DL_DEBUG_SCOPES.
13264 (process_dl_debug): Recognize scopes flag and also set it for all.
13265 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13266 Declare _dl_show_scope.
13267
1dc27704
UD
13268 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13269 (do_dlopen): Pass caller_dlopen to dl_open.
13270 (__libc_dlopen_mode): Initialize caller_dlopen.
13271
f9ddf089
UD
13272 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13273 of libc. Make tolower call locale-independent. Optimize a bit by
13274 using isdigit instead of isalnum.
13275 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13276
9ac533d3
UD
132772011-08-12 Ulrich Drepper <drepper@gmail.com>
13278
13279 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13280 was a dependency or dynamically loaded.
13281
89edf2e9
UD
132822011-08-11 Ulrich Drepper <drepper@gmail.com>
13283
8e999d29
UD
13284 * intl/l10nflist.c: Allow architecture-specific pop function.
13285 * sysdeps/x86_64/l10nflist.c: New file.
13286
89edf2e9
UD
13287 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13288 classification.
13289
14d96785
AS
132902011-08-10 Andreas Schwab <schwab@redhat.com>
13291
13292 * include/dirent.h: Add libc_hidden_proto for scandirat and
13293 scandirat64. Don't declare __scandirat64.
13294 * dirent/scandirat.c: Add libc_hidden_def.
13295 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13296 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13297
6761ac04
DM
132982011-08-10 David S. Miller <davem@davemloft.net>
13299
13300 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
13301 enum.
13302 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13303 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13304 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13305
c55fbd1e
UD
133062011-08-09 Ulrich Drepper <drepper@gmail.com>
13307
13308 * Versions.def [libc]: Add GLIBC_2.15.
13309 * dirent/Makefile (routines): Add scandirat and scandirat64.
13310 * dirent/Versions [libc]: Export scandirat and scandirat64 for
13311 GLIBC_2.15.
13312 * dirent/dirent.h: Declare scandirat and scandirat64.
13313 * dirent/scandirat.c: New file.
13314 * dirent/scandirat64.c: New file.
13315 * sysdeps/wordsize-64/scandirat.c: New file.
13316 * sysdeps/wordsize-64/scandirat64.c: New file.
13317 * dirent/opendir.c: Define opendirat.
13318 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
13319 using scandirat.
13320 * dirent/scandir64.c: Adjust for scandir.c change.
13321 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
13322 __scandirat64, and __scandir_cancel_handler.
13323 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
13324 additional parameter and use openat instead of open (outside of ld.so).
13325 Add new __opendir as wrapper around __opendirat.
13326 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13327 here without requiring old scandirat implementation.
13328
879165f2
UD
133292011-08-08 Ulrich Drepper <drepper@gmail.com>
13330
13331 * dirent/scandir.c (cancel_handler): Renamed to
13332 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
13333 defined. Adjust users.
13334 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13335 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13336
cb7e923b
UD
133372011-08-04 Ulrich Drepper <drepper@gmail.com>
13338
16292edd
UD
13339 * string/test-string.h (IMPL): Use __STRING to expand name and then
13340 stringify it.
13341
cb7e923b
UD
13342 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
13343 of cleanups.
13344
cff82933
LD
133452011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13346
13347 * string/Makefile: Update.
13348 (strop-tests): Append strncat.
13349 * string/test-wcscmp.c: New file.
13350 New comprehensive test for wcscmp.
13351 * string/test-strcmp.c: Update.
13352 (WIDE): New define.
13353
9be9bfcc
AS
133542011-07-22 Andreas Schwab <schwab@redhat.com>
13355
13356 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13357 line.
13358
2e96f1c7
AS
133592011-07-26 Andreas Schwab <schwab@redhat.com>
13360
13361 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13362 encoding to ACE if AI_IDN.
13363
85188888
JJ
133642011-08-01 Jakub Jelinek <jakub@redhat.com>
13365
13366 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13367 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13368
5fa16e9b
LD
133692011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13370
13371 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13372 Fix overflow bug in strncat.
13373 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13374
13375 * string/test-strncat.c: Update.
13376 Add new tests for checking overflow bugs.
13377
133782011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13379
13380 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13381 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13382 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13383 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13384 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13385 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13386 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13387 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13388 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13389
13390 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13391 (USE_AS_STRCAT): Define.
13392 Add strcat and strncat support.
13393 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13394
8c1a459f
AS
133952011-07-25 Andreas Schwab <schwab@redhat.com>
13396
13397 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13398 __n bigger than INT_MAX+1.
13399 (__strncmp_g): Likewise.
13400
bba33c28
UD
134012011-07-23 Ulrich Drepper <drepper@gmail.com>
13402
798be72d
UD
13403 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13404 * libio/stido.h: Likewise.
13405
8accd4dc
UD
13406 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13407 (AF_NFC): Define.
13408 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13409 (AF_NFC): Define.
13410
cbff0d96
UD
13411 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13412 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13413 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13414 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13415 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13416
9191c04a
UD
13417 [BZ #13021]
13418 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13419 installed.
13420
bba33c28
UD
13421 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13422 typo.
13423 (_dl_x86_64_save_sse): Likewise.
13424
90f139dd
UD
134252011-07-22 Ulrich Drepper <drepper@gmail.com>
13426
1aae088a
UD
13427 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13428 OSXSAVE.
13429 (_dl_x86_64_save_sse): Likewise.
13430
8e2045f5
UD
13431 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13432
90f139dd
UD
13433 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13434
1d002f25
AS
134352011-07-21 Andreas Schwab <schwab@redhat.com>
13436
13437 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13438 change.
13439 (_dl_x86_64_save_sse): Use correct AVX check.
13440
21137f89
UD
134412011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13442
13443 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13444 bug in strncpy/strncat.
13445 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13446
a65c0b7a
UD
134472011-07-21 Ulrich Drepper <drepper@gmail.com>
13448
13449 * string/tester.c (test_strcat): Add tests for different alignments
13450 of source and destination.
13451 (test_strncat): Likewise.
13452
6986b98a
UD
134532011-07-20 Ulrich Drepper <drepper@gmail.com>
13454
90bb2039
UD
13455 [BZ #12852]
13456 * posix/glob.c (glob): Check passed in values before using them in
13457 expressions to avoid some overflows.
13458 (glob_in_dir): Likewise.
13459
5644ef54
UD
13460 [BZ #13007]
13461 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13462 check for AVX enablement so that we don't crash with old kernels and
13463 new hardware.
13464 * elf/tst-audit4.c: Add same checks here.
13465 * elf/tst-audit6.c: Likewise.
13466
13467 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 13468
bfc9dc9b
AS
134692011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13470
13471 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13472
702e64bb
UD
134732011-07-20 Ulrich Drepper <drepper@gmail.com>
13474
13475 * po/cs.po: Update from translation team.
13476 * po/bg.po: Likewise.
13477
295e904f
MP
134782011-07-12 Marek Polacek <mpolacek@redhat.com>
13479
13480 * misc/sys/cdefs.h: Add support for const attribute.
13481 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13482 to gnu_dev_{major,minor,makedev} functions.
13483
3ff94596
MP
134842011-07-20 Marek Polacek <mpolacek@redhat.com>
13485
13486 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13487
28b59fca
AS
134882011-07-20 Andreas Schwab <schwab@redhat.com>
13489
13490 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13491 strlen results.
13492
19df733e
AK
134932011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13494
13495 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13496 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13497 register in order to avoid conflicts with the soft frame pointer
13498 being held in r11 when necessary.
13499 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13500 (INTERNAL_VSYSCALL_NCS): Likewise.
13501
c8835729
MP
135022011-07-14 Marek Polacek <mpolacek@redhat.com>
13503
13504 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13505 * elf/dl-fini.c (_dl_fini): Adjust caller.
13506 * elf/dl-close.c (_dl_close_worker): Likewise.
13507 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13508
b902330c
MP
135092011-07-15 Marek Polacek <mpolacek@redhat.com>
13510
8991e135
MP
13511 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13512 "aux_cache->nlibs < 0".
13513
b902330c
MP
13514 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13515 in the reload-count case.
13516
99710781
LD
135172011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13518
13519 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13520 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13521 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13522 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13523 * sysdeps/x86_64/multiarch/strcat.S: New file.
13524 * sysdeps/x86_64/multiarch/strncat.S: New file.
13525 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13526 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13527 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13528 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13529 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13530 (USE_AS_STRCAT): Define.
13531 Add strcat and strncat support.
13532 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13533 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13534 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13535 * string/strncat.c: Update.
13536 (USE_AS_STRNCAT): Define.
13537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13538 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13539 and i7.
13540 * sysdeps/x86_64/multiarch/init-arch.h
13541 (bit_Prefer_PMINUB_for_stringop): New.
13542 (index_Prefer_PMINUB_for_stringop): Likewise.
13543 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13544 bit_Prefer_PMINUB_for_stringop.
13545
7dc6bd90
UD
135462011-07-19 Ulrich Drepper <drepper@gmail.com>
13547
13548 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13549 buffer64.
13550 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13551 of casting of buffer.
13552 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13553 buffer32 and buffer64.
13554 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13555 writes instead of casting of buffer.
13556 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13557 buffer32.
13558 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13559 casting of buffer.
13560
e0e72284
AS
135612011-07-19 Andreas Schwab <schwab@redhat.com>
13562
13563 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13564
feb1eb0b
UD
135652011-07-19 Ulrich Drepper <drepper@gmail.com>
13566
13567 * nscd/nscd.c (termination_handler): Don't do anything for a database
13568 if it has not yet been initialized.
13569
298711ff
UD
135702011-07-18 Ulrich Drepper <drepper@gmail.com>
13571
13572 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13573
135742011-07-15 Marek Polacek <mpolacek@redhat.com>
13575
13576 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13577
f9d68389
UD
135782011-07-18 Ulrich Drepper <drepper@gmail.com>
13579
13580 * po/nl.po: Update from translation team.
13581 * po/sv.po: Likewise.
13582
db290cf5
RM
135832011-07-16 Roland McGrath <roland@hack.frob.com>
13584
13585 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13586 now disallowed by GCC.
5c550700 13587
fd5e21c7
RM
13588 * configure.in (use-default-link): Default to yes if a test -shared
13589 link meets our qualifications.
13590 * configure: Regenerated.
13591
5c550700
RM
13592 * config.make.in (output-format): New variable.
13593 * configure.in: Check for ld --print-output-format support.
13594 * configure: Regenerated.
13595 * Makerules ($(common-objpfx)format.lds)
13596 [$(output-format) != unknown]: Just use $(output-format),
13597 instead of the linker-script munging.
13598
9fa2c032
RM
135992011-07-14 Roland McGrath <roland@hack.frob.com>
13600
a6928d51
RM
13601 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13602 of $(common-objpfx)shlib.lds.
13603 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13604
661607b3
RM
13605 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13606 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13607
9fa2c032
RM
13608 * configure.in (-z relro check): Adjust test code to add a large
13609 writable data section after it.
13610 * configure: Regenerated.
13611
defe9061
RM
136122011-07-11 Roland McGrath <roland@hack.frob.com>
13613
13614 * configure.in (-z relro check): Fix test code to make the variable
13615 truly const.
13616 * configure: Regenerated.
13617
319b9ad4
UD
136182011-07-11 Ulrich Drepper <drepper@gmail.com>
13619
13620 * nscd/nscd.h (struct traced_file): Define.
13621 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13622 elements. Add traced_files.
13623 (inotify_fd): Declare.
13624 (register_traced_file): Declare.
13625 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13626 (inotify_fd): Export.
13627 (resolv_conf_descr): Remove.
13628 (nscd_init): Move inotify descriptor creation to main.
13629 Don't register files for notification here.
13630 (register_traced_file): New function.
13631 (invalidate_cache): Don't use reset_res to determine whether to call
13632 res_init, go through the list of registered files.
13633 (main_loop_poll): The inotify descriptors are now stored in the
13634 structures for the traced files.
13635 (main_loop_epoll): Likewise
13636 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13637 to __nss_disable_nscd.
13638 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13639 for a database anymore. Check the records for all the registered
13640 files instead.
13641 * nss/Makefile (libnss_files-routines): Add files-init.
13642 (libnss_db-routines): Add db-init.
13643 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13644 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13645 * nss/nss_db/db-init.c: New file.
13646 * nss/nss_files/files-init.c: New file.
13647 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13648 __nss_lookup_function.
13649 (__nss_lookup_function): Call nss_load_library.
13650 (nss_load_all_libraries): New function.
13651 (__nss_disable_nscd): Take parameter with callback function for files
13652 to register. Set is_nscd. Load all the DSOs for the NSS modules
13653 used for the cached services.
13654 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13655 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13656 options for features to all the files in nscd.
13657
13658 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13659
23bee3e8
RM
136602011-07-10 Roland McGrath <roland@hack.frob.com>
13661
13662 * csu/elf-init.c (__libc_csu_init): Comment typo.
13663
46a5b7f0
UD
136642011-07-09 Ulrich Drepper <drepper@gmail.com>
13665
13666 * po/pl.po: Update from translation team.
13667 * po/ja.po: Likewise.
13668 * po/ru.po: Likewise.
13669 * po/ko.po: Likewise.
13670 * po/fr.po: Likewise.
13671
d30cf5bb
RM
136722011-07-09 Roland McGrath <roland@hack.frob.com>
13673
113ddea4
RM
13674 * configure.in (.ctors/.dtors header and trailer check):
13675 Use an empirical test on a built program.
13676 * configure: Regenerated.
13677
574920b4
RM
13678 * configure.in (-z relro check): Use an empirical test on a built DSO.
13679 Detect, but do not require, on ia64.
13680 * configure: Regenerated.
13681
d30cf5bb
RM
13682 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13683 Update tests that use readelf to use $READELF instead.
13684 * configure: Regenerated.
13685
8538fdb3
UD
136862011-07-08 Ulrich Drepper <drepper@gmail.com>
13687
13688 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13689 if the result is not used.
13690
04d08991
AJ
136912011-07-05 Andreas Jaeger <aj@suse.de>
13692
13693 [BZ#9696]
13694 * stdlib/tst-strtod.c: Add testcase.
13695
de283087
AD
136962011-07-07 Ulrich Drepper <drepper@gmail.com>
13697
4e5f31c8 13698 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 13699 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13700 The latter has a higher limit. Take additional parameter to pass to
13701 the new function.
13702 (__pathconf): Pass file to __statfs_link_max.
13703 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13704 __statfs_link_max.
13705 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13706 __statfs_link_max.
13707
de283087
AD
13708 [BZ #12868]
13709 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13710 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13711 Handle Lustre.
13712 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13713 (__statfs_filesize_max): Likewise.
13714 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13715
c75fa153
AJ
137162011-07-05 Andreas Jaeger <aj@suse.de>
13717
13718 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13719
1a544854
UD
137202011-07-06 Marek Polacek <mpolacek@redhat.com>
13721
13722 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13723 `status' variable.
13724 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13725 Likewise.
13726
6f0eec67
UD
137272011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13728
13729 * Makefile (strop-tests): Add strncat.
13730 * string/test-strncat.c: New file.
13731
aae30307
UD
137322011-06-30 Marek Polacek <mpolacek@redhat.com>
13733
13734 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13735
c0cfb5eb
UD
137362011-06-21 Andreas Jaeger <aj@suse.de>
13737
13738 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13739 Copy rule from iconvdata/Makefile.
13740
01636b21
UD
137412011-07-06 Ulrich Drepper <drepper@gmail.com>
13742
13743 [BZ #12922]
13744 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13745 but no long options are defined, just return 'W'.
13746
9895c8bc
UD
137472011-06-22 Marek Polacek <mpolacek@redhat.com>
13748
13749 [BZ #9696]
13750 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13751
5d4cf042
UD
137522011-07-06 Ulrich Drepper <drepper@gmail.com>
13753
13754 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13755 netgroups to read.
960e5535 13756 (innetgr): Likewise.
5d4cf042 13757
751eb97e
RM
137582011-07-05 Roland McGrath <roland@hack.frob.com>
13759
13760 * config.make.in (install_root): Default to $(DESTDIR).
13761
f15f1e45
UD
137622011-07-05 Ulrich Drepper <drepper@gmail.com>
13763
13764 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13765
4e34ac6a
RM
137662011-07-02 Roland McGrath <roland@hack.frob.com>
13767
5e9b6af4
RM
13768 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13769
84f9ea0f
RM
13770 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13771 containing directory rather than embedding absolute directory names.
13772
ea5ee9f7
RM
13773 * scripts/check-local-headers.sh: Rewritten using awk.
13774 Match by word, not by line. Print error messages for matches.
13775 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13776
1b74661a
RM
13777 * Makerules [shlib-lds-flags empty]:
13778 ($(common-objpfx)libc_pic.opts): New target.
13779 ($(common-objpfx)libc_pic.os.clean): New target.
13780 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13781
13782 * config.make.in (OBJCOPY): New variable.
13783 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13784 * configure: Regenerated.
13785
f781ef40
RM
13786 * config.make.in (use-default-link): New variable.
13787 * configure.in (use_default_link): Grok --with-default-link to set it.
13788 * configure: Regenerated.
13789 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13790 (shlib-lds, shlib-lds-flags): Define to empty.
13791
2d4fa81e
RM
13792 * Makerules (shlib-lds): New variable.
13793 (shlib-lds-flags): New variable.
13794 (build-shlib, build-moduile, build-module-asneeded): Use it.
13795 ($(common-objpfx)libc.so): Use $(shlib-lds).
13796 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13797 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13798
31fffa6b
RM
13799 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13800 DT_FLAGS/DT_FLAGS_1 with zero flags.
13801
4e34ac6a
RM
13802 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13803 linker script munging.
13804
fcfc776b
UD
138052011-07-02 Ulrich Drepper <drepper@gmail.com>
13806
13807 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13808 as 128-bit value.
13809 * crypt/sha512.c (sha512_process_block): Perform total addition using
13810 128-bit if possible.
13811 (__sha512_finish_ctx): Likewise.
13812 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13813 as 64-bit value.
13814 * crypt/sha256.c (SWAP64): Define.
13815 (sha256_process_block): Perform total addition using 64-bit if
13816 possible.
13817 (__sha256_finish_ctx): Likewise.
13818
99231d9a
UD
138192011-07-01 Ulrich Drepper <drepper@gmail.com>
13820
13821 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13822 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13823 * nscd/hstcache.c (cache_addhst): Likewise.
13824 * nscd/grpcache.c (cache_addgr): Likewise.
13825 * nscd/aicache.c (addhstaiX): Likewise
13826 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13827
445b4a53
TK
138282011-07-01 Thorsten Kukuk <kukuk@suse.de>
13829
13830 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13831 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13832 * nscd/hstcache.c (cache_addhst): Likewise.
13833 * nscd/grpcache.c (cache_addgr): Likewise.
13834 * nscd/aicache.c (addhstaiX): Likewise
13835
6d4d8e8e
AS
138362011-07-01 Andreas Schwab <schwab@redhat.com>
13837
13838 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13839 domain only when needed.
13840
89f654c5
AS
138412011-06-30 Andreas Schwab <schwab@redhat.com>
13842
13843 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13844 is always restored.
13845
cf3b23ff
UD
138462011-06-29 Ulrich Drepper <drepper@gmail.com>
13847
13848 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13849 are re-adding the entry.
13850 * nscd/servicescache.c (cache_addserv): Likewise.
13851
751626f9
AJ
138522011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13853
13854 * sysdeps/generic/dl-irel.h: fix protection against multiple
13855 inclusions.
13856 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13857
9113ea1f
UD
138582011-06-28 Ulrich Drepper <drepper@gmail.com>
13859
5c0b8d90
UD
13860 [BZ #12935]
13861 * malloc/memusage.sh: Fix quoting in message.
13862 * debug/xtrace.sh: Likewise.
13863
9113ea1f
UD
13864 * configure.in: Remove support for --experimental-malloc option, make
13865 it the default.
13866 * config.make.in: Likewise.
13867 * malloc/Makefile: Likewise.
13868
a4172181
AS
138692011-06-27 Andreas Schwab <schwab@redhat.com>
13870
13871 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13872 two-byte characters.
13873
78a7eee7
RM
138742011-06-27 Roland McGrath <roland@hack.frob.com>
13875
62bede13
RM
13876 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13877 AC_CACHE_CHECK invocation.
13878 * configure: Regenerated.
13879
78a7eee7
RM
13880 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13881
5ce33a62
UD
138822011-06-27 Ulrich Drepper <drepper@gmail.com>
13883
034807a9
UD
13884 [BZ #12350]
13885 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13886 bit from old_res_options.
13887
4902da17
UD
13888 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13889
5ce33a62
UD
13890 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13891 value type for setfct.
13892
c2344f56
L
138932011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13894
13895 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13896 __gettimeofday instead of gettimeofday.
13897
68468076
UD
138982011-06-26 Ulrich Drepper <drepper@gmail.com>
13899
13900 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13901
acb0d739
L
139022011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13903
13904 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13905
13906 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13907 info.
13908
8912479f
L
139092011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13910
13911 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13912 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13913 strcpy-sse2-unaligned strncpy-sse2-unaligned
13914 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13915 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13916 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13917 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13918 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13919 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13920 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13921 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13922 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13923 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13924 (STRCPY): Support SSE2 and SSSE3 versions.
13925
d5495a11
UD
139262011-06-24 Ulrich Drepper <drepper@gmail.com>
13927
13928 [BZ #12874]
13929 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13930 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13931 kernels which artificially limit size of requests.
13932
0b1cbaae
L
139332011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13934
13935 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13936 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13937 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13938 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13939 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13940 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13941 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13942 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13943 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13944 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13945 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13946 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13947 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13948 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13949 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13951 Enable unaligned load optimization for Intel Core i3, i5 and i7
13952 processors.
13953 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13954 Define.
13955 (index_Fast_Unaligned_Load): Define.
13956 (HAS_FAST_UNALIGNED_LOAD): Define.
13957
07f494a0
MP
139582011-06-23 Marek Polacek <mpolacek@redhat.com>
13959
13960 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13961
fa3fc0fe
UD
139622011-06-22 Ulrich Drepper <drepper@gmail.com>
13963
13964 [BZ #12907]
13965 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13966 until it is clear that the information is realy needed.
13967 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13968
e12df166
AS
139692011-06-22 Andreas Schwab <schwab@redhat.com>
13970
13971 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13972
852eb34d
UD
139732011-06-22 Ulrich Drepper <drepper@gmail.com>
13974
84e2a551
UD
13975 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13976 /sys/devices/system/cpu/online if it is usable.
13977
852eb34d
UD
13978 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13979 reading the information from the /proc filesystem to once a second.
13980
6e502e19
UD
139812011-06-21 Andreas Jaeger <aj@suse.de>
13982
13983 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13984 NULL after inclusion of kernel headers.
13985
75d39ff2
UD
139862011-06-21 Ulrich Drepper <drepper@gmail.com>
13987
51f9aa6a
UD
13988 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13989 calls to internal_setent.
13990
c0244a9d
UD
13991 [BZ #12885]
13992 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13993 addresses using gethostbyname4_r ignore IPv4 addresses.
13994
c5e3c2ae
UD
13995 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13996 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13997
75d39ff2
UD
13998 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13999
42675c6f
DM
140002011-06-20 David S. Miller <davem@davemloft.net>
14001
14002 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14003 inclusions.
14004 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14005
14006 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14007 (elf_irel): Use it.
14008 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14009 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14010 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14011 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14012 * sysdeps/x86_64/dl-irel.h: Likewise.
14013
14014 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14015 * elf/dl-sym.c: Likewise.
14016
57912a71
UD
140172011-06-15 Ulrich Drepper <drepper@gmail.com>
14018
14019 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14020 need to dereference resplen2.
14021
ee22793d
AS
140222011-06-14 Andreas Schwab <schwab@redhat.com>
14023
14024 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14025
a9e836b0
UD
140262011-06-15 Ulrich Drepper <drepper@gmail.com>
14027
77fb9117
UD
14028 * Makeconfig: Define vardbdir and inst_vardbdir.
14029 * nss/Makefile: Add rules to install db-Makefile.
14030
40c1b22c
UD
14031 * nss/nss_db/db-XXX.c: Cleanup.
14032
9f2da732
UD
14033 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14034 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14035 GLIBC_PRIVATE.
14036 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14037 * nss/makedb.c: Implement -g option to specify that value strings
14038 are generated and should not be added to table iterated over for
14039 get*ent calls.
14040 * nss/nss_db/db-initgroups.c: New file.
14041
82e9a1f7
UD
14042 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14043 interface.
14044
c41af17e
UD
14045 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14046 (internal_getgrouplist): Adjust to name change.
14047 Update use_initgroups_entry if this is not the first call.
14048 * nss/databases.def: Add initgroups entry.
14049
a9e836b0
UD
14050 * nss/makedb.c (compute_tables): Check result of multiple hash table
14051 sizes to minimize maximum chain length.
14052
2666d441
UD
140532011-06-14 Ulrich Drepper <drepper@gmail.com>
14054
14055 * Versions.def: Add entry for libnss_db.
14056 * shlib-versions: Likewise.
14057 * nss/Makefile: Add rules to build libnss_db.
14058 * nss/Versions: Add libnss_db information. Organize libnss_files
14059 entries better.
14060 * nss/db-Makefile: Add gshadow support. Change rules for the new
14061 makedb progra. Some minor improvements to generate smaller files.
14062 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14063 here from...
14064 * nss/makedb.c: ...here.
14065 Improve database format to be smaller and require less memory at
14066 runtime.
14067 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14068 db anymore.
14069 * nss/nss_db/db-netgrp.c: Likewise.
14070 * nss/nss_db/db-open.c: Likewise.
14071 * nss/nss_files/flies-XXX.x: Adjust comments.
14072 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14073 * nss/nss_files/files-grp.c: Likewise.
14074 * nss/nss_files/files-hosts.c: Likewise.
14075 * nss/nss_files/files-network.c: Likewise.
14076 * nss/nss_files/files-proto.c: Likewise.
14077 * nss/nss_files/files-pwd.c: Likewise.
14078 * nss/nss_files/files-rpc.c: Likewise.
14079 * nss/nss_files/files-service.c: Likewise.
14080 * nss/nss_files/files-sgrp.c: Likewise.
14081 * nss/nss_files/files-spwd.c: Likewise.
14082 * nss/nss_db/db-alias.c: Removed.
14083 * nss/nss_db/dummy-db.h: Removed.
14084
9ee76b5a
UD
140852011-06-02 Ulrich Drepper <drepper@gmail.com>
14086
14087 * nss/makedb.c: Rewritten to not use database library.
14088 * nss/Makefile: Update to build new makedb program.
14089
c71ca1f8
AJ
140902011-06-14 Andreas Jaeger <aj@suse.de>
14091
14092 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14093 memset declaration.
14094
3154bfb8
UD
140952011-06-10 Andreas Schwab <schwab@redhat.com>
14096
14097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14098 tmpbuf.
14099
b350afab
RM
141002011-06-10 Roland McGrath <roland@hack.frob.com>
14101
decd4e50
RM
14102 * Makerules (shlib.lds): Fail if the linker script comes out empty.
14103 * elf/Makefile ($(objpfx)ld.so): Likewise.
14104
5615eaf2
RM
14105 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14106 Don't list ld.so twice in dependencies.
14107
14108 * posix/bug-regex31.c: Include <stdlib.h>.
14109
14110 * nscd/hstcache.c (cache_addhst): Remove unused variable.
14111
14112 * nis/nss_compat/compat-spwd.c
14113 (getspent_next_nss_netgr): Remove unused variable.
14114 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14115
14116 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14117 nonmembers" output to use the right array.
14118
14119 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14120
14121 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14122
14123 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14124 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14125 * catgets/gencat.c (read_input_file): Likewise.
14126 * locale/programs/locarchive.c (enlarge_archive): Likewise.
14127
14128 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14129 variable definition inside #if's controlling its use.
14130
14131 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14132
14133 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14134
14135 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14136
14137 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14138 unreachable code.
14139
14140 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14141
b68e08db
RM
14142 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14143 * configure: Regenerated.
14144
b350afab
RM
14145 * Makerules: Revert last change.
14146 * elf/Makefile: Likewise.
14147
28368601
RM
141482011-06-09 Roland McGrath <roland@hack.frob.com>
14149
14150 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14151 * elf/Makefile ($(objpfx)librtld.os): Likewise.
14152 (reloc-link): Likewise.
14153
11988f8f
UD
141542011-06-09 Ulrich Drepper <drepper@gmail.com>
14155
14156 * elf/Makefile: Add rules to build pldd.
14157 * elf/pldd.c: New file.
14158 * elf/pldd-xx.c: New file.
14159
e80fab37
UD
141602011-06-07 Ulrich Drepper <drepper@gmail.com>
14161
14162 * version.h: Update for 2.15 development version.
14163
9b849836
DM
141642011-06-07 David S. Miller <davem@davemloft.net>
14165
14166 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14167 ifuncs.
14168 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14169 elf_machine_lazy_rel): Likewise.
14170 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14171 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14172 elf_machine_lazy_rel): Likewise.
14173 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14174 dl_hwcap via passed in argument.
14175 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14176 Likewise.
14177
5a31b283
AK
141782011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14179
14180 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
14181
069e52f8
RM
141822011-06-06 Roland McGrath <roland@hack.frob.com>
14183
14184 [BZ #12849]
14185 * manual/fdl-1.1.texi: New file, verbatim from:
14186 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14187 * manual/lgpl-2.1.texi: New file, verbatim from:
14188 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14189 * manual/Makefile (licenses): New variable, list those new file names.
14190 (texis): Use it.
14191 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14192
14193 * manual/fdl.texi: File removed.
14194 * manual/lesser.texi: File removed.
14195 * manual/libc.texinfo (Copying, Documentation License):
14196 Use new @include file names, put @appendix directive before @include.
14197
f16846a5
JJ
141982011-06-04 Jakub Jelinek <jakub@redhat.com>
14199
14200 [BZ #12841]
14201 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14202 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14203 (mq_open): Add __NTH.
14204
3d29045b
L
142052011-06-02 H.J. Lu <hongjiu.lu@intel.com>
14206
14207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14208 Assume Intel Core i3/i5/i7 processor if AVX is available.
14209
8c297311
UD
142102011-05-31 Ulrich Drepper <drepper@gmail.com>
14211
14212 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14213 typo.
14214
c8fc0c91
UD
142152011-05-31 Andreas Schwab <schwab@redhat.com>
14216
14217 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14218 memory. Use alloca_account. Fix memory leak when retrying.
14219
5b27a807
UD
142202011-05-31 Ulrich Drepper <drepper@gmail.com>
14221
356f8bc6
UD
14222 * version.h (RELEASE): Bump for 2.14 release.
14223 * include/features.h (__GLIBC_MINOR__): Bump to 14.
14224
5b27a807
UD
14225 * config.make.in (RANLIB): Remove entry.
14226
01f16ab0
UD
142272011-05-30 Ulrich Drepper <drepper@gmail.com>
14228
41fce8bd
UD
14229 * po/Makefile (po-sed-cmd): Add ksh to extensions.
14230 (libc.pot): Work around missing support for .ksh extension in xgettext.
14231
4769ae77
UD
14232 [BZ #12684]
14233 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14234 if both request failed.
14235 (send_dg): In case of server errors clear resplen or *resplen2.
14236
6b1e7d19
UD
14237 [BZ #12454]
14238 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14239 when there are multiple maps.
14240 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14241 (_dl_fini): Remove test here.
14242
01f16ab0
UD
14243 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14244
b1ebd700
UD
142452011-05-29 Ulrich Drepper <drepper@gmail.com>
14246
7ae22829
UD
14247 [BZ #12350]
14248 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14249 bit from old_res_options.
14250 (gaih_inet): Likewise.
14251
553149f6 14252 [BZ #11099]
18a84741 14253 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
14254 as signed.
14255
652ffab1
UD
14256 * resolv/res_init.c (res_setoptions): Make the code more compact.
14257
16985fd0
UD
14258 [BZ #11558]
14259 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14260 set RES_USEVC.
14261
0464f746
UD
14262 [BZ #11634]
14263 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14264
7d17596c
UD
14265 * malloc/malloc.h: Mark malloc hook variables as deprecated.
14266
cf6bbbd7
UD
14267 [BZ #11781]
14268 * malloc/malloc.h: Declare malloc hook variables as volatile.
14269
13f1ab36
UD
14270 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14271 in last patch.
14272
b1ebd700
UD
14273 [BZ #11799]
14274 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 14275 raise in the comment.
80e2212d
UD
14276 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14277 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14278 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 14279
ce67228d
UD
142802011-05-28 Ulrich Drepper <drepper@gmail.com>
14281
8887a920
UD
14282 [BZ #12811]
14283 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14284 grow the buffers more if it already has to be sufficient.
14285 (build_wcs_upper_buffer): Likewise.
14286 * posix/regexec.c (check_matching): Likewise.
14287 (clean_state_log_if_needed): Likewise.
14288 (extend_buffers): Don't enlarge buffers beyond size of the input
14289 buffer.
14290 Patches mostly by Emil Wojak <emil@wojak.eu>.
14291 * posix/bug-regex32.c: New file.
14292 * posix/Makefile (tests): Add bug-regex32.
14293
4f031072
UD
14294 * locale/findlocale.c (_nl_find_locale): Return right away if
14295 _nl_explode_name failed.
14296 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14297
d0478f0c
UD
14298 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14299
de81b246
UD
14300 * debug/xtrace.sh: Unify messages.
14301 * malloc/memusage.sh: Likewise.
14302
c738465a
UD
14303 [BZ #12813]
14304 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
14305 time symbol from vDSO. Substitute with vsyscall if not available.
14306 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
14307 __vdso_time.
14308
f1f929d7
UD
14309 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14310 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14311 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14312 Add sendmmsg and internal_sendmmsg.
14313 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14314 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14315 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14316
ce67228d
UD
14317 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14318 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14319 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14320
e57420c6
UD
143212011-05-27 Ulrich Drepper <drepper@gmail.com>
14322
a8509ca5
UD
14323 [BZ #12813]
14324 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
14325 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
14326 available.
14327 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14328 __vdso_getcpu.
14329
e57420c6
UD
14330 [BZ #12814]
14331 * iconvdata/Makefile (tests): Add bug-iconv9.
14332 * iconvdata/bug-iconv9.c: New file.
14333
4d07db15
AS
143342011-05-27 Andreas Schwab <schwab@redhat.com>
14335
14336 [BZ #12814]
14337 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14338
ea486f69
JJ
143392011-05-25 Jakub Jelinek <jakub@redhat.com>
14340
14341 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14342 (struct user_regs_struct): Change intcs field back to cs.
14343
6f038433
UD
143442011-05-25 Ulrich Drepper <drepper@gmail.com>
14345
14346 * po/ja.po: Update from translation team.
14347
67f86a25
UD
143482011-05-23 Ulrich Drepper <drepper@gmail.com>
14349
14350 [BZ #12795]
14351 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14352 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14353
def7fbd6
AS
143542011-05-20 Andreas Schwab <schwab@redhat.com>
14355
14356 * stdlib/longlong.h: Update from GCC.
14357
f50ef8f1
AS
143582011-05-23 Andreas Schwab <schwab@redhat.com>
14359
14360 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14361 parameter name.
14362 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14363 Add parameter name.
14364 (__sysconf): Pass it down.
14365
de7ce8f1
UD
143662011-05-22 Ulrich Drepper <drepper@gmail.com>
14367
f2962a71
UD
14368 [BZ #12671]
14369 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14370 some situations.
14371 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14372 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14373 add in in __libc_use_alloca calls. Adjust callers.
14374 (glob): Use malloc in some situations.
14375
de7ce8f1
UD
14376 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14377 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14378 pltexit.
14379
aec84f53
UD
143802011-05-21 Ulrich Drepper <drepper@gmail.com>
14381
05bb4a68
UD
14382 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14383 and CLOCK_BOOTTIME_ALARM.
14384
7ea72f99
UD
14385 [BZ #12782]
14386 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14387 is returned.
14388
7e4afad5
UD
14389 * string/_strerror.c (__strerror_r): Print negative errors as signed
14390 numbers.
14391
8e211fec
UD
14392 [BZ #12777]
14393 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14394 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14395 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14396
f7d82dc9
UD
14397 * configure.in: Fix typo in redirection and correct removal of test
14398 files in two cases.
14399
cc9e536d
UD
14400 [BZ #12788]
14401 * locale/setlocale.c (new_composite_name): Fix test to check for
14402 identical name of all categories.
14403
aec84f53
UD
14404 [BZ #12792]
14405 * libio/filedoalloc.c (local_isatty): New function.
14406 (_IO_file_doallocate): Use local_isatty.
14407 * stdio-common/perror.c (perror): In case a new stream is used
14408 forward the stream error.
14409 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14410 error flag.
14411
78e64fdc
RT
144122011-05-20 Ulrich Drepper <drepper@gmail.com>
14413
34a9094f
UD
14414 [BZ #11869]
14415 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14416 alloca.
14417 * include/alloca.h (extend_alloca_account): Define.
14418
78e64fdc
RT
14419 [BZ #11857]
14420 * posix/regex.h: Fix comments with documentation of user-accessible
14421 fields after compilation and describe correct free'ing of pattern
14422 after re_compile_pattern.
14423 Patch by Reuben Thomas <rrt@sc3d.org>.
14424
457bddfc
RA
144252011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14426
14427 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14428 and -mno-altivec to prevent the compiler from using Altivec and/or
14429 VSX instructions when the corresponding registers are not available.
14430
a4527b51
AS
144312011-05-19 Andreas Schwab <schwab@redhat.com>
14432
14433 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14434
ed690b2f
UD
144352011-05-19 Ulrich Drepper <drepper@gmail.com>
14436
14437 * libio/freopen.c (freopen): Use __dup2, not dup2.
14438 * libio/freopen64.c (freopen64): Likewise.
14439
8db73634
L
144402011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14441
14442 [BZ #12775]
14443 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14444 * math/Makefile (tests): Add test-powl.
14445 (CFLAGS-test-powl.c): Define.
14446 * math/test-powl.c: New file.
14447
0a197a9d
L
144482011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14449
14450 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14451
ee30c380
UD
144522011-05-17 Ulrich Drepper <drepper@gmail.com>
14453
14454 [BZ #11837]
14455 * iconvdata/gb18030.c: Update to GB18020-2005.
14456
6ce75379
UD
144572011-05-16 Ulrich Drepper <drepper@gmail.com>
14458
a4b89fd8
AR
14459 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14460 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14461 Patch by Aharon Robbins <arnold@skeeve.com>.
14462
ea389b12
UD
14463 [BZ #11892]
14464 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14465 on the stack.
14466
68a3f91f
UD
14467 [BZ #11895]
14468 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14469 through underflows.
14470
15cc7dd1
UD
14471 [BZ #12766]
14472 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14473 point to strings before performing equality test for error_one_per_line
14474 mode.
14475
f3799213
UD
14476 [BZ #11697]
14477 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14478
d79a9c94
UD
14479 [BZ #11820]
14480 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14481 (struct user_fpregs_struct): Avoid __uint*_t types.
14482
56e5eb46
UD
14483 [BZ #6420]
14484 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14485 symbol info. Use it instead of calling _dl_addr locally.
14486 (lock_and_info): New function.
14487 (tr_freehook): Call lock_and_info and pass symbol info as additional
14488 parameter to tr_where.
14489 (tr_mallochook): Likewise.
14490 (tr_reallochook): Likewise.
14491 (tr_memalignhook): Likewise.
14492
6ce75379
UD
14493 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14494 used and couldn't be at all thread-safe.
14495
f8a3b5bf
UD
144962011-05-15 Ulrich Drepper <drepper@gmail.com>
14497
94b7cc37
UD
14498 * libio/freopen.c (freopen): Don't close old file descriptor
14499 before the new one is opened. Instead dup the new file descriptor
14500 to the old one after the new stream is created.
14501 * libio/freopen64.c (freopen64): Likewise.
14502 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14503 * libio/fileops.c (_IO_new_file_close_it): Handle new
14504 _IO_FLAGS2_NOCLOSE flag.
14505 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14506 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14507 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14508 _IO_FLAGS2_NOCLOSE flag.
14509 * include/unistd.h: Add hidden_proto for dup3.
14510 Define __have_dup3.
14511 * io/dup3.c: Define hidden symbol.
14512 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14513
bd25564e
UD
14514 [BZ #7101]
14515 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14516 when an incomplete long option is used.
14517 * posix/tst-getopt_long1.c: New file.
14518 * posix/Makefile (tests): Add tst-getopt_long1.
14519
c84cfef4
UD
14520 [BZ #10138]
14521 * scripts/config.guess: Update from autoconf-2.68.
14522 * scripts/config.sub: Likewise.
14523
3b85df27
UD
14524 [BZ #10157]
14525 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14526 tests into ...
14527 (has_cpuclock): ...this. New function.
14528 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14529 macro here based on has_cpuclock code.
14530
15a856b1
UD
14531 [BZ #10149]
14532 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14533 First byte (not low byte) is now always NUL.
14534 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14535
05f399e6
UD
14536 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14537 Use non-cancelable interfaces.
14538
10a52685 14539 [BZ #9809]
94ecc67d
UD
14540 * locale/iso-639.def: Add entry for Sorani.
14541
f8a3b5bf
UD
14542 [BZ #11901]
14543 * include/stdlib.h: Move include protection to the right place.
14544 Define abort_msg_s. Declare __abort_msg with it.
14545 * stdlib/abort.c (__abort_msg): Adjust type.
14546 * assert/assert.c (__assert_fail_base): New function. Majority
14547 of code from __assert_fail. Allocate memory for __abort_msg with
14548 mmap.
14549 (__assert_fail): Now call __assert_fail_base.
14550 * assert/assert-perr.c: Remove bulk of implementation. Use
14551 __assert_fail_base.
14552 * include/assert.hL Declare __assert_fail_base.
14553 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14554 mmap.
14555 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14556
1af4e298
UD
145572011-05-14 Ulrich Drepper <drepper@gmail.com>
14558
f8a3b5bf 14559 [BZ #11952]
d26dfc60
MG
14560 [BZ #12453]
14561 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14562 until all modules are registered in the DTV.
14563 * elf/Makefile: Add rules to build and run tst-tls19.
14564 * elf/tst-tls19.c: New file.
14565 * elf/tst-tls19mod1.c: New file.
14566 * elf/tst-tls19mod2.c: New file.
14567 * elf/tst-tls19mod3.c: New file.
14568 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14569
2fc54d6f
UD
14570 [BZ #12083]
14571 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14572 correctly.
14573
98d76b46
UD
14574 [BZ #12601]
14575 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14576 two-byte sequence errors.
14577 * iconvdata/Makefile (tests): Add bug-iconv8.
14578 * iconvdata/bug-iconv8.c: New file.
14579
da3c19ef
UD
14580 [BZ #12626]
14581 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14582 buf2 definition.
14583
ca408c15
UD
14584 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14585
d6f67f7d
UD
14586 [BZ #12432]
14587 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14588 (dummy_getcfa): New function.
14589 (init): Get _Unwind_GetCFA address, use dummy if not found.
14590 (backtrace_helper): In recursion check, also check whether CFA changes.
14591 (__backtrace): Completely initialize arg.
14592
1af4e298 14593 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
14594 storing incomplete byte sequence in state object. Avoid testing for
14595 guaranteed too small input if we know there is enough data available.
1af4e298 14596
da62f81b
AS
145972011-05-11 Andreas Schwab <schwab@redhat.com>
14598
14599 * Makeconfig (+link-pie): Indent.
14600 * Rules (binaries-pie): Define if $(have-fpie) and
14601 $(build-shared).
14602 (binaries-shared): Also filter out $(binaries-pie).
14603 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14604 * nscd/Makefile (others-pie): Add nscd.
14605 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14606 ($(objpfx)nscd): Remove command override.
14607 * login/Makefile (others-pie): Add pt_chown.
14608 ($(objpfx)pt_chown): Remove command override.
14609 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14610 remove command overrides.
14611
fcabc0f8
UD
146122011-05-13 Ulrich Drepper <drepper@gmail.com>
14613
20030ae6
UD
14614 * libio/tst_putwc.c: Fix error messages.
14615
fcabc0f8
UD
14616 [BZ #12724]
14617 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14618 currently writing and seek to current position when not.
14619 * libio/Makefile (tests): Add bug-fclose1.
14620 * libio/bug-fclose1.c: New file.
14621
320a5dc0
PB
146222011-05-12 Ulrich Drepper <drepper@gmail.com>
14623
14624 [BZ #12511]
14625 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14626 don't set DF_1_NODELETE here.
14627 (do_lookup_x): When entering new entry test for copy relocation
14628 and if necessary set DF_1_NODELETE flag.
14629 * elf/tst-unique4.cc: New file.
14630 * elf/tst-unique4.h: New file.
14631 * elf/tst-unique4lib.cc: New file.
14632 * elf/Makefile: Add rules to build and run tst-unique4.
14633 Patch by Piotr Bury <pbury@goahead.com>.
14634
22836f52
UD
146352011-05-11 Ulrich Drepper <drepper@gmail.com>
14636
f574184a
UD
14637 [BZ #12052]
14638 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14639
e1fb097f
UD
14640 [BZ #12625]
14641 * misc/mntent_r.c (addmntent): Flush the stream after the output
14642
22836f52
UD
14643 [BZ #12393]
14644 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14645 (is_trusted_path_normalize): Skip initial colon. Append slash
14646 to empty buffer. Duplicate is_trusted_path code but allow
14647 constructed patch to be prefix.
14648 (is_dst): Allow $ORIGIN followed by /.
14649 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14650 Correct testing of result of is_trusted_path_normalize
14651 (decompose_rpath): Fix warning.
14652
7b3b0b2a
UD
146532011-05-10 Ulrich Drepper <drepper@gmail.com>
14654
14655 [BZ #11257]
14656 * grp/initgroups.c (internal_getgrouplist): When we found the service
14657 list through the initgroups entry in nsswitch.conf do not always
14658 continue on a successful lookup. Don't always use the
eac80ce2 14659 __nss_group_database value if it is set.
7b3b0b2a
UD
14660 * nss/nsswitch.conf (initgroups): Change action for successful db
14661 lookup to continue for compatibility.
14662
2a81eaa5
UD
146632011-05-09 Ulrich Drepper <drepper@gmail.com>
14664
be97a69e
UD
14665 [BZ #11532]
14666 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14667 and CP774 modules.
14668 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14669 and CP774 modules.
14670 * iconvdata/tst-tables.sh: Likewise.
14671 * iconvdata/cp770.c: New file.
14672 * iconvdata/cp771.c: New file.
14673 * iconvdata/cp772.c: New file.
14674 * iconvdata/cp773.c: New file.
14675 * iconvdata/cp774.c: New file.
14676 * iconvdata/testdata/CP770: New file.
14677 * iconvdata/testdata/CP770..UTF8: New file.
14678 * iconvdata/testdata/CP771: New file.
14679 * iconvdata/testdata/CP771..UTF8: New file.
14680 * iconvdata/testdata/CP772: New file.
14681 * iconvdata/testdata/CP772..UTF8: New file.
14682 * iconvdata/testdata/CP773: New file.
14683 * iconvdata/testdata/CP773..UTF8: New file.
14684 * iconvdata/testdata/CP774: New file.
14685 * iconvdata/testdata/CP774..UTF8: New file.
14686
14687 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14688 END CHARMAP line.
14689 * iconvdata/gen-8bit-gap.sh: Likewise.
14690 * iconvdata/gen-8bit.sh: Likewise.
14691
c1e9e399
UD
14692 * locale/iso-639.def: Add ary entry.
14693
24c55fb3 14694 [BZ #11258]
96b4b1b0
UD
14695 * locale/C-translit.h.in: Add U20A1 transliteration.
14696
bdc2f971
KB
14697 [BZ #12178]
14698 * locale/iso-639.def: Add wae entry.
14699 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14700
2952b117
UD
14701 [BZ #12545]
14702 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14703 for n.
14704
2a81eaa5
UD
14705 [BZ #12711]
14706 * locale/C-translit.h.in: Add entry for U20B9.
14707 Patch by pravin.d.s@gmail.com.
14708
28377d1b
UD
147092011-05-08 Ulrich Drepper <drepper@gmail.com>
14710
7fb90fb8
UD
14711 [BZ #12713]
14712 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14713 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14714 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14715 in rtld. Use *stat64.
7fb90fb8 14716 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14717 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14718 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14719 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14720 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14721 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14722 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14723 __fstatat64 macros.
7fb90fb8
UD
14724 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14725 * dirent/rewinddir.c: Add libc_hidden_def.
14726 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14727 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14728
28377d1b
UD
14729 * include/dirent.h (__alloc_dir): Add flags parameter.
14730 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14731 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14732 __alloc_dir.
14733 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14734 from fdopendir if O_CLOEXEC is already set.
14735
66bdbaa4
AM
147362011-03-15 Alan Modra <amodra@gmail.com>
14737
14738 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14739 l_tls_firstbyte_offset non-zero. Save padding offset in
14740 l_tls_firstbyte_offset for later use.
14741 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14742 freeing static tls block.
14743
95721191
JN
147442011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14745
14746 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14747 where #ifdef was intended. The intent is to prevent ARG_MAX from
14748 being defined by the kernel headers.
14749
f87dfb1f
UD
147502011-05-07 Ulrich Drepper <drepper@gmail.com>
14751
14752 [BZ #12734]
14753 * resolv/resolv.h: Define RES_NOTLDQUERY.
14754 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14755 no-tld-query and set RES_NOTLDQUERY.
14756 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14757 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14758 modern BIND to search name as TLD unless forbidden.
14759
47c3cd7a
UD
147602011-05-07 Petr Baudis <pasky@suse.cz>
14761 Ulrich Drepper <drepper@gmail.com>
14762
14763 [BZ #12393]
14764 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14765 (is_trusted_path): ...to here.
c1e9ea35 14766 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14767 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14768 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14769
8a35c912
PP
147702011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14771
14772 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14773 __BEGIN/__END_DECLS.
14774
acd41f47
UD
147752011-05-06 Ulrich Drepper <drepper@gmail.com>
14776
14777 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14778 NSS_STATUS_NOTFOUND if no record was found.
14779
597df647
AS
147802011-05-05 Andreas Schwab <schwab@redhat.com>
14781
14782 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14783 (headers-not-in-tirpc): Remove rpc/netdb.h
14784 * resolv/netdb.h: Revert last change.
14785
b9af1301
PP
147862011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14787
14788 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14789 circular dependency between libgcc.a and libc.a.
14790
4e34d5f5
AS
147912011-05-05 Andreas Schwab <schwab@redhat.com>
14792
14793 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14794 * nis/Makefile: Don't install rpcsvc/*.
14795 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14796 instead of <rpc/types.h>.
14797 (MAXHOSTNAMELEN): Define.
14798
00ee369c
AS
147992011-05-03 Andreas Schwab <schwab@redhat.com>
14800
14801 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14802
0b592a30
MB
148032011-04-28 Maciej Babinski <mbabinski@google.com>
14804
14805 [BZ #12714]
14806 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14807 gethostbyname4_r when IPv6 results are possible.
14808
6e04cbbe
UD
148092011-05-02 Ulrich Drepper <drepper@gmail.com>
14810
14811 [BZ #12723]
14812 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14813 _PC_PIPE_BUF handling.
14814
e4ecafe0
BH
148152011-04-30 Bruno Haible <bruno@clisp.org>
14816
14817 [BZ #12717]
14818 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14819 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14820 to 'int'.
14821 * inet/getnameinfo.c (getnameinfo): Likewise.
14822
125ee683
UD
148232011-04-29 Ulrich Drepper <drepper@gmail.com>
14824
14825 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14826 to groups setting in database lookup.
14827 * nss/nsswitch.conf: Add initgroups entry.
14828
b722481a
EB
148292011-04-22 Ulrich Drepper <drepper@gmail.com>
14830
14831 [BZ #12685]
14832 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14833 mode string.
14834 Patch by Eric Blake <eblake@redhat.com>.
14835
4df46dbd
L
148362011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14837
14838 * sunrpc/Makefile (need-export-routines): Add svc_run.
14839 (routines): Remove svc_run.
14840 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14841 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14842 * sunrpc/svc_run.c (svc_run): Likewise.
14843 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14844
e84142d2
UD
148452011-04-21 Ulrich Drepper <drepper@gmail.com>
14846
14847 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14848 problem in reallocation in last patch.
14849
877175d8
UD
148502011-04-20 Ulrich Drepper <drepper@gmail.com>
14851
14852 * sunrpc/Makefile: Move inclusion of Rules.
14853
ab8eed78
UD
148542011-04-19 Ulrich Drepper <drepper@gmail.com>
14855
14856 * nss/nss_files/files-initgroups.c: New file.
14857 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14858 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14859 _nss_files_initgroups_dyn.
14860
e3d8f584
RS
148612011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14862
14863 * elf/elf.h (R_ARM_IRELATIVE): Define.
14864
af190f45
UD
148652011-04-19 Ulrich Drepper <drepper@gmail.com>
14866
14867 * po/ru.po: Update from translation team.
14868
53cf59ef
UD
148692011-04-17 Ulrich Drepper <drepper@gmail.com>
14870
14871 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14872 dependencies.
14873
4c559bcd
MF
148742011-02-06 Mike Frysinger <vapier@gentoo.org>
14875
14876 [BZ #12653]
14877 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14878 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14879 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14880 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14881 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14882
4420675c
AS
148832011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14884
14885 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14886 differing bytes.
14887 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14888 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14889 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14890
75ea32ab
UD
148912011-04-17 Ulrich Drepper <drepper@gmail.com>
14892
14893 [BZ #12420]
14894 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14895 storing it.
14896 * stdlib/bug-getcontext.c: New file.
14897 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14898
27390476
AK
148992011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14900
14901 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14902 instructions into .machine "z9-109".
14903 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14904 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14905
10442705
AK
149062011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14907
14908 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14909 between environment variables and auxiliary vector.
14910
7b57bfe5
UD
149112011-04-16 Ulrich Drepper <drepper@gmail.com>
14912
14913 * Makefile: Add rules to build linkobj/libc.so.
14914 * include/libc-symbols.h: Define libc_hidden_nolink.
14915 * include/rpc/auth.h: Mark functions which are to be hidden.
14916 * include/rpc/auth_des.h: Likewise.
14917 * include/rpc/auth_unix.h: Likewise.
14918 * include/rpc/clnt.h: Likewise.
14919 * include/rpc/des_crypt.h: Likewise.
14920 * include/rpc/key_prot.h: Likewise.
14921 * include/rpc/pmap_clnt.h: Likewise.
14922 * include/rpc/pmap_prot.h: Likewise.
14923 * include/rpc/pmap_rmt.h: Likewise.
14924 * include/rpc/rpc_msg.h: Likewise.
14925 * include/rpc/svc.h: Likewise.
14926 * include/rpc/svc_auth.h: Likewise.
14927 * include/rpc/xdr.h: Likewise.
14928 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14929 * nss/Makefile: Likewise.
14930 * sunrpc/Makefile: Don't install headers. Build library with normal
14931 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14932 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14933 for the compat linking library. Remove use of INTDEF/INTUSE.
14934 * sunrpc/auth_none.c: Likewise.
14935 * sunrpc/auth_unix.c: Likewise.
14936 * sunrpc/authdes_prot.c: Likewise.
14937 * sunrpc/authuxprot.c: Likewise.
14938 * sunrpc/clnt_gen.c: Likewise.
14939 * sunrpc/clnt_perr.c: Likewise.
14940 * sunrpc/clnt_raw.c: Likewise.
14941 * sunrpc/clnt_simp.c: Likewise.
14942 * sunrpc/clnt_tcp.c: Likewise.
14943 * sunrpc/clnt_udp.c: Likewise.
14944 * sunrpc/clnt_unix.c: Likewise.
14945 * sunrpc/des_crypt.c: Likewise.
14946 * sunrpc/des_soft.c: Likewise.
14947 * sunrpc/get_myaddr.c: Likewise.
14948 * sunrpc/key_call.c: Likewise.
14949 * sunrpc/key_prot.c: Likewise.
14950 * sunrpc/netname.c: Likewise.
14951 * sunrpc/pm_getmaps.c: Likewise.
14952 * sunrpc/pm_getport.c: Likewise.
14953 * sunrpc/pmap_clnt.c: Likewise.
14954 * sunrpc/pmap_prot.c: Likewise.
14955 * sunrpc/pmap_prot2.c: Likewise.
14956 * sunrpc/pmap_rmt.c: Likewise.
14957 * sunrpc/publickey.c: Likewise.
14958 * sunrpc/rpc_cmsg.c: Likewise.
14959 * sunrpc/rpc_common.c: Likewise.
14960 * sunrpc/rpc_dtable.c: Likewise.
14961 * sunrpc/rpc_prot.c: Likewise.
14962 * sunrpc/rpc_thread.c: Likewise.
14963 * sunrpc/rtime.c: Likewise.
14964 * sunrpc/svc.c: Likewise.
14965 * sunrpc/svc_auth.c: Likewise.
14966 * sunrpc/svc_authux.c: Likewise.
14967 * sunrpc/svc_raw.c: Likewise.
14968 * sunrpc/svc_run.c: Likewise.
14969 * sunrpc/svc_simple.c: Likewise.
14970 * sunrpc/svc_tcp.c: Likewise.
14971 * sunrpc/svc_udp.c: Likewise.
14972 * sunrpc/svc_unix.c: Likewise.
14973 * sunrpc/svcauth_des.c: Likewise.
14974 * sunrpc/xcrypt.c: Likewise.
14975 * sunrpc/xdr.c: Likewise.
14976 * sunrpc/xdr_array.c: Likewise.
14977 * sunrpc/xdr_float.c: Likewise.
14978 * sunrpc/xdr_intXX_t.c: Likewise.
14979 * sunrpc/xdr_mem.c: Likewise.
14980 * sunrpc/xdr_rec.c: Likewise.
14981 * sunrpc/xdr_ref.c: Likewise.
14982 * sunrpc/xdr_sizeof.c: Likewise.
14983 * sunrpc/xdr_stdio.c: Likewise.
14984
e6c61494
UD
149852011-04-10 Ulrich Drepper <drepper@gmail.com>
14986
14987 [BZ #12650]
14988 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14989 * sysdeps/ia64/dl-tls.h: Likewise.
14990 * sysdeps/powerpc/dl-tls.h: Likewise.
14991 * sysdeps/s390/dl-tls.h: Likewise.
14992 * sysdeps/sh/dl-tls.h: Likewise.
14993 * sysdeps/sparc/dl-tls.h: Likewise.
14994 * sysdeps/x86_64/dl-tls.h: Likewise.
14995 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14996
34fe483e
AS
149972011-03-14 Andreas Schwab <schwab@redhat.com>
14998
14999 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15000 rpath element also skip the following colon.
15001 (expand_dynamic_string_token): Add is_path parameter and pass
15002 down to DL_DST_REQUIRED and _dl_dst_substitute.
15003 (decompose_rpath): Call expand_dynamic_string_token with
15004 non-zero is_path. Ignore empty rpaths.
15005 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15006 with zero is_path.
15007
f12a32e6
AS
150082011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15009
15010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15011 Make cancelable.
15012
38a7d692
UD
150132011-04-09 Ulrich Drepper <drepper@gmail.com>
15014
15015 [BZ #12655]
15016 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15017 Patch by Filipe David Manana <fdmanana@apache.org>.
15018
e451d22b
AS
150192011-04-07 Andreas Schwab <schwab@redhat.com>
15020
15021 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15022 Maintain aligned stack.
15023 (CHECK_RSP): Remove unused macro.
15024
dedc7c7b
UD
150252011-04-03 Ulrich Drepper <drepper@gmail.com>
15026
15027 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15028 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15029
94521213
UD
150302011-04-02 Ulrich Drepper <drepper@gmail.com>
15031
15032 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15033
8cb700c0 15034 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 15035
0354e355
L
150362011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15037
15038 [BZ #12518]
15039 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15040 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15041 * sysdeps/x86_64/memmove.c: New file.
15042 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15043 (memcpy): Renamed to ...
15044 (__new_memcpy): This.
15045 (memcpy): Provide GLIBC_2_14 memcpy.
15046 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15047 (memcpy): Provide GLIBC_2_2_5 memcpy.
15048
8593482f
UD
150492011-04-01 Ulrich Drepper <drepper@gmail.com>
15050
15051 [BZ #12631]
15052 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15053
81a5726b
AS
150542011-03-30 Andreas Schwab <schwab@redhat.com>
15055
15056 * misc/syncfs.c: New file.
15057 * misc/Makefile (routines): Add syncfs.
15058 * posix/unistd.h: Declare syncfs.
15059 * sysdeps/unix/syscalls.list: Add syncfs.
15060
00e5419f
AS
150612011-04-01 Andreas Schwab <schwab@redhat.com>
15062
15063 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15064 open_by_handle_at.
15065 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15066 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15067 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15068 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15069 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15070 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15071 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15072
748876bf
UD
150732011-04-01 Ulrich Drepper <drepper@gmail.com>
15074
658e451d
UD
15075 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15076 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15077 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15078 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15079 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15080 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15081 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15082
748876bf
UD
15083 * io/Makefile: Compile fallocate.c, fallocate64.c, and
15084 sync_file_range.c with -fexceptions.
15085 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15086 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15087 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15088 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15089 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15090 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15091 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
15092 sync_file_range as cancellation point
15093 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
15094 now a wrapper around __call_sync_file_range with cancellation handling.
15095 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15096 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
15097 function name to __call_sync_file_range.
15098 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15099 Add call_sync_file_range.
748876bf 15100
6e63d5e1
AS
151012011-04-01 Andreas Schwab <schwab@redhat.com>
15102
15103 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 15104 bits/timex.h.
6e63d5e1 15105
46998f74
UD
151062011-04-01 Ulrich Drepper <drepper@gmail.com>
15107
4c1423ed
UD
15108 * iconv/iconv.h: Fix typo in comment.
15109 * io/fcntl.h: Likewise.
15110 * libio/stdio.h: Likewise.
15111 * posix/spawn.h: Likewise.
15112 * posix/unistd.h: Likewise.
15113 * stdlib/stdlib.h: Likewise.
15114 * time/time.h: Likewise.
15115 * wcsmbs/wchar.h: Likewise.
15116
158648c0
UD
15117 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15118 open_by_handle): Add.
15119 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15120 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
15121 Augment a few comments.
15122 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15123 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15124 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15125 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15126 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15127 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15128 open_by_handle.
15129
46998f74
UD
15130 * io/fcntl.h (AT_EMPTY_PATH): Define.
15131
83fe108b
UD
151322011-03-30 Ulrich Drepper <drepper@gmail.com>
15133
15134 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15135 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15136 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15137 to...
15138 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
15139 * Versions.def: Add GLIBC_2.14.
15140 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15141 Export.
83fe108b 15142
bb242059
UD
151432011-03-22 Ulrich Drepper <drepper@gmail.com>
15144
15145 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15146 round counter.
15147 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15148
c97a1282
L
151492011-03-20 H.J. Lu <hongjiu.lu@intel.com>
15150
15151 [BZ #12597]
15152 * string/test-strncmp.c (do_page_test): New function.
15153 (check2): Likewise.
15154 (test_main): Call check2.
15155 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15156
2a115601
UD
151572011-03-20 Ulrich Drepper <drepper@gmail.com>
15158
15159 [BZ #12587]
15160 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15161 Handle cache information in CPU leaf 4.
15162 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15163
8126d904
UD
151642011-03-18 Ulrich Drepper <drepper@gmail.com>
15165
042c49c6 15166 [BZ #12583]
8126d904
UD
15167 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15168 character representation.
15169 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15170
ccfe366e
RA
151712011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
15172
15173 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15174 END(__isnan) to END(__isnanf) to match function entry point/label
15175 EALIGN(__isnanf,...).
15176
c6e13027
JJ
151772011-03-10 Jakub Jelinek <jakub@redhat.com>
15178
15179 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15180
33f85a3f
UD
151812011-03-10 Ulrich Drepper <drepper@gmail.com>
15182
028478fa
UD
15183 [BZ #12510]
15184 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15185 copy from the symbol referenced in the relocation to initialize the
15186 used variable.
15187 Patch by Piotr Bury <pbury@goahead.com>.
15188 * elf/Makefile: Add rules to build and tst-unique3.
15189 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15190 * elf/tst-unique3.cc: New file.
15191 * elf/tst-unique3.h: New file.
15192 * elf/tst-unique3lib.cc: New file.
15193 * elf/tst-unique3lib2.cc: New file.
15194
33f85a3f
UD
15195 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15196
03592fc7
MF
151972011-03-10 Mike Frysinger <vapier@gentoo.org>
15198
15199 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15200 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
15201 to _start.
03592fc7 15202
6a5ee102
UD
152032011-03-06 Ulrich Drepper <drepper@gmail.com>
15204
15205 * elf/dl-load.c (_dl_map_object): If we are looking for the first
15206 to-be-loaded object along a path to loader is ld.so.
15207
7e4ba49c
HJ
152082011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15209 Ulrich Drepper <drepper@gmail.com>
15210
15211 * sysdeps/x86_64/memset.S: After aligning destination, code
15212 branches to different locations depending on the value of
15213 misalignment, when multiarch is enabled. Fix this.
15214
152152011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15216
15217 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15218 Set _x86_64_preferred_memory_instruction for AMD processsors.
15219 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15220 Set bit_Prefer_SSE_for_memop for AMD processors.
15221
13a804de
UD
152222011-03-04 Ulrich Drepper <drepper@gmail.com>
15223
15224 * libio/fmemopen.c (fmemopen): Optimize a bit.
15225
9d25c392
AS
152262011-03-03 Andreas Schwab <schwab@redhat.com>
15227
15228 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15229
a5543c6a
RM
152302011-03-03 Roland McGrath <roland@redhat.com>
15231
15232 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15233
012d35f7
DM
152342011-02-28 Aurelien Jarno <aurelien@aurel32.net>
15235
7e4ba49c 15236 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
15237 __bzero_ultra1 instead of __memset_ultra1.
15238
4bff6e01
AS
152392011-02-23 Andreas Schwab <schwab@redhat.com>
15240 Ulrich Drepper <drepper@gmail.com>
15241
15242 [BZ #12509]
15243 * include/link.h (struct link_map): Add l_orig_initfini.
15244 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15245 returning unsuccessfully.
15246 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15247 close of a file loaded at startup, restore the original l_initfini
15248 list.
15249 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15250 list, store the pointer.
15251 * elf/Makefile ($(objpfx)noload-mem): New rule.
15252 (noload-ENV): Define.
15253 (tests): Add $(objpfx)noload-mem.
15254 * elf/noload.c: Include <memcheck.h>.
15255 (main): Call mtrace. Close all opened handles.
15256
f2092faf
AS
152572011-02-17 Andreas Schwab <schwab@redhat.com>
15258
15259 [BZ #12454]
15260 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15261 dependencies are missing.
15262
6c8a2e88
ST
152632011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15264
f2092faf 15265 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
15266 Hurd needs munmap.
15267 * sysdeps/mach/hurd/ifreq.h: New file.
15268
84a42118
PB
152692011-01-27 Petr Baudis <pasky@suse.cz>
15270 Ulrich Drepper <drepper@gmail.com>
15271
071f805e 15272 [BZ 12445]#
84a42118
PB
15273 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15274 to extend_alloca().
15275 * stdio-common/bug23.c: New file.
15276 * stdio-common/Makefile (tests): Add bug23.
15277
e23fe25b
AS
152782010-09-28 Andreas Schwab <schwab@redhat.com>
15279 Ulrich Drepper <drepper@gmail.com>
15280
15281 [BZ #12489]
15282 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15283 before performing relro protection. At old place add assertion
15284 to make sure nothing changed.
15285
d3f02e10
NS
152862011-02-17 Nathan Sidwell <nathan@codesourcery.com>
15287 Glauber de Oliveira Costa <glommer@gmail.com>
15288
15289 * elf/elf.h: Add new ARM TLS relocs.
15290
d55fd7a5
RA
152912011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
15292
15293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15294 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15295 cast from r3.
15296 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
15297 'tests' variable.
15298 * sysdeps/wordsize-64/tst-writev.c: New file.
15299
2206397e
RA
153002011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
15301
15302 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
15303 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
15304 insns in _dl_start to prevent a TOC reference before relocs are
15305 resolved.
15306
e9433893
UD
153072011-02-15 Ulrich Drepper <drepper@gmail.com>
15308
15309 [BZ #12469]
15310 * Makeconfig: Remove RANLIB definition.
15311 * Makerules: Don't use RANLIB.
15312 * aclocal.m4: Remove ranlib test.
15313 * configure.in: No need to check for ranlib.
15314 * elf/rtld-Rules: Don't use RANLIB.
15315
f75286c6
ST
153162011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15317
8e31c82d
ST
15318 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15319 protection macro.
15320 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15321 inclusion protection macro.
15322
f75286c6
ST
15323 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
15324 SIGRTMIN and SIGRTMAX and print information in that case only when
15325 SIGRTMIN is defined.
15326
c1d0e639
JJ
153272011-02-11 Jakub Jelinek <jakub@redhat.com>
15328
15329 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15330 arginfo fn returning -1.
15331
15332 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15333 and thousands string is zero terminated.
15334
edf9294e
AS
153352011-02-03 Andreas Schwab <schwab@redhat.com>
15336
15337 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15338 sysdeps/unix/sysv/linux/bits/socket.h.
15339
2b7e92df
ST
153402011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15341
edf9294e
AS
15342 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15343 (__CPU_COUNT): Remove old macros.
15344 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15345 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15346 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
15347 (__sched_cpualloc, __sched_cpufree): Add declarations.
15348
a4c7ea7b
UD
153492011-02-05 Ulrich Drepper <drepper@gmail.com>
15350
15351 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15352 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15353 * nscd/aicache.c (addhstaiX): Return timeout of added value.
15354 (readdhstai): Return value of addhstaiX call.
15355 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15356 (addgrbyX): Return value returned by cache_addgr.
15357 (readdgrbyname): Return value returned by addgrbyX.
15358 (readdgrbygid): Likewise.
15359 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15360 (addpwbyX): Return value returned by cache_addpw.
15361 (readdpwbyname): Return value returned by addhstbyX.
15362 (readdpwbyuid): Likewise.
15363 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15364 (addservbyX): Return value returned by cache_addserv.
15365 (readdservbyname): Return value returned by addservbyX:
15366 (readdservbyport): Likewise.
15367 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15368 (addhstbyX): Return value returned by cache_addhst.
15369 (readdhstbyname): Return value returned by addhstbyX.
15370 (readdhstbyaddr): Likewise.
15371 (readdhstbynamev6): Likewise.
15372 (readdhstbyaddrv6): Likewise.
15373 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15374 (readdinitgroups): Return value returned by addinitgroupsX.
15375 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15376 (prune_cache): Keep track of timeout value of re-added entries.
15377 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15378 * nscd/nscd.h: Adjust prototypes of readd* functions.
15379
a0bf67cc
RM
153802011-02-04 Roland McGrath <roland@redhat.com>
15381
15382 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15383 (nis_stats): Likewise.
15384 * nis/nis_modify.c (nis_modify): Likewise.
15385 * nis/nis_remove.c (nis_remove): Likewise.
15386 * nis/nis_add.c (nis_add): Likewise.
15387
15388 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15389
15390 * posix/fnmatch_loop.c: Add some consts.
15391
15392 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15393
435b95eb
L
153942011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15395
15396 [BZ #12460]
15397 * config.make.in (config-cflags-novzeroupper): Define.
15398 * configure.in: Substitute libc_cv_cc_novzeroupper.
15399 * elf/Makefile (AVX-CFLAGS): Define.
15400 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15401 (CFLAGS-tst-auditmod4a.c): Likewise.
15402 (CFLAGS-tst-auditmod4b.c): Likewise.
15403 (CFLAGS-tst-auditmod6b.c): Likewise.
15404 (CFLAGS-tst-auditmod6c.c): Likewise.
15405 (CFLAGS-tst-auditmod7b.c): Likewise.
15406 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15407
8517b15e
UD
154082011-02-02 Ulrich Drepper <drepper@gmail.com>
15409
15410 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15411 function to the callback.
15412 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15413
10a656fe
AS
154142011-02-02 Andreas Schwab <schwab@redhat.com>
15415
15416 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15417 of errno.
15418
968dad0a
UD
154192011-01-19 Ulrich Drepper <drepper@gmail.com>
15420
9f94d2ea 15421 [BZ #11724]
968dad0a
UD
15422 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15423 of constructors.
15424 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15425 of destructors.
15426 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15427
15428 [BZ #11724]
15429 * elf/Makefile: Add rules to build and run new test.
15430 * elf/tst-initorder.c: New file.
15431 * elf/tst-initorder.exp: New file.
15432 * elf/tst-initordera1.c: New file.
15433 * elf/tst-initordera2.c: New file.
15434 * elf/tst-initordera3.c: New file.
15435 * elf/tst-initordera4.c: New file.
15436 * elf/tst-initorderb1.c: New file.
15437 * elf/tst-initorderb2.c: New file.
15438 * elf/tst-order-a1.c: New file.
15439 * elf/tst-order-a2.c: New file.
15440 * elf/tst-order-a3.c: New file.
15441 * elf/tst-order-a4.c: New file.
15442 * elf/tst-order-b1.c: New file.
15443 * elf/tst-order-b2.c: New file.
15444 * elf/tst-order-main.c: New file.
15445 New test case by George Gensure <werkt0@gmail.com>.
15446
86e92359
UD
154472010-10-01 Andreas Schwab <schwab@redhat.com>
15448
15449 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15450 decoding ACE if AI_CANONIDN.
15451
5d5732b0
UD
154522011-01-18 Ulrich Drepper <drepper@gmail.com>
15453
15454 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15455
a77e8cbc
UD
154562011-01-17 Ulrich Drepper <drepper@gmail.com>
15457
6392473f
UD
15458 * version.h (RELEASE): Bump for 2.13 release.
15459 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15460
620a0529
UD
15461 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15462
18ba70a5
UD
15463 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15464 MADV_NOHUGEPAGE.
32465c3e
UD
15465 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15466 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15467 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15468 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15469 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15470 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15471
c0dafcf1
UD
15472 * posix/getconf.c: Update copyright year.
15473 * catgets/gencat.c: Likewise.
15474 * csu/version.c: Likewise.
15475 * debug/catchsegv.sh: Likewise.
15476 * debug/xtrace.sh: Likewise.
15477 * elf/ldconfig.c: Likewise.
15478 * elf/ldd.bash.in: Likewise.
15479 * elf/sprof.c (print_version): Likewise.
15480 * iconv/iconv_prog.c: Likewise.
15481 * iconv/iconvconfig.c: Likewise.
15482 * locale/programs/locale.c: Likewise.
15483 * locale/programs/localedef.c: Likewise.
15484 * malloc/memusage.sh: Likewise.
15485 * malloc/mtrace.pl: Likewise.
15486 * nscd/nscd.c (print_version): Likewise.
15487 * nss/getent.c: Likewise.
15488
a77e8cbc
UD
15489 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15490 PF_CAIF, and PF_ALG.
15491 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15492
77e8bddf
AS
154932011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15494
1f20b93a
AS
15495 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15496 (modules-names): Use them.
15497 (ifunc-test-modules, ifunc-pie-tests): Define.
15498 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15499 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15500 (test-extras): Likewise.
15501 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15502 $(compile-command.c).
15503 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15504 (all-built-dso): Define.
15505 (check-textrel.out, check-execstack.out): Depend on it.
15506
77e8bddf
AS
15507 * configure.in: Don't override --enable-multi-arch.
15508
bc425b33
UD
155092011-01-15 Ulrich Drepper <drepper@gmail.com>
15510
15511 [BZ #6812]
15512 * nscd/hstcache.c (tryagain): Define.
15513 (cache_addhst): Return tryagain not notfound for temporary errors.
15514 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15515 failed.
15516
794c3ad3
UD
155172011-01-14 Ulrich Drepper <drepper@gmail.com>
15518
70181fdd
UD
15519 [BZ #10563]
15520 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15521 to make the syscall.
15522 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15523
794c3ad3
UD
15524 [BZ #12378]
15525 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15526 and fall back to matching as normal character if the string ends before
15527 the matching ']' is found. This is what POSIX requires.
15528 * posix/testfnm.c: Adjust test result.
15529 * posix/globtest.sh: Adjust test result. Add new test.
15530 * posix/tst-fnmatch.input: Likewise.
15531 * posix/tst-fnmatch2.c: Add new test.
15532
68dc9497
AS
155332010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15534
15535 * elf/Makefile (check-execstack): Revert last change. Depend on
15536 check-execstack.h.
15537 (check-execstack.h): New target.
15538 (generated): Add check-execstack.h.
15539 * elf/check-execstack.c: Include "check-execstack.h".
15540 (main): Revert last change.
15541 (handle_file): Return zero if GNU_STACK is absent and
15542 DEFAULT_STACK_PERMS doesn't include PF_X.
15543
451f001b
UD
155442011-01-13 Ulrich Drepper <drepper@gmail.com>
15545
cfa28e56
UD
15546 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15547 in child fails because the descriptor is already closed.
8cf8ce17
UD
15548 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15549 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15550 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 15551
1086d70d
UD
15552 [BZ #12397]
15553 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15554 syscall.
15555
451f001b
UD
15556 [BZ #10484]
15557 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15558 temporary buffer used to handle multi lookups locally.
a85b5cb4 15559 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 15560
08769175
UD
155612011-01-12 Ulrich Drepper <drepper@gmail.com>
15562
15563 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15564 loader is ld.so.
15565
5e49c52e
UD
155662011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15567
15568 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15569 alignment for SSE2.
15570
60522a5f
UD
155712011-01-12 Ulrich Drepper <drepper@gmail.com>
15572
15573 [BZ #12394]
15574 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15575 characters. When rounding increased number of integer digits recompute
15576 number of groups.
15577 * stdio-common/tst-grouping.c: New file.
15578 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15579
f257bbd7
UD
155802011-01-09 Ulrich Drepper <drepper@gmail.com>
15581
15582 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15583 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15584
15585 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15586 void.
15587 * bits/select.h: Likewise.
15588
fa9c15cb
UD
155892011-01-08 Ulrich Drepper <drepper@gmail.com>
15590
15591 * po/ja.po: Update from translation team.
15592
16c2895f
DM
155932011-01-04 David S. Miller <davem@sunset.davemloft.net>
15594
15595 [BZ #11155]
15596 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15597 implementation just like for lxstat, fxstatat, et al.
15598
2543fef2
JM
155992010-12-27 Jim Meyering <meyering@redhat.com>
15600
15601 [BZ #12348]
15602 * posix/regexec.c (build_trtable): Return failure indication upon
15603 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15604
98727dbe
UD
156052010-12-25 Ulrich Drepper <drepper@gmail.com>
15606
5bd6dc5c
UD
15607 [BZ #12201]
15608 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15609 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15610 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15611 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15612
97983464
UD
15613 [BZ #12207]
15614 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15615
98727dbe
UD
15616 [BZ #12204]
15617 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15618 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15619
4a531bb0
L
156202010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15621
15622 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15623 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15624 script has SORT_BY_INIT_PRIORITY.
15625 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15626 NO_CTORS_DTORS_SECTIONS is defined.
15627 * elf/soinit.c: Likewise.
15628 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15629 NO_CTORS_DTORS_SECTIONS is defined.
15630 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15631 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15632 * sysdeps/sh/init-first.c: Likewise.
15633 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15634
07eb4b71
UD
156352010-12-24 Ulrich Drepper <drepper@gmail.com>
15636
15637 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15638 always use the slow path.
15639
30950a5f
RA
156402010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15641
15642 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15643 similar rule which adds the sysdep directories to the header search in
15644 order to pick up the correct platform stackinfo.h.
15645 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15646 perform test if it is, otherwise return successfully without testing.
15647 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15648 DEFAULT_STACK_PERMS define in stackinfo.h.
15649 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15650 defined in stackinfo.h.
15651 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15652 DEFAULT_STACK_PERMS defined in stackinfo.h.
15653 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15654 * sysdeps/ia64/stackinfo.h: Likewise.
15655 * sysdeps/s390/stackinfo.h: Likewise.
15656 * sysdeps/sh/stackinfo.h: Likewise.
15657 * sysdeps/sparc/stackinfo.h: Likewise.
15658 * sysdeps/x86_64/stackinfo.h: Likewise.
15659 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15660 PF_X for powerpc64. Retain PF_X for powerpc32.
15661
db753e2c
UD
156622010-12-19 Ulrich Drepper <drepper@gmail.com>
15663
14b697f7
UD
15664 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15665 accurately.
db753e2c
UD
15666 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15667 GETDENTS_64BIT_ALIGNED.
15668
28300719
UD
156692010-12-14 Ulrich Drepper <dreper@gmail.com>
15670
14b697f7 15671 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15672
4f197237
AS
156732010-12-10 Andreas Schwab <schwab@redhat.com>
15674
dbb0472f
AS
15675 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15676 _GNU_SOURCE.
15677
4f197237
AS
15678 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15679 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15680 Remove __restrict.
15681 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15682 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15683
fb88ac72
UD
156842010-12-09 Ulrich Drepper <drepper@gmail.com>
15685
15686 [BZ #11655]
15687 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15688 are initialized.
15689
42acbb92
JJ
156902010-12-09 Jakub Jelinek <jakub@redhat.com>
15691
15692 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15693
c038d98d
UD
156942010-12-03 Ulrich Drepper <drepper@gmail.com>
15695
15696 * po/it.po: Update from translation team.
15697
3a4a2499
L
156982010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15699
15700 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15701 unused codes.
15702
1e24cf6e
UD
157032010-11-30 Ulrich Drepper <drepper@gmail.com>
15704
15705 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15706
a7690819
AS
157072010-11-24 Andreas Schwab <schwab@redhat.com>
15708
15709 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15710 specially.
15711 (gaih_getanswer_slice): Likewise.
15712
3bf8d1b1
JJ
157132010-10-20 Jakub Jelinek <jakub@redhat.com>
15714
15715 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15716
6db52fbb
PB
157172010-05-31 Petr Baudis <pasky@suse.cz>
15718
15719 [BZ #11149]
15720 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15721 silently even in the chroot mode.
15722
eaca7569
UD
157232010-11-22 Ulrich Drepper <drepper@gmail.com>
15724
15725 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15726 last patch a bit. Pretty printing
15727
3056dcdb
UD
157282010-05-31 Petr Baudis <pasky@suse.cz>
15729
15730 [BZ #10085]
15731 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15732 initialization of skip_initgroups_dyn.
15733
cf7c9078
UD
157342010-11-19 Ulrich Drepper <drepper@gmail.com>
15735
15736 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15737 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15738
a1fb5e3e
UD
157392010-11-16 Ulrich Drepper <drepper@gmail.com>
15740
15741 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15742
3540d66b
AS
157432010-11-11 Andreas Schwab <schwab@redhat.com>
15744
15745 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15746 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15747 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15748 ($(objpfx)tst-fnmatch-mem): New rule.
15749 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15750 * posix/tst-fnmatch.c (main): Call mtrace.
15751
13b69574
L
157522010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15753
15754 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15755 Support Intel processor model 6 and model 0x2c.
15756
da93d214
LM
157572010-11-10 Luis Machado <luisgpm@br.ibm.com>
15758
15759 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15760 signed comparison.
15761
8ca52c6e
L
157622010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15763
15764 [BZ #12205]
15765 * string/test-strncasecmp.c (check_result): New function.
15766 (do_one_test): Use it.
15767 (check1): New function.
15768 (test_main): Use it.
15769 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15770 Support strcasecmp and strncasecmp.
15771
69da074d
UD
157722010-11-08 Ulrich Drepper <drepper@gmail.com>
15773
15774 [BZ #12194]
15775 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15776 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15777
ff02d528
L
157782010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15779
15780 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15781 IFUNC support.
15782 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15783 memset-x86-64.
15784 * sysdeps/x86_64/multiarch/bzero.S: New file.
15785 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15786 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15787 * sysdeps/x86_64/multiarch/memset.S: New file.
15788 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15789 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15790 Set bit_Prefer_SSE_for_memop for Intel processors.
15791 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15792 Define.
15793 (index_Prefer_SSE_for_memop): Define.
15794 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15795
344d0b54
LM
157962010-11-04 Luis Machado <luisgpm@br.ibm.com>
15797
15798 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15799 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15800
c0dde15b
UD
158012010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15802
15803 [BZ #12191]
15804 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15805 (__x86_64_raw_data_cache_size_half): Likewise.
15806 (__x86_64_raw_shared_cache_size): Likewise.
15807 (__x86_64_raw_shared_cache_size_half): Likewise.
15808
15809 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15810 (__x86_64_raw_data_cache_size_half): Likewise.
15811 (__x86_64_raw_shared_cache_size): Likewise.
15812 (__x86_64_raw_shared_cache_size_half): Likewise.
15813 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15814 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15815 and __x86_64_raw_shared_cache_size_half. Round
15816 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15817 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15818 to multiple of 256 bytes.
15819
0e516e0e
MS
158202010-11-03 Ulrich Drepper <drepper@gmail.com>
15821
15822 [BZ #12167]
15823 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15824 of inacessible symlinks. Verify result of symlink before returning it.
15825 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15826 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15827
0e012e87
ER
158282010-10-28 Erich Ritz <erichritz@gmail.com>
15829
15830 * math/math.h (isinf): Fix typo in comment.
15831
de0ff7bc
UD
158322010-11-01 Ulrich Drepper <drepper@gmail.com>
15833
15834 * po/da.po: Update from translation team.
15835
fa41c84d
UD
158362010-10-26 Ulrich Drepper <drepper@gmail.com>
15837
15838 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15839 is added to the list.
15840
f0967738
AK
158412010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15842 Ulrich Drepper <drepper@gmail.com>
15843
15844 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15845 the global list here. Move code to...
15846 (_dl_add_to_namespace_list): ...here. New function.
15847 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15848 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15849 * elf/dl-load.c (lose): Don't remove the element from the list.
15850 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15851 (_dl_map_object): Likewise.
15852
158532010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15854
15855 [BZ #12159]
15856 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15857 into all bytes of SSE register.
15858 Patch by Richard Li <richardpku@gmail.com>.
15859
f0967738 158602010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15861
15862 [BZ #12140]
15863 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15864 perturbing.
15865
d0b9e94f
MB
158662010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15867
15868 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15869 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15870 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15871 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15873 submachine.
15874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15875
8e9f92e9
AS
158762010-10-22 Andreas Schwab <schwab@redhat.com>
15877
15878 * include/dlfcn.h (__RTLD_SECURE): Define.
15879 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15880 mode & __RTLD_SECURE instead.
15881 (open_path): Rename preloaded parameter to secure.
15882 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15883 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15884 * elf/dl-deps.c (openaux): Likewise.
15885 * elf/rtld.c (struct map_args): Remove is_preloaded.
15886 (map_doit): Don't use it.
15887 (dl_main): Likewise.
15888 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15889 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15890
bc96fbda
AS
158912010-09-09 Andreas Schwab <schwab@redhat.com>
15892
15893 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15894 (sysd-rules-targets): Remove duplicates.
15895 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15896 rtld-%.$o dependency.
15897
22cd1c9b
AS
158982010-10-18 Andreas Schwab <schwab@redhat.com>
15899
15900 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15901 _dl_map_object do it.
15902
18edac48
UD
159032010-10-19 Ulrich Drepper <drepper@gmail.com>
15904
15905 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15906 fast fma builtins, define the macros in the C99 standard.
15907 (FP_FAST_FMAF): Likewise.
15908 (FP_FAST_FMAL): Likewise.
15909 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15910
15911 * bits/mathdef.h: Update copyright year.
15912 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15913
d2050124
MM
159142010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15915
15916 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15917 builtins, define the macros in the C99 standard.
15918 (FP_FAST_FMAF): Likewise.
15919 (FP_FAST_FMAL): Likewise.
15920 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15921 multiply/add.
15922 (FP_FAST_FMAF): Likewise.
15923
475facd1
JJ
159242010-10-15 Jakub Jelinek <jakub@redhat.com>
15925
15926 [BZ #3268]
15927 * math/libm-test.inc (fma_test): Some new testcases.
15928 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15929 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15930 y and infinite z. Do multiplication by C already in long double.
15931 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15932 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15933 y and infinite z. Do bitwise or of inexact bit into u.d.
15934 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15935 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15936 * sysdeps/i386/fpu/s_fma.S: Removed.
15937 * sysdeps/i386/fpu/s_fmal.S: Removed.
15938
7c08a05c
JJ
159392010-10-16 Jakub Jelinek <jakub@redhat.com>
15940
15941 [BZ #3268]
15942 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15943 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15944 computation is not scheduled after fetestexcept. Fix value
15945 of minimum denormal long double.
15946
f3f7372d
JJ
159472010-10-14 Jakub Jelinek <jakub@redhat.com>
15948
15949 [BZ #3268]
15950 * math/libm-test.inc (fma_test): Add some more tests.
15951 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15952 correctly.
15953
14d43591
AS
159542010-10-15 Andreas Schwab <schwab@redhat.com>
15955
15956 * scripts/data/localplt-s390-linux-gnu.data: New file.
15957 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15958
5e908464
JJ
159592010-10-13 Jakub Jelinek <jakub@redhat.com>
15960
15961 [BZ #3268]
15962 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15963 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15964 instead of dbl-64.
15965 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15966 inlines.
15967 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15968 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15969 if one of x and y is very large and the other is subnormal.
15970 * sysdeps/s390/fpu/s_fmaf.c: New file.
15971 * sysdeps/s390/fpu/s_fma.c: New file.
15972 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15973 * sysdeps/powerpc/fpu/s_fma.S: New file.
15974 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15975 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15976 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15977
159782010-10-12 Jakub Jelinek <jakub@redhat.com>
15979
15980 [BZ #3268]
15981 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15982 fma tests.
15983 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15984 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15985 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15986 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15987 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15988 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15989 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15990
b833d51f
UD
159912010-10-12 Ulrich Drepper <drepper@redhat.com>
15992
15993 [BZ #12078]
15994 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15995 * posix/bug-regex31.input: Add test case.
15996
1751705d
UD
159972010-10-11 Ulrich Drepper <drepper@gmail.com>
15998
e9b9cbf5
UD
15999 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16000 * posix/bug-regex31.input: New file.
16001
16002 [BZ #12078]
16003 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16004 (parse_sub_exp): Fix last change, use postorder.
16005
ef06edbe
UD
16006 * posix/bug-regex31.c: New file.
16007 * posix/Makefile: Add rules to build and run bug-regex31.
16008
a129c80d
UD
16009 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16010
16011 [BZ #12078]
16012 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16013
b76b818e
UD
16014 [BZ #12108]
16015 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16016 to have entries in sys_siglist.
16017
1751705d
UD
16018 [BZ #12093]
16019 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16020 be NULL.
16021
9ff8d36f
JJ
160222010-10-07 Jakub Jelinek <jakub@redhat.com>
16023
16024 [BZ #3268]
16025 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16026 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16027 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16028 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16029 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16030 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16031 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16032 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16033 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16034 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16035 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16036 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16037 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16038 * math/ftestexcept.c (fetestexcept): Likewise.
16039 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16040 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16041 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16042 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16043 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16044 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16045 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16046
af325969
UD
160472010-10-11 Ulrich Drepper <drepper@gmail.com>
16048
c579b202 16049 [BZ #12107]
af325969
UD
16050 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16051 newline.
16052
67a67b95
UD
160532010-10-06 Ulrich Drepper <drepper@gmail.com>
16054
16055 * string/bug-strstr1.c: New file.
16056 * string/Makefile: Add rules to build and run bug-strstr1.
16057
5fb308bc
EB
160582010-10-05 Eric Blake <eblake@redhat.com>
16059
16060 [BZ #12092]
16061 * string/str-two-way.h (two_way_long_needle): Always clear memory
16062 when skipping input due to the shift table.
16063
45db99c7
UD
160642010-10-03 Ulrich Drepper <drepper@gmail.com>
16065
3b111893
UD
16066 [BZ #12005]
16067 * malloc/mcheck.c: Handle large requests.
16068
45db99c7
UD
16069 [BZ #12077]
16070 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16071 for strncmp and strncasecmp.
16072 * string/stratcliff.c: Add tests for strcmp and strncmp.
16073 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16074
cf7a1eb8
NI
160752010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16076
16077 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16078 __set_fpscr.
16079
6484ba5e
AJ
160802010-09-30 Andreas Jaeger <aj@suse.de>
16081
16082 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16083 (CGROUP_SUPER_MAGIC): Define.
16084 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16085 Handle btrfs and cgroup file systems.
16086 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16087 Likewise.
16088
91c42559
LM
160892010-09-27 Luis Machado <luisgpm@br.ibm.com>
16090
16091 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16092 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16093
87a97932
AK
160942010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16095
16096 [BZ #12067]
16097 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16098 trying to locate the ELF header.
16099
c21cc9bc
AS
161002010-09-27 Andreas Schwab <schwab@redhat.com>
16101
16102 [BZ #11611]
16103 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16104 Mask out sign-bit copies when constructing f_fsid.
16105
315970f6
PB
161062010-09-24 Petr Baudis <pasky@suse.cz>
16107
16108 * debug/stack_chk_fail_local.c: Add missing licence exception.
16109 * debug/warning-nop.c: Likewise.
16110
1ac7a2c7
JM
161112010-09-15 Joseph Myers <joseph@codesourcery.com>
16112
16113 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16114 implementing getdents64 using getdents syscall, set d_type if
16115 __ASSUME_GETDENTS32_D_TYPE.
16116
56801c50
AS
161172010-09-16 Andreas Schwab <schwab@redhat.com>
16118
16119 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16120 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16121
dda51327
UD
161222010-09-21 Ulrich Drepper <drepper@redhat.com>
16123
16124 [BZ #12037]
16125 * posix/unistd.h: Undo change of feature selection for ftruncate from
16126 2010-01-11.
16127
8ffcee4a
UD
161282010-09-20 Ulrich Drepper <drepper@redhat.com>
16129
a545ecd9 16130 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
16131 detection.
16132
e24f0a8b
AS
161332010-09-20 Andreas Schwab <schwab@redhat.com>
16134
16135 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16136 fanotify_mark.
16137 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16138
7291c56f
AS
161392010-09-14 Andreas Schwab <schwab@redhat.com>
16140
16141 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16142 variables after CHECK_SP call.
16143 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16144
bc5fb037
AS
161452010-09-13 Andreas Schwab <schwab@redhat.com>
16146 Ulrich Drepper <drepper@redhat.com>
16147
16148 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16149 re-relocationg ld.so.
16150 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16151 _dl_init_paths call.
16152 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
16153 here anymore.
16154
e66e7419
UD
161552010-09-14 Ulrich Drepper <drepper@redhat.com>
16156
16157 * resolv/res_init.c (__res_vinit): Count the default server we added.
16158
c044aa75
CLT
161592010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
16160 Ulrich Drepper <drepper@redhat.com>
16161
16162 [BZ #11968]
16163 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16164 (____longjmp_chk): Use %ebx for saving value across system call.
16165 Add unwind info.
16166
32cf4069
AS
161672010-09-06 Andreas Schwab <schwab@redhat.com>
16168
16169 * manual/Makefile: Don't mix pattern rules with normal rules.
16170
817328ee
AS
161712010-09-05 Andreas Schwab <schwab@linux-m68k.org>
16172
16173 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16174 operation.
16175 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16176 * libio/iofopncook.c (_IO_cookie_init): Likewise.
16177 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16178 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16179 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16180 Likewise.
16181
29fddf61
UD
161822010-09-04 Ulrich Drepper <drepper@redhat.com>
16183
16184 [BZ #11979]
16185 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16186 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16187
0959ffc9
UD
161882010-09-02 Ulrich Drepper <drepper@redhat.com>
16189
16190 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16191 * sysdeps/x86_64/addmul_1.S: Likewise.
16192 * sysdeps/x86_64/lshift.S: Likewise.
16193 * sysdeps/x86_64/mul_1.S: Likewise.
16194 * sysdeps/x86_64/rshift.S: Likewise.
16195 * sysdeps/x86_64/sub_n.S: Likewise.
16196 * sysdeps/x86_64/submul_1.S: Likewise.
16197
ece29840
ST
161982010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
16199
0959ffc9
UD
16200 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16201 Define __sched_param instead of SCHED_* and sched_param when
ece29840 16202 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 16203 * bits/sched.h [__need_schedparam]
ece29840 16204 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
16205 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16206 (__defined_schedparam): Define to 1.
ece29840
ST
16207 (__sched_param): New structure, identical to sched_param.
16208 (__need_schedparam): Undefine.
16209
e53a31fe
MF
162102010-08-31 Mike Frysinger <vapier@gentoo.org>
16211
fdc0c10d
MF
16212 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16213 (epoll_create1): Declare.
16214
e53a31fe
MF
16215 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16216
a726d796
AS
162172010-08-31 Andreas Schwab <schwab@redhat.com>
16218
16219 [BZ #7066]
16220 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16221 shifting retval into place.
16222
2f3e3dc7
UD
162232010-09-01 Ulrich Drepper <drepper@redhat.com>
16224
f2933da9
UD
16225 * nis/rpcsvc/nis.h: Update copyright notice.
16226 * nis/rpcsvc/nis.x: Likewise.
16227 * nis/rpcsvc/nis_callback.h: Likewise.
16228 * nis/rpcsvc/nis_callback.x: Likewise.
16229 * nis/rpcsvc/nis_object.x: Likewise.
16230 * nis/rpcsvc/nis_tags.h: Likewise.
16231 * nis/rpcsvc/yp.h: Likewise.
16232 * nis/rpcsvc/yp.x: Likewise.
16233 * nis/rpcsvc/ypupd.h: Likewise.
16234 * nis/yp_xdr.c: Likewise.
16235 * nis/ypupdate_xdr.c: Likewise.
16236
2f3e3dc7
UD
16237 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
16238 mainly the body of pmap_getport. Add parameters to specify timeouts.
16239 (pmap_getport): Use __libc_rpc_getport.
16240 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16241 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16242 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16243
f3dcc2f9
AS
162442010-08-31 Andreas Schwab <schwab@linux-m68k.org>
16245
16246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16247 fanotify_mark.
16248
6d34eb5b
RM
162492010-08-27 Roland McGrath <roland@redhat.com>
16250
16251 * sysdeps/i386/i686/multiarch/Makefile
16252 (CFLAGS-varshift.c): New variable.
16253
9ea3de11
UD
162542010-08-27 Ulrich Drepper <drepper@redhat.com>
16255
c96d23fc
UD
16256 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16257 * sysdeps/i386/i686/multiarch/varshift.c: New file.
16258
9ea3de11
UD
16259 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16260
16261 * sysdeps/x86_64/strlen.S: Minimal code improvement.
16262
623aac7f
L
162632010-08-26 H.J. Lu <hongjiu.lu@intel.com>
16264
16265 * sysdeps/x86_64/strlen.S: Unroll the loop.
16266 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16267 strlen-sse2 strlen-sse2-bsf.
16268 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16269 __strlen_no_bsf if bit_Slow_BSF is set.
16270 (__strlen_sse42): Removed.
16271 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16272 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16273
8b2b7715
RM
162742010-08-25 Roland McGrath <roland@redhat.com>
16275
16276 * sysdeps/x86_64/multiarch/varshift.S: File removed.
16277 * sysdeps/x86_64/multiarch/varshift.c: New file.
16278 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16279 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16280 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16281 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16282
e73015f2
L
162832010-08-25 H.J. Lu <hongjiu.lu@intel.com>
16284
16285 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16286 strlen-sse2 strlen-sse2-bsf.
16287 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16288 __strlen_sse2_bsf if bit_Slow_BSF is unset.
16289 (__strlen_sse2): Removed.
16290 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16291 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16292 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16293 bit_Slow_BSF for Atom.
16294 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16295 (index_Slow_BSF): Define.
16296 (HAS_SLOW_BSF): Define.
16297
df24a73e
UD
162982010-08-25 Ulrich Drepper <drepper@redhat.com>
16299
16300 [BZ #10851]
16301 * resolv/res_init.c (__res_vinit): When no server address at all
16302 is given default to loopback.
16303
f2ac4868
RM
163042010-08-24 Roland McGrath <roland@redhat.com>
16305
09055553
RM
16306 * configure.in: Remove config-name.h generation.
16307 * configure: Regenerated.
16308 * config-name.in: File removed.
16309 * scripts/config-uname.sh: New file.
16310 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16311 ($(objdir)config-name.h): New target.
16312
f2ac4868
RM
16313 * sunrpc/rpc_parse.h: Avoid nested comment.
16314
73f27d5e
RH
163152010-08-24 Richard Henderson <rth@redhat.com>
16316 Ulrich Drepper <drepper@redhat.com>
16317 H.J. Lu <hongjiu.lu@intel.com>
16318
16319 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16320 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16321 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16322 Replace _mm_srli_si128 with __m128i_shift_right. Replace
16323 _mm_alignr_epi8 with _mm_loadu_si128.
16324 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
16325 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
16326 (__m128i_shift_right): Removed.
16327 * sysdeps/i386/i686/multiarch/varshift.h: New file.
16328 * sysdeps/i386/i686/multiarch/varshift.S: New file.
16329 * sysdeps/x86_64/multiarch/varshift.h: New file.
16330 * sysdeps/x86_64/multiarch/varshift.S: New file.
16331
84b9230c
MF
163322010-08-21 Mike Frysinger <vapier@gentoo.org>
16333
16334 * configure.in: Move assembler checks to before sysdep dir checking.
16335
9bbd0ddc
PB
163362010-08-20 Petr Baudis <pasky@suse.cz>
16337
16338 * LICENSES: Sync the sunrpc license.
16339
9da4bb31
UD
163402010-08-19 Ulrich Drepper <drepper@redhat.com>
16341
a7ab6ec8
UD
16342 * sunrpc/auth_des.c: Update copyright notice once again.
16343 * sunrpc/auth_none.c: Likewise.
16344 * sunrpc/auth_unix.c: Likewise.
16345 * sunrpc/authdes_prot.c: Likewise.
16346 * sunrpc/authuxprot.c: Likewise.
16347 * sunrpc/bindrsvprt.c: Likewise.
16348 * sunrpc/clnt_gen.c: Likewise.
16349 * sunrpc/clnt_perr.c: Likewise.
16350 * sunrpc/clnt_raw.c: Likewise.
16351 * sunrpc/clnt_simp.c: Likewise.
16352 * sunrpc/clnt_tcp.c: Likewise.
16353 * sunrpc/clnt_udp.c: Likewise.
16354 * sunrpc/clnt_unix.c: Likewise.
16355 * sunrpc/des_crypt.c: Likewise.
16356 * sunrpc/des_soft.c: Likewise.
16357 * sunrpc/get_myaddr.c: Likewise.
16358 * sunrpc/getrpcport.c: Likewise.
16359 * sunrpc/key_call.c: Likewise.
16360 * sunrpc/key_prot.c: Likewise.
16361 * sunrpc/openchild.c: Likewise.
16362 * sunrpc/pm_getmaps.c: Likewise.
16363 * sunrpc/pm_getport.c: Likewise.
16364 * sunrpc/pmap_clnt.c: Likewise.
16365 * sunrpc/pmap_prot.c: Likewise.
16366 * sunrpc/pmap_prot2.c: Likewise.
16367 * sunrpc/pmap_rmt.c: Likewise.
16368 * sunrpc/rpc/auth.h: Likewise.
16369 * sunrpc/rpc/auth_unix.h: Likewise.
16370 * sunrpc/rpc/clnt.h: Likewise.
16371 * sunrpc/rpc/des_crypt.h: Likewise.
16372 * sunrpc/rpc/key_prot.h: Likewise.
16373 * sunrpc/rpc/netdb.h: Likewise.
16374 * sunrpc/rpc/pmap_clnt.h: Likewise.
16375 * sunrpc/rpc/pmap_prot.h: Likewise.
16376 * sunrpc/rpc/pmap_rmt.h: Likewise.
16377 * sunrpc/rpc/rpc.h: Likewise.
16378 * sunrpc/rpc/rpc_des.h: Likewise.
16379 * sunrpc/rpc/rpc_msg.h: Likewise.
16380 * sunrpc/rpc/svc.h: Likewise.
16381 * sunrpc/rpc/svc_auth.h: Likewise.
16382 * sunrpc/rpc/types.h: Likewise.
16383 * sunrpc/rpc/xdr.h: Likewise.
16384 * sunrpc/rpc_clntout.c: Likewise.
16385 * sunrpc/rpc_cmsg.c: Likewise.
16386 * sunrpc/rpc_common.c: Likewise.
16387 * sunrpc/rpc_cout.c: Likewise.
16388 * sunrpc/rpc_dtable.c: Likewise.
16389 * sunrpc/rpc_hout.c: Likewise.
16390 * sunrpc/rpc_main.c: Likewise.
16391 * sunrpc/rpc_parse.c: Likewise.
16392 * sunrpc/rpc_parse.h: Likewise.
16393 * sunrpc/rpc_prot.c: Likewise.
16394 * sunrpc/rpc_sample.c: Likewise.
16395 * sunrpc/rpc_scan.c: Likewise.
16396 * sunrpc/rpc_scan.h: Likewise.
16397 * sunrpc/rpc_svcout.c: Likewise.
16398 * sunrpc/rpc_tblout.c: Likewise.
16399 * sunrpc/rpc_util.c: Likewise.
16400 * sunrpc/rpc_util.h: Likewise.
16401 * sunrpc/rpcinfo.c: Likewise.
16402 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16403 * sunrpc/rpcsvc/key_prot.x: Likewise.
16404 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16405 * sunrpc/rpcsvc/mount.x: Likewise.
16406 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16407 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16408 * sunrpc/rpcsvc/rex.x: Likewise.
16409 * sunrpc/rpcsvc/rstat.x: Likewise.
16410 * sunrpc/rpcsvc/rusers.x: Likewise.
16411 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16412 * sunrpc/rpcsvc/spray.x: Likewise.
16413 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16414 * sunrpc/rtime.c: Likewise.
16415 * sunrpc/svc.c: Likewise.
16416 * sunrpc/svc_auth.c: Likewise.
16417 * sunrpc/svc_authux.c: Likewise.
16418 * sunrpc/svc_raw.c: Likewise.
16419 * sunrpc/svc_run.c: Likewise.
16420 * sunrpc/svc_simple.c: Likewise.
16421 * sunrpc/svc_tcp.c: Likewise.
16422 * sunrpc/svc_udp.c: Likewise.
16423 * sunrpc/svc_unix.c: Likewise.
16424 * sunrpc/svcauth_des.c: Likewise.
16425 * sunrpc/xcrypt.c: Likewise.
16426 * sunrpc/xdr.c: Likewise.
16427 * sunrpc/xdr_array.c: Likewise.
16428 * sunrpc/xdr_float.c: Likewise.
16429 * sunrpc/xdr_mem.c: Likewise.
16430 * sunrpc/xdr_rec.c: Likewise.
16431 * sunrpc/xdr_ref.c: Likewise.
16432 * sunrpc/xdr_sizeof.c: Likewise.
16433 * sunrpc/xdr_stdio.c: Likewise.
16434
9da4bb31
UD
16435 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16436 handling.
16437
bdaa77bc
AS
164382010-08-19 Andreas Schwab <schwab@redhat.com>
16439
16440 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16441
fe2f79db
LM
164422010-08-19 Luis Machado <luisgpm@br.ibm.com>
16443
16444 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16445 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16446 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16447 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16448 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16449 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16450 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16451 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16452 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16453 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16454 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16455 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16456 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16457 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16458
b9b42ee0
AB
164592010-07-26 Anton Blanchard <anton@samba.org>
16460
16461 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16462 * malloc/arena.c (heap_trim): Likewise.
16463
1c06ba31
UD
164642010-08-16 Ulrich Drepper <drepper@redhat.com>
16465
16466 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16467 here. Not...
16468 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16469 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16470
f8392f40
L
164712010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16472
16473 * sysdeps/i386/elf/Makefile: New file.
16474
3162f12e
AS
164752010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16476
16477 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16478 from fanotify_init.
16479 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16480 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16481
28c90b2c
UD
164822010-08-15 Ulrich Drepper <drepper@redhat.com>
16483
16484 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16485 of strncasecmp_l.
1feccb6c 16486 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 16487
ca6bb004
UD
164882010-08-14 Ulrich Drepper <drepper@redhat.com>
16489
e9f82e0d
UD
16490 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16491 strncase_l-nonascii.
16492 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16493 Add strncase_l-ssse3.
16494 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16495 * sysdeps/x86_64/strcmp.S: Likewise.
16496 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16497 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16498 * sysdeps/x86_64/strncase.S: New file.
16499 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16500 * sysdeps/x86_64/strncase_l.S: New file.
16501 * string/Makefile (strop-tests): Add strncasecmp.
16502 * string/test-strncasecmp.c: New file.
16503
16504 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16505 warning.
16506
ca6bb004
UD
16507 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16508 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16509
052fa7b3
AS
165102010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16511
16512 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16513
962dba78
UD
165142010-08-12 Ulrich Drepper <drepper@redhat.com>
16515
16516 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16517 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16518 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16519
bebff237
AM
165202010-05-01 Alan Modra <amodra@gmail.com>
16521
16522 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16523 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16524 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16525 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16526 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16527 tidying. Don't tail-call __sigjmp_save for static lib.
16528 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16529 save location.
16530 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16531 (CALL_MCOUNT): Add eh info, and nop after bl.
16532 (TAIL_CALL_SYSCALL_ERROR): New macro.
16533 (PSEUDO_RET): Use it.
16534 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16535 Correct save location of integer regs and cr.
16536 (_dl_profile_resolve): Correct cr save location. Delete nops
16537 after bl when SHARED. Reduce cfi size a little by better
16538 placement of cfi directives.
16539 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16540 make a stack frame. Instead use parm save area as a temp.
16541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16542 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16544 Don't make a stack frame for parent, use parm save area.
16545 Increase child stack frame to 112 bytes. Don't save unused reg,
16546 and adjust reg usage. Set up cfi on error recovery and
16547 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16549 (__makecontext): Add dummy nop after jump to exit.
16550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16551 Use correct parm save area and cr save, reduce stack frame.
16552 Correct cfi for possible PSEUDO_RET frame setup.
16553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16554 Branch to local label emitted by PSEUDO_RET rather than
16555 __syscall_error.
16556
02637374
AS
165572010-08-12 Andreas Schwab <schwab@redhat.com>
16558
16559 [BZ #11904]
16560 * locale/programs/locale.c (print_assignment): New function.
16561 (show_locale_vars): Use it.
16562
c3e2f19b
UD
165632010-08-11 Ulrich Drepper <drepper@redhat.com>
16564
3cdaa6ad
UD
16565 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16566 field.
16567 (struct statfs64): Likewise.
16568 (_STATFS_F_FLAGS): Define.
16569 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16570 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16571 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16572 (ST_VALID): Define locally.
16573 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16574 __statvfs_getflags, use the provided value.
16575 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16576 __ASSUME_STATFS_F_FLAGS.
16577
754f7da3
UD
16578 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16579
10b3bedc
UD
16580 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16581 Add sys/fanotify.h.
16582 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16583 fanotify_mask for GLIBC_2.13.
16584 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16585 fanotify_init and fanotify_mark.
16586 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16587 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16588
c08fb0d7
UD
16589 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16590 Add prlimit.
16591 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16592 prlimit64 for GLIBC_2.13.
16593 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16594 prlimit64.
16595 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16596 syscall.
16597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16598 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16599 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16600 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16601 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16602 add prlimit alias.
16603 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16604
15bac72b
UD
16605 [BZ #11903]
16606 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16607 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16608
c3e2f19b
UD
16609 * nss/Makefile: Add rules to build and run tst-nss-test1.
16610 * shlib-versions: Add entry for libnss_test1.
16611 * nss/nss_test1.c: New file.
16612 * nss/tst-nss-test1.c: New file.
16613
16614 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16615 (__nss_configure_lookup): Set appropriate entry in
16616 __nss_configure_lookup to true.
16617 * nss/nsswitch.h: Define enum with indeces of databases in
16618 databases and __nss_database_custom arrays. Declare
16619 __nss_database_custom.
16620 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16621 to avoid using nscd when custom rules are installed.
16622 * nss/getXXbyYY_r.c: Likewise.
16623 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16624
16625 * nss/nss_files/files-parse.c: Whitespace fixes.
16626
f15ce4d8
UD
166272010-08-09 Ulrich Drepper <drepper@redhat.com>
16628
16629 [BZ #11883]
16630 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16631 * posix/fnmatch_loop.c: Likewise.
16632
d22e4cc9
AK
166332010-07-17 Andi Kleen <ak@linux.intel.com>
16634
16635 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16636 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16637 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16638 * Versions.def [GLIBC_2.13]: Add.
16639
805bc17d
UD
166402010-08-06 Ulrich Drepper <drepper@redhat.com>
16641
16642 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16643 Also fail if tpwd after pwuid call is NULL.
16644
5a42321d
ST
166452010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16646
16647 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16648 when converting to ms.
16649
fd3ebeda
ST
166502010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16651
16652 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16653 EOPNOTSUPP errors with ENOTTY.
16654 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16655 EOPNOTSUPP errors with ENOTTY.
16656
73507d3a
UD
166572010-07-31 Ulrich Drepper <drepper@redhat.com>
16658
16659 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16660 Add strcasecmp_l-ssse3.
16661 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16662 strcasecmp.
16663 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16664 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16665 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16666
fe36dd02
UD
166672010-07-30 Ulrich Drepper <drepper@redhat.com>
16668
66f6765a
UD
16669 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16670
42e08a54
UD
16671 * string/Makefile (strop-tests): Add strcasecmp.
16672 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16673 strcasecmp_l-nonascii.
16674 (gen-as-const-headers): Add locale-defines.sym.
16675 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16676 * sysdeps/x86_64/strcasecmp.S: New file.
16677 * sysdeps/x86_64/strcasecmp_l.S: New file.
16678 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16679 * sysdeps/x86_64/locale-defines.sym: New file.
16680 * string/test-strcasecmp.c: New file.
16681
fe36dd02
UD
16682 * string/test-strcasestr.c: Test both ends of the range of characters.
16683 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16684
48cbc0d6
RM
166852010-07-29 Roland McGrath <roland@redhat.com>
16686
76e6d6bc 16687 [BZ #11856]
48cbc0d6
RM
16688 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16689
880113d9
UD
166902010-07-27 Ulrich Drepper <drepper@redhat.com>
16691
16692 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16693 for ld.so.
16694
deb9cabb
AS
166952010-07-27 Andreas Schwab <schwab@redhat.com>
16696
16697 * manual/memory.texi (Malloc Tunable Parameters): Document
16698 M_PERTURB.
16699
1c7570ff
RM
167002010-07-26 Roland McGrath <roland@redhat.com>
16701
16702 [BZ #11840]
16703 * configure.in (-fgnu89-inline check): Set and substitute
16704 gnu89_inline, not libc_cv_gnu89_inline.
16705 * configure: Regenerated.
16706 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16707
24fb0f88
UD
167082010-07-26 Ulrich Drepper <drepper@redhat.com>
16709
16710 * string/test-strnlen.c: New file.
16711 * string/Makefile (strop-tests): Add strnlen.
16712 * string/tester.c (test_strnlen): Add a few more test cases.
16713 * string/tst-strlen.c: Better error reporting.
16714
16715 * sysdeps/x86_64/strnlen.S: New file.
16716
8e96b93a
UD
167172010-07-24 Ulrich Drepper <drepper@redhat.com>
16718
16719 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16720 lower-latency instructions.
16721
dbc676d4
UD
167222010-07-23 Ulrich Drepper <drepper@redhat.com>
16723
16724 * string/test-strcasestr.c: New file.
16725 * string/test-strstr.c: New file.
16726 * string/Makefile (strop-tests): Add strstr and strcasestr.
16727 * string/str-two-way.h: Don't undefine MAX.
16728 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16729
f6a31e0e
AS
167302010-07-21 Andreas Schwab <schwab@redhat.com>
16731
16732 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16733 strcasestr-nonascii.
16734 (CFLAGS-strcasestr-nonascii.c): Define.
16735 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16736 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16737 Remove unused attribute.
16738
5dbc3b6c
RM
167392010-07-20 Roland McGrath <roland@redhat.com>
16740
16741 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16742 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16743 ld.so.cache was broken. With it, there is no way to disable dsocaps
16744 like LD_HWCAP_MASK can disable hwcaps.
16745
23d101d8
EPM
167462010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16747
16748 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16749
cc9f2e47
UD
167502010-07-16 Ulrich Drepper <drepper@redhat.com>
16751
16752 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16753 call in strcasestr.
16754 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16755 __strcasestr_sse42_nonascii.
16756 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16757 strcasestr-nonascii.c.
16758 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16759
77c1b069
LM
167602010-06-15 Luis Machado <luisgpm@br.ibm.com>
16761
16762 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16763 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16764 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16765 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16766
440566c3
UD
167672010-07-09 Ulrich Drepper <drepper@redhat.com>
16768
16769 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16770 fcntl.
16771
5be9d05d
AS
167722010-07-06 Andreas Schwab <schwab@redhat.com>
16773
c30b7ee2 16774 [BZ #11577]
5be9d05d
AS
16775 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16776 dl_signal_cerror.
16777
8a492a67
UD
167782010-07-06 Ulrich Drepper <drepper@redhat.com>
16779
16780 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16781 _PC_PIPE_BUF using F_GETPIPE_SZ.
16782
713df3d5
RM
167832010-07-05 Roland McGrath <roland@redhat.com>
16784
16785 * manual/arith.texi (Rounding Functions): Fix rint description
16786 implicit in round description.
16787
702e8f14
UD
167882010-07-02 Ulrich Drepper <drepper@redhat.com>
16789
16790 * elf/Makefile: Fix linking for a few tests to make recent linker
16791 happy.
16792
52ed8be9
AS
167932010-06-30 Andreas Schwab <schwab@redhat.com>
16794
16795 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16796 $(common-objpfx)libc_nonshared.a.
16797
f47c9a11
LM
167982010-06-21 Luis Machado <luisgpm@br.ibm.com>
16799
16800 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16801 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16802 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16803 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16804 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16805 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16806 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16807 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16822 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16823 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16824 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16825 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16826 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16827 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16828 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16829 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16830 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16831 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16832 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16833 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16848
6fb8cbcb
L
168492010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16850
16851 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16852 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16853 * string/memmove.c (memmove): Renamed to ...
16854 (MEMMOVE): ...this. Default to memmove.
16855 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16856 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16857 (END_CHK): Define.
16858 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16859 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16860 mempcpy-ssse3-back memmove-ssse3-back.
16861 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16862 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16863 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16864 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16865 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16866 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16867 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16868 * sysdeps/x86_64/multiarch/memmove.c: New file.
16869 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16870 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16871 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16872 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16873 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16874 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16875 Define.
16876 (index_Fast_Copy_Backward): Define.
16877 (HAS_ARCH_FEATURE): Define.
16878 (HAS_FAST_REP_STRING): Define.
16879 (HAS_FAST_COPY_BACKWARD): Define.
16880
4e733bac 168812010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16882
16883 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16884 Restore proper fallback handling.
16885
63c4ed22
UD
168862010-06-19 Ulrich Drepper <drepper@redhat.com>
16887
ac2b484c
UD
16888 [BZ #11701]
16889 * posix/group_member.c (__group_member): Correct checking loop.
16890
63c4ed22
UD
16891 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16892 OOM in getpwuid_r correctly. Return error number when the caller
16893 should return, otherwise -1.
16894 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16895 call returning > 0 value.
16896 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16897
765ade4b
AS
168982010-06-07 Andreas Schwab <schwab@redhat.com>
16899
16900 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16901 libc_nonshared.a from targets in modules-names.
16902
80da2e09
KS
169032010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16904
16905 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16906 requires it.
16907
158db122
LM
169082010-06-10 Luis Machado <luisgpm@br.ibm.com>
16909
16910 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16911 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16912 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16913 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16914
caa78cf8
AS
169152010-06-02 Andreas Schwab <schwab@redhat.com>
16916
16917 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16918
b2ef2c01
UD
169192010-06-14 Ulrich Drepper <drepper@redhat.com>
16920
16921 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16922 and F_GETPIPE_SZ.
16923 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16924 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16925 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16926 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16927 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16928 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16929
fbd643b6
RM
169302010-06-14 Roland McGrath <roland@redhat.com>
16931
16932 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16933
f32f2869
JJ
169342010-06-07 Jakub Jelinek <jakub@redhat.com>
16935
16936 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16937 __REDIRECT followed by __THROW.
16938 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16939 * posix/getopt.h (getopt): Likewise.
16940
2a50c078
EPM
169412010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16942
16943 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16944 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16945 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16946 in AT_FLAGS.
16947 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16948 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16949
eb5ad2eb
LM
169502010-05-28 Luis Machado <luisgpm@br.ibm.com>
16951
16952 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16953
3c88fe1e
L
169542010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16955
16956 [BZ #11640]
16957 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16958 Properly check family and model.
16959
d2f73151
TY
169602010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16961
16962 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16963
ebd2e13d
LM
169642010-05-24 Luis Machado <luisgpm@br.ibm.com>
16965
16966 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16967
b32b8b45
UD
169682010-05-21 Ulrich Drepper <drepper@redhat.com>
16969
16970 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16971 symbol reference.
16972
9acbe24d
AS
169732010-05-19 Andreas Schwab <schwab@redhat.com>
16974
16975 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16976 symbol reference.
16977
f0ccf6ea
AS
169782010-05-21 Andreas Schwab <schwab@redhat.com>
16979
3d04ff3a
AS
16980 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16981 and internal_recvmmsg.
16982 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16983 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16984 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16985 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16986
f0ccf6ea
AS
16987 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16988 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16989 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16990
5b08ac57
AS
169912010-05-20 Andreas Schwab <schwab@redhat.com>
16992
16993 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16994
4828935d
LM
169952010-05-17 Luis Machado <luisgpm@br.ibm.com>
16996
16997 POWER7 optimizations.
16998 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16999 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17000
373d545e
UD
170012010-05-19 Ulrich Drepper <drepper@redhat.com>
17002
17003 * version.h: Update for 2.13 development version.
17004
21a2b1ae
AS
170052010-05-12 Andrew Stubbs <ams@codesourcery.com>
17006
17007 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17008 exceptions. Return 0.
17009
3f7dcb2b
RM
170102010-05-07 Roland McGrath <roland@redhat.com>
17011
17012 * elf/ldconfig.c (main): Add a const.
17013
5f24d53a 170142010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 17015
a160f8d8
UD
17016 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17017 (args_options): Add no-idn option.
17018 (ahosts_keys_int): Add idn_flags to ai_flags.
17019 (parse_option): Handle 'i' option to clear idn_flags.
17020
5f24d53a
UD
17021 * malloc/malloc.c (_int_free): Possible race in the most recently
17022 added check. Only act on the data if no current modification
17023 happened.
265bb1ce
UD
17024
17025See ChangeLog.17 for earlier changes.