]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
tile: exit with status zero on makecontext return with NULL uc_link
[thirdparty/glibc.git] / ChangeLog
CommitLineData
cfc82fd8
JM
12012-07-17 Joseph Myers <joseph@codesourcery.com>
2
bd29910a
JM
3 * Makefile [CXX] (check-data): Remove.
4 [CXX] (c++-types.data): New vpath directive.
5 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6 vpath. Do not allow for C++ type data being missing.
7 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
8 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
12 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
13 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15 ... here.
16 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18 ... here.
19 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21 ... here.
22 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
23 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
24 ... here.
25 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27 ... here.
28 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30 ... here.
31 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33 ... here.
34 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
36
cfc82fd8
JM
37 * elf/tls-macros.h (TLS_LE): Move architecture-specific
38 definitions to architecture-specific files.
39 (TLS_IE): Likewise.
40 (TLS_LD): Likewise.
41 (TLS_GD): Likewise.
42 * sysdeps/i386/tls-macros.h: New file.
43 * sysdeps/powerpc/tls-macros.h: Likewise.
44 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
45 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
46 * sysdeps/sh/tls-macros.h: Likewise.
47 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
48 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
49 * sysdeps/x86_64/tls-macros.h: Likewise.
50
f7db3170
TS
512012-07-17 Thomas Schwinge <thomas@codesourcery.com>
52
07cbfc23
TS
53 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
54 zero value for regular exit case.
55
f7db3170
TS
56 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
57 (__start_context): Preserve zero value for regular exit case.
58
dc97c227
TS
592012-07-17 Thomas Schwinge <thomas@codesourcery.com>
60 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61
62 * manual/setjmp.texi (setcontext): Clarify normal process
63 termination when uc_link is the null pointer.
64 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
65 exit call.
66
d0cd7d02
AS
672012-07-16 Andreas Schwab <schwab@linux-m68k.org>
68
69 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
70 preprocessor. Test for each exception mask separately.
71
dd318934
AJ
722012-07-16 Andreas Jaeger <aj@suse.de>
73
74 * po/ru.po: Update from translation team.
75
8048311a
JM
762012-07-15 Joseph Myers <joseph@codesourcery.com>
77
78 * conform/data/string.h-data (NULL): Use macro-constant. Require
79 equal to 0.
80 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
81 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
82 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
83 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
84 [ISO || ISO99 || ISO11] (*_t): Do not allow.
85
b637d46e
AJ
862012-07-13 Andreas Jaeger <aj@suse.de>
87
88 * po/fr.po: Update from translation team.
89
541428fe
MP
902012-07-12 Marek Polacek <polacek@redhat.com>
91
92 [BZ #14173]
93 * math/libm-test.inc (yn_test): Add test for BZ #14173.
94 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
95 loop condition.
96
ec332e94
JM
972012-07-12 Joseph Myers <joseph@codesourcery.com>
98
99 [BZ #13717]
100 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
101 Change to 2.4.1 where previously 2.4.0.
102 * sysdeps/unix/sysv/linux/configure: Regenerated.
103 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
104 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
105 version.
106 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
107 (__ASSUME_AT_CLKTCK): Remove.
108 (__ASSUME_AT_PAGESIZE): Likewise.
109 (__ASSUME_AT_XID): Likewise.
110 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
111 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
112 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
113 unconditionally.
114 (HAVE_AUX_PAGESIZE): Likewise.
115 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
116 [__ASSUME_AT_CLKTCK]: Make code unconditional.
117 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
118
7b6e99be
JB
1192012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
120
121 [BZ #14307]
122 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
123 the temporary buffer used to invoke __gethostbyname2_r,
124 __gethostbyaddr_r and gethostbyname4_r to make room for struct
125 host_data / struct gaih_addrtuple.
126 * resolv/nss_dns/dns-host.c (global scope): Move definition of
127 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
128 header file nss/nsswitch.h.
129 * nss/nsswitch.h (global scope): Add definition of implementation
130 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
131 resolv/nss_dns/dns-host.c).
132
608404eb
AJ
1332012-07-11 Andreas Jaeger <aj@suse.de>
134
135 * po/fr.po: Update from translation team.
136
71220aca
AJ
137 * po/sv.po: Update from translation team
138 * po/fr.po: Another update from translation team.
139
28cfe843
AZ
1402012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
141
142 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
143 for subnormals or multiply small sinh result by itself.
144 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
146
6b90f981
DM
1472012-07-11 David S. Miller <davem@davemloft.net>
148
149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
150
c6825772
AS
1512012-07-10 Andreas Schwab <schwab@linux-m68k.org>
152
153 [BZ #14347]
154 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
155 (INTERNAL_MARK): Shift it here.
156
7b8e0d49
MP
1572012-07-10 Marek Polacek <polacek@redhat.com>
158
159 [BZ #14151]
160 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
161 libc_cv_asm_global_directive with .globl.
162 * configure: Regenerated.
163 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
164 with .globl.
165 * sysdeps/i386/configure: Regenerated.
166 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
167 with .globl.
168 * sysdeps/x86_64/configure: Regenerated.
169 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
170 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
171 * elf/tst-unique2mod2.c: Likewise.
172 * elf/tst-unique2mod1.c: Likewise.
173 * elf/tst-unique1mod2.c: Likewise.
174 * elf/tst-unique1mod1.c: Likewise.
175 * sysdeps/s390/s390-32/sysdep.h: Likewise.
176 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
177 * sysdeps/s390/s390-64/sysdep.h: Likewise.
178 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
179 * sysdeps/mach/sysdep.h: Likewise.
180 * sysdeps/i386/sysdep.h: Likewise.
181 * sysdeps/i386/i386-mcount.S: Likewise.
182 * sysdeps/x86_64/_mcount.S: Likewise.
183 * sysdeps/x86_64/sysdep.h: Likewise.
184 * sysdeps/sh/_mcount.S: Likewise.
185 * sysdeps/sh/sysdep.h: Likewise.
186 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
187 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
188 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
189 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
190 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
191 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
192 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
193 * locale/localeinfo.h: Likewise.
194 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
195 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
196
6c55cda3
RM
1972012-07-09 Roland McGrath <roland@hack.frob.com>
198
199 [BZ #14336]
200 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
201 system".
202 * manual/message.texi (The Uniforum approach): Likewise.
203 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
204 (glibc iconv Implementation): Likewise.
205
638a572e
JM
2062012-07-09 Joseph Myers <joseph@codesourcery.com>
207
208 [BZ #14337]
209 * math/s_clog.c (__clog): Avoid scaling a value down where that
210 could result in underflow.
211 * math/s_clog10.c (__clog10): Likewise.
212 * math/s_clog10f.c (__clog10f): Likewise.
213 * math/s_clog10l.c (__clog10l): Likewise.
214 * math/s_clogf.c (__clogf): Likewise.
215 * math/s_clogl.c (__clogl): Likewise.
216 * math/libm-test.inc (clog_test): Add more tests.
217 (clog10_test): Likewise.
218 * sysdeps/i386/fpu/libm-test-ulps: Update.
219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
220
261f4859
AS
2212012-07-06 Andreas Schwab <schwab@linux-m68k.org>
222
0abaf3e4
AS
223 [BZ #14283]
224 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
225 by 7 not 8 to examine high bit of fractional part.
226
261f4859
AS
227 [BZ #14042]
228 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
229 for call to __mcount_internal.
230 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
231 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
232 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
233
f17ac40d
JM
2342012-07-06 Joseph Myers <joseph@codesourcery.com>
235
9ad63c23
JM
236 [BZ #14154]
237 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
238 approximation for values within 0x1p-13f of an odd multiple of
239 pi/4.
240 * math/libm-test.inc (tan_test): Do not allow spurious underflow
241 exception. Add more tests.
242 * sysdeps/i386/fpu/libm-test-ulps: Update.
243
f17ac40d
JM
244 [BZ #6778]
245 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
246 inputs and return -1 for them. Do not check for +Inf in case not
247 reachable for +Inf.
248 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
249 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
250 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
251 and return -1 for them. Do not check for +Inf in case not
252 reachable for +Inf.
253 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
254 define.
255 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
256 and return -1 for them. Do not check for +Inf in case not
257 reachable for +Inf.
258 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
259 spurious underflow.
260 * sysdeps/i386/fpu/libm-test-ulps: Update.
261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
262
fb21f89b
MF
2632012-07-06 Mike Frysinger <vapier@gentoo.org>
264
265 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
266
cdfe2c5e
JM
2672012-07-05 Joseph Myers <joseph@codesourcery.com>
268
269 [BZ #14157]
270 [BZ #14331]
271 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
272 could result in spurious underflow. Scale down values above
273 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
274 * math/s_csqrtf.c (__csqrtf): Likewise.
275 * math/s_csqrtl.c (__csqrtl): Likewise.
276 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
277 spurious underflow.
278 * sysdeps/i386/fpu/libm-test-ulps: Update.
279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
280
70d35b67
AS
2812012-07-04 Andreas Schwab <schwab@linux-m68k.org>
282
704bc459
AS
283 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
284 xopen-msg.sed.
285 * catgets/xopen-msg.awk: New file.
286 * catgets/xopen-msg.sed: Removed.
287
70d35b67
AS
288 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
289 po2text.sed.
290 * intl/po2test.awk: New file.
291 * intl/po2test.sed: Removed.
292
ca61cf32
JM
2932012-07-04 Joseph Myers <joseph@codesourcery.com>
294
295 [BZ #14328]
296 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
297 or multiply small sinh result by itself.
298 * math/s_ctanf.c (__ctanf): Likewise.
299 * math/s_ctanh.c (__ctanh): Likewise.
300 * math/s_ctanhf.c (__ctanhf): Likewise.
301 * math/s_ctanhl.c (__ctanhl): Likewise.
302 * math/s_ctanl.c (__ctanl): Likewise.
303 * math/libm-test.inc (ctan_test_tonearest): New function.
304 (ctan_test_towardzero): Likewise.
305 (ctan_test_downward): Likewise.
306 (ctan_test_upward): Likewise.
307 (ctanh_test_tonearest): Likewise.
308 (ctanh_test_towardzero): Likewise.
309 (ctanh_test_downward): Likewise.
310 (ctanh_test_upward): Likewise.
311 (main): Call these new functions.
312 * sysdeps/i386/fpu/libm-test-ulps: Update.
313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
314
ca48a46a
MF
3152012-07-03 Mike Frysinger <vapier@gentoo.org>
316
317 * .gitignore: Delete /ports entry.
318
9d63d37d
AJ
3192012-07-03 Andreas Jaeger <aj@suse.de>
320
321 * po/bg.po: Update from translation team.
322 * po/cs.po: Likewise.
323 * po/de.po: Likewise.
324 * po/hr.po: Likewise.
325 * po/nl.pl: Likewise.
326 * po/pl.po: Likewise.
327 * po/vi.po: Likewise.
328
370ca3d2
JM
3292012-07-03 Joseph Myers <joseph@codesourcery.com>
330
95f5a9a8
JM
331 * Makeconfig [!+link] (+link-before-libc): New variable.
332 [!+link] (+link-after-libc): Likewise.
333 [!+link] (+link-tests): Likewise.
334 [!+link] (+link): Define in terms of $(+link-before-libc) and
335 $(+link-after-libc).
336 [!+link-static] (+link-static-before-libc): New variable.
337 [!+link-static] (+link-static-after-libc): Likewise.
338 [!+link-static] (+link-static-tests): Likewise.
339 [!+link-static] (+link-static): Define in terms of
340 $(+link-static-before-libc) and $(+link-static-after-libc).
341 [build-shared] (link-libc-before-gnulib): New variable.
342 [build-shared] (link-libc-tests): Likewise.
343 [build-shared] (link-libc): Define in terms of
344 $(link-libc-before-gnulib).
345 [!build-shared] (link-libc-tests): New variable.
346 (link-libc-static-tests): New variable.
347 [!gnulib] (gnulib-arch): New variable.
348 [!gnulib] (gnulib-tests): Likewise.
349 [!gnulib] (static-gnulib-arch): Likewise.
350 [!gnulib] (static-gnulib-tests): Likewise.
351 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
352 Define with "=" instead of ":=".
353 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
354 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
355 * Rules (binaries-all-notests): New variable.
356 (binaries-all-tests): Likewise.
357 (binaries-static-notests): Likewise.
358 (binaries-static-tests): Likewise.
359 (binaries-all): Define using $(binaries-all-notests) and
360 $(binaries-all-tests).
361 (binaries-static): Define using $(binaries-static-notests) and
362 $(binaries-static-tests).
363 (binaries-shared-tests): New variable.
364 (binaries-shared-notests): Likewise.
365 (binaries-shared): Remove variable.
366 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
367 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
368 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
369 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
370 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
371 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
372 * elf/Makefile (sln-modules): New variable.
373 (extra-objs): Add $(sln-modules:=.o).
374 (ldconfig-modules): Add static-stubs.
375 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
376 * elf/static-stubs.c: New file.
377
7a845b2c
JM
378 [BZ #14283]
379 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
380 by 7 not 8 to examine high bit of fractional part. Use volatile
381 variables when splitting into final array of floats if
382 __FLT_EVAL_METHOD__ != 0.
383 * math/libm-test.inc (cos_test): Add another test.
384 (sin_test): Likewise.
385 * sysdeps/i386/fpu/libm-test-ulps: Update.
386
e2283f38
JM
387 [BZ #14273]
388 * math/libm-test.inc (cosh_test): Add more tests.
389
370ca3d2
JM
390 * version.h (RELEASE): Set to "development".
391 (VERSION): Set to "2.16.90".
392
ee9247c3
CD
3932012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
394
395 * NEWS: Update copyright. Remove last-updated date.
396 Mention math library bug fixes and timezone data changes.
397 * README: Mention GNU/Hurd, x32, and HPPA support status.
398
4648c381
TS
3992012-06-28 Thomas Schwinge <thomas@codesourcery.com>
400
401 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
402
aac78a43
AJ
4032012-06-27 Andreas Jaeger <aj@suse.de>
404
405 * manual/contrib.texi (Contributors): Add Samuel Thibault.
406
ed3dbfad
AJ
4072012-06-25 Andreas Jaeger <aj@suse.de>
408
409 * sysdeps/s390/fpu/libm-test-ulps: Update.
410
4d0ee855
AS
4112012-06-23 Andreas Schwab <schwab@linux-m68k.org>
412 Thomas Schwinge <thomas@codesourcery.com>
413
414 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
415 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
416 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
417 fanotify_mark.
418
af1bce34
TS
4192012-06-23 Thomas Schwinge <thomas@codesourcery.com>
420
a9fa33ba
TS
421 * sysdeps/mach/start.c: Remove file.
422 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
423 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
424 * sysdeps/sh/init-first.c: Likewise.
425
58f902b8
TS
426 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
427 registers for frame unwinding purposes, add CFI directives.
428 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
429 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
430 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
431 Likewise.
432
1518f58b
TS
433 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
434 __fortify_fail returning.
435 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
436
db9b5059
TS
437 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
438 sysdeps/sh/____longjmp_chk.S.
439 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
440 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
441 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
442 (gen-as-const-headers): Append sigaltstack-offsets.sym.
443
967705fe
TS
444 * sysdeps/sh/abort-instr.h: New file.
445 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
446 process in case exit returns.
447
a9def8c4
TS
448 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
449 initialize the GOT register before use.
450
2a649725
TS
451 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
452 calculation of ARGC > 4.
453
af1bce34
TS
454 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
455 meaningful names to some local labels.
456
d230f50a
KK
4572012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
458 Kaz Kojima <kkojima@rr.iij4u.or.jp>
459
460 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
461 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
462 (__arch_compare_and_exchange_val_16_acq): Likewise.
463 (__arch_compare_and_exchange_val_32_acq): Likewise.
464 (atomic_exchange_and_add): Fix gUSA sequence.
465 (atomic_add): Likewise.
466 (atomic_add_negative): Likewise.
467 (atomic_add_zero): Likewise.
468 (atomic_bit_test_set): Likewise.
469
0479b305
AS
4702012-06-22 Andreas Schwab <schwab@redhat.com>
471
472 [BZ #13579]
473 * include/link.h (struct link_map): Add l_free_initfini.
474 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
475 l_initfini.
476 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
477 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
478 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
479 set.
480
0e3933b9
CD
4812012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
482
483 * configure.in: Use AC_LANG_SOURCE.
484 * configure: Regenerate.
485
4248b1b1
RM
4862012-06-22 Roland McGrath <roland@hack.frob.com>
487
488 * configure.in (libc_cv_localstatedir): New substituted variable.
489 * configure: Regenerated.
490 * config.make.in (localstatedir): New variable, substituted from
491 libc_cv_localstatedir.
492 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
493 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
494 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
495 * sysdeps/gnu/configure: Regenerated.
496
006dd861
JL
4972012-06-21 Jeff Law <law@redhat.com>
498
499 [BZ #14277]
500 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
501 free. Simplify list management for _LIBC case.
502
79662d42
JM
5032012-06-21 Joseph Myers <joseph@codesourcery.com>
504
b7abb4bf
JM
505 [BZ #14273]
506 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
507 Clear sign bit of 64-bit integer value before comparing against
508 overflow value.
509
79662d42
JM
510 * sysdeps/mach/configure: Regenerated.
511
1f150908
L
5122012-06-21 H.J. Lu <hongjiu.lu@intel.com>
513
514 [BZ #14278]
515 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
516
28363bbf
JL
5172012-06-21 Jeff Law <law@redhat.com>
518
519 [BZ #13882]
520 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
521 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 522 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
523 * elf/dl-open.c (dl_open_worker): Likewise.
524
09615db4
CD
5252012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
526
527 * scripts/list-sources.sh: Scan PORTS for translations.
528 * po/libc.pot: Regenerated.
529
2174c6dd
AJ
5302012-06-21 Andreas Jaeger <aj@suse.de>
531
532 [BZ #12194]
533 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
534 warning.
535 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
536 * bits/byteswap-16.h (__bswap_16): Likewise.
537 * bits/byteswap.h (__bswap_constant_16): Likewise.
538
3ee947b1
L
5392012-06-18 H.J. Lu <hongjiu.lu@intel.com>
540
541 [BZ #14117]
a2f34833
L
542 * sysdeps/i386/fpu_control.h: Removed.
543 * sysdeps/x86_64/fpu_control.h: Moved to ...
544 * sysdeps/x86/fpu_control.h: Here.
545
3ee947b1
L
546 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
547 (_FPU_SETCW): Likewise.
548
ed1825f8
L
5492012-06-15 H.J. Lu <hongjiu.lu@intel.com>
550
25f1282a
L
551 [BZ #14117]
552 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
553 * sysdeps/x86/fpu/bits/mathinline.h: This.
554 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
555
ed1825f8
L
556 [BZ #14050]
557 [BZ #14117]
558 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
559 functions if __x86_64__ is defined.
560
36d54b74
CLT
5612012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
562
563 * string/endian.h: Add !__ASSEMBLER__ condition for including
564 conversion interfaces.
565
10285c21
JM
5662012-06-15 Joseph Myers <joseph@codesourcery.com>
567
568 [BZ #14241]
569 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
570 of ABS(x) in calculating zero to negative powers other than odd
571 integers.
572 * math/libm-test.inc (pow_test): Add more tests.
573
06c5abbd
AJ
5742012-06-15 Andreas Jaeger <aj@suse.de>
575
576 * manual/contrib.texi (Contributors): Update entry of Liubov
577 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
578 Machado Filho.
579
a3aeac40
CH
5802012-06-15 Cyril Hrubis <metan@ucw.cz>
581
582 * string/string.h: Add __wur to GNU version of strerror_r.
583
49bdf4c1
L
5842012-06-14 H.J. Lu <hongjiu.lu@intel.com>
585
586 [BZ #14229]
587 * string/Makefile (tests): Add tst-strtok_r.
588 * string/tst-strtok_r.c: New file.
589 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
590 RAX_LP/RDX_LP on SAVE_PTR.
591
834f9b8d
RM
5922012-06-14 Roland McGrath <roland@hack.frob.com>
593
594 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
595
75fa1921
JM
5962012-06-14 Joseph Myers <joseph@codesourcery.com>
597
598 * libm_test.inc (csqrt_test): Allow more spurious underflow
599 exceptions.
600 (j0_test): Likewise.
601 (j1_test): Likewise.
602 (y0_test): Likewise.
603 (y1_test): Likewise.
604
771766df
CD
6052012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
606
607 * po/Makefile (libc.pot): Use UTF-8 charset.
608
ceb9e56b
PP
6092012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
610
611 [BZ #14210]
612 Suppress sign-conversion warning from FD_SET.
613 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
614 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
615 not unsigned long int.
616 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
617
ddb28975
L
6182012-06-12 H.J. Lu <hongjiu.lu@intel.com>
619
620 [BZ #14050]
621 [BZ #14117]
622 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
623 __extern_always_inline instead of __extern_inline.
624 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
625 (__signbit): Likewise.
626 (__signbitl): Support C++ namespace.
627 (lrintf): New inline function.
628 (lrint): Likewise.
629 (llrintf): Likewise.
630 (llrint): Likewise.
631 (fmaxf): Likewise.
632 (fmax): Likewise.
633 (fminf): Likewise.
634 (fmin): Likewise.
635 (rint): Likewise.
636 (rintf): Likewise.
637 (ceil): Likewise.
638 (ceilf): Likewise.
639 (floor): Likewise.
640 (floorf): Likewise.
641 (nearbyint): Likewise.
642 (nearbyintf): Likewise.
643
d7b4fb26
TS
6442012-06-12 Thomas Schwinge <thomas@codesourcery.com>
645
646 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
647 non-default versions.
648
eb55f5c2
RM
6492012-06-11 Roland McGrath <roland@hack.frob.com>
650
651 [BZ #14218]
652 * manual/argp.texi (Argp): Reword argp_parse description slightly.
653
366af02c
TS
6542012-06-09 Thomas Schwinge <thomas@codesourcery.com>
655
99ff6e5c
TS
656 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
657 (FE_UPWARD, FE_DOWNWARD): Don't define.
658 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
659 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
660
366af02c
TS
661 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
662 reading it.
663 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
664 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
665
793ea851
KK
6662012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
667
668 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
669 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
670 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
671 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
672
a728a38f
L
6732012-06-06 H.J. Lu <hongjiu.lu@intel.com>
674
675 [BZ #14117]
c08010c7
L
676 * sysdeps/i386/fpu/bits/fenv.h: Removed.
677 * sysdeps/i386/fpu/Implies: New file.
678 * sysdeps/x86_64/fpu/Implies: Likewise.
679 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
680 * sysdeps/x86/fpu/bits/fenv.h: This.
681
a728a38f
L
682 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
683 __SSE_MATH__.
684
6e230d11
SP
6852012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
686
687 [BZ #14134]
688 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
689 character 0xffff that matches the last element of the
690 conversion table.
691
1b671feb
AZ
6922012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
693
694 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
695 fmodl commit.
696
6043738b
AZ
6972012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
698
699 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
700 values higher than 25.6283.
701
34ae0b32
AZ
7022012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
703
704 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
705 subnormal exponent extraction and add some __builtin_expect.
706 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
707 Fix for subnormal mantissa calculation.
708
1214ec8f
MF
7092012-06-04 Mike Frysinger <vapier@gentoo.org>
710
711 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
712 cpu2 is -1 and errno is not ENOSYS.
713
f3d1f93c
L
7142012-06-04 H.J. Lu <hongjiu.lu@intel.com>
715
716 [BZ #14117]
0e4a3cd7
L
717 * sysdeps/i386/i486/bits/string.h: Renamed to ...
718 * sysdeps/x86/bits/string.h: This.
719 * sysdeps/x86_64/bits/string.h: Removed.
720
6704c645
L
721 * sysdeps/i386/i486/bits/string.h: Define inline functions only
722 if not compiling for x86-64, but compiling for >= i486.
723
48495318
L
724 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
725 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
726
14adcbfc
L
727 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
728 New macro from Linux kernel 3.4.0.
729 (FP_XSTATE_MAGIC2): Likewise.
730 (FP_XSTATE_MAGIC2_SIZE): Likewise.
731 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
732 (struct _fpx_sw_bytes): New struct.
733 (struct _xsave_hdr): Likewise.
734 (struct _ymmh_state): Likewise.
735 (struct _xstate): Likewise.
736
68e408ab
L
737 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
738 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
739 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
740 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
741 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
742 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
743
f3d1f93c
L
744 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
745 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
746 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
747 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
748 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
749 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
750
d9dc34cd
TMQMF
7512012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
752
753 [BZ #13743]
754 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
755 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
756 (sysdep_headers): Include sys/platform/ppc.h.
757 * sysdeps/powerpc/test-gettimebase.c: Test for
758 __ppc_get_timebase() to catch future ISA opcode/insn changes.
759 * manual/Makefile (appendices): Include platform.texi.
760 * manual/contrib.texi (Contributors): Update @node pointers.
761 * manual/maint.texi (Maintenance): Likewise.
762 (Platform): New node.
763 * manual/platform.texi: New file. Document the new features.
764
4af3879c
SP
7652012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
766 Jakub Jelinek <jakub@redhat.com>
767
768 [BZ #14188]
769 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
770 where __builtin_expect is unavailable.
771
2fd6ff13
DM
7722012-06-03 David S. Miller <davem@davemloft.net>
773
774 * stdlib/longlong.h: Updated from GCC.
775
173f7220
AS
7762012-06-02 Andreas Schwab <schwab@linux-m68k.org>
777
778 [BZ #14042]
779 * sysdeps/powerpc/powerpc32/mcount.c: New file.
780 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
781 __mcount_internal.
782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
783 (GLIBC_2.16): Likewise.
784
f34a1c6f
L
7852012-06-01 H.J. Lu <hongjiu.lu@intel.com>
786
787 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
788
88a4576f
JM
7892012-06-01 Joseph Myers <joseph@codesourcery.com>
790
ea32bcdd
JM
791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
792 (default-abi): New variable.
793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
794 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
795 variable.
796 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
797 Likewise.
798 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
799 Likewise.
800 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
801 Likewise.
802
88a4576f
JM
803 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
804 definition. Document in comment.
805
402fe938
DM
8062012-06-01 David S. Miller <davem@davemloft.net>
807
808 * stdlib/longlong.h: Updated from GCC.
809
3553723f
L
8102012-06-01 H.J. Lu <hongjiu.lu@intel.com>
811
812 [BZ #14117]
3bd872c4
L
813 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
814 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
815 sys/debugreg.h sys/io.h here.
816 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
817 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
818 sys/io.h.
819 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
820 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
821 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
822 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
823 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
824 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
825
3553723f
L
826 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
827 Define only if __x86_64__ is defined.
828
4842e4fe
JM
8292012-06-01 Joseph Myers <joseph@codesourcery.com>
830
c5bfe3d5
JM
831 [BZ #14048]
832 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
833 Use int64_t for variable i.
834 * math/libm-test.inc (fmod_test): Add more tests.
835
4842e4fe
JM
836 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
837 z computation is not scheduled after fetestexcept.
838 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
839 Use math_force_eval instead of asm to ensure calculation scheduled
840 before exception test.
841 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
842 Ensure a1 + u.d computation is not scheduled after fetestexcept.
843
efb73488
AJ
8442012-06-01 Aurelien Jarno <aurelien@aurel32.net>
845
846 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
847 computation is not scheduled after fetestexcept.
848
29bcce7c
L
8492012-06-01 H.J. Lu <hongjiu.lu@intel.com>
850
851 [BZ #14117]
852 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
853 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
854
73a68f94
AZ
8552012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
856
857 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
858 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
859
67b6df78
L
8602012-05-31 H.J. Lu <hongjiu.lu@intel.com>
861
edf2933a 862 [BZ #14117]
ebc64a18
L
863 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
864 <bits/wordsize.h>.
865 (__WCHAR_MIN): Support __WORDSIZE == 64.
866 (__WCHAR_MAX): Likewise.
867
edf2933a
L
868 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
869 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
870
57c6cf40
L
871 [BZ #14183]
872 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
873 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
874
67b6df78 875 [BZ #14117]
8eb6281e
L
876 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
877 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
878
aac639f4
L
879 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
880 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
881
67b6df78
L
882 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
883 Defined to 1 if __x86_64__ isn't defined.
884 (_STAT_VER_LINUX_OLD): New.
885 (st_atime): Remove duplicate.
886 (st_mtime): Likewise.
887 (st_ctime): Likewise.
888
1c2cfe81
DM
8892012-05-31 David S. Miller <davem@davemloft.net>
890
891 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
892 entries.
893
5be8418c
AS
8942012-06-01 Andreas Schwab <schwab@linux-m68k.org>
895
e7725326
AS
896 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
897 gen-libm-test.pl.
898
5be8418c
AS
899 [BZ #14132]
900 * elf/dl-reloc.c: Include <_itoa.h>.
901 (_dl_reloc_bad_type): Remove use of INTUSE.
902 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
903 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
904 * stdio-common/psiginfo.c (psiginfo): Likewise.
905 * stdio-common/psignal.c (psignal): Likewise.
906 * string/strsignal.c (strsignal): Likewise.
907 * include/signal.h (_sys_siglist): Declare hidden proto.
908 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
909 INTVARDEF with libc_hidden_data_def.
910 * stdio-common/itoa-udigits.c: Likewise.
911 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
912 (_itoa_lower_digits_internal): Remove declaration.
913 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
914 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
915 (_sys_sigabbrev_internal): Remove aliases.
916 (_sys_siglist): Define hidden alias.
917
507352f1
MT
9182012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
919
920 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
921 bits/sysctl.h.
922
42bbb1c3
L
9232012-05-31 H.J. Lu <hongjiu.lu@intel.com>
924
925 [BZ #14117]
6bd784b6
L
926 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
927 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
928
8bca20f0
L
929 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
930 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
931 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
932 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
933 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
934 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
935
f9e890a9
L
936 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
937 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
938 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
939
471101a1
L
940 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
941 with __addr.
942 (insw): Likewise.
943 (insl): Likewise.
944 (outsb): Likewise.
945 (outsw): Likewise.
946 (outsl): Likewise.
947
6451c862
L
948 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
949 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
950 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
951
a254b8c9
L
952 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
953 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
954 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
955 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
956 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
957 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
958
b8dfdd92
L
959 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
960 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
961
578cd270
L
962 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
963 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
964
de662f5f
L
965 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
966 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
967 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
968
25653439
L
969 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
970 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
971 to ...
972 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
973
6bad24a0
L
974 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
975 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
976 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
977
42bbb1c3
L
978 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
979 for x86-64.
980 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
981
2d10d547
JM
9822012-05-31 Joseph Myers <joseph@codesourcery.com>
983
984 * math/math.h (M_El): Use two more decimal places.
985 (M_LOG2El): Likewise.
986 (M_LOG10El): Likewise.
987 (M_LN2l): Likewise.
988 (M_LN10l): Likewise.
989 (M_PIl): Likewise.
990 (M_PI_2l): Likewise.
991 (M_PI_4l): Likewise.
992 (M_1_PIl): Likewise.
993 (M_2_PIl): Likewise.
994 (M_2_SQRTPIl): Likewise.
995 (M_SQRT2l): Likewise.
996 (M_SQRT1_2l): Likewise.
997
f230c29b
DM
9982012-05-31 David S. Miller <davem@davemloft.net>
999
1000 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1001 values between float registers.
1002 * sysdeps/sparc/sparc64/memset.S: Likewise.
1003 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1004
fed806c3
MF
10052012-05-31 Mike Frysinger <vapier@gentoo.org>
1006
1007 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1008 -D_FORTIFY_SOURCE=1.
1009 (CPPFLAGS-tst-longjmp_chk.c): Define.
1010 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1011 (CPPFLAGS-tst-longjmp_chk2.c): Define.
1012 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1013 CFLAGS-tst-wchar-h.c.
1014
30917259
MP
10152012-05-31 Marek Polacek <polacek@redhat.com>
1016
1017 [BZ #14132]
1018 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1019 __endmntent_internal): Remove declaration.
1020 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1021 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1022 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1023
1c58d5dc
DM
10242012-05-30 David S. Miller <davem@davemloft.net>
1025
1026 * sysdeps/sparc/sparc32/soft-fp/q_util.c
1027 (___Q_simulate_exceptions): Use real FP ops rather than writing
1028 into the %fsr.
1029 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1030 Likewise.
1031
7dc00e0d
L
10322012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1033
1034 [BZ #14117]
0bd53985
L
1035 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1036 * sysdeps/x86/bits/xtitypes.h: This.
1037
3a257e66
L
1038 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1039 * sysdeps/x86/bits/wordsize.h: This.
1040
62f62904
L
1041 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1042 * sysdeps/x86/bits/huge_vall.h: This.
1043
404fe9d9
L
1044 * sysdeps/i386/bits/select.h: Removed.
1045 * sysdeps/x86_64/bits/select.h: Renamed to ...
1046 * sysdeps/x86/bits/select.h: This.
1047
d48d0446
L
1048 * sysdeps/i386/bits/setjmp.h: Removed.
1049 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1050 * sysdeps/x86/bits/setjmp.h: This.
1051
7dc00e0d
L
1052 * sysdeps/i386/bits/mathdef.h: Removed.
1053 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1054 * sysdeps/x86/bits/mathdef.h: This.
1055
03277f8f
AS
10562012-05-30 Andreas Schwab <schwab@linux-m68k.org>
1057
1058 [BZ #14132]
1059 * include/sys/socket.h (__connect_internal)
1060 (__libc_sa_len_internal): Remove declaration.
1061 (__connect, __libc_sa_len): Declare hidden_proto.
1062 (SA_LEN): Remove use of INTUSE.
1063 * socket/connect.c: Add libc_hidden_def.
1064 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1065 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1066 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1067 alias.
1068 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1069 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1070 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1071 of adding _internal alias.
1072
13764867
L
10732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1074
1075 [BZ #14117]
6bd97696
L
1076 * sysdeps/i386/bits/link.h: Removed.
1077 * sysdeps/i386/bits/linkmap.h: Likewise.
1078 * sysdeps/x86_64/bits/link.h: Renamed to ...
1079 * sysdeps/x86/bits/link.h: This.
1080 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1081 * sysdeps/x86/bits/linkmap.h: This.
1082
f726f0bb
L
1083 * sysdeps/i386/bits/endian.h: Removed.
1084 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1085 * sysdeps/x86/bits/endian.h: This.
1086
13764867
L
1087 * sysdeps/i386/bits/byteswap.h: Removed.
1088 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1089 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1090 * sysdeps/x86/bits/byteswap.h: This.
1091 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1092 * sysdeps/x86/bits/byteswap-16.h: This.
1093 * sysdeps/i386/Implies: Add x86.
1094 * sysdeps/x86_64/Implies: Likewise.
1095
ae251b0b
DM
10962012-05-30 David S. Miller <davem@davemloft.net>
1097
1098 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1099 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1100 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1101 (FP_TRAPPING_EXCEPTIONS): Define.
1102 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1103 (FP_TRAPPING_EXCEPTIONS): Define.
1104 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1105 subnormals only when inexact has been signalled or underflow
1106 exceptions are enabled.
1107 (_FP_PACK_CANONICAL): Likewise.
1108
d5c90867
L
11092012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1110
1111 [BZ #14183]
1112 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1113 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1114
63f1549e
RH
11152012-05-30 Richard Henderson <rth@twiddle.net>
1116
8d8f2279
RH
1117 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1118 with #ifndef NOT_IN_libc.
1119
63f1549e
RH
1120 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1121 marked to avoid plt entry.
1122
0ab0291b
L
11232012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1124
1125 [BZ #14112]
1126 * Makeconfig (default-abi): New macro.
1127 (abi-includes): Likewise.
1128 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1129 $(abi-$(default-abi)-lib-soname) for soname if defined.
1130 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1131 abi-variants.
1132 * Makefile (installed-stubs): Likewise.
1133 * include/stubs-biarch.h: Removed.
1134 * scripts/lib-names.awk: Only handle one library at a time.
1135 * scripts/soversions.awk: Remove WORDSIZE support.
1136 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1137 entries.
1138 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1139 Removed.
1140 (syscall-list-default-condition): Likewise.
1141 (syscall-list-default-condition): Likewise.
1142 (syscall-list-includes): Likewise.
1143 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1144 syscall-list-* with abi-*. Handle undefined abi-variants.
1145 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1146 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1147 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1148 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1149 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1150 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1151 Removed.
1152 (syscall-list-32-options): Likewise.
1153 (syscall-list-32-condition): Likewise.
1154 (syscall-list-64-options): Likewise.
1155 (syscall-list-64-condition): Likewise.
1156 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1157 macro.
1158 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1159 Renamed to ...
1160 (abi-*): This.
1161 (abi-64-ld-soname): New macro.
1162 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1163 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1164 Renamed to ...
1165 (abi-*): This.
1166 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1167 * sysdeps/x86_64/x32/shlib-versions: Likewise.
1168
4da0431d
JM
11692012-05-30 Joseph Myers <joseph@codesourcery.com>
1170
3a85279c
JM
1171 * sysdeps/unix/sysv/linux/kernel-features.h
1172 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1173 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1174 include <kernel-features.h>.
1175 [!__NR_ftruncate64]: Remove conditional code.
1176 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1177 [__NR_ftruncate64]: Make code unconditional.
1178 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1179 * sysdeps/unix/sysv/linux/truncate64.c: Do not
1180 include <kernel-features.h>.
1181 [!__NR_ftruncate64]: Remove conditional code.
1182 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1183 [__NR_ftruncate64]: Make code unconditional.
1184 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1186 include <kernel-features.h>.
1187 [!__NR_ftruncate64]: Remove conditional code.
1188 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1189 [__NR_ftruncate64]: Make code unconditional.
1190 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1192 include <kernel-features.h>.
1193 [!__NR_ftruncate64]: Remove conditional code.
1194 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1195 [__NR_ftruncate64]: Make code unconditional.
1196 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1197
4da0431d
JM
1198 * configure.in (libc_cv_fpie): Weaken to a compile test using
1199 LIBC_TRY_CC_OPTION.
1200 * configure: Regenerated.
1201
11ef492c
AK
12022012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1203
1204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1208 Refreshed.
1209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1215 Refreshed.
1216
d66ef399
DM
12172012-05-27 David S. Miller <davem@davemloft.net>
1218
1219 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1220 (___Q_zero): New.
1221 (__Q_simulate_exceptions): Return void. Change to simulate
1222 exceptions by writing into the %fsr.
1223 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1224 (__Qp_handle_exceptions): Likewise.
1225 (numbers): Delete.
1226 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1227 __Qp_handle_exceptions.
1228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1229 __Qp_handle_exceptions.
1230 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1231 as unused and give dummy FP_RND_NEAREST initializer.
1232 (FP_INHIBIT_RESULTS): Define.
1233 (___Q_simulate_exceptions): Update declaration.
1234 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1235 formatting.
1236 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1237 as unused and give dummy FP_RND_NEAREST initializer.
1238 (__Qp_handle_exceptions): Update declaration.
1239 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1240 formatting.
1241
04fb54b5
TS
12422012-05-27 Thomas Schwinge <thomas@codesourcery.com>
1243
1244 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1245 the temporary FPU control word.
1246 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1247 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1248 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1249 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1250 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1251 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1252 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1253 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1254 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1255 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1256 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1257
3f99608f
KK
12582012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1259
1260 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1261 fields.
1262
65a4de4e
CLT
12632012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
1264
1265 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1266 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1267 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1268 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1269 Likewise.
1270 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1271 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1272 Likewise.
1273
15749d40
UD
12742012-05-27 Ulrich Drepper <drepper@gmail.com>
1275
1276 * po/h.po: Update from translation team.
1277
25dbcb27
AS
12782012-05-26 Andreas Schwab <schwab@linux-m68k.org>
1279
3d3f8e55
AS
1280 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1281
25dbcb27
AS
1282 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1283 handling of denormals.
1284 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1285 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1286 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1287 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1288 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1289 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1290 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1291 Likewise.
1292
7ad47a80 12932012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
1294
1295 [BZ #14152]
1296 * math/libm-test.inc (fma_test): Don't always expect underflow
1297 exception.
1298
9c6ea9fa
SP
12992012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1300
1301 [BZ #12416]
1302 * elf/tst-execstack.c: Include stackinfo.h.
1303 (do_test): Adjust test case to ensure that pthread_getattr_np
1304 behaviour remains the same after marking stack executable.
1305
a8239222
JM
13062012-05-25 Joseph Myers <joseph@codesourcery.com>
1307
1308 * sysdeps/unix/sysv/linux/kernel-features.h
1309 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1310 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1311 kernel-features.h.
1312 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1313 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1314 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1315 kernel-features.h.
1316 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1317 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1318
918b5606
L
13192012-05-25 H.J. Lu <hongjiu.lu@intel.com>
1320
1321 * configure.in: Define the default includes to being none.
1322 * configure: Regenerated.
1323
3a097cc7
RM
13242012-05-25 Roland McGrath <roland@hack.frob.com>
1325
8422c9a5
RM
1326 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1327 * sysdeps/x86_64/setjmp.S: Likewise.
1328 * sysdeps/i386/bsd-setjmp.S: Likewise.
1329 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1330 * sysdeps/i386/setjmp.S: Likewise.
1331 * sysdeps/i386/__longjmp.S: Likewise.
1332 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1333 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1334
3a097cc7
RM
1335 * include/stap-probe.h: New file.
1336 * configure.in: Handle --enable-systemtap.
1337 * configure: Regenerated.
1338 * config.h.in (USE_STAP_PROBE): New #undef.
1339 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1340 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1341 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1342
21708942
JM
13432012-05-25 Joseph Myers <joseph@codesourcery.com>
1344
1345 [BZ #13717]
1346 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1347 to 2.4.0 where earlier.
1348 * sysdeps/unix/sysv/linux/configure: Regenerated.
1349 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1350 <kernel-features.h>.
1351 [__ASSUME_32BITUIDS]: Make code unconditional.
1352 [!__ASSUME_32BITUIDS]: Remove conditional code.
1353 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1354 <kernel-features.h>.
1355 [__ASSUME_32BITUIDS]: Make code unconditional.
1356 [!__ASSUME_32BITUIDS]: Remove conditional code.
1357 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
1358 [__ASSUME_32BITUIDS]: Make code unconditional.
1359 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1360 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
1361 <kernel-features.h>.
1362 [__ASSUME_32BITUIDS]: Make code unconditional.
1363 [!__ASSUME_32BITUIDS]: Remove conditional code.
1364 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
1365 <kernel-features.h>.
1366 [__ASSUME_32BITUIDS]: Make code unconditional.
1367 [!__ASSUME_32BITUIDS]: Remove conditional code.
1368 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
1369 <kernel-features.h>.
1370 [__ASSUME_32BITUIDS]: Make code unconditional.
1371 [!__ASSUME_32BITUIDS]: Remove conditional code.
1372 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
1373 <kernel-features.h>.
1374 [__ASSUME_32BITUIDS]: Make code unconditional.
1375 [!__ASSUME_32BITUIDS]: Remove conditional code.
1376 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1377 <kernel-features.h>.
1378 [__ASSUME_32BITUIDS]: Make code unconditional.
1379 [!__ASSUME_32BITUIDS]: Remove conditional code.
1380 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1381 <kernel-features.h>.
1382 [__ASSUME_32BITUIDS]: Make code unconditional.
1383 [!__ASSUME_32BITUIDS]: Remove conditional code.
1384 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
1385 <kernel-features.h>.
1386 [__ASSUME_32BITUIDS]: Make code unconditional.
1387 [!__ASSUME_32BITUIDS]: Remove conditional code.
1388 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1389 <kernel-features.h>.
1390 [__ASSUME_32BITUIDS]: Make code unconditional.
1391 [!__ASSUME_32BITUIDS]: Remove conditional code.
1392 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1393 <kernel-features.h>.
1394 [__ASSUME_32BITUIDS]: Make code unconditional.
1395 [!__ASSUME_32BITUIDS]: Remove conditional code.
1396 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
1397 <kernel-features.h>.
1398 [__ASSUME_32BITUIDS]: Make code unconditional.
1399 [!__ASSUME_32BITUIDS]: Remove conditional code.
1400 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
1401 <kernel-features.h>.
1402 [__NR_setresgid] (__setresgid): Do not declare.
1403 [__ASSUME_32BITUIDS]: Make code unconditional.
1404 [!__ASSUME_32BITUIDS]: Remove conditional code.
1405 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1406 <kernel-features.h>.
1407 [__NR_setresuid] (__setresuid): Do not declare.
1408 [__ASSUME_32BITUIDS]: Make code unconditional.
1409 [!__ASSUME_32BITUIDS]: Remove conditional code.
1410 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
1411 <kernel-features.h>.
1412 [__ASSUME_32BITUIDS]: Make code unconditional.
1413 [!__ASSUME_32BITUIDS]: Remove conditional code.
1414 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
1415 <kernel-features.h>.
1416 [__ASSUME_32BITUIDS]: Make code unconditional.
1417 [!__ASSUME_32BITUIDS]: Remove conditional code.
1418 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
1419 <kernel-features.h>.
1420 [__ASSUME_32BITUIDS]: Make code unconditional.
1421 [!__ASSUME_32BITUIDS]: Remove conditional code.
1422 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
1423 <kernel-features.h>.
1424 [__ASSUME_32BITUIDS]: Make code unconditional.
1425 [!__ASSUME_32BITUIDS]: Remove conditional code.
1426 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
1427 <kernel-features.h>.
1428 [__ASSUME_32BITUIDS]: Make code unconditional.
1429 [!__ASSUME_32BITUIDS]: Remove conditional code.
1430 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
1431 <kernel-features.h>.
1432 [__ASSUME_32BITUIDS]: Make code unconditional.
1433 [!__ASSUME_32BITUIDS]: Remove conditional code.
1434 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
1435 <kernel-features.h>.
1436 [__ASSUME_32BITUIDS]: Make code unconditional.
1437 [!__ASSUME_32BITUIDS]: Remove conditional code.
1438 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
1439 <kernel-features.h>.
1440 [__ASSUME_32BITUIDS]: Make code unconditional.
1441 [!__ASSUME_32BITUIDS]: Remove conditional code.
1442 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
1443 <kernel-features.h>.
1444 [__ASSUME_32BITUIDS]: Make code unconditional.
1445 [!__ASSUME_32BITUIDS]: Remove conditional code.
1446 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1447 <kernel-features.h>.
1448 [__ASSUME_32BITUIDS]: Make code unconditional.
1449 [!__ASSUME_32BITUIDS]: Remove conditional code.
1450 * sysdeps/unix/sysv/linux/kernel-features.h
1451 (__ASSUME_SETRESUID_SYSCALL): Remove.
1452 (__ASSUME_SETRESGID_SYSCALL): Likewise.
1453 (__ASSUME_32BITUIDS): Likewise.
1454 (__ASSUME_LDT_WORKS): Likewise.
1455 (__ASSUME_O_DIRECTORY): Likewise.
1456 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1457 architecture but not kernel version.
1458 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1459 (__ASSUME_MMAP2_SYSCALL): Likewise.
1460 (__ASSUME_STAT64_SYSCALL): Likewise.
1461 (__ASSUME_IPC64): Likewise.
1462 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1463 <kernel-features.h>.
1464 [__ASSUME_32BITUIDS]: Make code unconditional.
1465 [!__ASSUME_32BITUIDS]: Remove conditional code.
1466 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1467 <kernel-features.h>.
1468 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1469 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1470 132096]: Remove conditional code.
1471 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1472 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1473 <kernel-features.h>.
1474 [__ASSUME_32BITUIDS]: Make code unconditional.
1475 [!__ASSUME_32BITUIDS]: Remove conditional code.
1476 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1477 <kernel-features.h>.
1478 [__ASSUME_32BITUIDS]: Make code unconditional.
1479 [!__ASSUME_32BITUIDS]: Remove conditional code.
1480 * sysdeps/unix/sysv/linux/setegid.c: Do not include
1481 <kernel-features.h>.
1482 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1483 unconditional.
1484 (__setresgid): Do not declare.
1485 [__ASSUME_32BITUIDS]: Make code unconditional.
1486 [!__ASSUME_32BITUIDS]: Remove conditional code.
1487 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1488 <kernel-features.h>.
1489 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1490 unconditional.
1491 (__setresuid): Do not declare.
1492 [__ASSUME_32BITUIDS]: Make code unconditional.
1493 [!__ASSUME_32BITUIDS]: Remove conditional code.
1494 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1495 <kernel-features.h>.
1496 [__ASSUME_32BITUIDS]: Make code unconditional.
1497 [!__ASSUME_32BITUIDS]: Remove conditional code.
1498 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1499 <kernel-features.h>.
1500 [__ASSUME_32BITUIDS]: Make code unconditional.
1501 [!__ASSUME_32BITUIDS]: Remove conditional code.
1502
a386f1cc
RH
15032012-05-25 Richard Henderson <rth@twiddle.net>
1504
1505 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1506 dl_hwcap to ifunc resolver.
1507 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1508 elf_ifunc_invoke.
1509 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1510 dl_hwcap to ifunc resolver.
1511 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1512
b6550497
JM
15132012-05-24 Joseph Myers <joseph@codesourcery.com>
1514
1515 [BZ #14153]
1516 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1517 for |x| <= 2**-26, not 2**-57.
1518 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1519 exception.
1520
b0bc23a1
JL
15212012-05-24 Jeff Law <law@redhat.com>
1522
1523 * stdio-common/Makefile (tests): Add bug25.
1524 * stdio-common/bug25.c: New test.
1525
347c92e9
L
15262012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1527
1528 [BZ #13576]
1529 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1530 multiple of MALLOC_ALIGNMENT in size.
1531 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1532
6bcc8b3f
JM
15332012-05-24 Joseph Myers <joseph@codesourcery.com>
1534
1535 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1536 Require >= 256.
1537 (FILENAME_MAX): Use macro-int-constant.
1538 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1539 (_IOFBF): Use macro-int-constant.
1540 (_IOLBF): Likewise.
1541 (_IONBF): Likewise.
1542 (SEEK_CUR): Likewise.
1543 (SEEK_END): Likewise.
1544 (SEEK_SET): Likewise.
1545 (TMP_MAX): Likewise.
1546 (EOF): Use macro-int-constant. Require < 0.
1547 (NULL): Use macro-constant. Require == 0.
1548 (stdin): Require type to be FILE *.
1549 (stdout): Likewise.
1550 (stderr): Likewise.
1551 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1552 macro-int-constant.
1553 (EXIT_SUCCESS): Likewise.
1554 (NULL): Use macro-constant. Require == 0.
1555 (RAND_MAX): Use macro-int-constant.
1556 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1557 [C99-based standards] (strtof): Require function.
1558 [C99-based standards] (strtold): Likewise.
1559 [C99-based standards] (strtoll): Likewise.
1560 [C99-based standards] (strtoull): Likewise.
1561 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1562 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1563 [ISO || ISO99 || ISO11] (math.h): Likewise.
1564 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1565 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1566 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1567
d18ea0c5
AS
15682012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1569
1570 [BZ #14132]
56d25bb8
AS
1571 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1572 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1573 * intl/dgettext.c (DCGETTEXT): Likewise.
1574 * intl/gettext.c (DCGETTEXT): Likewise.
1575 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1576 * posix/regex_internal.h (gettext): Likewise.
1577 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1578 Remove declaration.
1579 * include/argz.h (__argz_count_internal)
1580 (__argz_stringify_internal): Remove declaration.
1581 (__argz_count, __argz_stringify): Declare hidden proto.
1582 * intl/dcgettext.c: Remove use of INTDEF.
1583 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1584 * string/argz-stringify.c: Likewise.
1585 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1586 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1587 Declare hidden proto.
d18ea0c5
AS
1588 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1589 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1590 Declare hidden proto.
1591 * include/stdio.h (__asprintf_internal): Don't declare.
1592 (__asprintf): Don't define as macro. Declare hidden proto.
1593 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1594 (__fsetlocking): Declare hidden proto.
1595 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1596 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1597 hidden proto.
1598 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1599 (_IO_setlinebuf): Remove use of INTUSE.
1600 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1601 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1602 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1603 Remove declaration.
1604 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1605 (_IO_do_flush): Remove use of INTUSE.
1606 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1607 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1608 (_IO_adjust_column, _IO_least_wmarker)
1609 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1610 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1611 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1612 (_IO_default_doallocate, _IO_wdefault_doallocate)
1613 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1614 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1615 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1616 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1617 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1618 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1619 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1620 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1621 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1622 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1623 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1624 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1625 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1626 proto.
1627 (_IO_flush_all_internal, _IO_adjust_column_internal)
1628 (_IO_default_uflow_internal, _IO_default_finish_internal)
1629 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1630 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1631 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1632 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1633 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1634 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1635 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1636 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1637 (_IO_file_close_internal, _IO_file_close_it_internal)
1638 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1639 (_IO_file_init_internal, _IO_file_attach_internal)
1640 (_IO_file_fopen_internal, _IO_file_read_internal)
1641 (_IO_file_sync_internal, _IO_file_seek_internal)
1642 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1643 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1644 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1645 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1646 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1647 (_IO_list_all_internal, _IO_link_in_internal)
1648 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1649 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1650 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1651 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1652 (_IO_do_write_internal, _IO_padn_internal)
1653 (_IO_getline_info_internal, _IO_getline_internal)
1654 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1655 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1656 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1657 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1658 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1659 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1660 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1661 with libc_hidden_ver, remove use of INTUSE.
1662 * libio/genops.c: Likewise.
1663 * libio/freopen.c: Likewise.
1664 * libio/freopen64.c: Likewise.
1665 * libio/iofclose.c: Likewise.
1666 * libio/iofdopen.c: Likewise.
1667 * libio/iofflush.c: Likewise.
1668 * libio/iofflush_u.c: Likewise.
1669 * libio/iofgets.c: Likewise.
1670 * libio/iofgets_u.c: Likewise.
1671 * libio/iofopen.c: Likewise.
1672 * libio/iofopncook.c: Likewise.
1673 * libio/iofread.c: Likewise.
1674 * libio/iofread_u.c: Likewise.
1675 * libio/ioftell.c: Likewise.
1676 * libio/iofwrite.c: Likewise.
1677 * libio/iogetline.c: Likewise.
1678 * libio/iogets.c: Likewise.
1679 * libio/iogetwline.c: Likewise.
1680 * libio/iopadn.c: Likewise.
1681 * libio/iopopen.c: Likewise.
1682 * libio/ioseekoff.c: Likewise.
1683 * libio/ioseekpos.c: Likewise.
1684 * libio/iosetbuffer.c: Likewise.
1685 * libio/iosetvbuf.c: Likewise.
1686 * libio/ioungetc.c: Likewise.
1687 * libio/ioungetwc.c: Likewise.
1688 * libio/iovdprintf.c: Likewise.
1689 * libio/iovsprintf.c: Likewise.
1690 * libio/iovsscanf.c: Likewise.
1691 * libio/memstream.c: Likewise.
1692 * libio/obprintf.c: Likewise.
1693 * libio/oldfileops.c: Likewise.
1694 * libio/oldiofclose.c: Likewise.
1695 * libio/oldiofdopen.c: Likewise.
1696 * libio/oldiofopen.c: Likewise.
1697 * libio/oldiopopen.c: Likewise.
1698 * libio/oldstdfiles.c: Likewise.
1699 * libio/putc.c: Likewise.
1700 * libio/setbuf.c: Likewise.
1701 * libio/setlinebuf.c: Likewise.
1702 * libio/stdfiles.c: Likewise.
1703 * libio/strops.c: Likewise.
1704 * libio/vasprintf.c: Likewise.
1705 * libio/vscanf.c: Likewise.
1706 * libio/vsnprintf.c: Likewise.
1707 * libio/vswprintf.c: Likewise.
1708 * libio/wfiledoalloc.c: Likewise.
1709 * libio/wfileops.c: Likewise.
1710 * libio/wgenops.c: Likewise.
1711 * libio/wmemstream.c: Likewise.
1712 * libio/wstrops.c: Likewise.
1713 * libio/__fpurge.c: Likewise.
1714 * libio/__fsetlocking.c: Likewise.
1715 * assert/assert.c: Likewise.
1716 * debug/fgets_chk.c: Likewise.
1717 * debug/fgets_u_chk.c: Likewise.
1718 * debug/fread_chk.c: Likewise.
1719 * debug/fread_u_chk.c: Likewise.
1720 * debug/gets_chk.c: Likewise.
1721 * debug/obprintf_chk.c: Likewise.
1722 * debug/vasprintf_chk.c: Likewise.
1723 * debug/vdprintf_chk.c: Likewise.
1724 * debug/vsnprintf_chk.c: Likewise.
1725 * debug/vsprintf_chk.c: Likewise.
1726 * malloc/mtrace.c: Likewise.
1727 * misc/error.c: Likewise.
1728 * misc/syslog.c: Likewise.
1729 * stdio-common/asprintf.c: Likewise.
1730 * stdio-common/fxprintf.c: Likewise.
1731 * stdio-common/getw.c: Likewise.
1732 * stdio-common/isoc99_fscanf.c: Likewise.
1733 * stdio-common/isoc99_scanf.c: Likewise.
1734 * stdio-common/isoc99_vfscanf.c: Likewise.
1735 * stdio-common/isoc99_vscanf.c: Likewise.
1736 * stdio-common/isoc99_vsscanf.c: Likewise.
1737 * stdio-common/printf-prs.c: Likewise.
1738 * stdio-common/printf_fp.c: Likewise.
1739 * stdio-common/printf_fphex.c: Likewise.
1740 * stdio-common/printf_size.c: Likewise.
1741 * stdio-common/putw.c: Likewise.
1742 * stdio-common/scanf.c: Likewise.
1743 * stdio-common/sprintf.c: Likewise.
1744 * stdio-common/tmpfile.c: Likewise.
1745 * stdio-common/vfprintf.c: Likewise.
1746 * stdio-common/vfscanf.c: Likewise.
1747 * stdlib/strfmon_l.c: Likewise.
1748 * sunrpc/openchild.c: Likewise.
1749 * sunrpc/xdr_stdio.c: Likewise.
1750 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1751 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1752
d6c33fda
RM
17532012-05-24 Roland McGrath <roland@hack.frob.com>
1754
c1487492
RM
1755 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1756
1757 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1758 in the third column, to generate for the shared library an IFUNC
1759 that uses _dl_vdso_vsym.
1760 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1761 * Makeconfig (object-suffixes-noshared): New variable.
1762
1763 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1764 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1765 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1766 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1767
d6c33fda
RM
1768 [BZ #14132]
1769 * include/sys/time.h (__gettimeofday): Remove macro.
1770 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1771 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1772 Remove INTDEF.
1773 (__gettimeofday): Add libc_hidden_def.
1774 (gettimeofday): Add libc_hidden_weak.
1775 * sysdeps/mach/gettimeofday.c: Likewise.
1776 * sysdeps/posix/gettimeofday.c: Likewise.
1777 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1778 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1779 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1780 (__gettimeofday_internal): Remove strong_alias.
1781 (__gettimeofday): Add libc_hidden_def.
1782 (gettimeofday): Add libc_hidden_weak.
1783 * sysdeps/unix/syscalls.list (gettimeofday):
1784 Remove __gettimeofday_internal alias.
1785
b5a2bbe6
L
17862012-05-24 Daniel Jacobowitz <drow@false.org>
1787 H.J. Lu <hongjiu.lu@intel.com>
1788
1789 [BZ #12495]
1790 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1791 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1792 (largebin_index_32_big): New.
1793 (largebin_index): Use it for 16-byte alignment.
1794 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1795 correction with front_misalign.
1796
cfba4fda
L
17972012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1798
7f907421
L
1799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1801 Likewise.
1802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1803 Likewise.
1804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1805 Likewise.
1806 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1807 Likewise.
1808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1809 Likewise.
1810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1811 Likewise.
1812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1813 Likewise.
1814 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1815 Likewise.
1816 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1817 Likewise.
1818 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1819 Likewise.
1820 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1821 Likewise.
1822 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1823 Likewise.
1824
cfba4fda
L
1825 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1826 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1827
80bad0cc
JM
18282012-05-24 Joseph Myers <joseph@codesourcery.com>
1829
7a25eb06
JM
1830 [BZ #10846]
1831 [BZ #14036]
1832 * math/libm-test.inc (exp_test): Add test from bug 14036.
1833 (pow_test): Add test from bug 10846.
1834
795405f9
JM
1835 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1836 and other flags.
1837 (special_function): Do not include flags in test name.
1838 (parse_args): Likewise.
1839 * sysdeps/i386/fpu/libm-test-ulps: Update.
1840 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1841 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1842 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1844
80bad0cc
JM
1845 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1846 exceptions.
1847 * math/libm-test.inc ("Philosophy"): Update comment about
1848 exception testing.
1849 (UNDERFLOW_EXCEPTION): New macro.
1850 (UNDERFLOW_EXCEPTION_OK): Likewise.
1851 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1852 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1853 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1854 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1855 (INVALID_EXCEPTION_OK): Update value.
1856 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1857 (OVERFLOW_EXCEPTION_OK): Likewise.
1858 (IGNORE_ZERO_INF_SIGN): Likewise.
1859 (test_exceptions): Handle underflow exceptions.
1860 (acos_test): Update for underflow exception expectations.
1861 (cexp_test): Likewise.
1862 (clog_test): Likewise.
1863 (clog10_test): Likewise.
1864 (csqrt_test): Likewise.
1865 (ctan_test): Likewise.
1866 (ctanh_test): Likewise.
1867 (exp_test): Likewise.
1868 (exp10_test): Likewise.
1869 (exp2_test): Likewise.
1870 (expm1_test): Likewise.
1871 (fma_test): Likewise.
1872 (j0_test): Likewise.
1873 (jn_test): Likewise.
1874 (nexttoward_test): Likewise.
1875 (pow_test): Likewise.
1876 (scalbn_test): Likewise.
1877 (scalbln_test): Likewise.
1878 (tan_test): Likewise.
1879 (y1_test): Likewise.
1880 * sysdeps/i386/fpu/libm-test-ulps: Update.
1881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1882
9e0e3d0b
DM
18832012-05-23 David S. Miller <davem@davemloft.net>
1884
1885 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1886 (__libc_sigaction): Remove unused local variables.
1887
ccd0a08f
L
18882012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1889
1890 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1891
62bdf9a6
PE
18922012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1893
f8591f80
PE
1894 mktime: avoid signed integer overflow
1895 * time/mktime.c (__mktime_internal): Do not mishandle the case
1896 where diff == INT_MIN.
1897
94c7d826
PE
1898 mktime: simplify computation of average
1899 * time/mktime.c (ranged_convert): Use new time_t_avg function
1900 instead of rolling our own (probably-slower) code.
1901
ce73d683
PE
1902 mktime: do not assume signed right shift propagates sign bit
1903 * time/mktime.c (isdst_differ): New static function.
1904 (__mktime_internal): No need to normalize tm_isdst now.
1905 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1906 tm_isdst values.
1907
72a22e59
PE
1908 mktime: merge another wrapv change from gnulib
1909 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1910 from some compilers.
1911
68605433
PE
1912 mktime: remove incorrect attempt at unusual arithmetics
1913 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1914 The code didn't really work on such machines anyway.
1915 (TYPE_MINIMUM): Assume two's complement.
1916 (twos_complement_arithmetic): Verify that long_int and time_t
1917 are two's complement (or unsigned, in the latter case).
1918
03cf7fe3
PE
1919 mktime: check signed shifts on long_int and time_t, too
1920 * time/mktime.c (SHR): Check that shifts work as desired
1921 on the types long_int and time_t too, as SHR is used on
1922 such types.
1923
f04dfbc2
PE
1924 mktime: do not assume 'long' is wide enough
1925 * time/mktime.c (verify): Move decl up.
1926 (long_int): New type.
1927 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1928 to remove assumption in the code that 'long' is wide enough to
1929 store year values. This assumption is not true on x32 and on
1930 some non-glibc platforms.
1931
62bdf9a6
PE
1932 mktime: merge wrapv change from gnulib
1933 * time/mktime.c (WRAPV): New macro.
1934 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1935 (guess_time_tm, __mktime_internal): Do not assume that signed
1936 integer overflow wraps around; modern compilers generate code
1937 where this assumption is no longer valid.
1938
5e292e4f
L
19392012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1940
1941 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1942 Replace "jmp L(pseudo_end)" with "ret".
1943 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1944 Likewise.
1945
8caf8c87
AJ
19462012-05-23 Andreas Jaeger <aj@suse.de>
1947
1948 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1949 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1950
1a09dc56
AJ
19512012-05-23 Andreas Jaeger <aj@suse.de>
1952 Maximilian Attems <max@stro.at>
1953
1954 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1955 New macros.
1956
1c87aba0
L
19572012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1958
1959 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1960 code so that pseudo_end is just ret and the stack pointer is
1961 correct also for static library in error case.
1962
40e45bd5
JM
19632012-05-23 Joseph Myers <joseph@codesourcery.com>
1964
c2670533
JM
1965 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1966 move to syscalls.list.
1967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1971
40e45bd5
JM
1972 * manual/install.texi (Running make install): Do not mention Linux
1973 kernel version for which pt_chown is not needed.
1974 (Linux): Do not mention problems with nscd with 2.0 kernels.
1975 * INSTALL: Regenerated.
1976
be08eda5
AJ
19772012-05-23 Andreas Jaeger <aj@suse.de>
1978
1979 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1980 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1981 macro.
1982 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1983 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1984 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1985 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1986 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1987 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1988 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1989 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1990 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1991 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1992 * sysdeps/unix/sysv/linux/bits/in.h
1993 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1994
a6a056bb
RM
19952012-05-22 Roland McGrath <roland@hack.frob.com>
1996
1997 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1998 (PREPARE_VERSION): Just use assert instead, it will be elided
1999 under [NDEBUG] anyway.
2000
c9009328
L
20012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2002
2003 * sysdeps/unix/sysv/linux/Makefile: Include
2004 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 2005 (sysdep_routines): Remove sysctl.
c9009328
L
2006 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2007 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2008 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2009 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2010 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2011
73338355
AJ
20122012-05-22 Andreas Jaeger <aj@suse.de>
2013
2014 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2015 that pseudo_end is just ret and the stack pointer is correct also
2016 for static library in error case.
2017
d44638b0
PP
20182012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2019
2020 [BZ #14122]
2021 * nss/nsswitch.c (defconfig_entries): New variable.
2022 (__nss_database_lookup): Don't leak defconfig entries.
2023 (nss_parse_service_list): Don't leak on error paths.
2024 (free_database_entries): New function.
2025 (free_defconfig): New function.
2026 (free_mem): Move common code to free_database_entries.
2027
31a39bd8
L
20282012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2029
da0331a8
L
2030 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2031 Add arch_prctl.
2032 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2033
31a39bd8
L
2034 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2035 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2036 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2037 New macro.
2038 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2039 (INTERNAL_SYSCALL_TYPES): Likewise.
2040 (LOAD_ARGS_TYPES_[1-6]): Likewise.
2041 (LOAD_REGS_TYPES_[1-6]): Likewise.
2042 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2043 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2044
45470df3
AZ
20452012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2046
2047 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2048 copysignl for GLIBC_2_0.
2049 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2050 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2051 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2052 logbl for GLIBC_2_0.
2053 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2054 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2055
98a61bcb
L
20562012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2057
a4f6e481
L
2058 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2059 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2060
f63d5db6
L
2061 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2062 Use "neg %eax".
2063
98a61bcb
L
2064 * time/mktime.c: Update copyright years.
2065
95770f14
PE
20662012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2067
6226efbd
PE
2068 mktime: merge comment-quoting-style change from gnulib
2069 * time/mktime.c: Quote 'like this' in comments.
2070 The GNU coding standards suggest that we no longer quote `like this',
2071 as "`" and "'" are typically rendered asymmetrically nowadays.
2072 The typical gnulib style is to quote 'like this' when quoting
2073 code, and "like this" when quoting English.
2074
b99e4f78
PE
2075 * time/mktime.c (compile-command): Add "-I.".
2076
643e01e6
PE
2077 mktime: merge mktime-internal.h change from gnulib
2078 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2079
2554247d
PE
2080 mktime: merge time_r change from gnulib
2081 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2082
826dd0ab
PE
2083 mktime: merge DEBUG change from gnulib
2084 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2085 case system <time.h> has a #define.
2086
bd83aabe
PE
2087 mktime: merge <sys/types.h> change from gnulib
2088 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2089 since <time.t> is now guaranteed to define time_t.
2090
95770f14
PE
2091 mktime: merge HAVE_CONFIG_H change from gnulib
2092 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2093
5e1a27a9
L
20942012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2095
0e44a77e
L
2096 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2097 Use "neg %eax".
2098
5e1a27a9
L
2099 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2100 __rlim_t cast.
2101 (struct rusage): Use anonymous union to pad each field to
2102 __syscall_slong_t.
2103
46259bec
DM
21042012-05-21 David S. Miller <davem@davemloft.net>
2105
2106 * Makefules (o-iterator): Remove .s cases.
2107 (compile-command.s): Delete.
2108 (COMPILE.s): Delete.
2109 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2110
59f0c22e
JM
21112012-05-21 Joseph Myers <joseph@codesourcery.com>
2112
2113 * configure.in (libc_cv_predef_stack_protector): Only consider
2114 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2115 * configure: Regenerated.
2116
20c07380
L
21172012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2118
bbb3154b
L
2119 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2120 New macro. Use R*LP on int and pointer.
2121 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
2122 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2123 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
2124 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2125
20c07380
L
2126 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2127 [__WORDSIZE_TIME64_COMPAT32] instead of
2128 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2129 (struct utmp): Likewise.
2130 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2131 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2132 Renamed to ...
2133 (__WORDSIZE_TIME64_COMPAT32): This.
2134 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2135 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2136 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2137 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2138 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2139 (__WORDSIZE_TIME64_COMPAT32): New macro.
2140
d8d1017e
AJ
21412012-05-21 Andreas Jaeger <aj@suse.de>
2142
2143 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2144 only if [SHARED]. Add prototype for __wcschr_ia32.
2145
6c7fb145
RM
21462012-05-21 Roland McGrath <roland@hack.frob.com>
2147
2148 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2149 of %rbp unmolested in the jmp_buf while mangling the low bits.
2150 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2151 unmolested high bits of %rbp while demangling the low bits.
2152 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2153
66274218
AJ
21542012-05-21 Andreas Jaeger <aj@suse.de>
2155
07c58f8f
AJ
2156 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2157 * sunrpc/svc_simple.c: Use it for registerrpc.
2158 * sunrpc/xcrypt.c: Use it for passwd2des.
2159
66274218
AJ
2160 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2161
61f65140
L
21622012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2163
2164 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2165 Don't define if [__SYSCALL_WORDSIZE != 32].
2166 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2167 New macro.
2168
5fefb436
AJ
21692012-05-21 Bruno Haible <bruno@clisp.org>
2170 Andreas Jaeger <aj@suse.de>
2171
2172 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2173 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2174 inptr and inend for must_buffer_ch.
2175 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2176 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2177 * stdio-common/Makefile (tests): Remove bug15.
2178 (bug15-ENV): Remove macro.
2179 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2180 anymore.
2181
d8e272ab
AJ
21822012-05-19 Andreas Jaeger <aj@suse.de>
2183 Roland McGrath <roland@hack.frob.com>
2184
2185 * manual/contrib.texi: Completely rewritten. It contains now an
2186 alphabetical list of contributors and their contributions.
2187
4a56a162
RH
21882012-05-21 Richard Henderson <rth@twiddle.net>
2189
2190 * misc/getauxval.c (__getauxval): Use unsigned long int.
2191 * misc/sys/auxv.h: Include <sys/cdefs.h>.
2192 (getauxval): Use unsigned long int.
2193
d024d23c
L
21942012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2195
2196 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2197
cbc00a03
RM
21982012-05-21 Roland McGrath <roland@hack.frob.com>
2199
2200 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2201 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2202 __alignof__ (long double).
2203
478143fa
AZ
22042012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2205
2206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2207
c7683a6d
RH
22082012-05-20 Richard Henderson <rth@twiddle.net>
2209
2210 * misc/getauxval.c: New file.
2211 * misc/sys/auxv.h: New file.
2212 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2213 (routines): Add getauxval.
2214 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2215 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2216 * elf/dl-sysdep.c (_dl_auxv): Remove.
2217 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2218 * elf/dl-support.c (_dl_auxv): New variable.
2219 (_dl_aux_init): Initialize it.
2220 * manual/startup.texi (Auxiliary Vector): New node.
2221 * sysdeps/generic/bits/hwcap.h: New file.
2222 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2223 * sysdeps/powerpc/sysdep.h: ... here. Include it.
2224 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2225 * sysdeps/sparc/sysdep.h: ... here. Include it.
2226 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2227 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
2228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2229 Update.
c7683a6d
RH
2230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2233 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2238
a6f1845d
AZ
22392012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2240
2241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2242
cbcbe830
DM
22432012-05-19 David S. Miller <davem@davemloft.net>
2244
2245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2246
e0b16cc2
JM
22472012-05-19 Joseph Myers <joseph@codesourcery.com>
2248
2249 [BZ #14123]
2250 * math/s_ccosh.c: Include <float.h>
2251 (__ccosh): Avoid internal overflow calculating sinh and cosh
2252 values before multiplying by sin and cos values.
2253 * math/s_ccoshf.c: Likewise.
2254 * math/s_ccoshl.c: Likewise.
2255 * math/s_csin.c: Likewise.
2256 * math/s_csinf.c: Likewise.
2257 * math/s_csinl.c: Likewise.
2258 * math/s_csinh.c: Likewise.
2259 * math/s_csinhf.c: Likewise.
2260 * math/s_csinhl.c: Likewise.
2261 * math/libm-test.inc (ccos_test): Add more tests.
2262 (ccosh_test): Likewise.
2263 (csin_test): Likewise.
2264 (csinh_test): Likewise.
2265 * sysdeps/i386/fpu/libm-test-ulps: Update.
2266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2267
6ad13e08
L
22682012-05-19 H.J. Lu <hongjiu.lu@intel.com>
2269
f66f0ce8
L
2270 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2271 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2272
6ad13e08
L
2273 * sysdeps/x86_64/x32/_itoa.h: Add comment.
2274
b1d072a7
JM
22752012-05-19 Joseph Myers <joseph@codesourcery.com>
2276
2277 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2278 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2279 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2280 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2281 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2282 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2283 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2284 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2285 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2286 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2287 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2288 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2289 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2290 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2291 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2292 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2293 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2294 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2295 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2296 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2297 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2298 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2299 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2300 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2301 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2302 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2303 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2304 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2305 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2306 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2307 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2308
9eae47cb
AJ
23092012-05-18 Andreas Jaeger <aj@suse.de>
2310
2311 * csu/.gitignore: Delete.
2312
bb07f69f
L
23132012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2314
2315 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2316 (timex): Use __syscall_slong_t.
2317
e6bdb741
AJ
23182012-05-18 Andreas Jaeger <aj@suse.de>
2319 Carlos O'Donell <carlos_odonell@mentor.com>
2320
2321 * manual/install.texi (Configuring and compiling): Update
2322 description about files modified in the source directory.
d6c33fda 2323 * INSTALL: Regenerated.
e6bdb741 2324
1b74487e
L
23252012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2326
2327 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2328 value. Use "or" to set return value to -1.
2329 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2330 negate return value.
2331
a88b64b9
TMQMF
23322012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2333
2334 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2335 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2336 failure if the compiler has Graphite support disabled.
2337 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2338 Likewise.
2339 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2340 CFLAGS-memmove.c): Likewise.
2341 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2342 Likewise.
2343
3707636e
L
23442012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2345
610b8622
L
2346 * sysdeps/x86_64/x32/_itoa.h: New file.
2347
7cd195df
L
2348 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2349 getdents system call only if kernel and user dirents have the
2350 same d_ino and d_off.
2351
94b07d20
L
2352 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2353 LLONG_MAX != LONG_MAX.
2354 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2355 (_fitoa_word): Likewise.
2356
18298070
L
2357 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2358 years.
2359 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2360 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2361 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2362
553c7ea4
L
2363 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2364 include <bits/wordsize.h>. Check __x86_64__ instead of
2365 __WORDSIZE.
2366 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2367 if __x86_64__ is defined. Use anonymous union on fpstate.
2368
3707636e
L
2369 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2370 anonymous union.
2371
b53ef01a
AS
23722012-05-18 Andreas Schwab <schwab@linux-m68k.org>
2373
37fb1dc0
AS
2374 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2375 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
2376 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
2377 Refer to _rtld_local_ro instead of _rtld_global_ro.
2378 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
2379 Likewise.
2380 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
2381 Likewise.
2382 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
2383 Likewise.
2384 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2385 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2386 of _rtld_global, and rtld_progname instead of _dl_argv[0].
2387
b53ef01a
AS
2388 * sysdeps/powerpc/powerpc32/dl-machine.c
2389 (__elf_machine_runtime_setup) [PROF]: Don't reference
2390 _dl_prof_resolve.
2391
7a185db2
AJ
23922012-05-18 Andreas Jaeger <aj@suse.de>
2393
2394 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2395 function only available for GCCs before 3.4 since GCC 3.4
2396 introduced a builtin.
2397 (lrint): Likewise.
2398 (llrintf): Likewise.
2399 (llrint): Likewise.
2400 (fmaxf): Likewise.
2401 (fmax): Likewise.
2402 (fminf): Likewise.
2403 (fmin): Likewise.
2404 (rint): Likewise.
2405 (rintf): Likewise.
2406 (nearbyint): Likewise.
2407 (nearbyintf): Likewise.
2408 (ceil): Likewise.
2409 (ceilf): Likewise.
2410 (floor): Likewise.
2411 (floorf): Likewise.
2412
3e5aef87
L
24132012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2414
428bd707
L
2415 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2416 on both fields and cast pointer to __syscall_ulong_t.
2417
3e5aef87
L
2418 * bits/types.h (__fsword_t): New type.
2419 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2420 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2421 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2422 (__FSWORD_T_TYPE): Likewise.
2423 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2424 (__FSWORD_T_TYPE): Likewise.
2425 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2426 (__FSWORD_T_TYPE): Likewise.
2427 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2428 (__FSWORD_T_TYPE): Likewise.
2429 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2430 __SWORD_TYPE with __fsword_t.
2431 (statfs64): Likewise.
2432
1ba7c3dc
DM
24332012-05-17 David S. Miller <davem@davemloft.net>
2434
2435 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2436
59910343
AJ
24372012-05-17 Andreas Jaeger <aj@suse.de>
2438
2439 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2440 warning.
2441
2e4c1e9e
L
24422012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2443
2444 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2445
de7f5ce7
AJ
24462012-05-17 Andreas Jaeger <aj@suse.de>
2447
2448 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2449 when it is used.
2450
286abc3d
CM
24512012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2452
2453 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2454
477cc68e
L
24552012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2456
2457 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2458 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2459
1a0994f5
CD
24602012-05-17 Andreas Jaeger <aj@suse.de>
2461 Carlos O'Donell <carlos_odonell@mentor.com>
2462
2463 [BZ #14059]
2464 * sysdeps/x86_64/multiarch/init-arch.h
2465 (bit_YMM_Usable): Rename to...
2466 (bit_AVX_Usable): ... this.
2467 (bit_FMA4_Usable): New macro.
2468 (bit_XMM_state): New macro.
2469 (bit_YMM_state): New macro.
2470 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2471 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2472 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2473 (CPUID_OSXSAVE): New macro.
2474 (CPUID_AVX): New macro.
2475 (CPUID_FMA4): New macro.
2476 (index_YMM_Usable): Rename to...
2477 (index_AVX_Usable): ... this.
2478 (HAS_AVX): Use HAS_ARCH_FEATURE.
2479 (HAS_FMA4): Likewise.
2480 (HAS_YMM_USABLE): Remove.
2481 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2482 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2483 are present.
2484 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2485 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2486 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2487 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2488 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2489
0af797de
CM
24902012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2491
2492 * math/libm-test.c: Support platforms without multiple rounding modes.
2493 * math/bug-nextafter.c: Support platforms without FP exceptions.
2494 * math/bug-nexttoward.c: Likewise.
2495 * math/test-fenv.c: Likewise.
2496 * math/test-misc.c: Likewise.
2497 * stdlib/bug-getcontext.c: Likewise.
2498
e39745ff
AJ
24992012-05-17 Andreas Jaeger <aj@suse.de>
2500
2501 * manual/examples/search.c (critter_cmp): Change signature to
2502 avoid warnings.
2503 * manual/string.texi (Collation Functions): Likewise.
2504
48970aba
L
25052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2506
2507 * bits/types.h: Fold copyright years.
2508 * bits/typesizes.h: Likewise.
2509 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2510 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2511 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2512 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2513 * time/time.h: Likewise.
2514
bedee953
PP
25152012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2516
2517 [BZ #208]
2518 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2519 in instead of returning them. Return void.
2520 (__libc_mallinfo): Accumulate over all arenas.
2521 (__malloc_stats): Adjust for change in int_mallinfo interface.
2522
61653dfb
RM
25232012-05-16 Roland McGrath <roland@hack.frob.com>
2524
30b99d79
RM
2525 [BZ #10375]
2526 * configure.in (NM): Add AC_CHECK_TOOL for it.
2527 (libc_extra_cflags): New substituted variable.
2528 Check for -fstack-protector being used implicitly.
2529 * configure: Regenerated.
2530 * config.make.in (config-extra-cflags): New variable,
2531 gets @libc_extra_cflags@.
2532 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2533
61653dfb
RM
2534 [BZ #10375]
2535 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2536 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2537 * configure: Regenerated.
2538 * config.make.in (CPPUNDEFS): New substituted variable.
2539 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2540 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2541 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2542
661768bb
L
25432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2544
2545 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2546 (mq_attr): Use __syscall_slong_t.
2547
d4261567
L
25482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2549
2550 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2551 Check __x86_64__ instead of __WORDSIZE.
2552 (_STAT_VER_LINUX): Likewise.
2553 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2554 __syscall_ulong_t and __syscall_slong_t.
2555 (stat64): Likewise.
2556
cf3ff365
L
25572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2558
2559 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2560
76cf3e4d
L
25612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2562
2563 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2564
a637753a
L
25652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2566
2567 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2568 __syscall_ulong_t.
2569
d5e05119
L
2570 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2571 include <bits/wordsize.h>. Check __x86_64__ instead of
2572 __WORDSIZE.
2573 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2574 defined.
2575 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2576
f62ee380
L
2577 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2578 include <bits/wordsize.h>. Check __x86_64__ instead of
2579 __WORDSIZE.
2580 (user_regs_struct): Use "__extension__ unsigned long long"
2581 instead of "unsigned long" if __x86_64__ is defined.
2582 (user): Likewise. Pad after pointer field if __ILP32__ is
2583 defined.
2584
4e124ced
JM
25852012-05-16 Joseph Myers <joseph@codesourcery.com>
2586
6a3951a0
JM
2587 * configure.in (makeinfo): Require version 4.5 or later. Allow
2588 versions 5 to 9.
2589 * configure: Regenerated.
2590 * manual/install.texi (texinfo): Increase version requirement to
2591 4.5 or later.
2592 * INSTALL: Regenerated.
2593
4e124ced
JM
2594 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2595
953ca31a
L
25962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2597
2598 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2599
617aca05
L
2600 * sysdeps/x86_64/x32/ffs.c: New file.
2601
5762f7ae
L
2602 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2603 __syscall_ulong_t.
2604 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2605 defined. Use __syscall_ulong_t.
2606 (shminfo): Use __syscall_ulong_t.
2607 (shm_info): Likewise.
2608
a26b6856
L
2609 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2610 __syscall_ulong_t.
2611
cb2b9ef7
L
2612 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2613 <bits/wordsize.h>.
2614 (msgqnum_t): Use __syscall_ulong_t.
2615 (msglen_t): Likewise.
2616 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2617 __syscall_ulong_t.
2618
34683bb0
L
2619 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2620 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2621
84a68786
L
2622 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2623
48baa5f1
L
2624 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2625 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2626
180be88b
L
2627 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2628 __syscall_slong_t.
2629
5e90c8ad
L
2630 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2631 include <bits/wordsize.h>. Check __x86_64__ instead of
2632 __WORDSIZE.
2633
23dfb58b
L
2634 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2635 "unsigned long long int" if __x86_64__ is defined.
2636 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2637
ce5d54b0
L
2638 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2639 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2640 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2641
13dc9eac
L
2642 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2643 <stdint.h>.
2644 (GET_PC): Cast to uintptr_t first.
2645 (GET_FRAME): Likewise.
2646 (GET_STACK): Likewise.
2647
a7895d15
L
2648 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2649 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2650 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2651 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2652 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2653 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2654 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2655 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2656 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2657 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2658 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2659 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2660 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2661 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2662 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2663 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2664 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2665 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2666 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2667 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2668 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2669 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2670 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2671 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2672 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2673 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2674 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2675 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2676 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2677
656416c9
AS
26782012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2679
5bd66283
AS
2680 * Makerules (+depfiles): Also collect depfiles from .oS in
2681 $(extra-objs).
2682 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2683 .oS, $(libnldbl-routines)).
2684
656416c9
AS
2685 * Makerules (native-compile-mkdep-flags): Define.
2686 * sunrpc/Makefile (extra-objs): Add $(addprefix
2687 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2688 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2689 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2690 calling $(make-target-directory).
2691
a46f2169
L
26922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2693
2694 * bits/types.h (__snseconds_t): Removed.
2695 * time/time.h (struct timespec): Replace __snseconds_t with
2696 __syscall_slong_t.
2697 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2698 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2699 Likewise.
2700 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2701 (__SNSECONDS_T_TYPE): Likewise.
2702 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2703 (__SNSECONDS_T_TYPE): Likewise.
2704 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2705 (__SNSECONDS_T_TYPE): Likewise.
2706
6af6528b
L
27072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2708
2709 * sysdeps/mach/hurd/bits/typesizes.h
2710 (__SYSCALL_SLONG_TYPE): New macro.
2711 (__SYSCALL_ULONG_TYPE): Likewise.
2712
de986b56
L
27132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2714
2715 * bits/types.h (__syscall_slong_t): New type.
2716 (__syscall_ulong_t): Likewise.
2717
2718 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2719 (__SYSCALL_ULONG_TYPE): Likewise.
2720 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2721 (__SYSCALL_SLONG_TYPE): Likewise.
2722 (__SYSCALL_ULONG_TYPE): Likewise.
2723 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2724 (__SYSCALL_SLONG_TYPE): Likewise.
2725 (__SYSCALL_ULONG_TYPE): Likewise.
2726 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2727 (__SYSCALL_SLONG_TYPE): Likewise.
2728 (__SYSCALL_ULONG_TYPE): Likewise.
2729
85736dc7
L
27302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2731
2732 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2733 Add sigaltstack-offsets.sym.
2734 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2735 <sigaltstack-offsets.h>.
2736 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2737 longjmp_msg pointer.
2738 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2739 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2740 signal stack.
2741 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2742
cc03b296
JM
27432012-05-15 Joseph Myers <joseph@codesourcery.com>
2744
a9538892
JM
2745 * elf/stackguard-macros.h: Remove file.
2746 * sysdeps/generic/stackguard-macros.h: New file.
2747 * sysdeps/i386/stackguard-macros.h: Likewise.
2748 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2749 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2750 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2751 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2752 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2753 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2754 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2755 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2756 <elf/stackguard-macros.h>.
2757
cc03b296
JM
2758 [BZ #14109]
2759 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2760 __aligned__ in attribute.
2761 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2762 (gregset_t): Likewise.
2763
93171016
L
27642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2765
2766 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2767 * sysdeps/x86_64/64/Implies-after: Here. New file.
2768 * sysdeps/x86_64/x32/Implies-after: New file.
2769
d86813a0
L
27702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2771
2772 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2773 and access return value for _dl_profile_fixup. Use R10_LP to
2774 load frame size.
2775
2953ec75
L
27762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2777
2778 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2779
3b550e9e
L
27802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2781
2782 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2783 * sysdeps/x86_64/x32/sysdep.h: New file.
2784
eda41706
L
27852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2786
2787 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2788 * sysdeps/x86_64/setjmp.S: Likewise.
2789
9ea01d93
AZ
27902012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2791
2792 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2793 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2794 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2795 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2796 remove unused global constant.
2797
02a91938
CM
27982012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2799
2800 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2801 include of <not-cancel.h>.
2802
6540185f
RM
28032012-05-15 Roland McGrath <roland@hack.frob.com>
2804
2805 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2806
509072a0
AJ
28072012-05-15 Jeff Law <law@redhat.com>
2808 Andreas Jaeger <aj@suse.de>
2809
2810 [BZ #13594]
2811 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2812 out from...
2813 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2814 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2815 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2816 code changing __hst_map_handle.map.
2817
ba75122d
RM
28182012-05-15 Roland McGrath <roland@hack.frob.com>
2819
2820 * configure.in (sysnames): Look for Implies-before and Implies-after
2821 files.
2822 * configure: Regenerated.
2823
890d8bd8
L
28242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2825
2826 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2827 8-byte data alignment with LP_SIZE alignment.
2828
f6ee6623
L
28292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2830
2831 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2832 into R10_LP.
2833
ea2626f6
L
28342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2835
2836 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2837
085f715e
L
28382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2839
2840 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2841 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2842 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2843 Likewise.
2844 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2845
be8498fc
L
28462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2847
2848 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2849 (stackinfo_sub_sp): Likewise.
2850
70bc83b9
L
28512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2852
2853 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2854 RAX_LP.
2855
9bc0b730
L
28562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2857
2858 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2859 into R*_LP.
2860
6d2850e7
L
28612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2862
2863 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2864 sizes into R*_LP.
2865
3cb84561
L
28662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2867
2868 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2869
54e2ed81
L
28702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2871
2872 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2873 into R11_LP and load __x86_64_shared_cache_size_half into
2874 R8_LP.
2875
8a17f349
L
28762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2877
2878 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2879 R8_LP.
2880
777b1eea
AZ
28812012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2882
2883 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2884 logb for POWER7.
2885 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2886 logbf for POWER7.
2887 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2888 logbl for POWER7.
2889 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2890 powerpc32/power7/fpu/s_logb.c via #include.
2891 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2892 powerpc32/power7/fpu/s_logbf.c via #include.
2893 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2894 powerpc32/power7/fpu/s_logbl.c via #include.
2895
d20d4ac2
JM
28962012-05-15 Joseph Myers <joseph@codesourcery.com>
2897
2898 * README.libm: Remove file.
2899
6cdef1ab
L
29002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2901
2902 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2903 count for x32. Use R*_LP and omit operand-size suffix.
2904
0b254d8f
L
29052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2906
2907 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2908 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2909 * sysdeps/x86_64/x32/shlib-versions: New file.
2910
ceb809dc
RM
29112012-05-14 Roland McGrath <roland@hack.frob.com>
2912
2913 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2914 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2915 Use _dl_fatal_printf instead.
2916
37f1abd4
JM
29172012-05-14 Joseph Myers <joseph@codesourcery.com>
2918
2919 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2920 set if not set by the user. Do not allow for being unset.
2921 * sysdeps/unix/sysv/linux/configure: Regenerated.
2922
11de3a33
L
29232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2924
2925 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2926 the `q' suffix from lea and replace .quad with ASM_ADDR.
2927
e02f153a
L
29282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2929
2930 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2931 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2932 instead of $17.
2933 (PTR_DEMANGLE): Likewise.
2934
520ae0fd
L
29352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2936
2937 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2938 (LP_OP): Likewise.
2939 (ASM_ADDR): Likewise.
2940 (RAX_LP): Likewise.
2941 (RBP_LP): Likewise.
2942 (RBX_LP): Likewise.
2943 (RCX_LP): Likewise.
2944 (RDI_LP): Likewise.
2945 (RSI_LP): Likewise.
2946 (RSP_LP): Likewise.
2947 (R8_LP): Likewise.
2948 (R9_LP): Likewise.
2949 (R10_LP): Likewise.
2950 (R10_LP): Likewise.
2951 (R11_LP): Likewise.
2952 (R12_LP): Likewise.
2953 (R13_LP): Likewise.
2954 (R14_LP): Likewise.
2955 (R15_LP): Likewise.
2956
b985be81
L
29572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2958
2959 * sysdeps/x86_64/x32/dl-machine.h: New file.
2960
6a4888ff
AJ
29612012-05-14 Andreas Jaeger <aj@suse.de>
2962
2963 * manual/Makefile (subdir): Remove export of subdir.
2964 (all): Remove target.
2965 (.PHONY): Remove all from list.
2966 (mkinstalldirs): Remove.
2967 (.PHONY): Remove installdirs from list.
2968 ($(inst_infodir)/libc.info): Use make-target-directory.
2969 (installdirs): Remove.
2970 (subdir_%): Remove.
2971 (glibc-targets): Remove.
2972 (lib): Remove.
2973 (stubs): Remove.
2974 ($(objpfx)stubs ../po/manual.pot): Remove.
2975 ($(objpfx)stamp%): Remove.
2976 (make-target-directory): Remove.
2977 (subdir_install): Remove.
2978 (routines): Remove.
2979 (aux): Remove.
2980 (sources): Remove.
2981 (objects): Remove.
2982 (headers): Remove.
2983
2984 [BZ #13750]
2985 * manual/.gitignore: Remove, it's not needed anymore.
2986 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2987 all files in it.
2988 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2989 directory.
2990 (texis): Renamed to $(objpfx)texis.
2991 (texis-path): New, contains path to generated files.
2992 (chapters.%): Use texis-path for complete path, add extra argument
2993 libc-texinfo.sh.
2994 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2995 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2996 (summary,texi, stamp-summary): Use complete path of
2997 files. Generate files in build dir.
2998 (dir-add.texi): Build in build dir.
2999 (libm-err.texi,stamp-libm-err): Likewise.
3000 (version.texi, stamp-version): Likewise.
3001 (.%c.texi): Likewise.
3002 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3003 (mostlyclean): Remove target.
3004 (realclean): Remove target.
3005 (generated): Add new variable with contents from mostlyclean and
3006 realclean, remove entries duplicated in common-mostlyclean, add
3007 stamp-libm-err and stamp-version.
3008 (generated-dirs): Add libc directory.
3009 ($(inst_infodir)/libc.info): Install files from build dir.
3010
3011 * manual/install.texi (Configuring and compiling): Adjust since
3012 the info files are not part of the tar ball anymore.
3013
7ac77294
AJ
30142012-05-14 Andreas Jaeger <aj@suse.de>
3015
3016 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3017 variable.
3018
ffb7875d
JM
30192012-05-14 Joseph Myers <joseph@codesourcery.com>
3020
3021 [BZ #13717]
3022 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3023 to 2.2.0 where earlier.
3024 * sysdeps/unix/sysv/linux/configure: Regenerated.
3025 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3026 Remove conditional code.
3027 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3028 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3029 Remove conditional code.
3030 [!__NR_lchown]: Likewise.
3031 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3032 [__NR_lchown]: Likewise.
3033 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3034 comment referencing __ASSUME_LCHOWN_SYSCALL.
3035 * sysdeps/unix/sysv/linux/i386/sigaction.c
3036 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3037 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3038 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3039 Remove conditional code.
3040 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3041 (__protocol_available): Remove #if 0 code.
3042 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3043 conditional code.
3044 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3045 * sysdeps/unix/sysv/linux/kernel-features.h
3046 (__ASSUME_GETCWD_SYSCALL): Don't define.
3047 (__ASSUME_REALTIME_SIGNALS): Likewise.
3048 (__ASSUME_PREAD_SYSCALL): Likewise.
3049 (__ASSUME_PWRITE_SYSCALL): Likewise.
3050 (__ASSUME_POLL_SYSCALL): Likewise.
3051 (__ASSUME_LCHOWN_SYSCALL): Likewise.
3052 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3053 non-SPARC.
3054 (__ASSUME_SIOCGIFNAME): Don't define.
3055 (__ASSUME_MSG_NOSIGNAL): Likewise.
3056 (__ASSUME_SENDFILE): Define unconditionally.
3057 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3058 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3059 conditional code.
3060 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3061 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3062 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3063 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3064 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3065 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3066 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3068 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3069 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3071 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3072 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3074 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3075 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3077 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3078 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3080 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3081 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3083 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3084 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3086 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3087 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3089 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3090 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3091 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3092 Remove conditional code.
3093 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3094 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3095 Remove conditional code.
3096 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3097 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3098 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3099 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3100 Remove conditional code.
3101 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3102 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3103 Remove conditional code.
3104 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3105 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3106 Remove conditional code.
3107 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3108 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3109 Remove conditional code.
3110 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3111 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3112 Remove conditional code.
3113 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3114 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3115 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3116 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3117 * sysdeps/unix/sysv/linux/sigaction.c
3118 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3119 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3120 * sysdeps/unix/sysv/linux/sigpending.c
3121 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3122 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3123 * sysdeps/unix/sysv/linux/sigprocmask.c
3124 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3125 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3126 * sysdeps/unix/sysv/linux/sigsuspend.c
3127 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3128 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3129 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3130 (__libc_missing_rt_sigs): Remove.
3131 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3132 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3133 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3134 Remove conditional code.
3135 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3136 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3137 return 1.
3138 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3139 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3140 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3141 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3142
1bfb7291
AJ
31432012-05-14 Andreas Jaeger <aj@suse.de>
3144
caae5a81
AJ
3145 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3146 it's not used in glibc.
3147 (__coshm1): Likewise.
3148 (__acosh1p): Likewise.
3149 (__sgn): Likewise.
3150
1bfb7291
AJ
3151 * manual/string.texi (Copying and Concatenation): Add missing
3152 variable in concat example.
3153 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3154
c044d724
L
31552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3156
144c5467 3157 [BZ #14103]
c044d724
L
3158 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3159 __builtin_clzl with __builtin_clzll.
3160
2523c62b
L
31612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3162
3163 [BZ #14104]
3164 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3165 libc_freeres_ptr.
3166
d7bb4c42
LD
31672012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3168
3169 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3170 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3171 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3172 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3173
9dc4e1fb
MF
31742012-05-14 Mike Frysinger <vapier@gentoo.org>
3175
3176 * NEWS: Update ia64 info.
3177
c7df0112
AS
31782012-05-12 Andreas Schwab <schwab@linux-m68k.org>
3179
3180 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3181 used as bcopy.
3182
dc70356c
TS
31832012-05-12 Thomas Schwinge <thomas@codesourcery.com>
3184
3185 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3186 * sysdeps/unix/syscalls.list (dup3): Likewise.
3187 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3188 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3189
9fb1a21f
L
31902012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3191
3192 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3193 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3194
4822a2a5
L
31952012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3196
3197 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3198 thread pointer.
3199 (TLS_IE): Use mov/add instead of movq/addq to load thread
3200 pointer.
3201 (TLS_GD_PREFIX): New.
3202 (TLS_GD): Use it.
3203
842b81d6
DM
32042012-05-11 David S. Miller <davem@davemloft.net>
3205
3206 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3207 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3208 (_FPU_SETCW): Likewise.
3209
1cf463cd
L
32102012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3211
3212 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3213 is 32-byte aligned.
3214
60cc4a18
AS
32152012-05-11 Andreas Schwab <schwab@linux-m68k.org>
3216
3217 [BZ #11837]
3218 * iconvdata/gb18030.c: Update tables.
3219 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
3220 characters specially.
3221 (BODY for TO_LOOP): Add encoding of missing ranges.
3222
febb44a4
TS
32232012-05-11 Thomas Schwinge <thomas@codesourcery.com>
3224
3225 [BZ #13673]
3226 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3227 * sysdeps/mach/hurd/dup3.c: Likewise.
3228 * sysdeps/mach/hurd/readlinkat.c: Likewise.
3229 * sysdeps/powerpc/memmove.c:: Likewise.
3230
0a10fb9e
L
32312012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3232
3233 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3234 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3235
df8a552f
L
32362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3237
3238 * elf/elf.h (R_X86_64_RELATIVE64): New.
3239 (R_X86_64_NUM): Updated.
3240 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3241 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
3242 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3243 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3244 tst-quad1pie tst-quad2pie
3245 (modules-names): Add tst-quadmod1 tst-quadmod2.
3246 ($(objpfx)tst-quad1): New dependency.
3247 ($(objpfx)tst-quad2): Likewise.
3248 ($(objpfx)tst-quad1pie): Likewise.
3249 ($(objpfx)tst-quad2pie): Likewise.
3250 * sysdeps/x86_64/tst-quad1.c: New file.
3251 * sysdeps/x86_64/tst-quad1pie.c: New file.
3252 * sysdeps/x86_64/tst-quad2.c: Likewise.
3253 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3254 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3255 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3256 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3257 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3258
f34d6f84
ST
32592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3260
f42d41d1
ST
3261 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3262 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3263 * streams/stropts.h (t_scalar_t): Define type.
3264
3c3571fc
ST
3265 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3266 (_PATH_PRESERVE): Set to "/var/lib".
3267 (_PATH_RWHODIR): Set to "/var/spool/rwho".
3268
61f06bd3
ST
3269 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3270 instead of int.
3271
918d4d71
ST
3272 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3273 if __dir_mkfile succeeded.
3274
f34d6f84
ST
3275 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3276 checking for _hurd_dtablesize. Unlock it right after having
3277 finished _hurd_dtable allocation.
3278
10589b4a
TS
32792012-05-10 Thomas Schwinge <thomas@schwinge.name>
3280
674cdbc7
TS
3281 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3282 * sysdeps/mach/hurd/configure: Regenerated.
3283 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3284 special-casing to...
3285 * sysdeps/gnu/configure.in: ... this new file.
3286 * sysdeps/unix/sysv/linux/configure: Regenerated.
3287 * sysdeps/gnu/configure: New generated file.
3288
8e41b99f
TS
3289 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3290 for Linux: use nsec instead of usec, as well as:
3291 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3292 members of type struct timespec.
3293 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3294 New macros.
3295 (struct stat64): Likewise.
3296 (_STATBUF_ST_NSEC): New macro.
3297 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3298
10589b4a
TS
3299 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3300 __strtoul_internal rather than strtoul.
3301
63643c85
PT
33022012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3303
3304 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3305 and reject them.
3306
3faebe6a
ST
33072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3308
3309 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3310 which preserves existing values.
3311 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3312
c6474b07
PT
33132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3314
3315 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3316 TIMEOUT values. Return EINVAL for NFDS values either negative or
3317 greater than FD_SETSIZE.
3318
1043890b
ST
33192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3320
3321 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3322 allocated, call __vm_protect to finish enabling the existing space, and
3323 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3324 allocate the remainder.
3325
37ed8b9b
PT
33262012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3327
3328 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3329 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
3330
db653660
ST
33312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3332
37ed8b9b
PT
3333 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3334 sysdeps/mach/hurd/readlink.c.
b29d4053 3335
db653660
ST
3336 * posix/tst-sysconf.c (posix_options): Only use
3337 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3338 _POSIX_SYNCHRONIZED_IO when they are defined
3339 * sysdeps/mach/hurd/bits/posix_opt.h:
3340 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3341 (_XOPEN_REALTIME): Undefine macro.
3342 (_XOPEN_REALTIME_THREADS): Undefine macro.
3343 (_XOPEN_SHM): Undefine macro.
3344 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3345 macro to -1.
3346 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3347 macro to -1.
3348 (_POSIX_ASYNC_IO): Undefine macro.
3349 (_POSIX_PRIORITIZED_IO): Undefine macro.
3350 (_POSIX_SPIN_LOCKS): Define macro to -1.
3351
ee16e894
ST
3352 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3353 SA_NODEFER, SA_RESETHAND.
3354 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3355 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3356 F_DUPFD_CLOEXEC.
3357
6103ae3b
TS
33582012-05-10 Thomas Schwinge <thomas@schwinge.name>
3359
3360 * elf/Makefile (pldd-modules): Define unconditionally.
3361
80b4e5f3
TS
33622012-05-10 Thomas Schwinge <thomas@schwinge.name>
3363
3364 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3365
edadcbd6
ST
33662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3367
3368 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3369 Return ENOENT when name is empty.
3370 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3371
80694780
TS
33722012-05-10 Thomas Schwinge <thomas@schwinge.name>
3373
1792c087
TS
3374 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
3375
80694780
TS
3376 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
3377
6b645f0d
ST
33782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3379
80694780
TS
3380 Fix mlock in all cases except non-readable pages.
3381 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
3382 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 3383
6b645f0d
ST
3384 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3385 (__mkdir): When path is `/', just fail with EEXIST.
3386 * sysdeps/mach/hurd/mkdirat.c: Likewise.
3387
e468f8a3
TS
33882012-05-10 Thomas Schwinge <thomas@schwinge.name>
3389
3390 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3391 <sys/uio.h> (for writev).
3392 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3393 and <sys/param.h> (for MIN).
3394
a4186cff
PT
33952012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3396
3397 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
3398 REQUESTED_TIME. Properly set the remaining time and return EINTR
3399 if interrupted.
3400
510bbf14
TS
34012012-05-10 Thomas Schwinge <thomas@schwinge.name>
3402
3403 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3404 Depend on against $(link-rpcuserlibs).
3405
5d5722e8
ST
34062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3407
a4186cff
PT
3408 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3409 (__libc_stack_end): Do not use attribute_relro.
3410 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3411 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 3412 to libthread-provided value.
a4186cff
PT
3413 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3414 attribute_relro.
5d5722e8 3415
37233df9
TS
34162012-05-10 Thomas Schwinge <thomas@schwinge.name>
3417
be971a2b
TS
3418 [BZ #3748]
3419 * bits/libc-lock.h (__libc_once_get): New macro.
3420 * sysdeps/mach/bits/libc-lock.h: Likewise.
3421 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3422 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3423 instead of using implementation details.
3424
37233df9
TS
3425 * libio/fileops.c: Unconditionally include <kernel-features.h>.
3426 * libio/freopen.c: Likewise.
3427 * libio/freopen64.c: Likewise.
3428 * misc/syslog.c: Likewise.
3429 * nscd/connections.c: Likewise.
3430 * nscd/netgroupcache.c: Likewise.
3431 * sysdeps/posix/getcwd.c: Likewise.
3432
38de94a5
RM
34332012-05-10 Roland McGrath <roland@hack.frob.com>
3434
3435 * math/w_ilogbf.c: Add #include <limits.h>.
3436
67530489
ST
34372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3438
a4186cff 3439 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
3440 path instead of returning without unlocking.
3441
67530489
ST
3442 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3443 immediate-write ioctls.
3444 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3445
5aa3a74a
TS
34462012-05-10 Thomas Schwinge <thomas@schwinge.name>
3447
18bad2ae
TS
3448 * sysdeps/mach/hurd/i386/init-first.c (init): Use
3449 __builtin_frame_address instead of making assumptions about the
3450 location of the return address relative to DATA. Force early load of
3451 the return address.
3452 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3453 __builtin_frame_address.
3454
5aa3a74a
TS
3455 dup3 for GNU Hurd.
3456 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3457 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3458 implement dup3 and do some further code clean-ups.
3459 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3460 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3461
ecd0de9a
ST
34622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3463
cd9fa985
ST
3464 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3465
a4186cff
PT
3466 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3467 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3468 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3469 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3470 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3471 d->port.lock.
802ca5a5 3472
a4186cff
PT
3473 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3474 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3475 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 3476
bcf55240
TS
34772012-05-10 Thomas Schwinge <thomas@schwinge.name>
3478
6960eb42
TS
3479 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3480 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3481 definitions.
3482
eb43375f
TS
3483 accept4 for GNU Hurd.
3484 * include/sys/socket.h (__libc_accept4): New prototype.
3485 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3486 to implement __libc_accept4.
3487 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3488 __libc_accept4.
3489 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3490
bcf55240
TS
3491 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3492 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3493 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3494 signal-defines.sym.
3495
6178c55b
ST
34962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3497
a4186cff 3498 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 3499
6f080c2f
TS
35002012-05-10 Thomas Schwinge <thomas@schwinge.name>
3501
3502 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3503 assertion on O_CLOEXEC flag.
3504 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3505 * hurd/intern-fd.c: Likewise.
3506 * hurd/port2fd.c: Likewise.
3507
bcfe3a54
ST
35082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3509
3510 [BZ #3906]
3511 * bits/in.h (IPV6_PKTINFO): Define new macro.
3512 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3513
89c9aa49
AZ
35142012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3515
3516 [BZ #13954]
3517 [BZ #13955]
3518 [BZ #13956]
3519 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3520 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3521 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3522 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3523 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3524 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3525 * math/libm-test.inc (logb_test) : Additional logb tests.
3526
021db4be
AJ
35272012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3528 Andreas Jaeger <aj@suse.de>
3529
3530 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3531 * configure: Regenerated.
3532 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3533 * config.make.in (link-obsolete-rpc): New substituted variable.
3534 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3535 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3536 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3537 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3538 so that libc.a contains the symbols.
3539 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3540 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3541 * sunrpc/auth_none.c: Likewise.
3542 * sunrpc/auth_unix.c: Likewise.
3543 * sunrpc/authdes_prot.c: Likewise.
3544 * sunrpc/authuxprot.c: Likewise.
3545 * sunrpc/clnt_gen.c: Likewise.
3546 * sunrpc/clnt_perr.c: Likewise.
3547 * sunrpc/clnt_raw.c: Likewise.
3548 * sunrpc/clnt_simp.c: Likewise.
3549 * sunrpc/clnt_tcp.c: Likewise.
3550 * sunrpc/clnt_udp.c: Likewise.
3551 * sunrpc/clnt_unix.c: Likewise.
3552 * sunrpc/des_crypt.c: Likewise.
3553 * sunrpc/des_soft.c: Likewise.
3554 * sunrpc/get_myaddr.c: Likewise.
3555 * sunrpc/key_call.c: Likewise.
3556 * sunrpc/key_prot.c: Likewise.
3557 * sunrpc/netname.c: Likewise.
3558 * sunrpc/pm_getmaps.c: Likewise.
3559 * sunrpc/pm_getport.c: Likewise.
3560 * sunrpc/pmap_clnt.c: Likewise.
3561 * sunrpc/pmap_prot.c: Likewise.
3562 * sunrpc/pmap_prot2.c: Likewise.
3563 * sunrpc/pmap_rmt.c: Likewise.
3564 * sunrpc/publickey.c: Likewise.
3565 * sunrpc/rpc_cmsg.c: Likewise.
3566 * sunrpc/rpc_common.c: Likewise.
3567 * sunrpc/rpc_dtable.c: Likewise.
3568 * sunrpc/rpc_prot.c: Likewise.
3569 * sunrpc/rpc_thread.c: Likewise.
3570 * sunrpc/rtime.c: Likewise.
3571 * sunrpc/svc.c: Likewise.
3572 * sunrpc/svc_auth.c: Likewise.
3573 * sunrpc/svc_raw.c: Likewise.
3574 * sunrpc/svc_run.c: Likewise.
3575 * sunrpc/svc_tcp.c: Likewise.
3576 * sunrpc/svc_udp.c: Likewise.
3577 * sunrpc/svc_unix.c: Likewise.
3578 * sunrpc/svcauth_des.c: Likewise.
3579 * sunrpc/xcrypt.c: Likewise.
3580 * sunrpc/xdr.c: Likewise.
3581 * sunrpc/xdr_array.c: Likewise.
3582 * sunrpc/xdr_float.c: Likewise.
3583 * sunrpc/xdr_intXX_t.c: Likewise.
3584 * sunrpc/xdr_mem.c: Likewise.
3585 * sunrpc/xdr_rec.c: Likewise.
3586 * sunrpc/xdr_ref.c: Likewise.
3587 * sunrpc/xdr_sizeof.c: Likewise.
3588 * sunrpc/xdr_stdio.c: Likewise.
3589
b5c086a2
RM
35902012-05-10 Roland McGrath <roland@hack.frob.com>
3591
3592 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3593 change. Update copyright years.
3594
6d74dd09
JM
35952012-05-10 Joseph Myers <joseph@codesourcery.com>
3596
3597 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3598
28e72501
MK
35992012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3600 Joseph Myers <joseph@codesourcery.com>
3601 Paul Pluzhnikov <ppluzhnikov@google.com>
3602
3603 [BZ #14012]
3604 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3605 requiring rpcgen.
3606 [cross-compiling] (extra-libs): Likewise.
3607 [cross-compiling] (extra-libs-others): Likewise.
3608 [cross-compiling] (librpcsvc-routines): Likewise.
3609 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3610 [cross-compiling] (omit-deps): Likewise.
3611 (sunrpc-CPPFLAGS): New variable.
3612 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3613 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3614 (cross-rpcgen-objs): New variable.
3615 (extra-objs): Append $(cross-rpcgen-objs).
3616 ($(cross-rpcgen-objs)): New rule.
3617 ($(objpfx)cross-rpcgen): Likewise.
3618 (rpcgen-cmd): Define to use $(built-program-file). Expand
3619 comment.
3620 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3621 ($(objpfx)x%.stmp): Likewise.
3622 * sunrpc/proto.h [IS_IN_build] (_): Define.
3623 [IS_IN_build] (_libc_intl_domainname): Likewise.
3624
c8c59454
L
36252012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3626
3627 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3628 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3629 and R_X86_64_TPOFF64.
3630
6f27cd16
JM
36312012-05-10 Joseph Myers <joseph@codesourcery.com>
3632
3633 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3634 sysdeps/unix/sysv/syscalls.list.
3635 (stime): Likewise.
3636 (utime): Likewise.
3637 * sysdeps/unix/sysv/syscalls.list: Remove file.
3638
02467e1c
PE
36392012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3640
3641 [BZ #3440]
3642 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3643 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3644 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3645 (__LC_IDENTIFICATION): Make these macros useful in #if
3646 expressions, as required by C99.
3647
da392631
AS
36482012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3649
3650 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3651 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3652 after this.
3653
8115f29b
L
36542012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3655
3656 * stdlib/longlong.h: Updated from GCC.
3657
bdd74070
AJ
36582012-05-09 Andreas Jaeger <aj@suse.de>
3659
edfe0dbe
AJ
3660 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3661 default is first entry.
3662 (run_mode): Set type.
3663 (main): Remove informal message about syslog.
3664 (options): Fix typo.
3665
bcfe3a54
ST
3666 [BZ #14053]
3667 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 3668 to asm.
bcfe3a54
ST
3669 (lrint): Likewise.
3670 (llrintf): Likewise.
3671 (llrint): Likewise.
3672 (rint): Likewise.
3673 (rintf): Likewise.
3674 (nearbyint): Likewise.
3675 (nearbyintf): Likewise.
bdd74070 3676
91d8d69e
AJ
36772012-05-09 Andreas Jaeger <aj@suse.de>
3678 Pedro Alves <palves@redhat.com>
3679
3680 * nscd/nscd.c (run_mode): Use enum.
3681 (main): Cleanup coding style issue.
3682
bb90b80b
AJ
36832012-05-09 Alexandre Oliva <aoliva@redhat.com>
3684 Andreas Jaeger <aj@suse.de>
3685
bcfe3a54
ST
3686 * nscd/nscd.c (go_background): Replaced with...
3687 (run_mode): ... this.
bb90b80b 3688 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
3689 (options): Add -F --foreground.
3690 (main): Implement it.
3691 (parse_opt): Parse it.
bb90b80b 3692
1a4b75a1
AJ
36932012-05-09 Andreas Jaeger <aj@suse.de>
3694
3695 [BZ #14083]
3696 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3697 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3698 -Wconversion warning.
3699 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3700 Likewise.
3701
b1cc2472
JM
37022012-05-09 Joseph Myers <joseph@codesourcery.com>
3703
3704 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3705 == 0.
3706 (LC_ALL): Use macro-int-constant.
3707 (LC_COLLATE): Likewise.
3708 (LC_CTYPE): Likewise.
3709 (LC_MESSAGES): Likewise.
3710 (LC_MONETARY): Likewise.
3711 (LC_NUMERIC): Likewise.
3712 (LC_TIME): Likewise.
3713 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3714 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3715 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3716 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3717 Specify type.
3718 [C99-based standards] (float_t): Expect type.
3719 [C99-based standards] (double_t): Expect type.
3720 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3721 type.
3722 [C99-based standards] (HUGE_VALL): Likewise.
3723 [C99-based standards] (INFINITY): Likewise.
3724 [C99-based standards] (NAN): Likewise.
3725 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3726 [C99-based standards] (FP_NAN): Likewise.
3727 [C99-based standards] (FP_NORMAL): Likewise.
3728 [C99-based standards] (FP_SUBNORMAL): Likewise.
3729 [C99-based standards] (FP_ZERO): Likewise.
3730 [C99-based standards] (FP_FAST_FMA): Use
3731 optional-macro-int-constant. Specify type. Require == 1.
3732 [C99-based standards] (FP_FAST_FMAF): Likewise.
3733 [C99-based standards] (FP_FAST_FMAL): Likewise.
3734 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3735 [C99-based standards] (FP_ILOGBNAN): Likewise.
3736 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3737 Specify type.
3738 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3739 [C99-based standards] (math_errhandling): Specify type.
3740 [ISO99 || ISO11] (signgam): Do not allow.
3741 [non-C99-based standards] (copysignf): Do not allow.
3742 [non-C99-based standards] (exp2f): Likewise.
3743 [non-C99-based standards] (log2f): Likewise.
3744 [non-C99-based standards] (modff): Allow.
3745 [non-C99-based standards] (erff): Do not allow.
3746 [non-C99-based standards] (erfcf): Likewise.
3747 [non-C99-based standards] (gammaf): Likewise.
3748 [non-C99-based standards] (hypotf): Likewise.
3749 [non-C99-based standards] (j0f): Likewise.
3750 [non-C99-based standards] (j1f): Likewise.
3751 [non-C99-based standards] (jnf): Likewise.
3752 [non-C99-based standards] (lgammaf): Likewise.
3753 [non-C99-based standards] (tgammaf): Likewise.
3754 [non-C99-based standards] (y0f): Likewise.
3755 [non-C99-based standards] (y1f): Likewise.
3756 [non-C99-based standards] (ynf): Likewise.
3757 [non-C99-based standards] (isnanf): Likewise.
3758 [non-C99-based standards] (acoshf): Likewise.
3759 [non-C99-based standards] (asinhf): Likewise.
3760 [non-C99-based standards] (atanhf): Likewise.
3761 [non-C99-based standards] (cbrtf): Likewise.
3762 [non-C99-based standards] (expm1f): Likewise.
3763 [non-C99-based standards] (ilogbf): Likewise.
3764 [non-C99-based standards] (log1pf): Likewise.
3765 [non-C99-based standards] (logbf): Likewise.
3766 [non-C99-based standards] (nextafterf): Likewise.
3767 [non-C99-based standards] (remainderf): Likewise.
3768 [non-C99-based standards] (rintf): Likewise.
3769 [non-C99-based standards] (scalbf): Likewise.
3770 [non-C99-based standards] (copysignl): Likewise.
3771 [non-C99-based standards] (exp2l): Likewise.
3772 [non-C99-based standards] (log2l): Likewise.
3773 [non-C99-based standards] (modfl): Allow.
3774 [non-C99-based standards] (erfl): Do not allow.
3775 [non-C99-based standards] (erfcl): Likewise.
3776 [non-C99-based standards] (gammal): Likewise.
3777 [non-C99-based standards] (hypotl): Likewise.
3778 [non-C99-based standards] (j0l): Likewise.
3779 [non-C99-based standards] (j1l): Likewise.
3780 [non-C99-based standards] (jnl): Likewise.
3781 [non-C99-based standards] (lgammal): Likewise.
3782 [non-C99-based standards] (tgammal): Likewise.
3783 [non-C99-based standards] (y0l): Likewise.
3784 [non-C99-based standards] (y1l): Likewise.
3785 [non-C99-based standards] (ynl): Likewise.
3786 [non-C99-based standards] (isnanl): Likewise.
3787 [non-C99-based standards] (acoshl): Likewise.
3788 [non-C99-based standards] (asinhl): Likewise.
3789 [non-C99-based standards] (atanhl): Likewise.
3790 [non-C99-based standards] (cbrtl): Likewise.
3791 [non-C99-based standards] (expm1l): Likewise.
3792 [non-C99-based standards] (ilogbl): Likewise.
3793 [non-C99-based standards] (log1pl): Likewise.
3794 [non-C99-based standards] (logbl): Likewise.
3795 [non-C99-based standards] (nextafterl): Likewise.
3796 [non-C99-based standards] (remainderl): Likewise.
3797 [non-C99-based standards] (rintl): Likewise.
3798 [non-C99-based standards] (scalbl): Likewise.
3799 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3800 [non-C99-based standards] (FP_*): Do not allow.
3801 [C99-based standards] (FP_*): Change to
3802 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3803 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3804 allow.
3805 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3806 (SIG_ERR): Likewise.
3807 [X/Open-based standards] (SIG_HOLD): Likewise.
3808 (SIG_IGN): Likewise.
3809 (SIGABRT): Use macro-int-constant. Specify type. Require
3810 positive value.
3811 (SIGFPE): Likewise.
3812 (SIGILL): Likewise.
3813 (SIGINT): Likewise.
3814 (SIGSEGV): Likewise.
3815 (SIGTER): Likewise.
3816 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3817 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3818 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3819 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3820 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3821 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3822 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3823 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3824 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3825 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3826 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3827 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3828 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3829 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3830 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3831 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3832 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3833 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3834 [X/Open-based standards] (SIGTRAP): Likewise.
3835 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3836 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3837 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3838 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3839 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3840 allow.
3841
b9f1922d
IW
38422012-05-08 Ian Wienand <ianw@vmware.com>
3843
3844 [BZ #14080]
3845 * time/tzset.c (__tzset_parse_tz): Update default rules for
3846 daylight time changes in the Energy Policy Act of 2005.
3847
1db86e88
AJ
38482012-05-09 Andreas Jaeger <aj@suse.de>
3849
3850 [BZ #13983]
3851 * elf/ldconfig.c (parse_conf): Change string to make clear that
3852 ldconfig only issued a warning if ld.so.conf does not exist.
3853
dee4a4e3
DM
38542012-05-08 David S. Miller <davem@davemloft.net>
3855
ee0db190
DM
3856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3857 movxtod instead of popping the value on the stack.
3858
dee4a4e3
DM
3859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3860
6a43ec98
CD
38612012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3862
3863 * config.h.in: Add HAVE_ARM_PCS_VFP.
3864
05c2c961
RMG
38652012-05-08 Roland Mc Grath <roland@hack.frob.com>
3866
bcfe3a54
ST
3867 [BZ #13979]
3868 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3869 checking but the checks are disabled for any reason.
05c2c961 3870
4b30f61a
L
38712012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3872
3873 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3874 and ELF64_R_TYPE with ELFW(R_TYPE).
3875
eee2bc67
JM
38762012-05-08 Joseph Myers <joseph@codesourcery.com>
3877
7ea5391a
JM
3878 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3879 (ulimit): Likewise.
3880
eee2bc67
JM
3881 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3882 (settimeofday): Likewise.
3883
abb66a67
MF
38842012-05-08 Mike Frysinger <vapier@gentoo.org>
3885
3886 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3887 a struct th_u2 inside the union, and move tu_block/tu_code into
3888 a new th_u3 union of tu_block/tu_code inside of that. Move
3889 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3890 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3891 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3892 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3893 (th_stuff): Change to th_u1.tu_stuff.
3894 (th_data): Define.
3895 (th_msg): Change to th_u1.th_u2.tu_data.
3896
7f18b530
DM
38972012-05-07 David S. Miller <davem@davemloft.net>
3898
05760585
DM
3899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3900
7f18b530
DM
3901 [BZ #14074]
3902 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3903 (SETUP_PIC_REG): Use it.
3904 (SETUP_PIC_REG_LEAF): Use it.
3905
495fd99f
JM
39062012-05-07 Joseph Myers <joseph@codesourcery.com>
3907
3908 [BZ #13885]
3909 [BZ #13923]
3910 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3911 USE_AS_EXPM1L.
3912 (EXPL_FINITE): Likewise.
3913 (FLDLOG): Likewise.
3914 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3915 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3916 e_expl.S.
3917 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3918 USE_AS_EXPM1L.
3919 (EXPL_FINITE): Likewise.
3920 (FLDLOG): Likewise.
3921 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3922 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3923 e_expl.S.
3924 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3925 test of -max_value argument for long double.
3926 * sysdeps/i386/fpu/libm-test-ulps: Update.
3927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3928
6693d694
DM
39292012-05-06 David S. Miller <davem@davemloft.net>
3930
3931 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3932 quad soft-float symbols whose references which are compiler
3933 generated.
3934 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3935
6c23e11c
JM
39362012-05-06 Joseph Myers <joseph@codesourcery.com>
3937
d8b82cad
JM
3938 [BZ #13884]
3939 [BZ #13914]
3940 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3941 USE_AS_EXP10L.
3942 (EXPL_FINITE): Likewise.
3943 (FLDLOG): Likewise.
3944 (c0): Likewise.
3945 (c1): Likewise.
3946 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3947 Adjust comments for base varying.
3948 (__expl_finite): Change alias to EXPL_FINITE.
3949 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3950 e_expl.S.
3951 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3952 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3953 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3954 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3955 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3956 USE_AS_EXP10L.
3957 (EXPL_FINITE): Likewise.
3958 (FLDLOG): Likewise.
3959 (c0): Likewise.
3960 (c1): Likewise.
3961 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3962 Adjust comments for base varying.
3963 (__expl_finite): Change alias to EXPL_FINITE.
3964 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3965 tests for bugs.
3966 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3967
6c23e11c
JM
3968 [BZ #14064]
3969 * math/libm-test.inc (check_float_internal): Correct ulp
3970 calculation for subnormal expected results.
3971
29ba805c
AJ
39722012-05-06 Andreas Jaeger <aj@suse.de>
3973
3974 * Makeconfig (+math-flags): New, set to -frounding-math.
3975 (+cflags): Add +math-flags so that all of glibc gets compiled with
3976 it.
3977
3978 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3979
7b17aeda
JM
39802012-05-05 Joseph Myers <joseph@codesourcery.com>
3981
5779f134
JM
3982 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3983 Disable one test.
3984
41498f4d
JM
3985 [BZ #13787]
3986 [BZ #13922]
3987 [BZ #14036]
3988 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3989 (__ieee754_expl): Allow for and saturate large arguments.
3990 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3991 (u_threshold): Likewise.
3992 (__exp): Call __ieee754_exp before checking for overflow and
3993 underflow.
3994 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3995 (u_threshold): Likewise.
3996 (__expf): Call __ieee754_expf before checking for overflow and
3997 underflow.
3998 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3999 (u_threshold): Likewise.
4000 (__expl): Call __ieee754_expl before checking for overflow and
4001 underflow.
4002 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4003 (__ieee754_expl): Allow for and saturate large arguments.
4004 * math/libm-test.inc (exp_test): Add another test. Do not allow
4005 missing overflow exception on overflow.
4006 (expm1_test): Do not allow missing overflow exception on overflow.
4007
6698b8bf
JM
4008 * sysdeps/i386/fpu/e_expl.c: Move to ...
4009 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
4010 rather than using inline asm.
4011 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4012 * sysdeps/x86_64/fpu/e_expl.S: Copy from
4013 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4014
7b17aeda
JM
4015 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4016 (nice): Likewise.
4017 (poll): Likewise.
4018 (signal): Likewise.
4019 (time): Likewise.
4020 (times): Likewise.
4021
f7c85819
JM
40222012-05-04 Joseph Myers <joseph@codesourcery.com>
4023
4024 * sysdeps/unix/syscalls.list (adjtime): Add entry from
4025 sysdeps/unix/common/syscalls.list.
4026 (fchmod): Likewise.
4027 (fchown): Likewise.
4028 (ftruncate): Likewise.
4029 (getrusage): Likewise.
4030 (gettimeofday): Likewise.
4031 (setpgid): Likewise.
4032 (setregid): Likewise.
4033 (setreuid): Likewise.
4034 (sigaction): Likewise.
4035 (truncate): Likewise.
4036 (vhangup): Likewise.
4037 * sysdeps/unix/common/syscalls.list: Remove file.
4038 * sysdeps/unix/bsd/Implies: Don't include unix/common.
4039 * sysdeps/unix/sysv/linux/Implies: Likewise.
4040
336270d0
L
40412012-05-04 H.J. Lu <hongjiu.lu@intel.com>
4042
4043 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4044 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4045 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4046 Moved to ...
4047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4048 Here.
4049 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4050 to ...
4051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4052 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4053 to ...
4054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4055 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4056 to ...
4057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4058 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4059 to ...
4060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4061 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4062 to ...
4063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4064 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4065 to ...
4066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4067 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4068 to ...
4069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4070 Here.
4071 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4072 to ...
4073 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4074 Here.
4075 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4076 to ...
4077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4078 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4079 Moved to ...
4080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4081 Here.
4082 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4083 to ...
4084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4085
d128e450
JM
40862012-05-04 Joseph Myers <joseph@codesourcery.com>
4087
fa8ee516
JM
4088 * sysdeps/unix/common/bits/dirent.h: Remove file.
4089 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4090
d128e450
JM
4091 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4092 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4093 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4094 * sysdeps/unix/bsd/isatty.c: Likewise.
4095 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4096 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4097 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4098
ff8faaf0 40992012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 4100
62881be4 4101 [BZ #13563]
31dc8730
AZ
4102 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4103 long double comparison inaccuracies.
4104 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4106
6fef930c
AS
41072012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4108
4109 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4110 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4111
8f203e6c
JM
41122012-05-04 Joseph Myers <joseph@codesourcery.com>
4113
4114 [BZ #14049]
4115 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4116 nonzero digits before rounding a hex value.
4117 * stdlib/tst-strtod.c (tests): Add another test.
4118
5197d9c2
AK
41192012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4120
4121 * sysdeps/s390/fpu/libm-test-ulps: Update.
4122
f0c1dedf
AJ
41232012-05-03 Andreas Jaeger <aj@suse.de>
4124
4125 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4126 does not get optimized out.
4127 (malloc_opt_barrier): New.
4128
a65ef2ae 41292012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 4130 Roland McGrath <roland@hack.frob.com>
a65ef2ae 4131
2b942cb7 4132 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 4133 intermediate file deletion.
2b942cb7 4134 (generated): Add .symlist files.
a65ef2ae 4135
54b71e02
JM
41362012-05-03 Joseph Myers <joseph@codesourcery.com>
4137
4138 [BZ #13775]
4139 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4140 Redirect under this condition.
4141 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4142 [__USE_GNU] (__dprintf_chk): Not under this condition.
4143 [__USE_GNU] (__vdprintf_chk): Likewise.
4144 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4145 under this condition.
4146 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4147 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4148 [__USE_XOPEN2K8] (vdprintf): Likewise.
4149 [__USE_GNU] (__dprintf_chk): Not under this condition.
4150 [__USE_GNU] (__vdprintf_chk): Likewise.
4151 [__USE_GNU] (dprintf): Likewise.
4152 [__USE_GNU] (vdprintf): Likewise.
4153
d3dfcc41
RM
41542012-05-03 Roland McGrath <roland@hack.frob.com>
4155
4156 * elf/Makefile (common-generated): Set this instead of generated for
4157 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
4158 $(all-built-dso)-derived lists.
4159
7ac30cc5
AJ
41602012-05-03 Andreas Jaeger <aj@suse.de>
4161
0c51e550
AJ
4162 * sysdeps/i386/fpu/libm-test-ulps: Update.
4163
7ac30cc5
AJ
4164 * FAQ: Removed.
4165 * FAQ.in: Likewise.
4166 * scripts/gen-FAQ.pl: Likewise.
4167 * manual/install.texi (Installation): Point to online location of
4168 FAQ.
4169 * Makefile (files-for-dist): Remove FAQ.
4170 (FAQ): Remove.
4171
d4c2917f
AM
41722012-05-02 Allan McRae <allan@archlinux.org>
4173
4174 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4175 (LDFLAGS-reldepmod5.so): Likewise.
4176 (LDFLAGS-reldep6mod1.so): Likewise.
4177 (LDFLAGS-reldep6mod4.so): Likewise.
4178 (LDFLAGS-reldep8mod3.so): Likewise.
4179 (LDFLAGS-unload4mod1.so): Likewise.
4180 (LDFLAGS-unload4mod2.so): Likewise.
4181 (LDFLAGS-tst-initorder): Likewise.
4182 (LDFLAGS-tst-initordera2.so): Likewise.
4183 (LDFLAGS-tst-initordera3.so): Likewise.
4184 (LDFLAGS-tst-initordera4.so): Likewise.
4185 (LDFLAGS-tst-initorderb2.so): Likewise.
4186 (LDFLAGS-noload): Likewise.
4187 (LDFLAGS-next): Likewise.
4188 (LDFLAGS-order2mod1.so): Likewise.
4189 (LDFLAGS-order2mod2.so): Likewise.
4190 (LDFLAGS-tst-initorder2): Likewise.
4191 (LDFLAGS-tst-initorder2a.so): Likewise.
4192 (LDFLAGS-tst-initorder2b.so): Likewise.
4193 (LDFLAGS-tst-initorder2c.so): Likewise.
4194 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4195
d77f993f
DM
41962012-05-02 David S. Miller <davem@davemloft.net>
4197
4198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4199
171a70b4
PP
42002012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4201
4202 [BZ #14055]
4203 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4204
0be196ad
AJ
42052012-05-02 Andreas Jaeger <aj@suse.de>
4206
4207 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4208 since we manipulate rounding mode.
4209 (CPPFLAGS-test-idouble.c): Likewise.
4210 (CPPFLAGS-test-ifloat.c): Likewise.
4211 (CFLAGS-test-ldouble.c): Likewise.
4212 (CFLAGS-test-double.c): Likewise.
4213 (CFLAGS-test-float.c): Likewise.
4214 (CFLAGS-test-misc.c): Likewise.
4215 (CFLAGS-test-test-fenv.c): Likewise.
4216
4f9d04aa
AZ
42172012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4218
2b942cb7
RM
4219 [BZ #2550]
4220 [BZ #2570]
4221 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4222 comparisons to determine direction to adjust input.
4f9d04aa 4223
82a79e7d
RM
42242012-05-01 Roland McGrath <roland@hack.frob.com>
4225
f5a01ca9
RM
4226 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4227 output to the target.
4228
90fe4186
RM
4229 * scripts/localplt.awk: New file.
4230 * elf/Makefile ($(objpfx)check-localplt): Target removed.
4231 (check-localplt-CFLAGS): Variable removed.
4232 ($(all-built-dso:=.jmprel)): New static pattern rule.
4233 (generated): Add those targets.
4234 (localplt-built-dso): New variable.
4235 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4236
4237 * elf/check-localplt.c: File removed.
4238
82397ed6
RM
4239 * scripts/check-execstack.awk: New file.
4240 * elf/Makefile ($(objpfx)check-execstack): Target removed.
4241 (check-execstack-CFLAGS): Variable removed.
4242 ($(objpfx)check-execstack.h): Target removed.
4243 ($(objpfx)execstack-default): New target.
4244 (generated): Add that instead of check-execstack.h.
4245 ($(all-built-dso:=.phdr)): New static pattern rule.
4246 (generated): Add those targets.
4247 * elf/check-execstack.c: File removed.
4248
82a79e7d
RM
4249 * scripts/check-textrel.awk: New file.
4250 * elf/Makefile ($(objpfx)check-textrel): Target removed.
4251 (check-textrel-CFLAGS): Variable removed.
4252 (all-built-dso): Use := to define.o
4253 ($(all-built-dso:=.dyn)): New static pattern rule.
4254 (generated): Add those targets.
4255 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4256 * config.make.in (READELF): New substituted variable.
4257 * elf/check-textrel.c: File removed.
4258
62fde54f 42592012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 4260
615605c9
JM
4261 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4262 allow.
4263 * conform/data/ctype.h-data [C99-based standards] (isblank):
4264 Expect function.
4265 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4266 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4267 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4268 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4269 Specify type. Require positive value.
4270 (EILSEQ): Likewise.
4271 (ERANGE): Likewise.
4272 [ISO || POSIX] (EILSEQ): Do not expect.
4273 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4274 Specify type. Require positive value.
4275 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4276 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4277 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4278 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4279 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4280 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4281 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4282 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4283 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4284 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4285 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4286 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4287 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4288 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4289 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4290 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4291 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4292 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4293 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4294 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4295 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4296 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4297 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4298 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4299 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4300 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4301 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4302 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4303 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4304 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4305 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4306 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4307 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4308 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4309 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4310 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4311 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4312 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4313 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4314 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4315 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4316 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4317 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4318 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4319 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4320 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4321 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4322 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4323 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4324 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4325 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4326 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4327 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4328 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4329 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4330 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4331 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4332 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4333 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4334 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4335 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4336 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4337 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4338 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4339 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4340 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4341 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4342 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4343 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4344 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4345 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4346 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4347 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4348 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4349 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4350 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4351 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4352 Require >= 2.
4353 (FLT_ROUNDS): Expect as macro, not constant.
4354 (FLT_MANT_DIG): Use macro-int-constant.
4355 (DBL_MANT_DIG): Likewise.
4356 (LDBL_MANT_DIG): Likewise.
4357 (FLT_DIG): Likewise.
4358 (DBL_DIG): Likewise.
4359 (LDBL_DIG): Likewise.
4360 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
4361 (DBL_MIN_EXP): Likewise.
4362 (LDBL_MIN_EXP): Likewise.
4363 (FLT_MAX_EXP): Use macro-int-constant.
4364 (DBL_MAX_EXP): Likewise.
4365 (LDBL_MAX_EXP): Likewise.
4366 (FLT_MAX_10_EXP): Likewise.
4367 (DBL_MAX_10_EXP): Likewise.
4368 (LDBL_MAX_10_EXP): Likewise.
4369 (FLT_MAX): Use macro-constant.
4370 (DBL_MAX): Likewise.
4371 (LDBL_MAX): Likewise.
4372 (FLT_EPSILON): Use macro-constant. Give upper bound.
4373 (DBL_EPSILON): Likewise.
4374 (LDBL_EPSILON): Likewise.
4375 (FLT_MIN): Likewise.
4376 (DBL_MIN): Likewise.
4377 (LDBL_MIN): Likewise.
4378 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
4379 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
4380 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
4381 [ISO11] (FLT_HAS_SUBNORM): Likewise.
4382 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
4383 [ISO11] (DBL_DECIMAL_DIG): Likewise.
4384 [ISO11] (FLT_DECIMAL_DIG): Likewise.
4385 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4386 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4387 [ISO11] (FLT_TRUE_MIN): Likewise.
4388 [ISO11] (LDBL_TRUE_MIN): Likewise.
4389 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4390 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4391 (SCHAR_MIN): Use macro-int-constant. Specify type.
4392 (SCHAR_MAX): Likewise.
4393 (UCHAR_MAX): Likewise.
4394 (CHAR_MIN): Likewise.
4395 (CHAR_MAX): Likewise.
4396 (MB_LEN_MAX): Use macro-int-constant.
4397 (SHRT_MIN): Use macro-int-constant. Specify type.
4398 (SHRT_MAX): Likewise.
4399 (USHRT_MAX): Likewise.
4400 (INT_MAX): Likewise.
4401 (INT_MIN): Use macro-int-constant. Specify type. Make upper
4402 bound negative.
4403 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
4404 bound with "U".
4405 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4406 bound with "L".
4407 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
4408 bound negative. Suffix upper bound with "L".
4409 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4410 bound with "UL".
4411 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4412 Specify type.
4413 [C99-based standards] (LLONG_MAX): Likewise.
4414 [C99-based standards] (ULLONG_MAX): Likewise.
4415 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
4416 == 0.
4417 [ISO11] (max_align_t): Require type.
4418 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4419
c9140a62
JM
4420 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4421 from $CFLAGS, without defining away __attribute__ calls.
4422 (checknamespace): Use $CFLAGS_namespace.
4423
9af0bf29
JM
4424 * conform/conformtest.pl (@keywords): Only include C99 keywords
4425 for standards based on C99 or C11.
4426
343222a2
JM
4427 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4428 Disable tests.
4429 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4430 UNIX98]: Likewise.
4431
661f8cf0
JM
4432 * conform/conformtest.pl: Handle "macro-int-constant" and test for
4433 usability of symbols in #if.
4434
ee74b9cb
JM
4435 * conform/conformtest.pl: If macro or constant types start
4436 "promoted:", expect the symbol to be of the following type
4437 promoted by the integer promotions.
62fde54f 4438
aafc49b3
JM
4439 * conform/conformtest.pl: Parse all "constant" and "macro" lines
4440 in one place. Also handle "macro-constant".
4441
fefdf574
JM
4442 * conform/conformtest.pl: Only accept expected macro values with
4443 "==". Parse all "macro" lines in one place.
4444 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4445
f2d922fe
JM
4446 * conform/conformtest.pl: Handle braced types on "constant" lines
4447 instead of handling "typed-constant".
4448 * conform/data/signal.h-data: Use "constant" instead of
4449 "typed-constant".
4450
d22956c9
JM
4451 * conform/conformtest.pl: Handle "optional-" at start of lines in
4452 one place rather than duplicating several cases. Handle each
4453 format of "macro" line with initial "optional-".
4454
028e2e38
JM
4455 * conform/conformtest.pl: Only accept expected constant or
4456 optional-constant values with "==". Parse all "constant" lines in
4457 one place. Parse all "optional-constant" lines in one place.
4458 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4459 * conform/data/fmtmsg.h-data: Likewise.
4460 * conform/data/netinet/in.h-data: Likewise.
4461 * conform/data/tar.h-data: Likewise.
4462 * conform/data/limits.h-data: Use "==" form on "constant" and
4463 "optional-constant" lines.
4464
1b8f2850
JM
4465 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4466 Use -std=c99 for XOPEN2K.
4467 (@knownproblems): Remove.
4468 (newtoken): Don't check %isknown.
4469
a05a144b
JM
4470 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4471 Do not expect macro.
4472 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4473 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4474 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4475 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4476 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4477 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4478 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4479 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4480 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4481 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4482 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4483 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4484 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4485 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4486 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4487 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4488 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4489 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4490 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4491 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4492 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4493 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4494 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4495 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4496 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4497 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4498 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4499 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4500 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4501 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4502 [XPG3] (acosh): Likewise.
4503 [XPG3] (asinh): Likewise.
4504 [XPG3] (atanh): Likewise.
4505 [XPG3] (cbrt): Likewise.
4506 [XPG3] (expm1): Likewise.
4507 [XPG3] (ilogb): Likewise.
4508 [XPG3] (log1p): Likewise.
4509 [XPG3] (logb): Likewise.
4510 [XPG3] (nextafter): Likewise.
4511 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4512 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4513 [XPG3] (remainder): Likewise.
4514 [XPG3] (rint): Likewise.
4515 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4516 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4517 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4518 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4519 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4520 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4521 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4522 [UNIX98 || XOPEN2K] (scalb): Expect.
4523 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4524 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4525 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4526 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4527 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4528 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4529 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4530 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4531 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4532 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4533 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4534 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4535 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4536 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4537 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4538 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4539 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4540 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4541 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4542 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4543 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4544 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4545 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4546 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4547 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4548 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4549 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4550 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4551 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4552 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4553 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4554 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4555 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4556 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4557 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4558 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4559 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4560 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4561 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4562 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4563 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4564 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4565 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4566 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4567 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4568 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4569 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4570 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4571 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4572 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4573 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4574 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4575 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4576 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4577 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4578 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4579 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4580 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4581 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4582 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4583 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4584 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4585 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4586 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4587 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4588 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4589 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4590 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4591 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4592 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4593 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4594 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4595 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4596 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4597 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4598 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4599 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4600 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4601 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4602 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4603 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4604 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4605 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4606 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4607 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4608 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4609 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4610 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4611 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4612 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4613 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4614 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4615 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4616 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4617 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4618 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4619 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4620 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4621 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4622 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4623 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4624 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4625 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4626 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4627 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4628 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4629 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4630 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4631 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4632 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4633 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4634 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4635 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4636 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4637 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4638 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4639 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4640 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4641 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4642 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4643 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4644 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4645 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4646 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4647 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4648 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4649 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4650 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4651 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4652 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4653 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4654 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4655 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4656 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4657 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4658 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4659 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4660
73c5ebe3
JM
4661 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4662 _XOPEN_SOURCE_EXTENDED for XPG4.
4663
39c33b6c
JM
4664 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4665
62fde54f
JM
4666 * Makeconfig (localtime): Remove variable.
4667 (inst_localtime-file): Likewise.
4668
0741d64c
AS
46692012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4670
4671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4672 Update.
4673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4674 Update.
4675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4676 Update.
4677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4678 Update.
4679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4680 Update.
4681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4682 Update.
4683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4684 Update.
4685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4686 Update.
4687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4688 Update.
4689
7cb029ee
JM
46902012-05-01 Joseph Myers <joseph@codesourcery.com>
4691
4692 [BZ #2550]
4693 [BZ #2570]
4694 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4695 comparisons to determine direction to adjust input.
4696 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4697 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4698 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4699 Likewise.
4700 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4701 Likewise.
4702 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4703 Likewise.
4704 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4705 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4706 Likewise.
4707 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4708 Likewise.
4709 * math/libm-test.inc (nexttoward_test): Add more tests.
4710
412bd966
AS
47112012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4712
4713 [BZ #14040]
4714 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4715 in version GLIBC_2.1, not GLIBC_2.0.
4716 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4717 Likewise.
4718
9568c0c2
JM
47192012-04-30 Joseph Myers <joseph@codesourcery.com>
4720
adfbc8ac
JM
4721 [BZ #13942]
4722 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4723 (1 - x) * (1 + x).
4724 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4725 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4726 * math/libm-test.inc (acos_test): Add more tests.
4727 (asin_test): Likewise.
4728 * sysdeps/i386/fpu/libm-test-ulps: Update.
4729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4730
5ba3cc69
JM
4731 [BZ #14034]
4732 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4733 of square root.
4734 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4735 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4736 * math/libm-test.inc (acos_test_tonearest): New function.
4737 (acos_test_towardzero): Likewise.
4738 (acos_test_downward): Likewise.
4739 (acos_test_upward): Likewise.
4740 (asin_test_tonearest): Likewise.
4741 (asin_test_towardzero): Likewise.
4742 (asin_test_downward): Likewise.
4743 (asin_test_upward): Likewise.
4744 (main): Call the new functions.
4745 * sysdeps/i386/fpu/libm-test-ulps: Update.
4746 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4747
9568c0c2
JM
4748 [BZ #13884]
4749 [BZ #13924]
4750 * math/e_exp10.c: Include <float.h>.
4751 (__ieee754_exp10): Handle underflow here rather than multiplying
4752 large negative argument by M_LN10.
4753 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4754 of __ieee754_expf.
4755 * math/e_exp10l.c: Include <float.h>.
4756 (__ieee754_exp10l): Handle underflow here rather than multiplying
4757 large negative argument by M_LN10l.
4758 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4759 spurious overflow exception on underflow.
4760
5ac3ea17
MP
47612012-04-29 Marek Polacek <polacek@redhat.com>
4762
4763 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4764 (__fortify_function): New macro.
4765 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4766 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4767 __extern_always_inline.
4768 * libio/bits/stdio2.h: Likewise.
4769 * libio/bits/stdio.h: Likewise.
4770 * string/string.h: Likewise.
4771 * string/bits/string3.h: Likewise.
4772 * include/stdio.h: Likewise.
4773 * stdlib/bits/stdlib.h: Likewise.
4774 * stdlib/stdlib.h: Likewise.
4775 * rt/bits/mqueue2.h: Likewise.
4776 * rt/mqueue.h: Likewise.
4777 * posix/bits/unistd.h: Likewise.
4778 * posix/unistd.h: Likewise.
4779 * io/bits/poll2.h: Likewise.
4780 * io/bits/fcntl2.h: Likewise.
4781 * io/fcntl.h: Likewise.
4782 * io/sys/poll.h: Likewise.
4783 * misc/bits/syslog.h: Likewise.
4784 * misc/bits/syslog-ldbl.h: Likewise.
4785 * misc/sys/syslog.h: Likewise.
4786 * socket/bits/socket2.h: Likewise.
4787 * socket/sys/socket.h: Likewise.
4788 * debug/tst-chk1.c: Likewise.
4789 * wcsmbs/bits/wchar2.h: Likewise.
4790 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4791 * wcsmbs/wchar.h: Likewise.
4792
ecf0ebfb
AJ
47932012-04-29 Andreas Jaeger <aj@suse.de>
4794
4795 * Makerules (tests): Remove enable-check-abi protection.
4796 (check-abi-warn): Remove.
4797 (check-abi-%): Remove check-abi-warn usage.
4798
4799 * configure.in: Remove check-abi configure option.
4800 * configure: Regenerated.
4801 * config.make.in (enable-check-abi): Remove.
4802
6d5c57fa
AS
48032012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4804
24c5d07e 4805 [BZ #14033]
ded5180a
AS
4806 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4807 double functions to double *_finite functions.
4808
7e0d315d
AS
4809 [BZ #13941]
4810 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4811 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4812 LDBL_MIN_EXP.
4813 * stdio-common/Makefile (tests): Add tst-sprintf3.
4814 * stdio-common/tst-sprintf3.c: New file.
4815
6d5c57fa
AS
4816 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4817 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4818
0749ff8b
JM
48192012-04-28 Joseph Myers <joseph@codesourcery.com>
4820
4821 * conform/conformtest.pl: Remove duplicate typed-constant
4822 handling.
4823
8dbd5d7b
DM
48242012-04-28 David S. Miller <davem@davemloft.net>
4825
4826 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4827 (check-abi-%): Remove AWK script prerequisite and explicit
4828 abilist directory.
4829 (check-abi): Rewrite to just diff the symlist with the abilist.
4830 (config-tls, config-abi-config): Delete, no longer used.
4831 (update-abi-%): Remove AWK script and explicit abilist directory.
4832 (update-abi): Rewrite to simply compare and conditionally copy the
4833 symlist and the sysdep abilist file. Remove update-abi-config
4834 checks.
4835 * abilist/ld.abilist: Remove.
4836 * abilist/libBrokenLocale.abilist: Remove.
4837 * abilist/libanl.abilist: Remove.
4838 * abilist/libcrypt.abilist: Remove.
4839 * abilist/libdl.abilist: Remove.
4840 * abilist/librt.abilist: Remove.
4841 * abilist/libthread_db.abilist: Remove.
4842 * abilist/libutil.abilist: Remove.
4843 * scripts/extract-abilist.awk: Remove.
4844 * scripts/merge-abilist.awk: Remove.
4845 * sysdeps/generic/libcidn.abilist: New file.
4846 * sysdeps/generic/libnss_compat.abilist: New file.
4847 * sysdeps/generic/libnss_db.abilist: New file.
4848 * sysdeps/generic/libnss_dns.abilist: New file.
4849 * sysdeps/generic/libnss_files.abilist: New file.
4850 * sysdeps/generic/libnss_hesiod.abilist: New file.
4851 * sysdeps/generic/libnss_nis.abilist: New file.
4852 * sysdeps/generic/libnss_nisplus.abilist: New file.
4853 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4854 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4855 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4856 file.
4857 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4858 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4859 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4860 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4861 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4862 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4863 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4864 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4865 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4866 file.
4867 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4868 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4869 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4870 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4871 file.
4872 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4873 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4874 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4875 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4876 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4877 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4878 file.
4879 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4880 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4881 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4882 file.
4883 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4884 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4885 New file.
4886 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4887 New file.
4888 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4889 New file.
4890 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4891 New file.
4892 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4893 New file.
4894 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4895 New file.
4896 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4897 New file.
4898 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4899 New file.
4900 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4901 New file.
4902 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4903 New file.
4904 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4905 New file.
4906 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4907 New file.
4908 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4909 New file.
4910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4911 file.
4912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4913 New file.
4914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4915 New file.
4916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4917 file.
4918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4919 New file.
4920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4921 New file.
4922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4923 file.
4924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4925 New file.
4926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4927 New file.
4928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4929 New file.
4930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4931 New file.
4932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4933 New file.
4934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4935 New file.
4936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4938 file.
4939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4940 New file.
4941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4942 file.
4943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4944 file.
4945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4946 file.
4947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4948 file.
4949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4950 file.
4951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4952 New file.
4953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4954 file.
4955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4956 file.
4957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4958 New file.
4959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4960 file.
4961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4963 file.
4964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4965 New file.
4966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4967 file.
4968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4969 file.
4970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4971 file.
4972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4973 file.
4974 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4975 file.
4976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4977 New file.
4978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4979 file.
4980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4981 file.
4982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4983 New file.
4984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4985 file.
4986 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4987 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4988 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4989 file.
4990 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4991 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4992 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4993 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4994 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4995 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4996 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4997 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4998 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4999 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5002 file.
5003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5004 New file.
5005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5006 file.
5007 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5008 file.
5009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5010 file.
5011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5012 file.
5013 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5014 file.
5015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5016 New file.
5017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5018 New file.
5019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5020 file.
5021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5022 New file.
5023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5024 file.
5025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5027 file.
5028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5029 New file.
5030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5031 file.
5032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5033 file.
5034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5035 file.
5036 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5037 file.
5038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5039 file.
5040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5041 New file.
5042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5043 New file.
5044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5045 file.
5046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5047 New file.
5048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5049 file.
5050
41d73a1b
JM
50512012-04-28 Joseph Myers <joseph@codesourcery.com>
5052
5053 * conform/conformtest.pl: Fix typo in handling typed-constant from
5054 allow-header.
5055
28aeeda4
JM
50562012-04-27 Joseph Myers <joseph@codesourcery.com>
5057
adae8f5e
JM
5058 * README: Cut down references to pre-2.6 Linux kernels and
5059 Linuxthreads. Update lists of configurations in libc and ports
5060 and sort alphabetically. Say "or newer" with Linux kernel version
5061 requirements.
5062
28aeeda4
JM
5063 * config.h.in [IS_IN_build]: Allow compiling without optimization.
5064
a462cb63
RA
50652012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5066
5067 [BZ #887]
5068 * math/libm-test.inc (logb_test_downward): New test to expose
5069 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5070 rounding mode.
5071
6ad3493e
JM
50722012-04-27 Joseph Myers <joseph@codesourcery.com>
5073
5074 [BZ #14027]
5075 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5076 to be done.
5077 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5078 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5079
2ce4f015
JM
50802012-04-26 Joseph Myers <joseph@codesourcery.com>
5081
5aeb141a
JM
5082 * sysdeps/unix/i386/brk.S: Remove file.
5083 * sysdeps/unix/i386/dl-brk.S: Likewise.
5084 * sysdeps/unix/i386/pipe.S: Likewise.
5085 * sysdeps/unix/i386/sigreturn.S: Likewise.
5086 * sysdeps/unix/i386/syscall.S: Likewise.
5087 * sysdeps/unix/i386/vfork.S: Likewise.
5088 * sysdeps/unix/i386/wait.S: Likewise.
5089
7143acae
JM
5090 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5091 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5092
2ce4f015
JM
5093 * configure.in (arm*-none*): Do not allow without
5094 --enable-hacker-mode.
5095 (netbsd*): Remove case setting base_os.
5096 (386bsd*): Likewise.
5097 (freebsd*): Likewise.
5098 (bsdi*): Likewise.
5099 (osf*): Likewise.
5100 (sunos*): Likewise.
5101 (ultrix*): Likewise.
5102 (newsos*): Likewise.
5103 (dynix*): Likewise.
5104 (*bsd*): Likewise.
5105 (sysv*): Likewise.
5106 (isc*): Likewise.
5107 (esix*): Likewise.
5108 (sco*): Likewise.
5109 (minix*): Likewise.
5110 (irix4*): Likewise.
5111 (irix6*): Likewise.
5112 (solaris[2-9]*): Likewise.
5113 (none): Likewise.
5114 * configure: Regenerated.
5115
0ac229c8
AZ
51162012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5117
5118 [BZ #11521]
5119 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5120 overflow or cancellation in calculating denominator.
5121 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5122 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5123 down expression to avoid unexpected rounding in newer GCCs.
5124 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5125
33f244f4
DM
51262012-04-26 David S. Miller <davem@davemloft.net>
5127
5128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5129 long-double compat symbols.
5130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5143
cfa1f3e8
DM
51442012-04-25 David S. Miller <davem@davemloft.net>
5145
5146 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5147 HWCAP_* values only after the memory barriers have been defined.
5148 (atomic_full_barrier): Define.
5149 (atomic_read_barrier): Define.
5150 (atomic_write_barrier): Define.
5151
6e236b92
SP
51522012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5153
5154 * shlib-versions: Add libgcc_s version information.
5155 * sysdeps/generic/libgcc_s.h: Remove.
5156 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5157 libgcc_s.h.
5158 * sysdeps/gnu/unwind-resume.c: Likewise.
5159 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5160
aab39a09
DM
51612012-04-25 David S. Miller <davem@davemloft.net>
5162
5163 * sysdeps/unix/sparc/brk.S: Delete.
5164 * sysdeps/unix/sparc/dl-brk.S: Delete.
5165 * sysdeps/unix/sparc/pipe.S: Delete.
5166 * sysdeps/unix/sparc/sysdep.S: Delete.
5167 * sysdeps/unix/sparc/sysdep.h: Delete.
5168 * sysdeps/unix/sparc/vfork.S: Delete.
5169 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5170 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5171 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5172 ret_ERRVAL, r0, r1, MOVE): Define.
5173 (JUMPTARGET): Remove.
5174 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5175 sysdeps/unix/sparc/sysdep.h
5176 (ENTRY, END): Remove.
5177 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5178
a3cc4f48
JM
51792012-04-25 Joseph Myers <joseph@codesourcery.com>
5180
2ed8cda2
JM
5181 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5182 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5183 -DIS_IN_build.
5184
35d76d59
JM
5185 * timezone/README: Update upstream location and email address for
5186 tzcode and tzdata.
5187 * timezone/zdump.c: Update from tzcode 2012b.
5188 * timezone/zic.c: Likewise.
5189
a3cc4f48
JM
5190 * configure.in (libc_cv_as_needed): Remove test.
5191 * configure: Regenerated.
5192 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5193 conditional definition.
5194 [$(have-as-needed) != yes] (no-as-needed): Likewise.
5195 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5196 * config.make.in (have-as-needed): Remove variable.
5197
ceab42c3
SP
51982012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5199 Paul Pluzhnikov <ppluzhnikov@google.com>
5200
5201 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5202 strings correctly.
5203
3ce2865f
CLT
52042012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5205
5206 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5207 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5208 * sysdeps/sh/strlen.S: Likewise.
5209
f37e0d68
JM
52102012-04-24 Joseph Myers <joseph@codesourcery.com>
5211
ae186e9a
JM
5212 * sysdeps/unix/fork.S: Remove file.
5213 * sysdeps/unix/i386/fork.S: Likewise.
5214 * sysdeps/unix/sparc/fork.S: Likewise.
5215
b96914af
JM
5216 * sysdeps/unix/system.c: Remove file.
5217 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5218
f37e0d68
JM
5219 * sysdeps/unix/getegid.S: Remove file.
5220 * sysdeps/unix/geteuid.S: Likewise.
5221
87ef29ca
RM
52222012-04-24 Roland McGrath <roland@hack.frob.com>
5223
83bcd236
RM
5224 * scripts/check-localplt.awk: New file.
5225 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5226 of diff.
5227 * scripts/data/localplt-generic.data: Add a comment.
5228
87ef29ca
RM
5229 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5230 NODE when __dir_mkfile failed.
5231 * sysdeps/mach/hurd/symlinkat.c: Likewise.
5232 Reported by Ludovic Courtès <ludo@gnu.org>.
5233
e5a6e567
AJ
52342012-04-24 Andreas Jaeger <aj@suse.de>
5235
5236 * Makerules (common-clean): Also remove gen-as-const-headers
5237 files.
5238
c1820385
JM
52392012-04-24 Joseph Myers <joseph@codesourcery.com>
5240
5241 * Makerules (native-compile): Do not change working directory for
5242 build. Use $(OUTPUT_OPTION) in command.
5243 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5244
94e02fc4
AZ
52452012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5246
5247 [BZ #13886]
5248 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5249 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5250 * math/libm-test.inc (floor_test): Add more tests.
5251 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5252
3a533ca3
JM
52532012-04-24 Joseph Myers <joseph@codesourcery.com>
5254
940ab4b3
JM
5255 * sysdeps/unix/getdents.c: Remove file.
5256 * sysdeps/unix/sysv/getdents.c: Likewise.
5257 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5258
90e037bd
JM
5259 * sysdeps/unix/syscalls.list (madvise): Add syscall from
5260 sysdeps/unix/mman/syscalls.list.
5261 (mmap): Likewise.
5262 (mprotect): Likewise.
5263 (msync): Likewise.
5264 (munmap): Likewise.
5265 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5266 * sysdeps/unix/mman/syscalls.list: Remove.
5267 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5268
3a533ca3
JM
5269 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5270 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5271 * configure: Regenerated.
5272 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5273 $(libgcc_s_suffix).
5274 * config.make.in (libgcc_s_suffix): Remove variable.
5275
1ad743de
JM
52762012-04-23 Joseph Myers <joseph@codesourcery.com>
5277
4ad451e2
JM
5278 * sysdeps/unix/sysv/gethostname.c: Move to ...
5279 * sysdeps/posix/gethostname.c: ... here.
5280
5e37ce39
JM
5281 * sysdeps/unix/execve.S: Remove file.
5282
1ad743de
JM
5283 * sysdeps/unix/_exit.S: Remove file.
5284
4e681b5b
AJ
52852012-04-23 Andreas Jaeger <aj@suse.de>
5286
5287 [BZ #13739]
5288 * manual/Makefile: Remove make dist support, there's no
5289 need for a stand-alone documentation tar ball.
5290 (TEXI2DVI): Define always, it's not in Makeconfig.
5291 (dist): Removed.
5292 (tar-it): Removed.
5293 (edition): Removed.
5294 (glibc-doc-$(edition).tar): Removed
5295 (%.Z): Removed.
5296 (%.gz): Removed.
5297 (%.uu): Removed.
5298 (ETAGS): Remove, it's in Makeconfig.
5299 (move-if-change): Remove, it's in Makeconfig.
5300
c0baea34
PE
53012013-04-23 Paul Eggert <eggert@cs.ucla.edu>
5302
5303 [BZ #13970]
5304 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5305 (strtod, strtof, strtold, strtol, strtoul, strtoq)
5306 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5307 (strtod_l, strtof_l, strtold_l): Remove __wur.
5308 It is not necessarily an error to ignore strtol's return value.
5309 One can reliably look at the stored endptr to decide whether
5310 the number had valid syntax.
5311
7c0616fa
AJ
53122012-04-21 Andreas Jaeger <aj@suse.de>
5313
803cb6b7 5314 [BZ #13739]
7c0616fa
AJ
5315 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5316
b0fe253f
JM
53172012-04-21 Joseph Myers <joseph@codesourcery.com>
5318
5319 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5320 * sysdeps/unix/sysv/Versions: Remove file.
5321
8280f22d
MT
53222012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
5323
5324 [BZ #13927]
5325 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5326
75ce411f 53272012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
5328
5329 [BZ #7064]
5330 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5331 version from __vm86.
5332
097d59fa
JM
53332012-04-20 Joseph Myers <joseph@codesourcery.com>
5334
a90f3bcb
JM
5335 * sysdeps/unix/common/lxstat.c: Remove file.
5336 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5337
edc7ea78
JM
5338 * sysdeps/unix/sysv/Makefile: Remove file.
5339
cb78c221
JM
5340 * sysdeps/unix/sysv/direct.h: Remove file.
5341
efa6a45f
JM
5342 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5343 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5344 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5345 * sysdeps/unix/sysv/bits/signum.h: Likewise.
5346 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5347 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5348 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5349
9c9f2d0c
JM
5350 * sysdeps/unix/sysv/setrlimit.c: Remove file.
5351
4541c83b
JM
5352 * sysdeps/unix/xmknod.c: Remove file.
5353 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5354
f5d153a0
JM
5355 * sysdeps/unix/sysv/settimeofday.c: Remove file.
5356
aa746595
JM
5357 * sysdeps/unix/sysv/i386/time.S: Remove file.
5358
cce5905e
JM
5359 * sysdeps/unix/fxstat.c: Remove file.
5360 * sysdeps/unix/xstat.c: Likewise.
5361 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5362
37fa3841
JM
5363 * sysdeps/unix/sysv/sigaction.c: Remove file.
5364
ff1962a3
JM
5365 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5366 (sysdep_headers): Remove variable.
5367 [termio.h not in sysdep_headers] (generated): Likewise.
5368 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5369 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5370 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5371 * sysdeps/unix/sysv/tcflow.c: Likewise.
5372 * sysdeps/unix/sysv/tcflush.c: Likewise.
5373 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5374 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
5375 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5376 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5377 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
5378
e7740d31
JM
5379 * sysdeps/unix/siglist.c: Remove file.
5380
ee06f18b
JM
5381 * sysdeps/unix/getppid.S: Remove file.
5382
097d59fa
JM
5383 * sysdeps/unix/mkdir.c: Remove file.
5384 * sysdeps/unix/rmdir.c: Likewise.
5385
ff3d51ec
AS
53862012-04-19 Andreas Schwab <schwab@linux-m68k.org>
5387
5388 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5389 ERR_MAX value.
5390 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5391 errlist-compat value.
5392
50f81fd7
DM
53932012-04-18 David S. Miller <davem@davemloft.net>
5394
5395 * sysdeps/generic/memcopy.h (reg_char): Delete.
5396 * debug/strcat_chk.c: Use char, not reg_char.
5397 * debug/strcpy_chk.c: Likewise.
5398 * debug/strncat_chk.c: Likewise.
5399 * debug/strncpy_chk.c: Likewise.
5400 * string/memchr.c: Likewise.
5401 * string/memrchr.c: Likewise.
5402 * string/rawmemchr.c: Likewise.
5403 * string/strcat.c: Likewise.
5404 * string/strchr.c: Likewise.
5405 * string/strchrnul.c: Likewise.
5406 * string/strcmp.c: Likewise.
5407 * string/strcpy.c: Likewise.
5408 * string/strncat.c: Likewise.
5409 * string/strncmp.c: Likewise.
5410 * string/strncpy.c: Likewise.
5411
8ff41c46
WS
54122012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5413
5414 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5415 __builtin_memcopy is called when src and dest ranges are known to not
5416 overlap.
5417
6b652f46
WS
54182012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5419
5420 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5421 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5422 fwd_align_merge macro call.
5423 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5424 bwd_align_merge macro call.
5425 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5426
b282631e
WS
54272012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5428
5429 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5430 bwd_align_merge macros.
5431 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5432 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5433 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5434
95aa737c
DM
54352012-04-18 David S. Miller <davem@davemloft.net>
5436
5437 * sysdeps/sparc/sparc64/memcopy.h: Delete.
5438
7a99a614
AJ
54392012-04-18 Andreas Jaeger <aj@suse.de>
5440
5441 [BZ# 6794]
5442 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5443 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5444 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5445
5446 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5447 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5448 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5449
5450 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5451 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5452 Adjust for changed ldbl-128 files.
5453
5454 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5455 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5456 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5457
e5270c23
DM
54582012-04-17 David S. Miller <davem@davemloft.net>
5459
5460 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5461
fb5e92c9
AS
54622012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5463
5464 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5465 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5466 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5467 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5468 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5469 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5470
76da7265
AZ
54712012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5472
5473 [BZ #6794]
5474 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5475 * math/libm-test.inc: Add ilogb errno and exception tests.
5476 * math/w_ilogb.c: New file: ilogb wrapper.
5477 * math/w_ilogbf.c: New file: ilogbf wrapper.
5478 * math/w_ilogbl.c: New file: ilogbl wrapper.
5479 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5480 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5481 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5482 exception being thrown with 0.0 as argument.
5483 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5484 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5485 exception being thrown with 0.0 as argument.
5486 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5487 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5488 exception being thrown with 0.0 as argument.
5489 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5490 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5491 exception being thrown with 0.0 as argument.
5492 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5493 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 5494 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
5495 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5496 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5497 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5498 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5499 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5500 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5501
0396e69d
PB
55022012-04-17 Petr Baudis <pasky@ucw.cz>
5503
5504 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5505 with altivec.
5506
750b5926
MP
55072012-04-16 Marek Polacek <polacek@redhat.com>
5508
5509 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5510
751728a1
MP
55112012-04-16 Marek Polacek <polacek@redhat.com>
5512
5513 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5514 operands of fdivp instruction.
5515
34a27407
L
55162012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5517
5518 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5519 * elf/tst-auditmod3b.c: Likewise.
5520 * elf/tst-auditmod4b.c: Likewise.
5521 * elf/tst-auditmod5b.c: Likewise.
5522 * elf/tst-auditmod6b.c: Likewise.
5523 * elf/tst-auditmod6c.c: Likewise.
5524 * elf/tst-auditmod7b.c: Likewise.
5525 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5526 * sysdeps/x86_64/preconfigure.in: Likewise.
5527 * sysdeps/x86_64/preconfigure: Regenerated.
5528
7e73e17d
L
55292012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5530
5531 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5532 __ILP32__.
5533
c7a6ab72
AB
55342012-04-13 Antoine Balestrat <merkil33@gmail.com>
5535
5536 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5537 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5538
a9e8e0e0
CL
55392012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5540
5541 [BZ #13973]
5542 * locale/iso-639.def: Fix gl language name. Spotted by
5543 Yaron Shahrabani.
5544
ec98af7d
RM
55452012-04-12 Roland McGrath <roland@hack.frob.com>
5546
5547 [BZ #2074]
5548 * libio/libio.h (__io_write_fn): Update comment.
5549
247c3ede
PB
55502012-04-12 Petr Baudis <pasky@ucw.cz>
5551
5552 [BZ #2074]
5553 * stdio.texi (Hook Functions): The user provided writer function
5554 is not allowed to return -1.
5555
55939d6d
DM
55562012-04-11 David S. Miller <davem@davemloft.net>
5557
5558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5559
90020f5a
MF
55602012-04-11 Mike Frysinger <vapier@gentoo.org>
5561
5562 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5563 Add a leading slash to rtkaio.
5564
288f9098
JM
55652012-04-11 Jim Meyering <meyering@redhat.com>
5566
90020f5a
MF
5567 [BZ #11959]
5568 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5569 It is not necessarily an error to ignore fwrite's return
5570 value. One can reliably use ferror to test for errors after
5571 the fact.
288f9098 5572
4be2b570
L
55732012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5574
5575 * bits/types.h (__snseconds_t): New type.
5576 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5577
5578 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5579 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5580 (__SNSECONDS_T_TYPE): Likewise.
5581 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5582 (__SNSECONDS_T_TYPE): Likewise.
5583 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5584 (__SNSECONDS_T_TYPE): Likewise.
5585
288f9098 55862012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
5587
5588 [BZ #2636]
5589 * manual/time.texi (Processor Time): Return type of times is
5590 elapsed real time since an arbitrary point in the past.
5591 (CPU Time): Move CLK_TCK from here...
5592 (Processor Time): ...to here. Correct description.
5593 * manual/conf.texi (Constants for Sysconf): Correct description of
5594 _SC_CLK_TCK.
5595
d7dd4413
DM
55962012-04-10 David S. Miller <davem@davemloft.net>
5597
5598 [BZ #13967]
5599 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5600 where the is a gap between DT_REL(A) and DT_JMPREL.
5601
b46068fc
L
56022012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5603
5604 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5605 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5606 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5607
73d65cc3
SP
56082012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5609
5610 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5611 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5612 (dl_main): Handle --inhibit-cache.
5613 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5614 _dl_inhibit_cache.
5615 * elf/dl-load.c (_dl_map_object): Use it.
5616 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5617
bcc8d661
JM
56182012-04-09 Joseph Myers <joseph@codesourcery.com>
5619
8f9a2fae
JM
5620 [BZ #13872]
5621 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5622 (__ieee754_powl): Saturate large exponents rather than testing for
5623 overflow of y*log2(x).
5624 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5625 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5626 exceptions.
5627
bcc8d661
JM
5628 [BZ #11521]
5629 * math/s_ctan.c: Include <float.h>.
5630 (__ctan): Avoid internal overflow or cancellation in calculating
5631 denominator.
5632 * math/s_ctanf.c: Likewise.
5633 * math/s_ctanl.c: Likewise.
5634 * math/s_ctanh.c: Likewise.
5635 * math/s_ctanhf.c: Likewise.
5636 * math/s_ctanhl.c: Likewise.
5637 * math/libm-test.inc (ctan_test): Add more tests.
5638 (ctanh_test): Likewise.
5639 * sysdeps/i386/fpu/libm-test-ulps: Update.
5640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5641
823fbbb4
AJ
56422012-04-09 Andreas Jaeger <aj@suse.de>
5643
03879793
AJ
5644 [BZ #6894]
5645 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5646 is an optional BSD extension.
5647
823fbbb4
AJ
5648 [BZ #10254]
5649 * manual/stdio.texi (Opening Streams): Document additional fopen
5650 parameters.
5651
8de131cb
RM
56522012-04-09 Roland McGrath <roland@hack.frob.com>
5653
5654 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5655 %eax without telling the compiler.
5656
c0ed9d7d
CD
56572012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5658
5659 [BZ # 13963]
5660 * manual/install.texi: Use sourceware.org.
5661
c483f6b4
JM
56622012-04-09 Joseph Myers <joseph@codesourcery.com>
5663
d7dd9453
JM
5664 [BZ #13873]
5665 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5666 (__ieee754_pow): Generate overflow and underflow using huge*huge
5667 and tiny*tiny rather than just returning constant infinity or zero
5668 for large exponents.
5669 * math/libm-test.inc (pow_test): Require overflow exceptions for
5670 applicable cases of large exponents.
5671
c483f6b4
JM
5672 [BZ #706]
5673 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5674 (__ieee754_pow): Use iterative multiplication algorithm only for
5675 integer exponents with absolute value below 1024. Check for odd
5676 integer exponents when using algorithm for real exponents.
5677 * math/libm-test.inc (pow_test): Add more tests.
5678 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5679
d2de7579
JM
56802012-04-08 Joseph Myers <joseph@codesourcery.com>
5681
5682 [BZ #13705]
5683 * math/libm-test.inc (exp_test): Do not allow overflow exception
5684 on underflow test.
5685
f77f1232
AJ
56862012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5687
5688 [BZ #13705]
5689 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5690 instead of __kernel_standard_f.
5691
3884932b
MF
56922012-04-08 Mike Frysinger <vapier@gentoo.org>
5693
5694 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5695 * sysdeps/x86_64/memset_chk.S: Likewise.
5696
54472e9c
AJ
56972012-04-08 Andreas Jaeger <aj@suse.de>
5698
6ab0fbfc
AJ
5699 [BZ #10153]
5700 * manual/startup.texi (Environment Access): Describe return value
5701 for putenv and setenv.
5702
61efba8c
AJ
5703 [BZ #6895]
5704 * manual/filesys.texi (Directory Entries): Add description for
5705 DT_LNK.
5706
95c3f29a
AJ
5707 [BZ #6890]
5708 * manual/filesys.texi (Directory Entries): Clarify that it's file
5709 system not operating system in the description of DT_UNKNOWN.
5710
54472e9c
AJ
5711 [BZ #6578]
5712 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5713
624254b1
SC
57142012-04-08 Stephen Compall <s11@member.fsf.org>
5715
5716 [BZ #6649]
5717 * manual/llio.texi (Opening and Closing Files): Add cross
5718 reference to explain mode argument.
5719
1e4920e0
MF
57202012-04-07 Mike Frysinger <vapier@gentoo.org>
5721
5722 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5723 * sysdeps/x86_64/memset_chk.S: Likewise.
5724
5ed848f3
DM
57252012-04-07 David S. Miller <davem@davemloft.net>
5726
5727 * elf/elf.h (R_SPARC_WDISP10): Define.
5728 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5729 R_SPARC_SIZE32.
5730 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5731 R_SPARC_SIZE64 and R_SPARC_H34.
5732
96154cd8
CD
57332012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5734
5735 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5736 conditions and remove no longer applicable assertion.
5737
9904dc47
L
57382012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5739
5740 * bits/byteswap.h: Include <features.h>.
5741 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5742 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5743
f8887d0a
L
57442012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5745
5746 * bits/byteswap.h (__bswap_16): Removed.
5747 Include <bits/byteswap-16.h> to get __bswap_16.
5748 * sysdeps/i386/bits/byteswap.h: Likewise.
5749 * sysdeps/s390/bits/byteswap.h: Likewise.
5750 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5751 * bits/byteswap-16.h: New file.
5752 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5753 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5754 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5755 * string/Makefile (headers): Add bits/byteswap-16.h.
5756
62470f60
PP
57572012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5758
5759 [BZ #13895]
5760 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5761 extra indirection.
5762 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5763 * nss/tst-nss-static.c: New.
5764
4dad7bab
RM
57652012-04-06 Robert Millan <rmh@gnu.org>
5766
5767 [BZ #6486]
5768 * manual/llio.texi (File Position Primitive): lseek
5769 refers to WHENCE when it really means OFFSET.
5770
e9142a17
AJ
57712012-04-06 Andreas Jaeger <aj@suse.de>
5772
2c040eff
AJ
5773 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5774 strncmp declarations.
5775
e9142a17
AJ
5776 * abilist/libc.abilist: Add __poll and __ppoll.
5777
ff9f1c5f
DM
57782012-04-05 David S. Miller <davem@davemloft.net>
5779
dcd2ae90
DM
5780 * scripts/check-local-headers.sh: Accept a host triplet in the
5781 path matched by the exclude regexp.
5782
993eb054
DM
5783 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5784 definition.
5785 * sysdeps/powerpc/powerpc32/dl-machine.h
5786 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5787 * sysdeps/s390/s390-32/dl-machine.h
5788 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5789 * sysdeps/sparc/sparc32/dl-machine.h
5790 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5791 * sysdeps/sparc/sparc64/dl-machine.h
5792 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5793
ff9f1c5f
DM
5794 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5795 lazy binding.
48e2e132 5796 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5797 undefined symbol errors.
5798
48e2e132 5799 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5800 DT_NEEDED entries.
5801
e80d6f94
MM
58022012-04-05 Michael Matz <matz@suse.de>
5803
5804 [BZ #13592]
5805 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5806
349fa79f
AJ
58072012-04-05 Andreas Jaeger <aj@suse.de>
5808
5809 [BZ #13908]
5810 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5811 comment.
5812
f402708f
KK
58132012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5814
5815 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5816 which ROUND is no valid rounding mode.
5817
2ecccfc9
KK
58182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5819
5820 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5821 read again.
5822 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5823
8a53f50f
KK
58242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5825
5826 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5827 an exception using FPU order intentionally.
5828
58292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5830
5831 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5832 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5833 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5834 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5835
d653abb7
SJ
58362012-04-05 Simon Josefsson <simon@josefsson.org>
5837
5838 [BZ #12340]
5839 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5840 EINVAL when BUFLEN is too smal.
5841
c3b1bf7d
TS
58422012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5843
5844 [BZ #13553]
5845 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5846 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5847
b1aa60f3
AJ
58482012-04-03 Andreas Jaeger <aj@suse.de>
5849
c3b1bf7d 5850 [BZ #13938]
67f60a26
AJ
5851 * manual/setjmp.texi (System V contexts): Fix sentence.
5852
b1aa60f3
AJ
5853 [BZ #13926]
5854 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5855 New macro for this case.
5856 [!__GNUC__] (__bswap_64): New inline function for this case.
5857 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5858 * bits/byteswap.h: Likewise.
5859 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5860 ull, guard with __GLIBC_HAVE_LONG_LONG.
5861
5862 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5863 __GLIBC_HAVE_LONG_LONG.
5864
5865 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5866 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5867
39c59c35
TMQMF
58682012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5869
5870 [BZ #13691]
5871 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5872 inptr and inend, rather than using last_ch.
5873
135ffda8
DM
58742012-04-02 David S. Miller <davem@davemloft.net>
5875
5876 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5877 * stdio-common/printf-parse.h (read_int): Change return type to
5878 'int', return -1 on INT_MAX overflow.
5879 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5880 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5881 overflows INT_MAX. Check for overflow of in-format-string precision
5882 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5883 SIZE_MAX not INT_MAX for integer overflow test.
5884 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5885 skip the construct in the format string but do not record anything.
5886 * stdio-common/bug22.c: Adjust to test both width/prevision
5887 INT_MAX overflow as well as total length INT_MAX overflow. Check
5888 explicitly for proper errno values.
5889
228c019e
TS
58902012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5891
302cadd3
TS
5892 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5893 CHAR_MAX.
5894 * string/test-strcmp.c [! WIDE]: Likewise.
5895 * time/tst-mktime2.c: Likewise for INT_MAX.
5896 * string/test-string.h: #include <sys/param.h> for MIN.
5897
228c019e
TS
5898 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5899 * sysdeps/i386/init-first.c (init): Likewise.
5900 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5901 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5902 * sysdeps/sh/init-first.c (init): Likewise.
5903
cfa633f5
UD
59042012-04-01 Ulrich Drepper <drepper@gmail.com>
5905
5906 * po/ru.po: Update from translation team.
d1635ef8 5907 * po/vi.po: Likewise.
cfa633f5 5908
6cd0a5ea
SP
59092012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5910
5911 * resolv/nss_dns/dns-host.c: Merge copyright years.
5912
4b43400f
LD
59132012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5914
5915 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5916 Optimize memcpy with prefetch if
5917 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5918 src, dst pointers have unequal 16 byte alignments.
5919
48c41d04
SP
59202012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5921
5922 [BZ #13928]
5923 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5924 from a CNAME entry and return the minimum ttl for the query.
5925 (gaih_getanswer_slice): Likewise.
5926
b8dc394d
JL
59272012-03-30 Jeff Law <law@redhat.com>
5928
5929 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5930 due to long keys.
5931 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5932 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5933
2f5a5ed0
JL
5934 * resolv/nss_dns/dns-host.c: Update copyright year.
5935
1d39e359
UD
59362012-03-30 Ulrich Drepper <drepper@gmail.com>
5937
c030f70c 5938 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5939 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5940
1d39e359
UD
5941 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5942 comments for sendmmsg.
5943
59442012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5945
5946 [BZ #13691]
5947 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5948 with only 1 character between 0x0041 and 0x01b0.
5949 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5950 * wcsmbs/tst-mbsnrtowcs.c: New file.
5951
20fde227
DM
59522012-03-29 David S. Miller <davem@davemloft.net>
5953
5954 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5955 small copies by hand.
5956
984a4237
JL
59572012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5958
5959 [BZ #13761]
5960 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5961 _nss_compat_initgroups_dyn): Fall back to malloc/free
5962 for large group memberships.
5963
18c9d62b
DM
59642012-03-28 David S. Miller <davem@davemloft.net>
5965
88d85d4f
DM
5966 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5967 that branches into memcpy.
5968 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5969 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5970 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5971 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5972 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5973 bits.
5974 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5975 implementation too.
5976 * sysdeps/sparc/mempcpy.S: New file.
5977
e5aa83e1
DM
5978 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5979 the IFUNC routine in the libc case.
5980 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5981
88570753
DM
5982 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5983 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5984 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5985 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5986 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5987 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5988 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5989 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5990
249d7567
DM
5991 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5992 loop to 256 bytes instead of 64 bytes and fix test signedness.
5993
18c9d62b
DM
5994 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5995 * sysdeps/sparc/sparc32/Makefile: rather than here...
5996 * sysdeps/sparc/sparc64/Makefile: and here.
5997
05f3d1f6
UD
59982012-03-28 Ulrich Drepper <drepper@gmail.com>
5999
6000 * malloc/mallocbug.c: Avoid warnings about unused variables.
6001
86ae07a8
JL
60022012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6003
6004 [BZ #13760]
6005 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6006 in the right place. Discard and retry query if response is
6007 larger than input buffer size.
6008
41bf21a1
JM
60092012-03-28 Joseph Myers <joseph@codesourcery.com>
6010
d6270972
JM
6011 [BZ #369]
6012 [BZ #2678]
6013 [BZ #3866]
6014 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6015 x for large integer exponent.
6016 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6017 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
6018 sign of result as needed afterwards.
6019 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6020 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6021 result for underflowing pow the same as for overflow.
6022 (__kernel_standard_l): Handle powl overflow and underflow here
6023 rather than calling __kernel_standard.
6024 * math/libm-test.inc (pow_test): Add more tests.
6025
414fca03 6026 [BZ #3868]
41bf21a1
JM
6027 [BZ #13879]
6028 [BZ #13910]
6029 [BZ #13911]
6030 [BZ #13912]
6031 [BZ #13913]
6032 [BZ #13915]
6033 [BZ #13916]
6034 [BZ #13917]
6035 [BZ #13918]
6036 [BZ #13919]
6037 [BZ #13920]
6038 [BZ #13921]
6039 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6040 * sysdeps/ieee754/k_standard.c: Include <float.h>.
6041 (__kernel_standard_l): New function.
6042 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6043 __kernel_standard.
6044 * math/w_acosl.c (__acosl): Likewise.
6045 * math/w_asinl.c (__asinl): Likewise.
6046 * math/w_atan2l.c (__atan2l): Likewise.
6047 * math/w_atanhl.c (__atanhl): Likewise.
6048 * math/w_coshl.c (__coshl): Likewise.
6049 * math/w_exp10l.c (__exp10l): Likewise.
6050 * math/w_exp2l.c (__exp2l): Likewise.
6051 * math/w_fmodl.c (__fmodl): Likewise.
6052 * math/w_hypotl.c (__hypotl): Likewise.
6053 * math/w_j0l.c (__j0l, __y0l): Likewise.
6054 * math/w_j1l.c (__j1l, __y1l): Likewise.
6055 * math/w_jnl.c (__jnl, __ynl): Likewise.
6056 * math/w_lgammal.c (__lgammal): Likewise.
6057 * math/w_log10l.c (__log10l): Likewise.
6058 * math/w_log2l.c (__log2l): Likewise.
6059 * math/w_logl.c (__logl): Likewise.
6060 * math/w_powl.c (__powl): Likewise.
6061 * math/w_remainderl.c (__remainderl): Likewise.
6062 * math/w_scalbl.c (sysv_scalbl): Likewise.
6063 * math/w_sinhl.c (__sinhl): Likewise.
6064 * math/w_sqrtl.c (__sqrtl): Likewise.
6065 * math/w_tgammal.c (__tgammal): Likewise.
6066 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6067 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6068 * math/libm-test.inc (acos_test): Add more tests.
6069 (acosh_test): Likewise.
6070 (asin_test): Likewise.
6071 (atanh_test): Likewise.
6072 (exp_test): Likewise.
6073 (exp10_test): Likewise.
6074 (exp2_test): Likewise.
6075 (expm1_test): Likewise.
6076 (lgamma_test): Likewise.
6077 (log_test): Likewise.
6078 (log10_test): Likewise.
6079 (log1p_test): Likewise.
6080 (log2_test): Likewise.
6081 (pow_test): Do not allow some spurious overflow exceptions.
6082 (sqrt_test): Add more tests.
6083 (tgamma_test): Likewise.
6084 (y0_test): Likewise.
6085 (y1_test): Likewise.
6086 (yn_test): Likewise.
6087
dd62fda6
AB
60882012-03-27 Anton Blanchard <anton@samba.org>
6089
6090 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6091 MAP_HUGETLB.
6092 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6093 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6094 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6095
1e3cdfda
AJ
60962012-03-27 David S. Miller <davem@davemloft.net>
6097
b855ab85
DM
6098 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6099
1e3cdfda
AJ
6100 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6101 have-as-vis3 check.
6102
61032012-03-27 Andreas Jaeger <aj@suse.de>
6104
6105 * sysdeps/x86_64/elf/configure.in: Moved to ...
6106 * sysdeps/x86_64/configure.in: ... here.
6107 * sysdeps/x86_64/elf/start.S: Moved to ...
6108 * sysdeps/x86_64/start.S: ... here.
6109 * sysdeps/x86_64/elf/configure: Delete.
6110
6111 * sysdeps/x86_64/configure.in: Merge contents from
6112 sysdeps/i386/configure.in (without i686 check).
6113
6114 * sysdeps/i386/elf/Versions: Merge into ...
6115 * sysdeps/i386/Versions: ... this.
6116 * sysdeps/i386/elf/Versions: Delete file.
6117 * sysdeps/i386/elf/start.S: Moved to ...
6118 * sysdeps/i386/start.S: ...here.
6119 * sysdeps/i386/elf/configure.in: Merge into...
6120 * sysdeps/i386/configure.in: ...here.
6121 * sysdeps/i386/elf/configure.in: Delete file.
6122 * sysdeps/i386/elf/configure: Delete file.
6123
6124 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6125 * debug/backtracesyms.c: ... here.
6126 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6127 * debug/backtracesymsfd.c: ... here.
6128 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6129 * sysdeps/generic/ifunc-sel.h: ... here.
6130
6131 * sysdeps/unix/i386/start.c: Delete file.
6132 * sysdeps/unix/sparc/start.c: Delete file.
6133 * sysdeps/unix/start.c: Delete file.
6134
6135 * sysdeps/sh/elf/configure.in: Moved to ...
6136 * sysdeps/sh/configure.in: ... here.
6137 * sysdeps/sh/elf/start.S: Moved to ...
6138 * sysdeps/sh/start.S: ... here.
6139 * sysdeps/sh/elf/configure: Delete file.
6140
6141 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6142 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6143 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6144 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6145 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6146 * sysdeps/powerpc/powerpc64/start.S: here.
6147 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6148 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6149 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6150 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6151 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6152
6153 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6154 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6155 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6156 * sysdeps/powerpc/powerpc32/start.S: ... here.
6157 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6158 * sysdeps/powerpc/powerpc32/configure.in: ... this.
6159 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6160
6161 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6162 * sysdeps/powerpc/ifunc-sel.h: ... here.
6163 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6164 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6165
6166 * sysdeps/sparc/elf/configure.in: Moved to ...
6167 * sysdeps/sparc/configure.in: ... here.
6168 * sysdeps/sparc/elf/configure: Delete file.
6169 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6170 * sysdeps/sparc/sparc32/start.S: ... here.
6171 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6172 * sysdeps/sparc/sparc64/start.S: ... here.
6173 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6174 * sysdeps/sparc/sparc32/Makefile: ... this.
6175 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6176 * sysdeps/sparc/sparc64/Makefile: ... this.
6177
6178 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6179 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6180 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6181 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6182 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6183 * sysdeps/s390/s390-32/setjmp.S: ... here.
6184 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6185 * sysdeps/s390/s390-32/configure.in: ... here.
6186 * sysdeps/s390/s390-32/elf/configure: Delete file.
6187 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6188 * sysdeps/s390/s390-32/start.S: ... here.
6189
6190 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6191 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6192 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6193 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6194 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6195 * sysdeps/s390/s390-64/setjmp.S: ... here.
6196 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6197 * sysdeps/s390/s390-64/configure.in: ... here
6198 * sysdeps/s390/s390-64/elf/configure: Delete file.
6199 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6200 * sysdeps/s390/s390-64/start.S: ... here.
6201 * sysdeps/s390/s390-64/elf/configure: Delete.
6202
6203 * configure.in: Remove support for elf directories in sysdeps.
6204
6205 * configure: Regenerated.
6206 * sysdeps/i386/configure: Regenerated.
6207 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6208 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6209 * sysdeps/s390/s390-32/configure: Regenerated.
6210 * sysdeps/s390/s390-64/configure: Regenerated.
6211 * sysdeps/sh/configure: Regenerated.
6212 * sysdeps/sparc/configure: Regenerated.
6213 * sysdeps/x86_64/configure: Regenerated.
6214
a3f61311
AS
62152012-03-26 Andreas Schwab <schwab@linux-m68k.org>
6216
c876e002
AS
6217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6218
a3f61311
AS
6219 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6220 denormal result into account.
6221
ac4c54f0
RM
62222012-03-25 Roland McGrath <roland@hack.frob.com>
6223
6224 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6225 Reported by Allan McRae <allan@archlinux.org>.
6226
6a9b9c02
JL
62272012-03-23 Jeff Law <law@redhat.com>
6228
6229 * nss/getnssent.c (__nss_getent): Fix typo.
6230
4c42a0c1
DM
62312012-03-23 David S. Miller <davem@davemloft.net>
6232
6233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6234
1532c7ac
L
62352012-03-23 H.J. Lu <hongjiu.lu@intel.com>
6236
6237 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6238 to pad to uint64_t for each field.
6239 (dl_tls_index): Replace unsigned long with uint64_t.
6240
3ff42526
PP
62412012-03-23 Daniel Jacobowitz <dmj@google.com>
6242 Paul Pluzhnikov <ppluzhnikov@google.com>
6243
6244 [BZ #6528]
6245 * grp/Makefile (otherlibs): Don't set it.
6246 * inet/Makefile (otherlibs): Likewise.
6247 * login/Makefile (otherlibs): Likewise.
6248 * nscd/Makefile (otherlibs): Likewise.
6249 * posix/Makefile (otherlibs): Likewise.
6250 * pwd/Makefile (otherlibs): Likewise.
6251 * rt/Makefile (otherlibs): Likewise.
6252 * sunrpc/Makefile (otherlibs): Likewise.
6253 * nss/Makefile (otherlibs): Likewise.
6254 Add libnss_files to routines and static-only-routines.
6255 ($(objpfx)getent): Remove rule.
6256 * resolv/Makefile: Add libnss_dns and libresolv to routines and
6257 static-only-routines.
6258
7c69cd14
JM
62592012-03-22 Joseph Myers <joseph@codesourcery.com>
6260
6261 [BZ #13892]
6262 * math/s_cexp.c: Include <float.h>.
6263 (__cexp): Handle exp result overflowing not necessarily
6264 overflowing both real and imaginary parts of result.
6265 * math/s_cexpf.c: Likewise.
6266 * math/s_cexpl.c: Likewise.
6267 * math/libm-test.inc (cexp_test): Add more tests.
6268 * sysdeps/i386/fpu/libm-test-ulps: Update.
6269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6270
81b035fe
L
62712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6272
6273 * include/link.h (ELFW): New macro.
6274 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6275 Replace ELF64_R_TYPE with ELFW(R_TYPE).
6276
1da7940c
L
62772012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6278
6279 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6280 with uint64_t.
6281
b749dbb9
L
62822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6283
6284 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6285 declaration.
6286 (struct La_x32_retval): Likewise.
6287
2ff87f3f
L
62882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6289
6290 * sysdeps/x86_64/preconfigure.in: New file.
6291 * sysdeps/x86_64/preconfigure: New generated file.
6292
c0df8e69
JM
62932012-03-22 Joseph Myers <joseph@codesourcery.com>
6294
48e44791
JM
6295 [BZ #13824]
6296 * math/e_exp2l.c: Include <float.h>.
6297 (__ieee754_exp2l): Handle overflow and underflow cases
6298 separately. Only pass fractional part of argument to
6299 __ieee754_expl.
6300 * math/libm-test.inc (exp2_test): Add more tests.
6301
c0df8e69
JM
6302 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6303 negating x to take absolute value.
6304 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6305 Likewise.
6306 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6307 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6308 Likewise.
6309 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6310 computing low part if x was negated.
6311 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6312
c8e43ba7
L
63132012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6314
6315 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6316 la_x32_gnu_pltexit.
6317 (pltexit): Cast int_retval to ptrdiff_t.
6318 * elf/tst-auditmod3b.c: Likewise.
6319 * elf/tst-auditmod4b.c: Likewise.
6320 * elf/tst-auditmod5b.c: Likewise.
6321 * elf/tst-auditmod6b.c: Likewise.
6322 * elf/tst-auditmod6c.c: Likewise.
6323 * elf/tst-auditmod7b.c: Likewise.
6324
6325 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6326 and x32_gnu_pltexit.
6327
6328 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6329 __ELF_NATIVE_CLASS.
6330 (La_x32_regs): New macro.
6331 (La_x32_retval): Likewise.
6332 (la_x32_gnu_pltenter): New function prototype.
6333 (la_x32_gnu_pltexit): Likewise.
6334
7998fa78
AS
63352012-03-21 Andreas Schwab <schwab@linux-m68k.org>
6336
dcb33988
AS
6337 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6338 exponent.
6339
233fc563
AS
6340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6341
7998fa78
AS
6342 * configure.in (libc_cv_cc_nofma): Check for option to disable
6343 generation of FMA instructions.
6344 * configure: Regenerate.
6345 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6346 * sysdeps/ieee754/dbl-64/Makefile: New file.
6347 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6348 Remove brandred-fma4.
6349 (CFLAGS-brandred-fma4.c): Remove.
6350 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6351 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6352 define.
6353 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6354 define.
6355
8e95c99a
L
63562012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6357
6358 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6359 LLONG_MAX != LONG_MAX.
6360 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6361 (_fitoa_word): Likewise.
6362 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6363 LLONG_MAX != LONG_MAX.
6364 * stdio-common/_itowa.h: Include <_itoa.h>.
6365 (_itowa_word): Use _ITOA_WORD_TYPE on value.
6366 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
6367 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
6368 only if not defined.
6369 (_ITOA_WORD_TYPE): Likewise.
6370 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6371 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6372
6f4db457
DM
63732012-03-21 David S. Miller <davem@davemloft.net>
6374
6375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6376
7785fe5a
L
63772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6378
6379 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
6380 of x86_64 when setting libc_cv_slibdir, libdir and
6381 libc_cv_localedir.
6382 * sysdeps/unix/sysv/linux/configure: Regenerated.
6383
4535cd55
JM
63842012-03-21 Joseph Myers <joseph@codesourcery.com>
6385
6386 * manual/lang.texi (Old Varargs): Remove section.
6387 (How Variadic): Update menu.
6388 (va_start): Do not mention varargs.h.
6389
17228132
TS
63902012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6391 Joseph Myers <joseph@codesourcery.com>
6392
6393 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6394 link test.
6395 * configure: Regenerated.
6396
8149f976
TS
63972012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6398
05f3d1f6
UD
6399 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
6400 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
6401 conformtest.pl
8149f976 6402
1a4ac776
JM
64032012-03-21 Joseph Myers <joseph@codesourcery.com>
6404
be22ce65
JM
6405 * NOTES: Remove.
6406 * Makefile (files-for-dist): Remove NOTES.
6407 (NOTES): Remove rule.
6408 * README: Don't refer to NOTES.
6409 * manual/creature.texi: Don't include macros.texi.
6410 * manual/intro.texi (creature.texi): Remove comment referring to
6411 NOTES.
6412
40b601fb
JM
6413 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6414 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6415 * configure: Regenerated.
6416 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6417 LIBC_TRY_CC_OPTION.
6418 (libc_cv_as_i686): Likewise.
6419 (libc_cv_cc_avx): Likewise.
6420 (libc_cv_cc_sse2avx): Likewise.
6421 (libc_cv_cc_fma4): Likewise.
6422 (libc_cv_cc_novzeroupper): Likewise.
6423 * sysdeps/i386/configure: Regenerated.
6424
1a4ac776
JM
6425 [BZ #13883]
6426 * sysdeps/i386/fpu/s_cexp.S: Remove.
6427 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6428 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6429 * math/libm-test.inc (cexp_test): Add more tests.
6430 * sysdeps/i386/fpu/libm-test-ulps: Update.
6431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6432
a458e7fe
AM
64332012-03-21 Allan McRae <allan@archlinux.org>
6434
6435 * timezone/Makefile: Do not install iso3166.tab and zone.tab
6436
0cb7efc5
JM
64372012-03-21 Joseph Myers <joseph@codesourcery.com>
6438
6439 [BZ #13871]
6440 * math/w_exp2.c: Do not include <float.h>.
6441 (o_threshold, u_threshold): Remove.
6442 (__exp2): Calculate result before checking finiteness and calling
6443 __kernel_standard.
6444 * math/w_exp2f.c: Likewise.
6445 * math/w_exp2l.c: Likewise.
6446 * math/libm-test.inc (exp2_test): Require overflow exception for
6447 1e6 input.
2460d3aa
JM
6448
6449 [BZ #3866]
6450 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6451 range of signed 64-bit integers before using fistpll. Remove
6452 checks for whether integers fit in mantissa bits.
6453 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6454 the range of signed 32-bit integers before using fistpl. Remove
6455 checks for whether integers fit in mantissa bits.
6456 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6457 (__ieee754_powl): Test for y outside the range of signed 64-bit
6458 integers before using fistpll. Reduce 64-bit values to 63-bit
6459 ones as needed.
6460 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6461 divide-by-zero is raised for zero to large negative powers.
6462 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6463 (__ieee754_powl): Test for y outside the range of signed 64-bit
6464 integers before using fistpll. Reduce 64-bit values to 63-bit
6465 ones as needed.
6466 * math/libm-test.inc (pow_test): Add more tests.
6467
eb96ffb0
L
64682012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6469
6470 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6471 <stdio-common/_itoa.h>.
6472 * debug/segfault.c: Likewise.
6473 * elf/dl-cache.c: Likewise.
6474 * elf/dl-minimal.c: Likewise.
6475 * elf/dl-misc.c: Likewise.
6476 * elf/dl-sysdep.c: Likewise.
6477 * elf/dl-version.c: Likewise.
6478 * elf/rtld.c: Likewise.
6479 * hurd/hurdsock.c: Likewise.
6480 * hurd/lookup-retry.c: Likewise.
6481 * malloc/malloc.c: Likewise.
6482 * malloc/mtrace.c: Likewise.
6483 * nscd/nscd_getgr_r.c: Likewise.
6484 * nscd/nscd_getpw_r.c: Likewise.
6485 * nscd/nscd_getserv_r.c: Likewise.
6486 * posix/getopt_init.c: Likewise.
6487 * posix/wordexp.c: Likewise.
6488 * stdio-common/_itoa.c: Likewise.
6489 * stdio-common/printf_fphex.c: Likewise.
6490 * stdio-common/vfprintf.c: Likewise.
6491 * string/_strerror.c: Likewise.
6492 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6493 * sysdeps/i386/i686/hp-timing.h: Likewise.
6494 * sysdeps/mach/_strerror.c: Likewise.
6495 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6496 * sysdeps/mach/hurd/sethostid.c: Likewise.
6497 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6498 * sysdeps/mach/xpg-strerror.c: Likewise.
6499 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6500 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6501 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6502 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6503 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6504 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6505 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6506 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6507 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6508 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6509 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6510 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6511 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6512 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6513 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6514 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6515 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6516 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6517 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6518 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6519 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6520
6521 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6522
6523 * stdio-common/_itoa.h: Moved to ...
6524 * sysdeps/generic/_itoa.h: Here.
6525
6526 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6527
6528 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6529 instead of "_itoa.h" and "_itowa.h".
6530 * stdio-common/vfprintf.: Likewise.
6531
d1af992d
L
65322012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6533
6534 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6535 <bits/wordsize.h>.
6536 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6537 (__signbit): Likwise.
6538 (llrintf): Likwise.
6539 (llrint): Likwise.
6540
114883e0
L
65412012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6542
6543 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6544 __WORDSIZE != 64.
6545
c135cc1b
JM
65462012-03-20 Joseph Myers <joseph@codesourcery.com>
6547
6548 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6549 OVERFLOW_EXCEPTION_OK.
6550 * math/libm-test.inc ("Philosophy"): Update comment about
6551 exception testing.
6552 (OVERFLOW_EXCEPTION): Define.
6553 (OVERFLOW_EXCEPTION_OK): Likewise.
6554 (INVALID_EXCEPTION_OK): Renumber.
6555 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6556 (IGNORE_ZERO_INF_SIGN): Likewise.
6557 (test_exceptions): Handle FE_OVERFLOW.
6558 (exp10_test): Expect overflow exceptions.
6559 (exp2_test): Likewise.
6560 (expm1_test): Likewise.
6561 (nextafter_test): Likewise.
6562 (pow_test): Likewise.
6563 (scalbn_test): Likewise.
6564 (scalbln_test): Likewise.
6565
95443d88
L
65662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6567
6568 * sysdeps/x86_64/bits/atomic.h
6569 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6570 64bit integer.
6571 (atomic_exchange_acq): Likewise.
6572 (__arch_exchange_and_add_body): Likewise.
6573 (__arch_add_body): Likewise.
6574 (atomic_add_negative): Likewise.
6575 (atomic_add_zero): Likewise.
6576
490df6c4
L
65772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6578
c2722551 6579 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
6580 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6581
5e52b189
L
65822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6583
6584 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6585 Check __x86_64__ instead of __WORDSIZE.
6586
a9879d4c
L
65872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6588
6589 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6590
5df98260
DM
65912012-03-19 David S. Miller <davem@davemloft.net>
6592
e1497744
DM
6593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6594
5df98260
DM
6595 * sysdeps/sparc/fpu/fenv_private.h: New file.
6596 * sysdeps/sparc/fpu/math_private.h: Use it.
6597 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6598 Remove.
6599 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6600 (libc_feholdexcept_setroundl): Remove.
6601 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6602 Remove.
6603 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6604 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6605
b4c35121
L
66062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6607
6608 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6609 int64_t instead of long int.
6610 (INSERT_WORDS64): Likwise.
6611
56965fd7
L
66122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6613
6614 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6615 _Unwind_GetCFA return to _Unwind_Ptr first.
6616
83d1aec8
JM
66172012-03-19 Joseph Myers <joseph@codesourcery.com>
6618
1897ad44
JM
6619 [BZ #13629]
6620 * math/s_clog.c: Include <float.h>.
6621 (__clog): Scale large or subnormal inputs.
6622 * math/s_clogf.c: Likewise.
6623 * math/s_clogl.c: Likewise.
6624 * math/s_clog10.c: Include <float.h>.
6625 (M_LOG10_2): Define.
6626 (__clog10): Scale large or subnormal inputs.
6627 * math/s_clog10f.c: Likewise.
6628 * math/s_clog10l.c: Likewise.
6629 * math/libm-test.inc (clog_test): Add more tests.
6630 (clog10_test): Likewise.
6631 * sysdeps/i386/fpu/libm-test-ulps: Update.
6632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6633
7726d6a9
JM
6634 [BZ #11451]
6635 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6636 x and y.
6637 * math/libm-test.inc (atan2_test): Add another test.
6638
83d1aec8
JM
6639 * Makerules (common-objdir-compile): Remove.
6640 * sysdeps/unix/Makefile (config-generated): Do not add
6641 $(unix-generated) to variable.
6642 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6643 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6644 Remove rule.
6645 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6646 Likewise.
6647 [generic bits/local_lim.h] (before-compile): Do not append to
6648 variable.
6649 [generic bits/local_lim.h] (common-generated): Likewise.
6650 [generic sys/param.h] (before-compile): Do not append to variable.
6651 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6652 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6653 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6654 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6655 include.
6656 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6657 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6658 [generic sys/param.h] ($(addprefix
6659 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6660 [generic sys/param.h] (common-generated): Do not append to
6661 variable.
6662 [generic sys/param.h] (sysdep_headers): Likewise.
6663 [generic bits/errno.h] (before-compile): Do not append to
6664 variable.
6665 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6666 rule.
6667 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6668 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6669 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6670 [generic bits/errno.h] (common-generated): Do not append to
6671 variable.
6672 [generic bits/ioctls.h] (before-compile): Do not append to
6673 variable.
6674 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6675 rule.
6676 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6677 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6678 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6679 rule.
6680 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6681 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6682 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6683 [generic bits/ioctls.h] (common-generated): Do not append to
6684 variable.
6685 [generic sys/syscall.h] (syscall.h): Remove variable.
6686 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6687 rule.
6688 [generic sys/syscall.h] (before-compile): Do not append to
6689 variable.
6690 [generic sys/syscall.h] (common-generated): Likewise.
6691 * sysdeps/unix/errnos-tmpl.c: Remove file.
6692 * sysdeps/unix/errnos.awk: Likewise.
6693 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6694 * sysdeps/unix/ioctls.awk: Likewise.
6695 * sysdeps/unix/mk-local_lim.c: Likewise.
6696 * sysdeps/unix/snarf-ioctls: Likewise.
6697
4851a949
RH
66982012-03-19 Richard Henderson <rth@twiddle.net>
6699
bd37f2ee
RH
6700 * sysdeps/i386/fpu/fenv_private.h: New file.
6701 * sysdeps/i386/fpu/math_private.h: Use it.
6702 (math_opt_barrier, math_force_eval): Remove.
6703 (libc_feholdexcept_setround_53bit): Remove.
6704 (libc_feupdateenv_53bit): Remove.
6705 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6706 (math_opt_barrier, math_force_eval): Remove.
6707 (libc_feholdexcept): Remove.
6708 (libc_feholdexcept_setround): Remove.
6709 (libc_fetestexcept, libc_fesetenv): Remove.
6710 (libc_feupdateenv_test): Remove.
6711 (libc_feupdateenv, libc_feholdsetround): Remove.
6712 (libc_feresetround): Remove.
6713
d0adc922
RH
6714 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6715 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6716
0fe0f1f8
RH
6717 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6718 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6719 (libc_feupdateenv_testl): New.
6720 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6721 (libc_feupdateenv_testf): New.
6722 (libc_feupdateenv): Use libc_feupdateenv_test.
6723 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6724 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6725
eb92c487
RH
6726 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6727 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6728 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6729 (libc_feresetround_noex): New.
6730 (libc_feresetround_noexf): New.
6731 (libc_feresetround_noexl): New.
6732 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6733 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6734 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6735 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6736 SET_RESTORE_ROUND.
6737 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6738 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6739 (__cos): Likewise.
6740 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6741 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6742 SET_RESTORE_ROUND_NOEX.
6743 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6744 SET_RESTORE_ROUND_NOEXF.
6745 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6746 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6747 (libc_feholdsetroundf): New.
6748 (libc_feresetround, libc_feresetroundf): New.
6749
7d2e8012
RH
6750 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6751 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6752 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6753
b4dabbb4
RH
6754 * sysdeps/generic/math_private.h: Include <fenv.h>.
6755 (default_libc_feholdexcept): New.
6756 (default_libc_feholdexcept_setround): New.
6757 (default_libc_fesetenv, default_libc_feupdateenv): New.
6758 (libc_feholdexcept): Only define if undefined.
6759 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6760 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6761 (libc_feholdexcept_setroundl): Likewise.
6762 (libc_feholdexcept_setround_53bit): Likewise.
6763 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6764 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6765 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6766 (libc_feupdateenv_53bit): Likewise.
6767 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6768 (libc_feholdexcept): Convert from macro to inline function.
6769 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6770 (libc_fesetenv, libc_feupdateenv): Likewise.
6771
4851a949
RH
6772 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6773 not previously defined.
6774 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6775 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6776 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6777 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6778 * sysdeps/ieee754/flt-32/math_private.h: New file.
6779 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6780 math_private.h below SET_FLOAT_WORD.
6781 (__isnan, __isinf_ns, __finite): Remove.
6782 (__isnanf, __isinf_nsf, __finitef): Remove.
6783
e79d442e
AS
67842012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6785
6786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6787
90b80344
DM
67882012-03-17 David S. Miller <davem@davemloft.net>
6789
6790 [BZ #6471]
6791 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6792 for 2.16.
6793
edc21804
DM
67942012-03-16 David S. Miller <davem@davemloft.net>
6795
77e927af
DM
6796 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6797 warnings.
6798
374976dd
DM
6799 [BZ #6471]
6800 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6801 properly.
6802 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6803 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6804 sysdep_routines when subdir is sysvipc.
6805 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6806 __getshmlba helper.
6807
edc21804
DM
6808 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6809
473c3ef3
L
68102012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6811
6812 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6813 [__LP64__].
6814
eb0f39b6
L
68152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6816
6817 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6818 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6819 (__lround): Renamed to ...
6820 (__llround): This. Replace long int with long long int.
6821 Define lround functions as aliases of llround functions.
6822 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6823
6b6cd74b
L
68242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6825
6826 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6827 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6828 adresses to uintptr_t. Replace "long int" and "unsigned long
6829 int" with "greg_t" on va_arg.
6830
f1a77b01
L
68312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6832
6833 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6834 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6835
6836 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6837 Move e_machine check before EI_CLASS check. Handle x32
6838 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6839 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6840 SKIP_EM_IA_64 and include
6841 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6842
6843 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6844 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6845 (add_system_dir): New macro.
6846
6847 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6848 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6849
11b90b9f
JM
68502012-03-16 Joseph Myers <joseph@codesourcery.com>
6851
c36e1d23
JM
6852 [BZ #2551]
6853 [BZ #2552]
6854 [BZ #2553]
6855 [BZ #2554]
6856 [BZ #2562]
6857 [BZ #2563]
6858 [BZ #2565]
6859 [BZ #2566]
6860 [BZ #2576]
6861 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6862 (y0): Likewise.
6863 * math/w_j0f.c (j0f): Likewise.
6864 (y0f): Likewise.
6865 * math/w_j0l.c (__j0l): Likewise.
6866 (__y0l): Likewise.
6867 * math/w_j1.c (j1): Likewise.
6868 (y1): Likewise.
6869 * math/w_j1f.c (j1f): Likewise.
6870 (y1f): Likewise.
6871 * math/w_j1l.c (__j1l): Likewise.
6872 (__y1l): Likewise.
6873 * math/w_jn.c (jn): Likewise.
6874 (yn): Likewise.
6875 * math/w_jnf.c (jnf): Likewise.
6876 (ynf): Likewise.
6877 * math/w_jnl.c (__jnl): Likewise.
6878 (__ynl): Likewise.
6879 * math/libm-test.inc (j0_test): Add more tests.
6880 (j1_test): Likewise.
6881 (jn_test): Likewise. Add trailing semicolon to existing test.
6882 (y0_test): Likewise.
6883 (y1_test): Likewise.
6884 * sysdeps/i386/fpu/libm-test-ulps: Update.
6885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6886
11b90b9f
JM
6887 [BZ #13851]
6888 [BZ #13854]
6889 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6890 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6891 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6892 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6893 (__tanl): Set errno for infinite argument.
6894 * sysdeps/i386/fpu/mptan.c: Remove.
6895 * sysdeps/i386/fpu/s_tan.S: Likewise.
6896 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6897 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6898 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6899 * math/libm-test.inc (tan_test): Add more tests and enable more
6900 tests for double and long double.
6901 * sysdeps/i386/fpu/libm-test-ulps: Update.
6902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6903
6a1bd2a1
JK
69042012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6905
6906 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6907 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6908
10a803e0
RM
69092012-03-16 Roland McGrath <roland@hack.frob.com>
6910
6911 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6912 * configure.in: Use it for both main tree and add-ons.
6913 * configure: Regenerated.
6914
f196c7f7
L
69152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6916
6917 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6918
8848d99d
JM
69192012-03-16 Joseph Myers <joseph@codesourcery.com>
6920
96cbe7f4
JM
6921 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6922 in comment.
6923
8848d99d
JM
6924 [BZ #13851]
6925 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6926 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6927 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6928 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6929 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6930 infinite argument.
6931 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6932 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6933 != 0 for prec == 2.
6934 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6935 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6936 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6937 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6938 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6939 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6940 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6941 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6942 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6943 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6944 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6945 * math/libm-test.inc (cos_test): Add more tests and enable more
6946 tests for long double.
6947 (sin_test): Likewise.
6948 (sincos_test): Likewise.
6949 * sysdeps/i386/fpu/libm-test-ulps: Update.
6950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6951
dd7f4703
DM
69522012-03-16 David S. Miller <davem@davemloft.net>
6953
6954 * sysdeps/sparc/fpu/math_private.h: New file.
6955
006f1daa
DM
69562012-03-15 David S. Miller <davem@davemloft.net>
6957
c0c83bc8
DM
6958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6959 file.
e6a62e18 6960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6962 file.
e6a62e18
DM
6963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6964 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6965 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6966 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6968 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6969 sysdep routines.
6970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6971
88cb87d9
DM
6972 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6973 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6974
006f1daa 6975 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6977 sparc-ifunc.h
006f1daa 6978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6980 Likewise.
6981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6982 Likewise.
006f1daa
DM
6983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6987 Likewise.
006f1daa
DM
6988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6993 Likewise.
6994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6995 Likewise.
006f1daa
DM
6996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7000 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7001 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7002 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7003 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7004 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7005 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7006 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7007 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7008 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7010 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7011 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7012 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7013 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7014 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7015 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7016 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7017 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7018 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7019 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7020
11e0098e
AS
70212012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7022
7023 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7024 scaling.
7025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7026
e85b09d0
AJ
70272012-03-15 Andreas Jaeger <aj@suse.de>
7028
7029 [BZ #13852]
7030 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7031 ieee754/flt-32 implementation for sin, cos and sincos.
7032 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7033 * sysdeps/i386/fpu/s_cosf.S: Likewise.
7034 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7035 * sysdeps/i386/fpu/s_sinf.S: Likewise.
7036 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7037 ieee754/flt-32 implementation for tan.
7038
7039 * math/libm-test.inc (cos_test): Enable some large input tests for
7040 float as well
7041 (sin_test): Likewise.
7042 (sincos_test): Likewise.
7043 (tan_test): Add tests for large input.
7044
7045 * sysdeps/i386/fpu/libm-test-ulps: Update.
7046
81c64153
AJ
70472012-03-15 Andreas Jaeger <aj@suse.de>
7048
7049 [BZ #13658]
7050 * math/libm-test.inc (cos_test): Add more test cases.
7051 (sin_test): Likewise.
7052 (sincos_test): Likewise.
7053
7bbfa5c6
AJ
70542012-03-15 Andreas Jaeger <aj@suse.de>
7055
7056 [BZ #13837]
7057 * math/libm-test.inc (cos_test): Add a test case for large input
7058 value.
7059 (sin_test): Likewise.
7060 (sincos_test): Likewise.
7061
70622012-03-15 Andreas Jaeger <aj@suse.de>,
7063 Joseph Myers <joseph@codesourcery.com>
7064
7065 [BZ #13658]
0671f479 7066 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
7067 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7068 * sysdeps/i386/fpu/branred.c: Likewise.
7069 * sysdeps/i386/fpu/dosincos.c: Likewise.
7070 * sysdeps/i386/fpu/mpa.c: Likewise.
7071 * sysdeps/i386/fpu/s_cos.S: Likewise.
7072 * sysdeps/i386/fpu/s_sin.S: Likewise.
7073 * sysdeps/i386/fpu/s_sincos.S: Likewise.
7074 * sysdeps/i386/fpu/sincos32.c: Likewise.
7075
7076 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7077 Define.
7078 (libc_feupdateenv_53bit): Define.
7079 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7080 Define.
7081 (libc_feupdateenv_53bit): Define.
7082
7083 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7084 53 bit (without extend i386 double precision).
7085
7086 * math/libm-test.inc (sincos_test): Add tests for large input.
7087 (sin): Likewise.
7088 (cos): Likewise.
7089
7090 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7091
9cad04ea
AS
70922012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7093
7094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7095
f7062b9a
DM
70962012-03-15 David S. Miller <davem@davemloft.net>
7097
7098 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7099 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7100 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7101 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7106 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7107 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
7113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7114 file.
f7062b9a 7115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
7116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7117 file.
f7062b9a 7118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
7119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7120 file.
f7062b9a 7121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
7122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7123 file.
f7062b9a
DM
7124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7125 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7126 fmin/fmax sysdep routines.
7127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7128
7bd951ff
DM
71292012-03-14 David S. Miller <davem@davemloft.net>
7130
559398ab
DM
7131 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7132 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7133 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7134 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7135 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7136 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7137 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7138 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7139 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7140 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7141 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7142 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7143 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7144 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7145 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7146 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7147 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7148 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7149 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7150 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7151 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7152 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7153 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7154 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7155 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7156 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7157 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7158 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7159 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7160 routines.
7161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7162 file.
559398ab 7163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
7164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7165 file.
559398ab 7166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
7167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7168 file.
559398ab 7169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
7170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7171 file.
559398ab 7172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
7173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7174 file.
559398ab 7175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
7176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7177 file.
7178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7179 file.
7180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7181 file.
7182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7183 file.
7184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7185 New file.
7186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7187 file.
7188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7189 file.
559398ab 7190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
7191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7192 file.
559398ab 7193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7195 file.
559398ab 7196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
7197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7198 file.
559398ab 7199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
7200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7201 VIS3 routines.
559398ab
DM
7202
7203 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7204 New file.
7205
5a1c1e32
DM
7206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7207
eae47a36
DM
7208 * sysdeps/sparc/configure.in: New file.
7209 * sysdeps/sparc/configure: Generate.
7210 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7211 * configure: Regenerate.
7212 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7213 * config.make.in (have-as-vis3): New.
7214 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7215 available use -Av9d instead of -Av9a.
7216 * sysdeps/sparc/sparc64/Makefile: Likewise.
7217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
7218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7219 New file.
7220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7221 file.
7222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7223 New file.
7224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7225 file.
eae47a36
DM
7226 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7227 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7228 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7229 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7230 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7231
c0c83bc8
DM
7232 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7233 fzeros/fnegs to load 0x80000000 into a float register instead of
7234 using the stack.
7bd951ff
DM
7235 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7236
bd951ccb
JM
72372012-03-14 Joseph Myers <joseph@codesourcery.com>
7238
7239 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7240 bits/syscall.h.
7241 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7242 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7243 ($(inst_includedir)/bits/syscall.h): Remove rule.
7244 ($(objpfx)bits/syscall.d): Include instead of
7245 $(objpfx)syscall-list.d.
7246 (generated): Change syscall-list.h and syscall-list.d to
7247 bits/syscall.h and bits/syscall.d.
7248
bb4e6db2
RM
72492012-03-14 Roland McGrath <roland@hack.frob.com>
7250
7251 [BZ #13846]
7252 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7253
aa4a2ae1
JM
72542012-03-14 Joseph Myers <joseph@codesourcery.com>
7255
e456826d
JM
7256 [BZ #13841]
7257 * math/s_csqrt.c: Include <float.h>.
7258 (__csqrt): Scale large or subnormal inputs.
7259 * math/s_csqrtf.c: Likewise.
7260 * math/s_csqrtl.c: Likewise.
7261 * math/libm-test.inc (csqrt_test): Add more tests.
7262 * sysdeps/i386/fpu/libm-test-ulps: Update.
7263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7264
aa4a2ae1
JM
7265 [BZ #13840]
7266 * math/libm-test.inc (hypot_test): Add more tests.
7267
7c10fd35
DM
72682012-03-13 David S. Miller <davem@davemloft.net>
7269
7270 [BZ #13840]
7271 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7272 double-precision for the calculation instead of scaling.
7273
f453b98b
JM
72742012-03-13 Joseph Myers <joseph@codesourcery.com>
7275
7276 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7277 manipulate bits before adding and subtracting TWO52[sx].
7278 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7279 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7280 Likewise.
7281 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7282
09a3453f
DM
72832012-03-13 David S. Miller <davem@davemloft.net>
7284
8e59da90
DM
7285 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7286 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7287 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7288 rtld-global-offsets.h
7289 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7290
2a8ab7f2
DM
7291 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7292 large parameters.
7293
10f62770
DM
7294 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7295
5f0bdb18
DM
7296 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7297 'err' in the ifdef scope in which it is actually used.
7298
09a3453f
DM
7299 * nss/nss_db/db-init.c: Include string.h
7300
b4b2eb5e
DM
73012012-03-12 David S. Miller <davem@davemloft.net>
7302
98bb2f1c
DM
7303 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7304 masking out of the most significant byte of random value used.
7305 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7306 Fix coding style in previous change.
7307
b4b2eb5e
DM
7308 * sysdeps/unix/sysv/linux/kernel-features.h
7309 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7310 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7311 expression.
7312 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7313 later.
7314
6e226b09
DM
73152012-03-11 David S. Miller <davem@davemloft.net>
7316
a1bcbd40
DM
7317 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7318 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7319 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7320 for 'resultvar' otherwise things get truncated on 64-bit.
7321
cb9d6174
DM
7322 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7323 Fix masking out of the most significant byte of random value used.
7324
6e226b09
DM
7325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7326
058c132d
AS
73272012-03-10 Andreas Schwab <schwab@linux-m68k.org>
7328
7329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7330
2d2cd515
DM
73312012-03-09 David S. Miller <davem@davemloft.net>
7332
7333 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7334 variables with appropriate CPP guards.
7335 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7336 frame pointer, not the stack pointer. Correct layout comments. Fix test
7337 on resulting framesize and the management of the outregs buffer for pltexit.
7338 Preserve floating point return values across _dl_call_pltexit call.
7339 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7340 framesize and the management of the outregs buffer for pltexit.
7341 Preserve floating point return values across _dl_call_pltexit
7342 call.
7343 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7344 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7345 (print_exit): Fix format string for return register value.
7346
9a07f9d0
JM
73472012-03-10 Joseph Myers <joseph@codesourcery.com>
7348
7349 * sunrpc/Makefile (others): Add rpcgen.
7350 ($(objpfx)rpcgen): Remove special build rule and dependency on
7351 libc.
7352 * sunrpc/rpcgen.c: New file.
7353
547b5e30
PE
73542012-03-09 Paul Eggert <eggert@cs.ucla.edu>
7355
c524201a
PE
7356 [BZ #13673]
7357 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7358 * stdio-common/bug-vfprintf-nargs.c: Likewise.
7359 * sysdeps/i386/crti.S: Likewise.
7360 * sysdeps/i386/crtn.S: Likewise.
7361 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7362 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7363 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7364 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7365 * sysdeps/sh/crti.S: Likewise.
7366 * sysdeps/sh/crtn.S: Likewise.
7367 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7368
7b6235f2
PE
7369 [BZ #13673]
7370 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7371 with URL.
7372 * locale/programs/locfile-kw.gperf: Likewise.
7373 * locale/programs/charmap-kw.h: Regenerated.
7374 * locale/programs/locfile-kw.h: Likewise.
7375
547b5e30
PE
7376 [BZ #13673]
7377 * intl/plural.y: Replace FSF snail mail address with URL.
7378 * intl/plural.c: Regenerated.
7379
5f0a5dae
RH
73802012-03-09 Richard Henderson <rth@twiddle.net>
7381
7382 * include/math_private.h: Remove file.
7383 * math/math_private.h: Move file ...
7384 * sysdeps/generic/math_private.h: ... here.
7385
b8c03620
RH
7386 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7387 * sysdeps/powerpc/fpu/math_private.h: Likewise.
7388 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7389
4e234f5d 7390 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
7391 and <math_private.h>.
7392 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7393 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7394 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7395 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7396 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7397 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
7398 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7399 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7400 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7401 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7402 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7403 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7404 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7405 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7406 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7407 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7408 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7409 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7410 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7411 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7412 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7413 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7414 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7415 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7416 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7417 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7418 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7419 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7420 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7421 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7422 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7423 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7424 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7425 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7426 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7427 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7428 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7429 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7430 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7431 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7432 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7433 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7434 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7435 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7436 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7437 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7438 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7439 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7440 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7441 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7442 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7443 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7444 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7445 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7446 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7447 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7448 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7449 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7450 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7451 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7452 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7453 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7454 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7455 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7456 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7457 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7458 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7459 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7460 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7461 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7462 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7463 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7464 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7465 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7466 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7467 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7468 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7469 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7470 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7471 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7472 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7473 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7474 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7475 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7476 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7477 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7478 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7479 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7480 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7481 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7482 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7483 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7484 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7485 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7486 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7487 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7488 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7489 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7490 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7491 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7492 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7493 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7494 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7495 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7496 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7497 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7498 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7499 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7500 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7501 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7502 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7503 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7504 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7505 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7506 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7507 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7508 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7509 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7510 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7511 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7512 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7513 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7514 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7515 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7516 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7517 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7518 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7519 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7520 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7521 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7522 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7523 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7524 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7525 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7526 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7527 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7528 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7529 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7530 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7531 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7532 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7533 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7534 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7535 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7536 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7537 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7538 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7539 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7540 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7541 * sysdeps/ieee754/k_standard.c: Likewise.
7542 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7543 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7544 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7545 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7546 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7547 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7548 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7549 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7550 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7551 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7552 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7553 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7554 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7555 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7556 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7557 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7558 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7559 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7560 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7561 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7562 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7563 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7564 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7565 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7566 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7567 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7568 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7569 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7570 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7571 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7572 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7573 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7574 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7575 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7576 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7577 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7578 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7579 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7580 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7581 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7582 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7583 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7584 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7585 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7586 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7587 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7588 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7589 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7590 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7591 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7592 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7593 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7594 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7595 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7596 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7597 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7598 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7599 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7600 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7601 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7602 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7603 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7604 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7605 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7606 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7607 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7608 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7609 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7610 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7611 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7612 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7613 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7614 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7615 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7616 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7617 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7618 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7619 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7620 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7621 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7622 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7623 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7624 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7625 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7626 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7627 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7628 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7629 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7630 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7631 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7632 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7633 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7634 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7635 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7636 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7637 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7638 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7639 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7640 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7641 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7642 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7643 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7644 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7645 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7646 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7647 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7648 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7649 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7650 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7651 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7652 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7653 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7654 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7655 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7656 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7657 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7658 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7659 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7660 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7661 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7662 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7663 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7664 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7665 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7666 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7667 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7668 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7669 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7670 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7671 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7672 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7673 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7674 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7675 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7676 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7677 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7678 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7679 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7680 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7681 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7682 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7683 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7684 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7685 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7686 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7687 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7688 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7689 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7690 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7691 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7692 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7693 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7694 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7695 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7696 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7697 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7698 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7699 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7700 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7701 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7702 * sysdeps/ieee754/s_lib_version.c: Likewise.
7703 * sysdeps/ieee754/s_matherr.c: Likewise.
7704 * sysdeps/ieee754/s_signgam.c: Likewise.
7705 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7706 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7707 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7708 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7709 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7710 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7711 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7712 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7713 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7714 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7715 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7716 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7717 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7718 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7719 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7720 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7721 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7722 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7723 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7724 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7725 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 7726
1991fa03
JM
77272012-03-09 Joseph Myers <joseph@codesourcery.com>
7728
7729 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7730 * sunrpc/rpc_main.c: Likewise.
7731 * sunrpc/rpc_svcout.c: Likewise.
7732
60d6f5a6
DM
77332012-03-09 David S. Miller <davem@davemloft.net>
7734
7735 * include/math_private.h: New file.
7736
4962050e
JM
77372012-03-09 Joseph Myers <joseph@codesourcery.com>
7738
02a6f887
JM
7739 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7740 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7741 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7742 from <bits/socket_type.h>.
7743 (enum __socket_type): Don't define here.
7744 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7745 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7746 bits/socket_type.h.
7747
c6e013c1
JM
7748 [BZ #13566]
7749 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7750 checking __USE_GNU.
7751
4962050e
JM
7752 * Makerules ($(inst_includedir)/%.h): New rule.
7753 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7754 (install-others): Remove variable setting.
7755 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7756
38842f45
RH
77572012-03-08 Richard Henderson <rth@twiddle.net>
7758
67bb6da6
RH
7759 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7760 from macro to inline function; merge with the
7761 !__LIBC_INTERNAL_MATH_INLINES version.
7762 (__ieee754_sqrtf): Likewise.
7763
15194b4b
RH
7764 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7765 to inline function.
7766 (__rintf, __floor, __floorf): Likewise.
7767
64e21ede
RH
7768 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7769 macro to inline function.
7770 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7771
38842f45
RH
7772 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7773 not <math/math_private.h>.
7774
c64bf5fe
DM
77752012-03-08 David S. Miller <davem@davemloft.net>
7776
7777 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7778 copyright year.
7779 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7780
82d86f28
TS
77812012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7782
7783 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7784 normalization.
7785 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7786 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7787
aea5d727
UD
77882012-03-08 Ulrich Drepper <drepper@gmail.com>
7789
7790 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7791 be defined individually, they must be defined as a block. Define
7792 S for printing a string instead of hidint the different by using a
7793 macro for adding the 'l'.
7794 * stdio-common/tst-fphex-wide.c: Adjust.
7795
70bca0a3
MP
77962012-03-07 Marek Polacek <polacek@redhat.com>
7797
7798 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7799
65b81130
MP
78002012-03-08 Marek Polacek <polacek@redhat.com>
7801
7802 [BZ #13806]
7803 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7804 * stdio-common/tst-fphex.c: Define a few macros to make the
7805 test reusable. Use them.
7806 * stdio-common/tst-fphex-wide.c: New file.
7807
07037eeb
JM
78082012-03-08 Joseph Myers <joseph@codesourcery.com>
7809
a7a93d50
JM
7810 [BZ #6911]
7811 * manual/macros.texi (gnusystems): New macro.
7812 (nongnusystems): Likewise.
7813 (gnulinuxhurdsystems): Likewise.
7814 (gnuhurdsystems): Likewise..
7815 (gnulinuxsystems): Likewise.
7816 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7817 variants of the GNU system, not "GNU system".
7818 * manual/conf.texi: Likewise.
7819 * manual/errno.texi: Likewise. Update example of errno macro
7820 expansion.
7821 * manual/filesys.texi: Likewise.
7822 (getumask): Document as specific to GNU/Hurd.
7823 * manual/install.texi: Likewise. Reword some references to
7824 GNU/Linux.
7825 * manual/intro.texi: Likewise.
7826 * manual/io.texi: Likewise.
7827 (File Name Portability): Detail which constraints are inapplicable
7828 to all GNU systems and which are only inapplicable to GNU/Hurd.
7829 * manual/job.texi: Likewise.
7830 * manual/llio.texi: Likewise.
7831 (O_NOCTTY): Document as present on GNU/Linux.
7832 * manual/maint.texi: Likewise.
7833 * manual/memory.texi: Likewise.
7834 * manual/pattern.texi: Likewise.
7835 * manual/pipe.texi: Likewise.
7836 * manual/process.texi: Likewise.
7837 * manual/resource.texi: Likewise.
7838 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7839 child on GNU/Hurd.
7840 * manual/setjmp.texi: Likewise.
7841 * manual/signal.texi: Likewise.
7842 * manual/startup.texi: Likewise.
7843 * manual/stdio.texi: Likewise.
7844 * manual/terminal.texi: Likewise.
7845 (ONLCR): Document as POSIX.
7846 (OXTABS): Document availability on GNU/Linux as XTABS.
7847 (ONOEOT): Document availability separately from other bits.
7848 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7849 * manual/time.texi: Likewise.
7850 * manual/users.texi: Likewise.
7851 * INSTALL: Regenerated.
7852 * sysdeps/gnu/errlist.c: Regenerated.
7853
07037eeb
JM
7854 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7855 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7856 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7857 puts.
7858 * configure: Regenerated.
7859
d1d3431a
JM
78602012-03-07 Joseph Myers <joseph@codesourcery.com>
7861
af6a1e37
JM
7862 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7863 default includes instead of AC_HEADER_CHECK.
7864 * sysdeps/i386/configure: Regenerated.
7865
d1d3431a
JM
7866 [BZ #10716]
7867 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7868 * math/s_cacoshf.c (__cacoshf): Likewise.
7869 * math/s_cacoshl.c (__cacoshl): Likewise.
7870 * math/s_casinh.c (__casinh): Set signs of result from argument.
7871 * math/s_casinhf.c (__casinhf): Likewise.
7872 * math/s_casinhl.c (__casinhl): Likewise.
7873 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7874 (casinh_test): Add more tests.
7875 * sysdeps/i386/fpu/libm-test-ulps: Update.
7876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7877
482ff4da
UD
78782012-03-07 Ulrich Drepper <drepper@gmail.com>
7879
872fda05
UD
7880 * po/zh_TW.po: Update from translation team.
7881
a4300c7a
UD
7882 * login/Makefile (distribute): Remove variable.
7883 * catgets/Makefile: Likewise.
7884 * mach/Makefile: Likewise.
7885 * malloc/Makefile: Likewise.
7886 * misc/Makefile: Likewise.
7887 * iconv/Makefile: Likewise.
7888 * nscd/Makefile: Likewise.
7889 * hurd/Makefile: Likewise.
7890 * manual/Makefile: Likewise.
7891 * locale/Makefile: Likewise.
7892 * intl/Makefile: Likewise.
7893 * conform/Makefile: Likewise.
7894 * nss/Makefile: Likewise.
7895 * time/Makefile: Likewise.
7896 * soft-fp/Makefile: Likewise.
7897 * dirent/Makefile: Likewise.
7898 * gmon/Makefile: Likewise.
7899 * po/Makefile: Likewise.
7900 * rt/Makefile: Likewise.
7901 * socket/Makefile: Likewise.
7902 * math/Makefile: Likewise.
7903 * signal/Makefile: Likewise.
7904 * debug/Makefile: Likewise.
7905 * elf/Makefile: Likewise.
7906 * timezone/Makefile: Likewise.
7907 * stdlib/Makefile: Likewise.
7908 * iconvdata/Makefile: Likewise.
7909 * sunrpc/Makefile: Likewise.
7910 * io/Makefile: Likewise.
7911 * argp/Makefile: Likewise.
7912 * inet/Makefile: Likewise.
7913 * hesiod/Makefile: Likewise.
7914 * grp/Makefile: Likewise.
7915 * csu/Makefile: Likewise.
7916 * wctype/Makefile: Likewise.
7917 * crypt/Makefile: Likewise.
7918 * libio/Makefile: Likewise.
7919 * string/Makefile: Likewise.
7920 * nis/Makefile: Likewise.
7921 * resolv/Makefile: Likewise.
7922 * stdio-common/Makefile: Likewise.
7923 * wcsmbs/Makefile: Likewise.
7924 * dlfcn/Makefile: Likewise.
7925 * posix/Makefile: Likewise.
7926
3b7c4e74 7927 [BZ #6959]
482ff4da
UD
7928 * timezone/Makefile: Don't install timezone files, just the programs
7929 and scripts.
7930
f72ed77d
UD
79312012-03-06 Ulrich Drepper <drepper@gmail.com>
7932
a000466f
UD
7933 * nss/databases.def: Add missing gshadow entry.
7934
f72ed77d
UD
7935 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7936
a53b7a4e
MP
79372012-03-06 Marek Polacek <polacek@redhat.com>
7938
7939 [BZ #13726]
7940 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7941 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7942 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7943 * stdio-common/tst-long-dbl-fphex.c: New file.
7944
e9258400
DM
79452012-03-06 David S. Miller <davem@davemloft.net>
7946
7947 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7948 (set_obp_int): New function.
7949 (get_obp_int): New function.
7950 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7951 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7952 Avoid unused variable warnings on 'val' and use builtin_expect.
7953 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7954 __builtin_expect.
e9258400
DM
7955 (INLINE_CLONE_SYSCALL): Likewise.
7956
3bd2c723
DM
79572012-03-05 David S. Miller <davem@davemloft.net>
7958
7959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7960
bbb78d03
AS
79612012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7962
884c5db4
AS
7963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7964
bbb78d03
AS
7965 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7966 only for |x| >= 40.
7967 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7968
1c9f702a 79692012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7970
7971 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7972 Replace gettimeofday with __vdso_gettimeofday.
7973
7be16f82
RM
7974 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7975 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7976 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7977
7978 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7979 time with __vdso_time.
7980
ed58a00f
JM
79812012-03-05 Joseph Myers <joseph@codesourcery.com>
7982
7983 * manual/lang.texi (size_t): Note types to which size_t may be
7984 equivalent with the GNU C Library, but do not describe when
7985 differences between them are significant.
7986
30ee4ced
AJ
79872012-03-05 Andreas Jaeger <aj@suse.de>
7988
7989 * sysdeps/i386/fpu/libm-test-ulps: Update.
7990
b7cd39e8
JM
79912012-03-05 Joseph Myers <joseph@codesourcery.com>
7992
7993 [BZ #3976]
7994 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7995 (__ieee754_pow): Save and restore rounding mode and use
7996 round-to-nearest for main computations.
7997 * math/libm-test.inc (pow_test_tonearest): New function.
7998 (pow_test_towardzero): Likewise.
7999 (pow_test_downward): Likewise.
8000 (pow_test_upward): Likewise.
8001 (main): Call the new functions.
8002 * sysdeps/i386/fpu/libm-test-ulps: Update.
8003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
8004
8005 [BZ #3976]
8006 * math/libm-test.inc (cosh_test_tonearest): New function.
8007 (cosh_test_towardzero): Likewise.
8008 (cosh_test_downward): Likewise.
8009 (cosh_test_upward): Likewise.
8010 (sinh_test_tonearest): Likewise.
8011 (sinh_test_towardzero): Likewise.
8012 (sinh_test_downward): Likewise.
8013 (sinh_test_upward): Likewise.
8014 (main): Call the new functions.
8015 * sysdeps/i386/fpu/libm-test-ulps: Update.
8016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8017
6c6a98c9
TV
80182012-03-05 Tom de Vries <tom@codesourcery.com>
8019
8020 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8021 default stack guard is set in last bytes.
8022 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8023
21bb2d2e 80242012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 8025
21bb2d2e 8026 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 8027
21bb2d2e
AJ
8028 [BZ #13656]
8029 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8030 possibly allocate from heap instead of stack.
8031 * stdio-common/bug-vfprintf-nargs.c: New file.
8032 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 8033
c6922934
AS
80342012-03-03 Andreas Schwab <schwab@linux-m68k.org>
8035
8036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8037
bc957d53
MP
80382012-03-03 Marek Polacek <polacek@redhat.com>
8039
8040 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8041 * math/math_private.h: Likewise.
8042 * stdlib/tst-strtod.c: Likewise.
8043 * sysdeps/i386/i486/bits/atomic.h: Likewise.
8044 * sysdeps/x86_64/bits/atomic.h: Likewise.
8045
6358490d
DM
80462012-03-02 David S. Miller <davem@davemloft.net>
8047
8048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8052 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8053 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8054 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8055 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8056
01ae168d
RM
80572012-03-02 Roland McGrath <roland@hack.frob.com>
8058
d9a17c07
RM
8059 [BZ #13792]
8060 * manual/examples/README: New file, says the example source files
8061 can be used under GPL>=2.
8062 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8063 line containing just "*/".
8064 * manual/examples/add.c: Add copyright header (GPL>=2).
8065 * manual/examples/argp-ex1.c: Likewise.
8066 * manual/examples/argp-ex2.c: Likewise.
8067 * manual/examples/argp-ex3.c: Likewise.
8068 * manual/examples/argp-ex4.c: Likewise.
8069 * manual/examples/atexit.c: Likewise.
8070 * manual/examples/db.c: Likewise.
8071 * manual/examples/dir.c: Likewise.
8072 * manual/examples/dir2.c: Likewise.
8073 * manual/examples/execinfo.c: Likewise.
8074 * manual/examples/filecli.c: Likewise.
8075 * manual/examples/filesrv.c: Likewise.
8076 * manual/examples/fmtmsgexpl.c: Likewise.
8077 * manual/examples/genpass.c: Likewise.
8078 * manual/examples/inetcli.c: Likewise.
8079 * manual/examples/inetsrv.c: Likewise.
8080 * manual/examples/isockad.c: Likewise.
8081 * manual/examples/longopt.c: Likewise.
8082 * manual/examples/memopen.c: Likewise.
8083 * manual/examples/memstrm.c: Likewise.
8084 * manual/examples/mkfsock.c: Likewise.
8085 * manual/examples/mkisock.c: Likewise.
8086 * manual/examples/mygetpass.c: Likewise.
8087 * manual/examples/pipe.c: Likewise.
8088 * manual/examples/popen.c: Likewise.
8089 * manual/examples/rprintf.c: Likewise.
8090 * manual/examples/search.c: Likewise.
8091 * manual/examples/select.c: Likewise.
8092 * manual/examples/setjmp.c: Likewise.
8093 * manual/examples/sigh1.c: Likewise.
8094 * manual/examples/sigusr.c: Likewise.
8095 * manual/examples/stpcpy.c: Likewise.
8096 * manual/examples/strdupa.c: Likewise.
8097 * manual/examples/strftim.c: Likewise.
8098 * manual/examples/strncat.c: Likewise.
8099 * manual/examples/subopt.c: Likewise.
8100 * manual/examples/swapcontext.c: Likewise.
8101 * manual/examples/termios.c: Likewise.
8102 * manual/examples/testopt.c: Likewise.
8103 * manual/examples/testpass.c: Likewise.
8104 * manual/examples/timeval_subtract.c: Likewise.
8105
01ae168d
RM
8106 [BZ #13792]
8107 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8108 function to ...
8109 * manual/timeval_subtract.c.texi: ... here, new file.
8110
49efa33d
DM
81112012-03-02 David S. Miller <davem@davemloft.net>
8112
8113 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8114
28afd92d
JM
81152012-03-02 Joseph Myers <joseph@codesourcery.com>
8116
804360ed
JM
8117 [BZ #3976]
8118 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8119 (__sin): Save and restore rounding mode and use round-to-nearest
8120 for all computations.
8121 (__cos): Save and restore rounding mode and use round-to-nearest
8122 for all computations.
8123 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8124 <fenv.h>.
8125 (tan): Save and restore rounding mode and use round-to-nearest for
8126 all computations.
8127 * math/libm-test.inc (cos_test_tonearest): New function.
8128 (cos_test_towardzero): Likewise.
8129 (cos_test_downward): Likewise.
8130 (cos_test_upward): Likewise.
8131 (sin_test_tonearest): Likewise.
8132 (sin_test_towardzero): Likewise.
8133 (sin_test_downward): Likewise.
8134 (sin_test_upward): Likewise.
8135 (tan_test_tonearest): Likewise.
8136 (tan_test_towardzero): Likewise.
8137 (tan_test_downward): Likewise.
8138 (tan_test_upward): Likewise.
8139 (main): Call the new functions.
8140 * sysdeps/i386/fpu/libm-test-ulps: Update.
8141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8142
a6d06d7b
JM
8143 [BZ #10135]
8144 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8145 small n, then large n, before computing and testing k+n.
8146 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8147 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8148 Likewise.
8149 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8150 Likewise.
8151 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8152 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8153 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8154 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8155 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8156 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8157 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8158 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8159 * math/libm-test.inc (scalbn_test): Add more tests.
8160 (scalbln_test): Likewise.
8161
07e12bb3
JM
8162 * manual/filesys.texi (mode_t): Describe constraints on size and
8163 signedness, not exact equivalence to a particular type.
8164 (ino_t): Likewise.
8165 (ino64_t): Likewise.
8166 (dev_t): Likewise.
8167 (nlink_t): Likewise.
8168 (blkcnt_t): Likewise.
8169 (blkcnt64_t): Likewise.
8170 * manual/llio.texi (off_t): Likewise.
8171
28afd92d
JM
8172 [BZ #3976]
8173 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8174 (__ieee754_exp): Save and restore rounding mode and use
8175 round-to-nearest for all computations.
8176 * math/libm-test.inc (exp_test_tonearest): New function.
8177 (exp_test_towardzero): Likewise.
8178 (exp_test_downward): Likewise.
8179 (exp_test_upward): Likewise.
8180 (main): Call the new functions.
8181 * sysdeps/i386/fpu/libm-test-ulps: Update.
8182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8183
b1eeb65d
CD
81842012-03-01 Chris Demetriou <cgd@google.com>
8185
8186 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8187 have predictable order.
8188
53362a4b
DM
81892012-03-01 David S. Miller <davem@davemloft.net>
8190
3c969083
DM
8191 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8192
759707de
DM
8193 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8194 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8195 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8196 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8197
dfdb8ff2
DM
8198 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8199 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8200 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8202 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8203 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8204 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8205 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8206 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8207
ead89f96
DM
8208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8209
7f66bd07
DM
8210 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8211 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8212 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8213
53362a4b
DM
8214 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8215 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8216 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8217 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8218 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8219 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8220 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8221 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8222 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8223 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8224 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8225 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8226 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8227 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8228 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8229 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8230 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8231 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8232 * sysdeps/sparc/elf/configure: Regenerated.
8233
7b1902cb
JM
82342012-03-01 Joseph Myers <joseph@codesourcery.com>
8235
bec039bc
JM
8236 * configure.in (AS, LD): Require binutils 2.20 or later.
8237 * configure: Regenerated.
8238 * manual/install.texi (Tools for Compilation): Give binutils 2.20
8239 as required minimum version.
8240 * INSTALL: Regenerated.
8241
7b1902cb
JM
8242 [BZ #2541]
8243 [BZ #4108]
8244 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8245 before squaring exponent.
8246 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8247 bottom long double and 27 bits of top long double before squaring
8248 exponent.
8249 * math/libm-test.inc (erfc_test): Add more tests.
8250 * sysdeps/i386/fpu/libm-test-ulps: Update.
8251 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8253
f775c276
KT
82542012-03-01 Kai Tietz <ktietz@redhat.com>
8255
8256 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8257 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8258 containing bit-fields.
8259 * soft-fp/extended.h (_FP_UNION_E): Likewise.
8260 * soft-fp/single.h (_FP_UNION_S): Likewise.
8261 * soft-fp/double.h (_FP_UNION_D): Likewise.
8262
5b8a4d4a
JM
82632012-02-29 Joseph Myers <joseph@codesourcery.com>
8264
0bab47b6
JM
8265 [BZ #13786]
8266 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8267 not include ../strcmp.S.
8268 [USE_AS_STRNCASECMP_L]: Likewise.
8269 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8270 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8271 * sysdeps/i386/i686/multiarch/strncase_l-c.c
8272 (__strncasecmp_l_ia32): Define as alias to
8273 __strncasecmp_l_nonascii.
8274
0fcad3e2
JM
8275 [BZ #5794]
8276 * math/libm-test.inc (expm1_test): Add test for bug 5794.
8277 * sysdeps/i386/fpu/libm-test-ulps: Update.
8278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8279
5b8a4d4a
JM
8280 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8282
8fdceb2e
JL
82832012-02-29 Jeff Law <law@redhat.com>
8284
8285 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8286 out of bounds read.
8287
1f393a11
MP
82882012-02-29 Marek Polacek <polacek@redhat.com>
8289
8290 [BZ #13706]
8291 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8292 * elf/Makefile: Add rules to run tst-unused-dep.out.
8293
8847f037
DM
82942012-02-28 David S. Miller <davem@davemloft.net>
8295
8296 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8297 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8298 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8299 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8300 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8301 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8302
169d7f11
JM
83032012-02-29 Joseph Myers <joseph@codesourcery.com>
8304
8305 * math/libm-test.inc (llround_test): Move one test from
8306 lround_test. Use TEST_f_L in moved test.
8307 (lround_test): Move misplaced test to llround_test. Add testcase
8308 from bug 2561.
8309
39adf059
UD
83102012-02-28 Ulrich Drepper <drepper@gmail.com>
8311
8312 * sysdeps/x86_64/fpu/e_expf.S: New file.
8313 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8314
71b5d1c5
SB
83152012-02-28 Stanislav Brabec <sbrabec@suse.cz>
8316
8317 [BZ #13637]
8318 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8319 of remain_len that may cause incomplete multi-byte character and
8320 false match.
8321 * posix/bug-regex33.c: New file.
8322 * posix/Makefile (tests): Add bug-regex33.
8323
1f77f049
JM
83242012-02-28 Joseph Myers <joseph@codesourcery.com>
8325
8326 * manual/macros.texi: New file.
8327 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8328 * manual/libc.texinfo: Include macros.texi.
8329 * manual/creatute.texi: Likewise.
8330 * manual/install.texi: Likewise.
8331 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8332 @glibcadj{} in references to the GNU C Library.
8333 * manual/charset.texi: Likewise.
8334 * manual/conf.texi: Likewise.
8335 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
8336 when not using those macros.
8337 * manual/creature.texi: Likewise.
8338 * manual/crypt.texi: Likewise.
8339 * manual/errno.texi: Likewise.
8340 * manual/filesys.texi: Likewise.
8341 * manual/header.texi: Likewise.
8342 * manual/install.texi: Likewise.
8343 * manual/intro.texi: Likewise.
8344 * manual/io.texi: Likewise.
8345 * manual/job.texi: Likewise.
8346 * manual/lang.texi: Likewise.
8347 * manual/libc.texiinfo: Likewise.
8348 * manual/llio.texi: Likewise.
8349 * manual/locale.texi: Likewise.
8350 * manual/maint.texi: Likewise.
8351 * manual/math.texi: Likewise.
8352 * manual/memory.texi: Likewise.
8353 * manual/message.texi: Likewise.
8354 * manual/nss.texi: Likewise.
8355 * manual/pattern.texi: Likewise.
8356 * manual/process.texi: Likewise.
8357 * manual/resource.texi: Likewise.
8358 * manual/search.texi: Likewise.
8359 * manual/setjmp.texi: Likewise.
8360 * manual/signal.texi: Likewise.
8361 * manual/socket.texi: Likewise.
8362 * manual/startup.texi: Likewise.
8363 * manual/stdio.texi: Likewise.
8364 * manual/string.texi: Likewise.
8365 * manual/sysinfo.texi: Likewise.
8366 * manual/syslog.texi: Likewise.
8367 * manual/terminal.texi: Likewise.
8368 * manual/time.texi: Likewise.
8369 * manual/users.texi: Likewise.
8370 * INSTALL: Regenerated.
8371 * NOTES: Regenerated.
d40c5d54 8372 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 8373
450bf206
AS
83742012-02-28 Andreas Schwab <schwab@linux-m68k.org>
8375
8376 * include/dirent.h: Include <dirstream.h> before
8377 <dirent/dirent.h>.
8378
741a235b
DM
83792012-02-28 David S. Miller <davem@davemloft.net>
8380
8381 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
8382 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
8383 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8384 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8385
d6b5aa58
DM
83862012-02-27 David S. Miller <davem@davemloft.net>
8387
1aff59a3
DM
8388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8390 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8391 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8392
d6b5aa58
DM
8393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8394 frame pointer instead of stack pointer relative arg slot.
8395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8396 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8397 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8398
433f48bf
CD
83992012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
8400
8401 [BZ #3992]
8402 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8403
d674b76d
DM
84042012-02-27 David S. Miller <davem@davemloft.net>
8405
8406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8410 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8411 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8412 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8413 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8414
0e7727f7
JM
84152012-02-27 Joseph Myers <joseph@codesourcery.com>
8416
8417 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8418 later. Allow versions 5-9.
43be4ca2 8419 * configure: Regenerated.
0e7727f7
JM
8420 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8421 required minimum version and 4.6 as recommended version. Do not
8422 mention bugs in GCC 2.7 and 2.8.
43be4ca2 8423 * INSTALL: Regenerated.
0e7727f7 8424
a78bc654
DM
84252012-02-27 David S. Miller <davem@davemloft.net>
8426
428d5830
DM
8427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8431 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8432 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8433 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8434 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8435
a78bc654
DM
8436 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8437 manipulate bits before adding and subtracting TWO112[sx].
8438 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8439
4579f81c
RM
84402012-02-27 Roland McGrath <roland@hack.frob.com>
8441
36c8acb4
RM
8442 [BZ #13775]
8443 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8444 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8445 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8446 being in POSIX, because they are in 1003.1-2008.
8447
84ad622b
RM
8448 * rt/tst-aio.c: Include <fcntl.h>.
8449 * rt/tst-aio7.c: Likewise.
8450 * rt/tst-aio64.c: Likewise.
8451
4579f81c
RM
8452 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8453
abd923db
JM
84542012-02-27 Joseph Myers <joseph@codesourcery.com>
8455
8456 * manual/install.texi (--with-headers): Describe headers as
8457 interface headers, not private headers.
8458 (Specific advice for GNU/Linux systems): Describe use of headers
8459 from "make headers_install", not private headers from older
8460 kernels.
43be4ca2 8461 * INSTALL: Regenerated.
abd923db
JM
8462 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8463 Change to 2.6.19.
8464 * sysdeps/unix/sysv/linux/configure: Regenerated.
8465
6664049b
JM
8466 * manual/llio.texi (fclean): Remove documentation.
8467
bb8b6697
JM
8468 * manual/Makefile (libc-texi-generated): New variable. Include
8469 version.texi.
8470 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8471 $(libc-texi-generated), not duplicated list of files.
8472 (version.texi, stamp-version): New rules.
8473 (realclean): Remove $(libc-texi-generated), not individual files
8474 from that list. Do not remove dir-add.texinfo.
8475 * manual/libc.texinfo: Comment out uses of edition numbers and
8476 references to printed manual. Remove last-updated dates.
8477 (EDITION): Comment out.
8478 (ISBN): Likewise.
8479 (VERSION, UPDATED): Remove.
8480 (version.texi): Include.
8481
12e5c3b9
AS
84822012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8483
8484 * sysdeps/posix/spawni.c: Include <signal.h>.
8485 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8486 * sysdeps/pthread/aio_fsync.c: Likewise.
8487
4efeffc1 84882012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 8489
ba63ba08
UD
8490 * conform/Makefile (tests): Run only when not cross-compiling and
8491 when fast-check is not defined.
8492
d94a4670
UD
8493 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8494 * conform/data/limits.h-data: Fixes for POSIX2008.
8495 * conform/run-conformtest.sh: Run all tests.
8496 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8497 headers.
8498 * include/bits/dlfcn.h: Likewise.
8499 * include/langinfo.h: Likewise.
8500 * include/monetary.h: Likewise.
8501 * include/sys/poll.h: Likewise.
8502
8503 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8504 for __USE_GNU.
8505 * posix/spawn.h: Define __need_sigset_t.
8506 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8507 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8508 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8509 to get sigevent_t only.
8510 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8511 only for __USE_GNU.
8512 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8513 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8514 process_vm_writev only for __USE_GNU.
8515 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
8516
8517 * conform/Makefile: For now ignore errors from run-conformtest.
8518 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8519 POSIX to avoid namespace pollution. Don't prepend headers.
8520 * conform/data/aio.h-data: Fixes for POSIX testing.
8521 * conform/data/fcntl.h-data: Likewise.
8522 * conform/data/glob.h-data: Likewise.
8523 * conform/data/grp.h-data: Likewise.
8524 * conform/data/pthread.h-data: Likewise.
8525 * conform/data/pwd.h-data: Likewise.
8526 * conform/data/signal.h-data: Likewise.
8527 * conform/data/spawn.h-data: Likewise.
8528 * conform/data/stdio.h-data: Likewise.
8529 * conform/data/stdlib.h-data: Likewise.
8530 * conform/data/stropts.h-data: Likewise.
8531 * conform/data/sys/mman.h-data: Likewise.
8532 * conform/data/sys/stat.h-data: Likewise.
8533 * conform/data/sys/types.h-data: Likewise.
8534 * conform/data/sys/wait.h-data: Likewise.
8535 * conform/data/time.h-data: Likewise.
8536 * conform/data/unistd.h-data: Likewise.
8537 * conform/data/utime.h-data: Likewise.
8538
8539 * io/sys/stat.h: fchmod was always in POSIX.
8540 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8541 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8542 * rt/aio.h: Define __need_timespec before including <time.h>.
8543 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8544 struct. Add forward declaration of pthread_attr_t and use it in
8545 sigevent.
8546 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8547 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8548 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8549 always remove CLK_TCK definition.
8550
c20105c3
AS
85512012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8552
8553 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8554
7a270350
UD
85552012-02-25 Ulrich Drepper <drepper@gmail.com>
8556
31341567
UD
8557 * conform/run-conformtest.sh: New file.
8558 * conform/Makefile: Run run-conformtest for tests.
8559 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8560 support.
8561
8562 * conform/data/uchar.h-data: New file.
8563 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8564 * conform/data/arpa/inet.h-data: Likewise.
8565 * conform/data/assert.h-data: Likewise.
8566 * conform/data/complex.h-data: Likewise.
8567 * conform/data/cpio.h-data: Likewise.
8568 * conform/data/ctype.h-data: Likewise.
8569 * conform/data/dirent.h-data: Likewise.
8570 * conform/data/dlfcn.h-data: Likewise.
8571 * conform/data/errno.h-data: Likewise.
8572 * conform/data/fcntl.h-data: Likewise.
8573 * conform/data/float.h-data: Likewise.
8574 * conform/data/fmtmsg.h-data: Likewise.
8575 * conform/data/fnmatch.h-data: Likewise.
8576 * conform/data/ftw.h-data: Likewise.
8577 * conform/data/glob.h-data: Likewise.
8578 * conform/data/grp.h-data: Likewise.
8579 * conform/data/iconv.h-data: Likewise.
8580 * conform/data/inttypes.h-data: Likewise.
8581 * conform/data/langinfo.h-data: Likewise.
8582 * conform/data/libgen.h-data: Likewise.
8583 * conform/data/limits.h-data: Likewise.
8584 * conform/data/locale.h-data: Likewise.
8585 * conform/data/math.h-data: Likewise.
8586 * conform/data/monetary.h-data: Likewise.
8587 * conform/data/mqueue.h-data: Likewise.
8588 * conform/data/ndbm.h-data: Likewise.
8589 * conform/data/net/if.h-data: Likewise.
8590 * conform/data/netdb.h-data: Likewise.
8591 * conform/data/netinet/in.h-data: Likewise.
8592 * conform/data/nl_types.h-data: Likewise.
8593 * conform/data/poll.h-data: Likewise.
8594 * conform/data/pthread.h-data: Likewise.
8595 * conform/data/pwd.h-data: Likewise.
8596 * conform/data/regex.h-data: Likewise.
8597 * conform/data/sched.h-data: Likewise.
8598 * conform/data/search.h-data: Likewise.
8599 * conform/data/semaphore.h-data: Likewise.
8600 * conform/data/setjmp.h-data: Likewise.
8601 * conform/data/signal.h-data: Likewise.
8602 * conform/data/spawn.h-data: Likewise.
8603 * conform/data/stdarg.h-data: Likewise.
8604 * conform/data/stdio.h-data: Likewise.
8605 * conform/data/stdlib.h-data: Likewise.
8606 * conform/data/string.h-data: Likewise.
8607 * conform/data/strings.h-data: Likewise.
8608 * conform/data/stropts.h-data: Likewise.
8609 * conform/data/sys/ipc.h-data: Likewise.
8610 * conform/data/sys/mman.h-data: Likewise.
8611 * conform/data/sys/msg.h-data: Likewise.
8612 * conform/data/sys/resource.h-data: Likewise.
8613 * conform/data/sys/select.h-data: Likewise.
8614 * conform/data/sys/sem.h-data: Likewise.
8615 * conform/data/sys/shm.h-data: Likewise.
8616 * conform/data/sys/socket.h-data: Likewise.
8617 * conform/data/sys/stat.h-data: Likewise.
8618 * conform/data/sys/statvfs.h-data: Likewise.
8619 * conform/data/sys/time.h-data: Likewise.
8620 * conform/data/sys/timeb.h-data: Likewise.
8621 * conform/data/sys/times.h-data: Likewise.
8622 * conform/data/sys/types.h-data: Likewise.
8623 * conform/data/sys/uio.h-data: Likewise.
8624 * conform/data/sys/un.h-data: Likewise.
8625 * conform/data/sys/utsname.h-data: Likewise.
8626 * conform/data/sys/wait.h-data: Likewise.
8627 * conform/data/syslog.h-data: Likewise.
8628 * conform/data/tar.h-data: Likewise.
8629 * conform/data/termios.h-data: Likewise.
8630 * conform/data/utime.h-data: Likewise.
8631 * conform/data/utmpx.h-data: Likewise.
8632 * conform/data/varargs.h-data: Likewise.
8633 * conform/data/wchar.h-data: Likewise.
8634 * conform/data/wctype.h-data: Likewise.
8635 * conform/data/wordexp.h-data: Likewise.
8636
8637 * include/stropts.h: New file.
8638 * include/uchar.h: New file.
8639 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8640 * include/assert.h: Likewise.
8641 * include/ctype.h: Likewise.
8642 * include/dirent.h: Likewise.
8643 * include/dlfcn.h: Likewise.
8644 * include/fcntl.h: Likewise.
8645 * include/fnmatch.h: Likewise.
8646 * include/glob.h: Likewise.
8647 * include/grp.h: Likewise.
8648 * include/libio.h: Likewise.
8649 * include/locale.h: Likewise.
8650 * include/math.h: Likewise.
8651 * include/net/if.h: Likewise.
8652 * include/netdb.h: Likewise.
8653 * include/netinet/in.h: Likewise.
8654 * include/pthread.h: Likewise.
8655 * include/pwd.h: Likewise.
8656 * include/regex.h: Likewise.
8657 * include/sched.h: Likewise.
8658 * include/search.h: Likewise.
8659 * include/setjmp.h: Likewise.
8660 * include/signal.h: Likewise.
8661 * include/stdio.h: Likewise.
8662 * include/stdlib.h: Likewise.
8663 * include/string.h: Likewise.
8664 * include/sys/cdefs.h: Likewise.
8665 * include/sys/mman.h: Likewise.
8666 * include/sys/msg.h: Likewise.
8667 * include/sys/resource.h: Likewise.
8668 * include/sys/select.h: Likewise.
8669 * include/sys/socket.h: Likewise.
8670 * include/sys/stat.h: Likewise.
8671 * include/sys/statvfs.h: Likewise.
8672 * include/sys/time.h: Likewise.
8673 * include/sys/times.h: Likewise.
8674 * include/sys/uio.h: Likewise.
8675 * include/sys/utsname.h: Likewise.
8676 * include/sys/wait.h: Likewise.
8677 * include/termios.h: Likewise.
8678 * include/time.h: Likewise.
8679 * include/ulimit.h: Likewise.
8680 * include/unistd.h: Likewise.
8681 * include/utime.h: Likewise.
8682 * include/wchar.h: Likewise.
8683 * include/wctype.h: Likewise.
8684 * include/wordexp.h: Likewise.
8685
8686 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8687
7a270350
UD
8688 * time/time.h: TIME_UTC must be a macro.
8689 Make timespec_get available for ISO C11 only as well.
8690
7724defc
UD
86912012-02-24 Ulrich Drepper <drepper@gmail.com>
8692
8693 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8694 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8695
6b1d1d46
JM
86962012-02-24 Joseph Myers <joseph@codesourcery.com>
8697
8698 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 8699
0f8bbd69
JM
87002012-02-24 Joseph Myers <joseph@codesourcery.com>
8701
8702 * manual/texinfo.tex: Update to version 2012-01-19.16.
8703
66ab80bc
JM
87042012-02-24 Joseph Myers <joseph@codesourcery.com>
8705
8706 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8707
74981cc5
RM
87082012-02-24 Roland McGrath <roland@hack.frob.com>
8709
ee968201
RM
8710 [BZ #13738]
8711 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8712 * manual/fdl-1.3.texi: New file.
8713 * manual/fdl-1.1.texi: File removed.
8714
74981cc5
RM
8715 [BZ #13738]
8716 * manual/libc.texinfo (FDL_VERSION): New @set.
8717 Use it for mention of FDL in cover text.
8718 (Documentation License): Use it in @include file name.
8719
7bb764bc
JM
87202012-02-22 Joseph Myers <joseph@codesourcery.com>
8721 Roland McGrath <roland@hack.frob.com>
8722
8723 [BZ #5461]
8724 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8725 not LONG_LONG_MAX and LONG_LONG_MIN.
8726 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8727 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8728 name.
8729 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8730
6cbeae47
JM
87312012-02-22 Joseph Myers <joseph@codesourcery.com>
8732
8733 [BZ #2547]
8734 [BZ #11365]
8735 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8736 manipulate bits before adding and subtracting TWO23[sx].
8737 * math/libm-test.inc (nearbyint_test): Add more tests.
8738
fe45ce09
JM
87392012-02-22 Joseph Myers <joseph@codesourcery.com>
8740
8741 [BZ #2548]
8742 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8743 bits before adding and subtracting TWO23[sx].
8744 * math/libm-test.inc (rint_test): Add more tests.
8745 (rint_test_tonearest): Likewise.
8746 (rint_test_towardzero): Likewise.
8747 (rint_test_downward): Likewise.
8748 (rint_test_upward: Likewise.
8749
ff3b3d82
JM
87502012-02-22 Joseph Myers <joseph@codesourcery.com>
8751
8752 [BZ #10110]
8753 * include/stdc-predef.h: New file. Extracted from features.h.
8754 * include/features.h: Include stdc-predef.h.
8755 * Makefile (headers): Add stdc-predef.h.
8756 * CONFORMANCE (Compiler limitations): Update.
8757
ef0aab35
JM
87582012-02-22 Joseph Myers <joseph@codesourcery.com>
8759
8760 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8761
58639409
DM
87622012-02-21 David S. Miller <davem@davemloft.net>
8763
8764 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8765 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8766
c0e70b25
DM
87672012-02-20 David S. Miller <davem@davemloft.net>
8768
8769 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8770 using a normal save/restore sequence, rather than allocating a
8771 dummy stack frame just to store a frame pointer and restore.
8772 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8773
fb06851d
JM
87742012-02-21 Joseph Myers <joseph@codesourcery.com>
8775
8776 * manual/install.texi: Fix stray word in line-wrapped comment.
8777
7a8b71c3
DM
87782012-02-20 David S. Miller <davem@davemloft.net>
8779
d510c123
DM
8780 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8781 both binutils and gcc support GOTDATA.
8782
0722d7c2
DM
8783 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8784 "rd %pc" in the PIC register setup sequences.
8785
3d2b3019
DM
8786 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8787 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8788 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8789 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8790 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8791 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8792 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8793 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8794 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8795 (SYSCALL_ERROR_HANDLER): Likewise.
8796 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8797 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8798 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8799 (SYSCALL_ERROR_HANDLER): Likewise.
8800
c80098a9
DM
8801 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8802 (HAVE_GCC_GOTDATA): New.
8803 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8804 relocation support in both binutils and gcc.
8805 * sysdeps/sparc/elf/configure: Regenerate.
8806
3a2545a0
DM
8807 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8808 * sysdeps/sparc/sparc32/elf/configure: Delete.
8809 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8810 * sysdeps/sparc/sparc64/elf/configure: Delete.
8811 * sysdeps/sparc/elf/configure.in: New file.
8812 * sysdeps/sparc/elf/configure: Generate.
8813
7a8b71c3
DM
8814 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8815 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8816 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8817 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8818 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8819
f1e86fca
JM
88202012-02-21 Joseph Myers <joseph@codesourcery.com>
8821
8822 * manual/install.texi: Do not mention specific glibc version
8823 numbers.
8824 * manual/libc.texinfo (VERSION, UPDATED): Update.
8825 (@copying): Use @copyright{} and range of years.
8826
0e7dfaef
JM
88272012-02-21 Joseph Myers <joseph@codesourcery.com>
8828
8829 [BZ #13695]
8830 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8831 [crti.S not in sysdirs] (generated): Do not append.
8832 [crti.S not in sysdirs] (omit-deps): Likewise.
8833 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8834 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8835 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8836 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8837 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8838 Likewise.
8839 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8840 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8841 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8842 * csu/defs.awk: Remove file.
8843 * sysdeps/generic/initfini.c: Likewise.
8844 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8845 variable.
8846 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8847 Likewise.
8848
599af3ca
JM
88492012-02-20 Joseph Myers <joseph@codesourcery.com>
8850
8851 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8852 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8853 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8854 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8855 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8856 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8857 <bits/epoll.h>.
8858 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8859 (__EPOLL_PACKED): Define to empty if not defined by
8860 <bits/epoll.h>.
8861 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8862 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8863 bits/epoll.h.
8864
0e499750
JM
88652012-02-20 Joseph Myers <joseph@codesourcery.com>
8866
8867 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8868 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8869 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8870 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8871 <bits/timerfd.h>.
8872 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8873 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8874 bits/timerfd.h.
8875
5ad91f6e
JM
88762012-02-20 Joseph Myers <joseph@codesourcery.com>
8877
8878 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8879 in C locale.
8880 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8881 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8882 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8884
06b99b02
AJ
88852012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8886
8887 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8888 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8889
7638c0fd
AS
88902012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8891
8892 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8893 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8894 defined.
8895 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8896 Likewise.
8897 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8898 entry for 2.16.
8899
92221550
AJ
89002012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8901
8902 * math/w_acos.c: Use non-signaling floating-point comparisons.
8903 * math/w_acosf.c: Likewise.
8904 * math/w_acosh.c: Likewise.
8905 * math/w_acoshf.c: Likewise.
8906 * math/w_acoshl.c: Likewise.
8907 * math/w_acosl.c: Likewise.
8908 * math/w_asin.c: Likewise.
8909 * math/w_asinf.c: Likewise.
8910 * math/w_asinl.c: Likewise.
8911 * math/w_atanh.c: Likewise.
8912 * math/w_atanhf.c: Likewise.
8913 * math/w_atanhl.c: Likewise.
8914 * math/w_exp2.c: Likewise.
8915 * math/w_exp2f.c: Likewise.
8916 * math/w_exp2l.c: Likewise.
8917 * math/w_j0.c: Likewise.
8918 * math/w_j0f.c: Likewise.
8919 * math/w_j0l.c: Likewise.
8920 * math/w_j1.c: Likewise.
8921 * math/w_j1f.c: Likewise.
8922 * math/w_j1l.c: Likewise.
8923 * math/w_jn.c: Likewise.
8924 * math/w_jnf.c: Likewise.
8925 * math/w_log.c: Likewise.
8926 * math/w_log10.c: Likewise.
8927 * math/w_log10f.c: Likewise.
8928 * math/w_log10l.c: Likewise.
8929 * math/w_log2.c: Likewise.
8930 * math/w_log2f.c: Likewise.
8931 * math/w_log2l.c: Likewise.
8932 * math/w_logf.c: Likewise.
8933 * math/w_logl.c: Likewise.
8934 * math/w_sqrt.c: Likewise.
8935 * math/w_sqrtf.c: Likewise.
8936 * math/w_sqrtl.c: Likewise.
8937 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8938 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8939 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8940 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8941 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8942
ebaf36eb
JM
89432012-02-19 Joseph Myers <joseph@codesourcery.com>
8944
8945 [BZ #9739]
8946 * manual/string.texi (strnlen): Use correct parameter name in
8947 equivalent expression.
8948
71c254a6
JM
89492012-02-19 Joseph Myers <joseph@codesourcery.com>
8950
8951 [BZ #11174]
8952 * manual/users.texi (seteuid): Consistently use neweuid for
8953 argument name.
8954
16d2c631
JM
89552012-02-19 Joseph Myers <joseph@codesourcery.com>
8956
8957 [BZ #13704]
8958 * manual/nss.texi (Services in the NSS configuration): Correct
8959 list of services in example configuration file.
8960
cd837b09
NB
89612012-02-19 Nick Bowler <nbowler@draconx.ca>
8962
8963 [BZ #11322]
8964 * manual/arith.texi: Remove statements about negative zero
8965 behaving identically to zero.
8966
02c4bbad
JM
89672012-02-18 Joseph Myers <joseph@codesourcery.com>
8968
8969 [BZ #5993]
8970 * manual/install.texi: Do not document upgrading from libc5.
8971
366842e7
JM
89722012-02-18 Joseph Myers <joseph@codesourcery.com>
8973
8974 [BZ #4596]
8975 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8976
dd54084d
DM
89772012-02-18 David S. Miller <davem@davemloft.net>
8978
8979 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8980 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8981 %o7 across the call.
8982 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8983 instead.
8984 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8985 SETUP_PIC_REG_LEAF.
8986 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8987 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8988 * sysdeps/sparc/crtn.S: Likewise.
8989
2bcc53a3
UD
89902012-02-17 Ulrich Drepper <drepper@gmail.com>
8991
8992 * aout/Makefile: Remove.
8993
09c093b5
RK
89942012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8995
8996 [BZ #13058]
8997 * manual/examples/argp-ex1.c (main): Format definition in GNU
8998 style.
8999 * manual/examples/argp-ex2.c (main): Likewise.
9000 * manual/examples/argp-ex3.c (main): Likewise.
9001 * manual/examples/argp-ex4.c (main): Likewise.
9002 * manual/examples/longopt.c (main): Use new-style prototype
9003 definition.
9004 * manual/examples/strncat.c (main): Specify return type and use
9005 (void) for arguments.
9006 * manual/examples/subopt.c (main): Use char **argv argument.
9007
2ee633a2
JM
90082012-02-17 Joseph Myers <joseph@codesourcery.com>
9009
9010 [BZ #5077]
9011 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9012 rounding modes.
9013
0520adde
FB
90142012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
9015
9016 [BZ #6907]
9017 * manual/string.texi (strchr): Change when strchrnul is
9018 recommended.
9019
3f4081cd
DGM
90202012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
9021
9022 [BZ #174]
9023 * manual/locale.texi (setlocale): Document LOCPATH.
9024
d1b10e78
JM
90252012-02-17 Joseph Myers <joseph@codesourcery.com>
9026
9027 [BZ #10210]
9028 * manual/process.texi (execle): Move @dots{} before last argument.
9029
79c6869c
PB
90302012-02-17 Paul Bolle <pebolle@tiscali.nl>
9031
9032 [BZ #12047]
9033 * manual/charset.texi (Generic Charset Conversion): Fix typo
9034 (LC_TYPE -> LC_CTYPE).
9035
cc6e48bc
NB
90362012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
9037
9038 [BZ #5805]
9039 * manual/arith.texi (scalbn): Use @var{} on parameter names.
9040 (scalbnf): Likewise.
9041 (scalbnl): Likewise.
9042 (scalbln): Likewise.
9043 (scalblnf): Likewise.
9044 (scalblnl): Likewise.
9045 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9046 (vwarnx): Likewise.
9047 (verr): Likewise.
9048 (verrx): Likewise.
9049 * manual/filesys.texi (telldir): Use braces around return type.
9050 * manual/llio.texi (mmap): Add space after comma.
9051 (mmap64): Likewise.
9052 * manual/math.texi (jn): Use @var{} on parameter names.
9053 (jnf): Likewise.
9054 (jnl): Likewise.
9055 (yn): Likewise.
9056 (ynf): Likewise.
9057 (ynl): Likewise.
9058 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9059 line.
9060 * manual/resource.texi (ulimit): Use @dots{} instead of literal
9061 "...".
9062 (sched_get_priority_min): Remove semicolon on @deftypefun line.
9063 (sched_get_priority_max): Likewise.
9064 * manual/signal.texi (sigvec): Add space after comma.
9065 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9066 names.
9067 (if_indextoname): Likewise.
9068 (if_freenameindex): Likewise.
9069 (sendto): Use ',' instead of '.' in prototype.
9070 * manual/startup.texi (syscall): Use @dots{} instead of literal
9071 "...".
9072 * manual/stdio.texi (__fpending): Separate initial words of
9073 paragraph from @deftypefun line.
9074 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9075 "...".
9076 (vsyslog): Use @var{} on parameter names.
9077 * manual/terminal.texi (stty): Use @var{} on parameter names.
9078 * manual/users.texi (getutmp): Use @var{} on parameter names.
9079 (getutmpx): Likewise.
9080
5b23062f
JM
90812012-02-17 Joseph Myers <joseph@codesourcery.com>
9082
9083 [BZ #6884]
9084 * manual/stdio.texi (fopen): Fix typos in description of
9085 ",ccs=STRING".
9086
8dee4833
AJ
90872012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9088
9089 [BZ #4026]
9090 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9091 get clock_id definition.
9092
9078ce93
TS
90932012-02-17 Thomas Schwinge <thomas@schwinge.name>
9094
9095 [BZ #4822]
9096 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9097 (madvise): Cast every argument to void on its own.
9098
3835c55f
JM
90992012-02-17 Joseph Myers <joseph@codesourcery.com>
9100
9101 [BZ #9902]
9102 * manual/startup.texi (Exit Status): Fix typo.
9103
35c47e37
JM
91042012-02-17 Joseph Myers <joseph@codesourcery.com>
9105
9106 [BZ #10140]
9107 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9108 * manual/examples/argp-ex2.c: Likewise.
9109 * manual/examples/argp-ex3.c: Likewise.
9110
e3b69ca7
RH
91112012-02-16 Richard Henderson <rth@redhat.com>
9112
9113 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9114 * sysdeps/s390/s390-32/initfini.c: Remove.
9115 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9116 * sysdeps/s390/s390-64/initfini.c: Remove.
9117
df83af67
KK
91182012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9119
9120 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9121 compiler output for sysdeps/generic/initfini.c.
9122 * sysdeps/sh/elf/initfini.c: Remove file.
9123
f63f3380
DM
91242012-02-16 David S. Miller <davem@davemloft.net>
9125
fb59b3a4
DM
9126 [BZ #11494]
9127 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9128
f63f3380
DM
9129 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9130 * sysdeps/sparc/crti.S: New file.
9131 * sysdeps/sparc/crtn.S: New file.
9132 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9133 * sysdeps/sparc/sparc64/Makefile: Likewise.
9134
df6a4a4a
MF
91352012-02-15 Mike Frysinger <vapier@gentoo.org>
9136
6dd8f3dc 9137 [BZ #3335]
df6a4a4a
MF
9138 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9139
1cac7236
RM
91402012-02-15 Roland McGrath <roland@hack.frob.com>
9141
d2c736f8
RM
9142 [BZ #4822]
9143 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9144
1cac7236
RM
9145 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9146 (write, read, close): Likewise.
9147 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9148
8e475601
JM
91492012-02-15 Joseph Myers <joseph@codesourcery.com>
9150
9151 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9152 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9153 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9154 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9155 <bits/signalfd.h>.
9156 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9157 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9158 bits/signalfd.h.
9159
ed656b40
MP
91602012-02-14 Marek Polacek <polacek@redhat.com>
9161
9162 * sysdeps/x86_64/crti.S: New file.
9163 * sysdeps/x86_64/crtn.S: New file.
9164 * sysdeps/x86_64/elf/initfini.c: Remove file.
9165
2a979d3a
JM
91662012-02-13 Joseph Myers <joseph@codesourcery.com>
9167
9168 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9169 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9170 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9171 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9172 <bits/inotify.h>.
9173 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9174 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9175 bits/inotify.h.
9176
2a418ac3
JM
91772012-02-13 Joseph Myers <joseph@codesourcery.com>
9178
9179 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9180 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9181 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9182 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9183 <bits/eventfd.h>.
9184 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9185 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9186 bits/eventfd.h.
9187
fb779be7
TS
91882012-02-10 Thomas Schwinge <thomas@codesourcery.com>
9189
e19e83c5
RM
9190 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9191 __feraiseexcept instead of feraiseexcept.
7c35ffed 9192
fb779be7
TS
9193 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9194 nanosleep invocations.
9195 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9196 strings, and add error checking for a nanosleep invocations.
9197
59ba27a6
PE
91982012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9199
9200 Replace FSF snail mail address with URLs, as per GNU coding standards.
9201 Most of the snail mail addresses were wrong anyway, and omitting
9202 them makes the source code easier to maintain. Almost all of the
9203 changes are to license notices and to locale LC_IDENTIFICATION
9204 addresses, except for this one:
9205 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9206 not its snail mail address.
9207
57b957eb
RH
92082012-02-09 Richard Henderson <rth@twiddle.net>
9209
af850b1c
RH
9210 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9211 of kernel-features.h.
9212
57b957eb
RH
9213 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9214
6b73181a
MP
92152012-02-08 Marek Polacek <polacek@redhat.com>
9216
9217 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9218 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9219 * sysdeps/gnu/_G_config.h: Likewise.
9220 * sysdeps/generic/_G_config.h: Likewise.
9221
26ecc33a
AS
92222012-02-08 Andreas Schwab <schwab@linux-m68k.org>
9223
6c6dbc63
AS
9224 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9225 tests.
9226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9227
e216c012
AS
9228 * sysdeps/powerpc/powerpc32/crti.S: New file.
9229 * sysdeps/powerpc/powerpc32/crtn.S: New file.
9230 * sysdeps/powerpc/powerpc64/crti.S: New file.
9231 * sysdeps/powerpc/powerpc64/crtn.S: New file.
9232
26ecc33a
AS
9233 * Makeconfig (have-initfini): Don't set.
9234 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9235 * configure.in (nopic_initfini): Don't substitute.
9236 * config.h.in (HAVE_INITFINI): Don't #undef.
9237 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9238 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9239
3add8e13
JM
92402012-02-08 Joseph Myers <joseph@codesourcery.com>
9241
9242 Support crti.S and crtn.S provided directly by architectures.
9243 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9244 [crti.S in sysdirs] (omit-deps): Likewise.
9245 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9246 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9247 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9248 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9249 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9250 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9251 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9252 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9253 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9254 compiler output for sysdeps/generic/initfini.c.
9255 * sysdeps/i386/elf/Makefile: Remove file.
9256 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9257
a22f12b4
MP
92582012-02-07 Marek Polacek <polacek@redhat.com>
9259
9260 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9261 * sysdeps/gnu/_G_config.h: Likewise.
9262 * sysdeps/mach/hurd/_G_config.h: Likewise.
9263
148cf100
MP
92642012-02-07 Marek Polacek <polacek@redhat.com>
9265
9266 * math/Makefile (tests): Add tst-CMPLX2.
9267 * math/tst-CMPLX2.c: New file.
9268
cfdc0dd7
AS
92692012-02-07 Andreas Schwab <schwab@linux-m68k.org>
9270
84ba42c4
AS
9271 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9272
cfdc0dd7
AS
9273 * math/libm-test.inc (jn_test): Add missing L suffix.
9274
622c86f4
MP
92752012-02-06 Marek Polacek <polacek@redhat.com>
9276
9277 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9278 * sysdeps/i386/fpu/e_powf.S: Likewise.
9279 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9280 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9281 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9282 * sysdeps/i386/fpu/e_pow.S: Likewise.
9283 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9284 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9285 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9286 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9287 * sysdeps/i386/fpu/e_log2.S: Likewise.
9288 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9289 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9290 * sysdeps/i386/fpu/e_powl.S: Likewise.
9291 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9292 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9293 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9294 * sysdeps/i386/fpu/e_logl.S: Likewise.
9295 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9296 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9297 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9298 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9299 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9300 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9301 * sysdeps/i386/fpu/e_log.S: Likewise.
9302 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9303 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9304 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9305 * sysdeps/i386/fpu/e_logf.S: Likewise.
9306 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9307 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9308 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9309 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9310 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9311 * sysdeps/i386/fpu/e_log10.S: Likewise.
9312 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9313 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9314 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9315 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9316 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9317 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9318 * sysdeps/i386/asm-syntax.h: Likewise.
9319 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9320 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9321 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9322 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9323 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9324 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9325 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9326 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9327 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9328 * sysdeps/powerpc/sysdep.h: Likewise.
9329 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9330 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9331
d4a54ac6
JM
93322012-02-06 Joseph Myers <joseph@codesourcery.com>
9333
9334 [BZ #411]
9335 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9336
314054ea
JM
93372012-02-06 Joseph Myers <joseph@codesourcery.com>
9338
9339 * sysdeps/i386/sysdep.h: Include <features.h>.
9340 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9341 version.
9342
d8e0ca50
JM
93432012-02-05 Joseph Myers <joseph@codesourcery.com>
9344
9345 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9346 Define.
9347 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9348 LOAD_PIC_REG_STR.
9349
b1da7dd9
JM
93502012-02-03 Joseph Myers <joseph@codesourcery.com>
9351
9352 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9353 (SETUP_PIC_REG): Use GET_PC_THUNK.
9354 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9355 macro.
9356
9a1d9254
JM
93572012-02-03 Joseph Myers <joseph@codesourcery.com>
9358
9359 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9360 for non-PIC compilation.
9361 (SETUP_PIC_REG): Add .p2align directive.
9362 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9363 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9364 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9365 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9366 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9367 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9368 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9369 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9370 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9371 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9372 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9373 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9374 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9375 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9376 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9377 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9378 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9379 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9380 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9381 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9382 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9383 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9384 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9385 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9386 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9387 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9388 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9389 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9390 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9391 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9392 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9393 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9394 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9395 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9396 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9397 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9398 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9399 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9400 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9401 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9402 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9403
65dc3b75
JM
94042012-02-03 Joseph Myers <joseph@codesourcery.com>
9405
9406 * math/tst-CMPLX.c: Include <stdio.h>.
9407
d55bf177
JM
94082012-01-31 Joseph Myers <joseph@codesourcery.com>
9409
9410 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9411 float.
9412 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9413 * sysdeps/sparc/bits/mathdef.h: Likewise.
9414
69db4f8f
MP
94152012-01-31 Marek Polacek <polacek@redhat.com>
9416
9417 * libio/libio.h: Don't define _PARAMS.
9418 * locale/programs/config.h: Don't define PARAMS.
9419 * stdlib/strtol_l.c: Likewise.
9420 (__strtol_l): Remove PARAMS from the prototype.
9421
41b81892
UD
94222012-01-31 Ulrich Drepper <drepper@gmail.com>
9423
3b49edc0
UD
9424 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
9425 names. Just use the correct names. Remove unnecessary wrapper
9426 functions.
9427 * malloc/arena.c: Likewise.
9428 * malloc/hooks.c: Likewise.
9429
41b81892
UD
9430 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9431 ARENA_TEST says not to. Simplify test for creation of a new arena.
9432 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9433
27a25b6e
UD
94342012-01-30 Ulrich Drepper <drepper@gmail.com>
9435
9436 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9437 into tail calls.
9438 (update_get_addr): New function.
9439 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9440 GET_ADDR_MODULE parameter.
9441
c8a89e7d
JM
94422012-01-30 Joseph Myers <joseph@codesourcery.com>
9443
9444 * crypt/cert.c: Remove __STDC__ conditionals.
9445 * crypt/crypt-entry.c: Likewise.
9446 * crypt/crypt_util.c: Likewise.
9447 * libio/filedoalloc.c: Likewise.
9448 * libio/fileops.c: Likewise.
9449 * libio/genops.c: Likewise.
9450 * libio/iofclose.c: Likewise.
9451 * libio/iofdopen.c: Likewise.
9452 * libio/iofopen.c: Likewise.
9453 * libio/iofopen64.c: Likewise.
9454 * libio/iogetdelim.c: Likewise.
9455 * libio/iopopen.c: Likewise.
9456 * libio/obprintf.c: Likewise.
9457 * libio/oldfileops.c: Likewise.
9458 * libio/oldiofclose.c: Likewise.
9459 * libio/oldiofdopen.c: Likewise.
9460 * libio/oldiofopen.c: Likewise.
9461 * libio/oldiopopen.c: Likewise.
9462 * libio/wfiledoalloc.c: Likewise.
9463 * libio/wgenops.c: Likewise.
9464 * locale/programs/xmalloc.c: Likewise.
9465 * misc/syslog.c: Likewise.
9466 * stdio-common/xbug.c: Likewise.
9467 * string/memchr.c: Likewise.
9468 * string/memcmp.c: Likewise.
9469 * string/memrchr.c: Likewise.
9470 * string/rawmemchr.c: Likewise.
9471 * sysdeps/posix/getcwd.c: Likewise.
9472 * time/strftime_l.c: Likewise.
9473
3b100462
JM
94742012-01-30 Joseph Myers <joseph@codesourcery.com>
9475
9476 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
9477 * config.make.in (config-cflags-sse2avx): Define.
9478 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9479 Fix typo.
9480
607998af
CM
94812012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9482
9483 * scripts/config.guess: Update from upstream config git repository.
9484 * scripts/config.sub: Likewise.
9485
3601428f
CM
94862012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9487
3ac8b282
CM
9488 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9489 (EM_NUM): Update.
9490 (R_TILEPRO_*, R_TILEGX_*): New macros.
9491
e034841e
CM
9492 * scripts/firstversions.awk: Fix bug in version range handling.
9493
540d7568
CM
9494 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9495
3601428f
CM
9496 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9497
463de862
CM
9498 * include/sys/epoll.h: New file.
9499 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9500 libc_hidden_def.
9501
73139a76
UD
95022012-01-28 Ulrich Drepper <drepper@gmail.com>
9503
96bc5b45
UD
9504 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9505 Avoid unnecessary __WORDSIZE == 64 test.
9506 (fmaxf): Use VEX format if possible.
9507 (fmax): Likewise.
9508 (fminf): Likewise.
9509 (fmin): Likewise.
9510
56f6f6a2
UD
9511 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9512 * math/math_private.h: Remove libc_fegetround* and
9513 libc_fesetround*.
9514 * sysdeps/i386/configure.in: Check for -msse2avx.
9515 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9516 also if SSE2AVX is defined.
9517 Remove libc_fegetround* and libc_fesetround*.
9518 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9519 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9520 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9521 of HAS_YMM_USABLE.
9522 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9523 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9524 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9525 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9526 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9527
73139a76
UD
9528 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9529
d73f93a4
AZ
95302012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9531
9532 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9533 size is not set.
9534 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9535
6ee65ed6
UD
95362012-01-27 Ulrich Drepper <drepper@gmail.com>
9537
9538 [BZ #13618]
9539 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9540 relocation.
9541 * Makeconfig (libm): Define.
9542 * elf/Makefile: Add rules to build and run tst-relsort1.
9543 * elf/tst-relsort1.c: New file.
9544 * elf/tst-relsort1mod1.c: New file.
9545 * elf/tst-relsort1mod2.c: New file.
9546
8db21882
JM
95472012-01-27 Joseph Myers <joseph@codesourcery.com>
9548
9549 * math/s_ldexp.c: Remove __STDC__ conditionals.
9550 * math/s_ldexpf.c: Likewise.
9551 * math/s_ldexpl.c: Likewise.
9552 * math/s_nextafter.c: Likewise.
9553 * math/s_nexttowardf.c: Likewise.
9554 * math/s_significand.c: Likewise.
9555 * math/s_significandf.c: Likewise.
9556 * math/s_significandl.c: Likewise.
9557 * math/w_jnl.c: Likewise.
9558 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9559 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9560 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9561 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9562 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9563 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9564 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9565 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9566 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9567 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9568 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9569 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9570 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9571 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9572 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9573 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9574 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9575 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9576 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9577 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9578 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9579 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9580 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9581 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9582 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9583 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9584 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9585 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9586 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9587 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9588 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9589 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9590 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9591 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9592 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9593 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9594 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9595 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9596 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9597 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9598 * sysdeps/ieee754/k_standard.c: Likewise.
9599 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9600 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9601 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9602 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9603 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9604 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9605 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9606 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9607 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9608 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9609 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9610 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9611 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9612 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9613 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9614 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9615 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9616 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9617 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9618 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9619 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9620 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9621 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9622 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9623 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9624 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9625 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9626 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9627 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9628 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9629 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9630 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9631 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9632 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9633 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9634 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9635 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9636 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9637 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9638 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9639 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9640 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9641 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9642 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9643 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9644 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9645 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9646 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9647 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9648 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9649 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9650 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9651 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9652 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9653 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9654 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9655 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9656 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9657 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9658 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9659 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9660 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9661 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9662 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9663 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9664 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9665 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9666 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9667 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9668 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9669 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9670 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9671 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9672 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9673 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9674 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9675 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9676 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9677 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9678 * sysdeps/ieee754/s_matherr.c: Likewise.
9679 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9680 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9681 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9682 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9683
965a54a4
JM
96842012-01-26 Joseph Myers <joseph@codesourcery.com>
9685
9686 * crypt/md5.h: Remove __STDC__ conditionals.
9687 * libio/libioP.h: Likewise.
9688 * locale/programs/config.h: Likewise.
9689 * sysdeps/generic/sysdep.h: Likewise.
9690 * sysdeps/i386/asm-syntax.h: Likewise.
9691 * sysdeps/s390/asm-syntax.h: Likewise.
9692 * sysdeps/unix/sysdep.h: Likewise.
9693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9695
7071ad79
JM
96962012-01-26 Joseph Myers <joseph@codesourcery.com>
9697
9698 * libio/libio.h: Remove __STDC__ conditionals.
9699 * malloc/obstack.h: Likewise.
9700 * math/complex.h: Likewise.
9701 * math/math.h: Likewise.
9702 * sysdeps/generic/_G_config.h: Likewise.
9703 * sysdeps/gnu/_G_config.h: Likewise.
9704 * sysdeps/mach/hurd/_G_config.h: Likewise.
9705 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9706 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9707 * sysdeps/sparc/bits/mathdef.h: Likewise.
9708
afc5ed09
UD
97092012-01-26 Ulrich Drepper <drepper@gmail.com>
9710
9711 [BZ #13583]
9712 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 9713 Clean up HAS_* macros.
afc5ed09 9714 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
9715 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9716 possible.
9717 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9718 HAS_AVX.
9719 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9720 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9721 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9722 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9723 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 9724
bdb6de1d
JM
97252012-01-25 Joseph Myers <joseph@codesourcery.com>
9726
9727 * elf/tst-unique3.cc (gets): Remove declaration.
9728 * elf/tst-unique3lib.cc (gets): Likewise.
9729 * elf/tst-unique3lib2.cc (gets): Likewise.
9730 * elf/tst-unique4.cc (gets): Likewise.
9731
b15549e6
UD
97322012-01-24 Ulrich Drepper <drepper@gmail.com>
9733
9734 * include/stdio.h: Add C++ protection. Add gets declarations and
9735 definitions.
9736 * debug/tst-chk1.c: Don't declare gets here.
9737 * stdio-common/tst-gets.c: Likewise.
9738
a037381f
JM
97392012-01-24 Joseph Myers <joseph@codesourcery.com>
9740
9741 * posix/glob: Remove directory.
9742
f1d4aa75
JM
97432012-01-24 Joseph Myers <joseph@codesourcery.com>
9744
9745 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9746
81c0c964
PT
97472012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9748
9749 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9750 of the non-standard EPFNOSUPPORT.
9751
0ea698ae
ST
97522011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9753
9754 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9755 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9756 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9757
d220b117
UD
97582012-01-21 Ulrich Drepper <drepper@gmail.com>
9759
9760 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9761
3e1aa84e
UD
97622012-01-20 Ulrich Drepper <drepper@gmail.com>
9763
9764 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9765 transient errors.
9766 * nscd/grpcache.c (cache_addgr): Likewise.
9767 * nscd/hstcache.c (cache_addhst): Likewise.
9768 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9769 * nscd/pwdcache.c (cache_addpw): Likewise.
9770 * nscd/servicescache.c (cache_addserv): Likewise.
9771
400aa020
UD
97722012-01-16 Ulrich Drepper <drepper@gmail.com>
9773
d77e7869
UD
9774 * malloc/malloc.c: Various cleanups.
9775 * malloc/hooks.c: Likewise.
9776
400aa020
UD
9777 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9778 * stdlib/bug-fmtmsg1.c: New file.
9779
9780 * stdlib/fmtmsg.c (init): Add missing unlock.
9781 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9782
e0a309cf
MP
97832012-01-12 Marek Polacek <polacek@redhat.com>
9784
9785 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9786 and _GNU_SOURCE.
9787
929d11c7
WS
97882012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9789
9790 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9791 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9792 macro to ensure uniqueness of label name.
9793 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9794 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9795
41d0e869
UD
97962012-01-11 Ulrich Drepper <drepper@gmail.com>
9797
0cc5ed3b
UD
9798 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9799
41d0e869
UD
9800 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9801 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9802 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9803 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9804
a47a831a
UD
98052012-01-10 Ulrich Drepper <drepper@gmail.com>
9806
daa891c0
UD
9807 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9808
9809 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9810 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9811 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9812
e58ef0f2
UD
9813 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9814
a47a831a 9815 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9816 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9817 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9818 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9819
9820 * math/bits/math-finite.h: Add ldexp support.
9821
a0bfc9c7
MP
98222012-01-10 Marek Polacek <polacek@redhat.com>
9823
9824 * locale/programs/localedef.h (show_archive_content): Add noreturn
9825 attribute.
9826
d6e97a1d
UD
98272012-01-09 Ulrich Drepper <drepper@gmail.com>
9828
9829 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9830
d5835c26
UD
98312012-01-08 Ulrich Drepper <drepper@gmail.com>
9832
e5f484c6
UD
9833 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9834
d5835c26
UD
9835 * io/Makefile (headers): Add bits/poll2.h.
9836
d1f741e9
WS
98372011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9838
9839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9840 typo #include statement.
9841
ec09c1c4
UD
98422012-01-08 Ulrich Drepper <drepper@gmail.com>
9843
9844 * include/sys/cdefs.h: Define __attribute_alloc_size.
9845 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9846 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9847 * elf/pldd.c: Likewise.
9848 * iconv/iconv_charmap.c: Likewise.
9849 * iconv/iconvconfig.c: Likewise.
9850 * iconv/strtab.c: Likewise.
9851 * locale/programs/locale.c: Likewise.
9852 * locale/programs/localedef.h: Likewise.
9853 * locale/programs/simple-hash.c: Likewise.
9854 * nscd/nscd.h: Likewise.
9855 * nss/makedb.c: Likewise.
9856 * sysdeps/generic/ldconfig.h: Likewise.
9857 * locale/programs/localedef.c: Remove xmalloc prototype.
9858 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9859
20b38e03
PP
98602012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9861
9862 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9863 appropriate.
9864
a0da5fe1
UD
98652012-01-08 Ulrich Drepper <drepper@gmail.com>
9866
1d5a644a 9867 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9868 * math/tst-CMPLX.c: New file.
1d5a644a 9869
8784a6db
UD
9870 * math/complex.h (CMPLXL): Fix typo.
9871
d9a216c0
UD
9872 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9873 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9874 GLIBC_2.16.
9875 * debug/tst-chk1.c: Add poll and ppoll tests.
9876 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9877 * include/sys/poll.h: Add hidden proto for ppoll.
9878 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9879 * sysdeps/mach/hurd/ppoll.c: Likewise.
9880 * io/ppoll.c: Likewise.
9881 * debug/poll_chk.c: New file.
9882 * debug/ppoll_chk.c: New file.
9883 * include/bits/poll2.h: New file.
9884 * io/bits/poll2.h: New file.
9885
ac097f5c
UD
9886 [BZ #1350]
9887 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9888
2119dcfa
UD
9889 * configure.in: static is always set to yes. Remove.
9890 * config.make.in: Don't set build-static.
9891 * Makeconfig: Remove use of build-static.
9892 * dlfcn/Makefile: Likewise.
9893 * elf/Makefile: Likewise.
9894 * math/Makefile: Likewise.
9895 * misc/Makefile: Likewise.
9896 * nptl/Makefile: Likewise.
9897 * sysdeps/mach/hurd/Makefile: Likewise.
9898
121766a9
UD
9899 * configure.in: PWD_P is not used anymore.
9900 * config.make.in: Remove PWD_P entry.
9901
51a1d39c 9902 * configure.in: Remove last remnants of RANLIB.
8720d066 9903 No need to check for signed size_t anymore.
215f4bdc
UD
9904 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9905 and IA-64.
3857022a 9906 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9907 * aclocal.m4: Likewise.
9908
d3ed7225
UD
9909 * wcsmbs/mbrtoc16.c: Implement using towc function.
9910 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9911 * wcsmbs/wcsmbsload.c: Likewise.
9912 * iconv/gconv_simple.c: Likewise.
9913 * iconv/gconv_int.h: Likewise.
9914 * iconv/gconv_builtin.h: Likewise.
9915 * iconv/iconv_prog.c: Remove CHAR16 handling.
9916
9917 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9918
9919 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9920
a0da5fe1
UD
9921 * configure.in: Remove --with-elf and --enable-bounded options.
9922 Dont set base_machine for ia64. More non-ELF conditions removed.
9923 Remove testing and setting of leading underscore information.
9924 * config.make.in (build-bounded): Set to no.
9925 * config.h.in: Remove NO_UNDERSCORES entry.
9926 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9927 them.
9928 * csu/start.c: Remove !NO_UNDERSCORE code.
9929 * locale/localeinfo.h: Likewise.
9930 * sysdeps/generic/machine-gmon.h: Likewise.
9931 * sysdeps/generic/sysdep.h: Likewise.
9932 * sysdeps/i386/sysdep.h: Likewise.
9933 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9934 * sysdeps/mach/sysdep.h: Likewise.
9935 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9936 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9937 * sysdeps/sh/sysdep.h: Likewise.
9938 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9939 * sysdeps/unix/i386/sysdep.S: Likewise.
9940 * sysdeps/unix/sparc/start.c: Likewise.
9941 * sysdeps/unix/sparc/sysdep.S: Likewise.
9942 * sysdeps/unix/sparc/sysdep.h: Likewise.
9943 * sysdeps/unix/start.c: Likewise.
9944 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9945 * sysdeps/x86_64/sysdep.h: Likewise.
9946
df78418a
UD
99472012-01-07 Ulrich Drepper <drepper@gmail.com>
9948
a784e502
UD
9949 [BZ #13553]
9950 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9951 for non-gcc.
9952 * argp/argp-fmtstream.h: Use const instead __const.
9953 * argp/argp.h: Likewise.
9954 * assert/assert.h: Likewise.
9955 * bits/fenv.h: Likewise.
9956 * bits/sched.h: Likewise.
9957 * bits/sigset.h: Likewise.
9958 * bits/sigthread.h: Likewise.
9959 * catgets/nl_types.h: Likewise.
9960 * conform/data/pthread.h-data: Likewise.
9961 * crypt/crypt-private.h: Likewise.
9962 * crypt/crypt.h: Likewise.
9963 * crypt/crypt_util.c: Likewise.
9964 * ctype/ctype.h: Likewise.
9965 * debug/execinfo.h: Likewise.
9966 * debug/mbsnrtowcs_chk.c: Likewise.
9967 * debug/mbsrtowcs_chk.c: Likewise.
9968 * debug/wcsnrtombs_chk.c: Likewise.
9969 * debug/wcsrtombs_chk.c: Likewise.
9970 * debug/wcstombs_chk.c: Likewise.
9971 * dirent/dirent.h: Likewise.
9972 * dlfcn/dlfcn.h: Likewise.
9973 * elf/neededtest4.c: Likewise.
9974 * grp/grp.h: Likewise.
9975 * gshadow/gshadow.h: Likewise.
9976 * iconv/gconv.h: Likewise.
9977 * iconv/gconv_int.h: Likewise.
9978 * iconv/gconv_simple.c: Likewise.
9979 * iconv/iconv.h: Likewise.
9980 * iconv/loop.c: Likewise.
9981 * iconv/skeleton.c: Likewise.
9982 * include/aio.h: Likewise.
9983 * include/aliases.h: Likewise.
9984 * include/argz.h: Likewise.
9985 * include/arpa/inet.h: Likewise.
9986 * include/assert.h: Likewise.
9987 * include/dirent.h: Likewise.
9988 * include/dlfcn.h: Likewise.
9989 * include/execinfo.h: Likewise.
9990 * include/fcntl.h: Likewise.
9991 * include/fenv.h: Likewise.
9992 * include/glob.h: Likewise.
9993 * include/grp.h: Likewise.
9994 * include/libintl.h: Likewise.
9995 * include/mntent.h: Likewise.
9996 * include/netdb.h: Likewise.
9997 * include/pwd.h: Likewise.
9998 * include/rpc/netdb.h: Likewise.
9999 * include/sched.h: Likewise.
10000 * include/search.h: Likewise.
10001 * include/shadow.h: Likewise.
10002 * include/signal.h: Likewise.
10003 * include/stdio.h: Likewise.
10004 * include/stdlib.h: Likewise.
10005 * include/string.h: Likewise.
10006 * include/sys/socket.h: Likewise.
10007 * include/sys/stat.h: Likewise.
10008 * include/sys/statfs.h: Likewise.
10009 * include/sys/statvfs.h: Likewise.
10010 * include/sys/syslog.h: Likewise.
10011 * include/sys/time.h: Likewise.
10012 * include/sys/uio.h: Likewise.
10013 * include/time.h: Likewise.
10014 * include/unistd.h: Likewise.
10015 * include/utmp.h: Likewise.
10016 * include/wchar.h: Likewise.
10017 * include/wctype.h: Likewise.
10018 * inet/aliases.h: Likewise.
10019 * inet/arpa/inet.h: Likewise.
10020 * inet/netinet/ether.h: Likewise.
10021 * inet/netinet/in.h: Likewise.
10022 * intl/libintl.h: Likewise.
10023 * io/bits/fcntl2.h: Likewise.
10024 * io/fcntl.h: Likewise.
10025 * io/ftw.h: Likewise.
10026 * io/sys/poll.h: Likewise.
10027 * io/sys/stat.h: Likewise.
10028 * io/sys/statfs.h: Likewise.
10029 * io/sys/statvfs.h: Likewise.
10030 * io/utime.h: Likewise.
10031 * libio/bits/stdio.h: Likewise.
10032 * libio/bits/stdio2.h: Likewise.
10033 * libio/libio.h: Likewise.
10034 * libio/libioP.h: Likewise.
10035 * libio/stdio.h: Likewise.
10036 * locale/lc-ctype.c: Likewise.
10037 * locale/locale.h: Likewise.
10038 * login/utmp.h: Likewise.
10039 * malloc/arena.c: Likewise.
10040 * malloc/malloc.c: Likewise.
10041 * malloc/malloc.h: Likewise.
10042 * malloc/mcheck.c: Likewise.
10043 * malloc/mtrace.c: Likewise.
10044 * math/bits/mathcalls.h: Likewise.
10045 * math/fenv.h: Likewise.
10046 * math/math_private.h: Likewise.
10047 * misc/bits/error.h: Likewise.
10048 * misc/bits/syslog.h: Likewise.
10049 * misc/err.h: Likewise.
10050 * misc/error.h: Likewise.
10051 * misc/fstab.h: Likewise.
10052 * misc/mntent.h: Likewise.
10053 * misc/regexp.h: Likewise.
10054 * misc/search.h: Likewise.
10055 * misc/sgtty.h: Likewise.
10056 * misc/sys/mman.h: Likewise.
10057 * misc/sys/syslog.h: Likewise.
10058 * misc/sys/uio.h: Likewise.
10059 * misc/sys/xattr.h: Likewise.
10060 * misc/ttyent.h: Likewise.
10061 * nis/rpcsvc/ypclnt.h: Likewise.
10062 * nss/nss.h: Likewise.
10063 * posix/bits/unistd.h: Likewise.
10064 * posix/fnmatch.h: Likewise.
10065 * posix/glob.h: Likewise.
10066 * posix/sched.h: Likewise.
10067 * posix/spawn.h: Likewise.
10068 * posix/sys/wait.h: Likewise.
10069 * posix/unistd.h: Likewise.
10070 * posix/wordexp.h: Likewise.
10071 * pwd/pwd.h: Likewise.
10072 * resolv/netdb.h: Likewise.
10073 * resource/sys/resource.h: Likewise.
10074 * rt/aio.h: Likewise.
10075 * rt/bits/mqueue2.h: Likewise.
10076 * rt/mqueue.h: Likewise.
10077 * shadow/shadow.h: Likewise.
10078 * signal/signal.h: Likewise.
10079 * socket/send.c: Likewise.
10080 * socket/sendto.c: Likewise.
10081 * socket/sys/socket.h: Likewise.
10082 * stdio-common/printf.h: Likewise.
10083 * stdlib/bits/stdlib.h: Likewise.
10084 * stdlib/fmtmsg.h: Likewise.
10085 * stdlib/monetary.h: Likewise.
10086 * stdlib/stdlib.h: Likewise.
10087 * stdlib/ucontext.h: Likewise.
10088 * streams/stropts.h: Likewise.
10089 * string/argz.h: Likewise.
10090 * string/bits/string2.h: Likewise.
10091 * string/string.h: Likewise.
10092 * string/strings.h: Likewise.
10093 * sunrpc/rpc/auth.h: Likewise.
10094 * sunrpc/rpc/auth_des.h: Likewise.
10095 * sunrpc/rpc/clnt.h: Likewise.
10096 * sunrpc/rpc/netdb.h: Likewise.
10097 * sunrpc/rpc/pmap_clnt.h: Likewise.
10098 * sunrpc/rpc/xdr.h: Likewise.
10099 * sysdeps/generic/inttypes.h: Likewise.
10100 * sysdeps/generic/net/if.h: Likewise.
10101 * sysdeps/generic/sys/swap.h: Likewise.
10102 * sysdeps/gnu/net/if.h: Likewise.
10103 * sysdeps/gnu/utmpx.h: Likewise.
10104 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10105 * sysdeps/i386/i486/bits/string.h: Likewise.
10106 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10107 * sysdeps/s390/bits/string.h: Likewise.
10108 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10109 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10110 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10111 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10112 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10113 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10114 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10115 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10116 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10117 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10118 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10119 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10120 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10121 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10122 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10123 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10124 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10125 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10126 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10127 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10128 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10129 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10130 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10131 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10132 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10133 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10134 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10135 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10136 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10137 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10138 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10139 * sysvipc/sys/ipc.h: Likewise.
10140 * sysvipc/sys/msg.h: Likewise.
10141 * sysvipc/sys/sem.h: Likewise.
10142 * sysvipc/sys/shm.h: Likewise.
10143 * termios/termios.h: Likewise.
10144 * time/sys/time.h: Likewise.
10145 * time/time.h: Likewise.
10146 * wcsmbs/bits/wchar2.h: Likewise.
10147 * wcsmbs/uchar.h: Likewise.
10148 * wcsmbs/wchar.h: Likewise.
10149 * wctype/wctype.h: Likewise.
10150
0269750c
UD
10151 [BZ #13551]
10152 * Makeconfig: Remove all but ELF support including AIX support.
10153 * Makerules: Likewise.
10154 * config.h.in: Likewise.
10155 * config.make.in: Likewise.
10156 * configure: Likewise.
10157 * configure.in: Likewise.
10158 * csu/Makefile: Likewise.
10159 * csu/version.c: Likewise.
10160 * debug/Makefile: Likewise.
10161 * dlfcn/Makefile: Likewise.
10162 * elf/Makefile: Likewise.
10163 * extra-lib.mk: Likewise.
10164 * iconv/Makefile: Likewise.
10165 * include/libc-symbols.h: Likewise.
10166 * include/shlib-compat.h: Likewise.
10167 * resolv/Makefile: Likewise.
10168 * resolv/res_libc.c: Likewise.
10169 * rt/Makefile: Likewise.
10170 * sysdeps/i386/asm-syntax.h: Likewise.
10171 * sysdeps/i386/sysdep.h: Likewise.
10172 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10173 * sysdeps/mach/sysdep.h: Likewise.
10174 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10175 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10176 * sysdeps/s390/asm-syntax.h: Likewise.
10177 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10178 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10179 * sysdeps/sh/sysdep.h: Likewise.
10180 * sysdeps/unix/sparc/sysdep.h: Likewise.
10181 * sysdeps/wordsize-32/divdi3.c: Likewise.
10182 * sysdeps/x86_64/sysdep.h: Likewise.
10183
00bbd29b
UD
10184 * argp/Versions: Remove _argp_unlock_xxx.
10185
10186 [BZ #13559]
10187 * abilist/ld.abilist: Update. Adjust for removal of tls option.
10188 * abilist/libBrokenLocale.abilist: Likewise.
10189 * abilist/libanl.abilist: Likewise.
10190 * abilist/libc.abilist: Likewise.
10191 * abilist/libcrypt.abilist: Likewise.
10192 * abilist/libdl.abilist: Likewise.
10193 * abilist/libm.abilist: Likewise.
10194 * abilist/libnsl.abilist: Likewise.
10195 * abilist/libpthread.abilist: Likewise.
10196 * abilist/libresolv.abilist: Likewise.
10197 * abilist/librt.abilist: Likewise.
10198 * abilist/libthread_db.abilist: Likewise.
10199 * abilist/libutil.abilist: Likewise.
10200 * abilist/libnss_db.abilist: New file.
10201
10202 * scripts/abilist.awk: Add support for indirect functions.
10203
a2693a0e
UD
10204 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10205
3f05895f
UD
10206 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10207
ecb6fb48
UD
10208 * shlib-versions: Remove entries for ports architectures.
10209
664f8cb9
UD
10210 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10211 files in ports.
10212 * elf/stackguard-macros.h: Remove support for IA-64.
10213 * elf/tst-auditmod1.c: Likewise.
10214 * sysdeps/generic/ldsodefs.h: Likewise.
10215
7ae81d88
UD
10216 * sysdeps/unix/sysv/linux/configure.in: Ports should define
10217 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10218 configure files.
10219
bdeba135
UD
10220 [BZ #13552]
10221 * configure.in: Remove --enable-omitfp support.
10222 * FAQ.in: Adjust.
10223 * config.make.in: Likewise.
10224 * Makeconfig: Likewise.
10225 * manual/install.texi: Likewise.
10226
d75a0a62
UD
10227 In case anyone cares, the IA-64 architecture could move to ports.
10228 * sysdeps/ia64/*: Removed.
10229 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 10230 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 10231
dcc9756b
UD
10232 [BZ #13555]
10233 * configure.in: Remove entries for unsupported architectures.
10234
d3761ebc 10235 [BZ #13533]
9954432e
UD
10236 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10237 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
10238 routines.
10239 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10240 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10241 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
10242 fall back to using wcrtomb.
10243 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10244 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
10245 renaming.
10246 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10247 * wcsmbs/tst-c16c32-1.c: New file.
10248
10249 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10250 local variable.
10251
c3a87236
UD
10252 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10253
28926a1b
UD
10254 * elf/tst-unique3.cc: Add explicit declaration of gets.
10255 * elf/tst-unique3lib.cc: Likewise.
10256 * elf/tst-unique3lib2.cc: Likewise.
10257 * elf/tst-unique4.cc: Likewise.
10258
df78418a
UD
10259 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10260
8ecd6b2a
JM
102612012-01-06 Joseph Myers <joseph@codesourcery.com>
10262
10263 [BZ #13566]
10264 * assert/assert.h (static_assert): Don't define for C++.
10265 * libio/stdio.h (gets): Do declare for C++ <= C++11.
10266 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10267
9f115170
UD
102682012-01-03 Ulrich Drepper <drepper@gmail.com>
10269
5e0d0300
UD
10270 * iconv/loop.c (single loop): Fix assertion in storing of
10271 remaining bytes.
10272
9f115170
UD
10273 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10274
81fb02b0
UD
102752012-01-01 Ulrich Drepper <drepper@gmail.com>
10276
10277 * posix/getconf.c: Update copyright year.
10278 * nss/getent.c: Likewise.
a316c1f6 10279 * nss/makedb.c: Likewise.
81fb02b0
UD
10280 * iconv/iconvconfig.c: Likewise.
10281 * iconv/iconv_prog.c: Likewise.
10282 * elf/ldconfig.c: Likewise.
a316c1f6
UD
10283 * elf/pldd.c: Likewise.
10284 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
10285 * catgets/gencat.c: Likewise.
10286 * csu/version.c: Likewise.
10287 * elf/ldd.bash.in: Likewise.
10288 * elf/sprof.c (print_version): Likewise.
10289 * locale/programs/locale.c: Likewise.
10290 * locale/programs/localedef.c: Likewise.
a316c1f6 10291 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
10292 * nscd/nscd.c (print_version): Likewise.
10293 * debug/xtrace.sh: Likewise.
10294 * malloc/memusage.sh: Likewise.
10295 * malloc/mtrace.pl: Likewise.
10296 * debug/catchsegv.sh: Likewise.
10297
2ba92745
JJ
102982011-12-30 Jakub Jelinek <jakub@redhat.com>
10299
10300 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10301 pure attribute.
10302
dadebdae
UD
103032011-12-24 Ulrich Drepper <drepper@gmail.com>
10304
d3761ebc 10305 [BZ #13533]
db6af3eb
UD
10306 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10307 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10308 transformations.
10309 * iconv/gconv_int.h: Likewise.
10310 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10311 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10312 from libc for GLIBC_2.16.
10313 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10314 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10315 * wcsmbs/uchar.h: Really define mbstate_t.
10316 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10317 * wcsmbs/c16rtomb.c: New file.
10318 * wcsmbs/mbrtoc16.c: New file.
10319 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10320 for C/POSIX locale.
10321 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10322 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10323
dadebdae
UD
10324 * wcsmbs/wchar.h: Add missing __restrict.
10325
67371b56
UD
103262011-12-23 Ulrich Drepper <drepper@gmail.com>
10327
74033a25
UD
10328 [BZ #13532]
10329 * time/Makefile (routines): Add timespec_get.
10330 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10331 * time/time.h: Define TIME_UTC and declare timespec_get. Define
10332 timespec for ISO C11.
10333 * time/timespec_get.c: New file.
10334 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10335 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10336
380d7e87
UD
10337 [BZ #13531]
10338 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10339 * stdlib/stdlib.h: Declare aligned_alloc.
10340 * Versions.def: Add GLIBC_2.16 for libc.
10341 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10342
4e9e7a35
UD
10343 [BZ 13527]
10344 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10345 ISO C11.
10346
380d7e87 10347 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
10348 code.
10349
03a71829
UD
10350 [BZ #13528]
10351 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10352
839e283e
UD
10353 [BZ #13529]
10354 * assert/assert.h (static_assert): Define.
10355
ce5294e2 10356 * version.h: Update for 2.16 development version.
90fa7312 10357
8d44e150 10358 [BZ #13526]
d7809905
UD
10359 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10360 _ISOC11_SOURCE.
10361
c0da14cd
UD
10362 * version.h (RELEASE): Bump for 2.15 release.
10363 * include/features.h (__GLIBC_MINOR__): Bump to 15.
10364
530a3249
MP
10365 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10366 Patch by Marek Polacek <mpolacek@redhat.com>.
10367
67371b56
UD
10368 * bits/byteswap.h: Protect long long constants with __extension__.
10369 * sysdeps/i386/bits/byteswap.h: Likewise.
10370 * sysdeps/ia64/bits/byteswap.h: Likewise.
10371 * sysdeps/s390/bits/byteswap.h: Likewise.
10372 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10373
15db4de1
LD
103742011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10375
10376 [BZ #13540]
bbe315ea
LD
10377 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
10378 destination buffer.
15db4de1
LD
10379 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10380
2b2596b1
MP
103812011-12-23 Marek Polacek <polacek@redhat.com>
10382
10383 * elf/dl-addr.c (determine_info): Add inline keyword.
10384 * elf/tst-auditmod4b.c (check_avx): Likewise.
10385 * elf/tst-auditmod6b.c (check_avx): Likewise.
10386 * elf/tst-auditmod6c.c (check_avx): Likewise.
10387 * elf/tst-auditmod7b.c (check_avx): Likewise.
10388
70c6c246
UD
103892011-12-23 Ulrich Drepper <drepper@gmail.com>
10390
10391 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10392 !__SSE_MATH__.
10393
c044cf14
LD
103942011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10395
15db4de1 10396 [BZ #13540]
c044cf14
LD
10397 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
10398 processing for last bytes.
10399
6b13d9d9
BH
104002011-08-06 Bruno Haible <bruno@clisp.org>
10401
d455f537
BH
10402 [BZ #13061]
10403 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10404 U+0385, not to U+1FEE.
10405
6b13d9d9
BH
10406 [BZ #13062]
10407 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10408 entry for U+00A5 U+0301.
10409
db910efd
UD
104102011-12-22 Ulrich Drepper <drepper@gmail.com>
10411
27deeafc
UD
10412 [BZ #13166]
10413 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10414 buffer for the output is too small.
10415
aed9d171
UD
10416 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10417 optimization.
10418
db910efd
UD
10419 [BZ #13185]
10420 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10421 SSE flags if possible.
10422
2bd779ae
LD
104232011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10424
e7f9dac3 10425 [BZ #13540]
2bd779ae
LD
10426 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10427 processing for last bytes.
10428
154bfc16
JM
104292011-12-22 Joseph Myers <joseph@codesourcery.com>
10430
10431 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10432 (syscall-list-default-options, syscall-list-default-condition)
10433 (syscall-list-includes): Define.
10434 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10435 list of ABIs and options and #if conditions for each ABI. Do not
10436 handle common syscalls between ABIs specially.
10437 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10438 Remove.
10439 (syscall-list-variants, syscall-list-32bit-options)
10440 (syscall-list-32bit-condition, syscall-list-64bit-options)
10441 (syscall-list-64bit-condition): Define.
10442 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10443 (syscall-list-variants, syscall-list-32bit-options)
10444 (syscall-list-32bit-condition, syscall-list-64bit-options)
10445 (syscall-list-64bit-condition): Define.
10446 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10447 Remove.
10448 (syscall-list-variants, syscall-list-32bit-options)
10449 (syscall-list-32bit-condition, syscall-list-64bit-options)
10450 (syscall-list-64bit-condition): Define.
10451 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10452 Remove.
10453 (syscall-list-variants, syscall-list-32bit-options)
10454 (syscall-list-32bit-condition, syscall-list-64bit-options)
10455 (syscall-list-64bit-condition): Define.
10456
21eaf3a5
UD
104572011-12-22 Ulrich Drepper <drepper@gmail.com>
10458
16c6f992
UD
10459 * locale/iso-639.def: Add brx entry.
10460
41043168
UD
10461 [BZ #13328]
10462 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10463 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10464
21eaf3a5
UD
10465 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10466 __feraiseexcept_renamed.
10467
e3a851a2
UD
104682011-12-21 Ulrich Drepper <drepper@gmail.com>
10469
4920765e
UD
10470 [BZ #13538]
10471 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10472 EPOLLET with unsigned values.
10473 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10474 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10475
e3a851a2
UD
10476 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10477 to large cancellation.
10478 * math/s_cacoshf.c: Likewise.
10479 * math/s_cacoshl.c: Likewise.
10480
b27e24b8
RK
104812011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10482
10483 [BZ #13305]
aebefeee 10484 [BZ #12786]
b27e24b8
RK
10485 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10486 * math/s_cacoshf.c: Likewise.
10487 * math/s_cacoshl.c: Likewise.
10488
ee190f67
UD
104892011-12-21 Ulrich Drepper <drepper@gmail.com>
10490
10491 [BZ #13439]
10492 * iconv/gconv.h: Define __GCONV_SWAP.
10493 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10494 * iconvdata/utf-16.c: Likewise.
10495 * iconvdata/utf-32.c: Likewise.
10496
707f25df
AS
104972011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10498
10499 [BZ #13524]
10500 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10501 numerator after shifting it by one limb.
10502
d2daaa1e
RÁE
105032011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10504
10505 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10506 under [__USE_EXTERN_INLINES].
10507
a4647e72
UD
105082011-12-17 Ulrich Drepper <drepper@gmail.com>
10509
10510 [BZ #13446]
10511 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10512
f0b264f1
AZ
105132011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10514
10515 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10516 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10517 optimized code.
10518 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10519 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10520 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10521 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10522 for strncasecmp/strncasecmp_l compilation.
10523 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10524 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10525
8ef4f244
MP
105262011-12-08 Marek Polacek <mpolacek@redhat.com>
10527
10528 [BZ #13484]
10529 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10530 of __asm__.
10531
97ac2654
UD
105322011-12-17 Ulrich Drepper <drepper@gmail.com>
10533
10534 [BZ #13506]
10535 * time/tzfile.c (__tzfile_read): Check values from file header.
10536
91d2a845
WS
105372011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10538
10539 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10540 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10541 * powerpc/powerpc32/dl-start.S: Likewise.
10542 * powerpc/powerpc32/elf/start.S: Likewise.
10543 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10544 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10545 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10546 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10547 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10548 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10549 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10550 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10551 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10552 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10553 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10554 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10555 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10556 * powerpc/powerpc32/memset.S: Likewise.
10557 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10558 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10559 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10560 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10561 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10562 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10563 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10564 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10565 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10566 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10567 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10568 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10569 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10570
a1267ba1
AZ
105712011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10572
10573 * math/libm-test.inc: Added more nearbyint tests.
10574 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10575 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10576 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10577 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10578
ad8ac1bd
RL
105792011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10580
10581 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10582 FD_CLOEXEC.
10583
1d3e4b61
UD
105842011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10585
10586 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10587 Add wcscpy-ssse3 wcscpy-c.
10588 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10589 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10590 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10591 * sysdeps/x86_64/wcschr.S: New file.
10592 * sysdeps/x86_64/wcsrchr.S: New file.
10593 * string/test-strcmp.c: Remove checking of wcscmp function for
10594 wrong alignments.
10595 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10596 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10597 wcsrchr-sse2 wcsrchr-c.
10598 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10599 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10600 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10601 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10602 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10603 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10604 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10605 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10606 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10607 * wcsmbc/wcschr.c (WCSCHR): New macro.
10608
5b330a2d
UD
106092011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10610
10611 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10612 * wcsmbs/test-wcsrchr.c: New file.
10613 * string/test-strrchr.c: Add wcsrchr support.
10614 (WIDE): New macro.
10615 * wcsmbs/test-wcscpy.c: New file.
10616 * string/test-strcpy.c: Add wcscpy support.
10617 (WIDE): New macro.
26428b7c 10618
f039c043
UD
106192011-12-10 Ulrich Drepper <drepper@gmail.com>
10620
10621 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10622 the inner loop.
10623
850fb039
AS
106242011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10625
10626 [BZ #13472]
10627 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10628
4efbd5cb
UD
106292011-12-04 Ulrich Drepper <drepper@gmail.com>
10630
52ff5dd0 10631 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 10632 Minor optimizations.
52ff5dd0 10633
4efbd5cb
UD
10634 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10635 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10636 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10637
8a426e12
UD
106382011-12-03 Ulrich Drepper <drepper@gmail.com>
10639
aff2453d
UD
10640 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10641 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10642 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10643 for gcc to avoid warnings.
10644 * inet/Makefile (tests): Add tst-checks.
10645 * inet/tst-checks.c: New file.
10646
10647 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10648 warning.
10649
10650 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10651 __wmemcmp_sse2.
10652
10653 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10654 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10655
8a426e12
UD
10656 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10657
9bea3473
UD
106582011-12-02 Ulrich Drepper <drepper@gmail.com>
10659
3a965496
UD
10660 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10661 problem.
10662
9bea3473
UD
10663 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10664
f101631b
UD
106652011-11-29 Joseph Myers <joseph@codesourcery.com>
10666
10667 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10668 conditional on GCC version.
10669 (__arch_compare_and_exchange_val_8_acq)
10670 (__arch_compare_and_exchange_val_16_acq)
10671 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10672 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10673 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10674
a98275aa
UD
106752011-12-02 Joseph Myers <joseph@codesourcery.com>
10676
10677 * sysdeps/sh/backtrace.c: New file.
10678
d4cc29a2
AS
106792011-12-02 Andreas Schwab <schwab@redhat.com>
10680
10681 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10682 parenthesis.
10683
6257af2d
AS
106842011-12-01 Andreas Schwab <schwab@redhat.com>
10685
10686 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10687 falling back to utime.
10688
b5f44c1a
AS
106892011-11-30 Andreas Schwab <schwab@redhat.com>
10690
10691 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10692 expectations for float.
10693
f3a6cc0a
AS
106942011-11-29 Andreas Schwab <schwab@redhat.com>
10695
10696 * locale/weight.h (findidx): Add parameter len.
10697 * locale/weightwc.h (findidx): Likewise.
10698 * posix/fnmatch_loop.c (FCT): Adjust caller.
10699 * posix/regcomp.c (build_equiv_class): Likewise.
10700 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10701 * posix/regexec.c (check_node_accept_bytes): Likewise.
10702 * string/strcoll_l.c (STRCOLL): Likewise.
10703 * string/strxfrm_l.c (STRXFRM): Likewise.
10704
9d65ea3a
UD
107052011-11-17 Ulrich Drepper <drepper@gmail.com>
10706
10707 * Makefile.in: Remove CVSOPT handling.
10708 * configure.in: Remove use of AC_REVISION.
10709 * iconvdata/Makefile (distribute): No need to filter out CVS.
10710 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10711 handling.
10712
5583a086
AS
107132011-11-16 Andreas Schwab <schwab@redhat.com>
10714
10715 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10716 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10717 [USE_AS_STRNCASECMP_L]: Likewise.
10718 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10719 NO_TLS_DIRECT_SEG_REFS.
10720 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10721 Fix argument offsets for non-PIC.
10722 [USE_AS_STRNCASECMP_L]: Likewise.
10723 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10724 NO_TLS_DIRECT_SEG_REFS.
10725
d62a8200
UD
107262011-11-15 Ulrich Drepper <drepper@gmail.com>
10727
9d65ea3a 10728 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
10729 O_CLOEXEC.
10730 * locale/loadlocale.c (_nl_load_locale): Likewise.
10731
09f93bd3
AS
107322011-11-15 Andreas Schwab <schwab@redhat.com>
10733
446514f9
AS
10734 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10735 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10736 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10737 (SYSCALL_GETTIME): Set errno on error.
10738
09f93bd3
AS
10739 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10740 count references to noai6ai_cached.
10741
312be3f9
UD
107422011-11-15 Ulrich Drepper <drepper@gmail.com>
10743
10744 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10745
10746 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10747 FD_CLOEXEC for /proc/self/maps.
10748
10749 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10750 FD_CLOEXEC for /proc/meminfo.
10751
10752 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10753 gai.conf.
10754
10755 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10756 FD_CLOEXEC for given file.
10757
10758 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10759
10760 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10761 FD_CLOEXEC for /etc/hosts.
10762 (_gethtent): Likewise.
10763
10764 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10765
10766 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10767 cancellation and set FD_CLOEXEC for /etc/netgroup.
10768
10769 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10770 reading /etc/publickey.
10771
10772 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10773 allow cancellation when reading /etc/group.
10774
10775 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10776 cancellation.
10777 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10778
10779 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10780 when using data file.
10781
10782 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10783
10784 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10785 (write_nis_obj): Use "c" and "e" in fopen.
10786
10787 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10788
10789 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10790
10791 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10792
10793 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10794
10795 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10796 locale.alias.
10797
10798 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10799
10800 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10801
10802 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10803
10804 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10805 file parsing and set FD_CLOEXEC.
10806
82af0fa8
UD
108072011-11-14 Ulrich Drepper <drepper@gmail.com>
10808
10809 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10810
a5fb313c
AS
108112011-11-14 Andreas Schwab <schwab@redhat.com>
10812
10813 * malloc/arena.c (arena_get2): Don't call reused_arena when
10814 _int_new_arena failed.
10815
6abf3465
UD
108162011-11-14 Ulrich Drepper <drepper@gmail.com>
10817
10818 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10819 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10820 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10821 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10822 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10823 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10824 to compile strcasecmp and strncasecmp.
10825 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10826 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10827
10828 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10829
76e3966e
UD
108302011-11-13 Ulrich Drepper <drepper@gmail.com>
10831
10832 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10833 locale-defines.sym to gen-as-const-headers.
10834 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10835 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10836 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10837 to compile strcasecmp and strncasecmp.
10838 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10839 strcasecmp_l and strncasecmp_l.
10840 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10841 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10842 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10843 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10844 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10845 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10846 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10847 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10848 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10849 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10850 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10851
ab26144e
UD
108522011-11-12 Ulrich Drepper <drepper@gmail.com>
10853
7edb22ef
UD
10854 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10855 result of SYSDEP_GETTIME_CPU to retval.
10856 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10857 parameter list to macro. Remove trailing semicolon. Adjust users.
10858
9694fc44
UD
10859 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10860 variable.
10861
8ad89ef8
UD
10862 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10863 mantissa words.
10864 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10865
0c822ef9
UD
10866 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10867 from unused variable.
10868
874e0564
UD
10869 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10870 DWARF definitions.
10871 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10872 for assembling.
10873
3a2edc79
UD
10874 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10875 over namespaces.
10876
f3c2577f
UD
10877 * sunrpc/rpc_prot.c (rejected): Fix case value.
10878
294ce126
UD
10879 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10880 unsigned long long int to avoid warnings in shift.
10881
5e2b63c6
UD
10882 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10883 of use of trans.
10884 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10885 variable tmp.
10886
e7f4b08e
UD
10887 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10888 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10889 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10890
ab26144e
UD
10891 * nis/nis_table.c (nis_list): Use variable of correct type for
10892 result of __follow_path call.
10893
8a6d5255
AZ
108942011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10895
10896 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10897 of math functions ceil, trunc, floor, round, and sqrt, when
10898 avaliable on the platform.
10899 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10900 name clash.
10901 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10902 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10903 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10904
aaddc98c
MP
109052011-10-30 Marek Polacek <mpolacek@redhat.com>
10906
10907 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10908 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10909
95b7042b
RM
109102011-11-11 Roland McGrath <roland@hack.frob.com>
10911
10912 * include/unistd.h: Fix __readlink return type.
10913 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10914
57769839
UD
109152011-11-11 Ulrich Drepper <drepper@gmail.com>
10916
10917 * stdlib/ucontext.h: Undo last change for makecontext.
10918
edc5984d
AS
109192011-11-11 Andreas Schwab <schwab@redhat.com>
10920
98591e58
AS
10921 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10922
edc5984d
AS
10923 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10924 * setjmp/setjmp.h: Mark functions as non-leaf.
10925 * setjmp/bits/setjmp2.h: Likewise.
10926 * stdlib/ucontext.h: Likewise.
10927
77cdc054
AS
109282011-11-10 Andreas Schwab <schwab@redhat.com>
10929
10930 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10931 (reused_arena): Don't check arena limit.
10932 (arena_get2): Atomically check arena limit.
10933
fe72eebd
UD
109342011-11-08 Ulrich Drepper <drepper@gmail.com>
10935
5f078c32
UD
10936 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10937 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10938
fe72eebd
UD
10939 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10940 instructions.
10941
ae1bc2fa
AS
109422011-11-07 Andreas Schwab <schwab@redhat.com>
10943
7583a88d
AS
10944 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10945 handler when locking.
10946
ae1bc2fa
AS
10947 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10948 Fix size of allocated buffer.
10949
10fb0bfa
AS
109502011-11-04 Andreas Schwab <schwab@redhat.com>
10951
998832a4
AS
10952 [BZ #10103]
10953 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10954 declarations for long double functions.
10955 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10956
10fb0bfa
AS
10957 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10958
3d7ba52b
AS
109592011-11-03 Andreas Schwab <schwab@redhat.com>
10960
a9ae54a1
AS
10961 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10962 installed.
10963
3d7ba52b
AS
10964 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10965 is disabled.
10966
bc8db248
ST
109672011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10968
10969 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10970
45b96dd6
AS
109712011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10972
647776f6
AS
10973 * include/alloca.h (stackinfo_alloca_round): Define.
10974 (extend_alloca): Use it.
10975 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10976 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10977 here.
10978
d91a8b93
AS
10979 * scripts/check-local-headers.sh: Ignore libaudit.h.
10980
45b96dd6
AS
10981 * nscd/Makefile (extra-objs): Make recursively expanded.
10982
432d41ce
UD
109832011-11-01 Ulrich Drepper <drepper@gmail.com>
10984
34372fc6
UD
10985 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10986 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10987
fadb59f8
UD
10988 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10989 * posix/tst-rfc3484-2.c: Likewise.
10990 * posix/tst-rfc3484-3.c: Likewise.
10991
78239589
UD
10992 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10993 process_vm_writev.
10994 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10995 process_vm_writev.
10996 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10997 process_vm_writev from libc using GLIBC_2.15 version.
10998
432d41ce
UD
10999 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11000
02f9c6cf
PP
110012011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11002
11003 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11004 stack usage.
11005
3a2c0242
UD
110062011-10-31 Ulrich Drepper <drepper@gmail.com>
11007
f4ec4833
UD
11008 [BZ #13367]
11009 * nss/getent.c (initgroups_keys): Show error message in case no group
11010 names are given.
11011
3a2c0242
UD
11012 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11013 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11014 __bump_nl_timestamp.
11015 * nscd/connections (nscd_init): When host database is served open
11016 netlink socket and request notification about configuration changes.
11017 (main_loop_poll): Track netlink file descriptor and bump timestamp
11018 in case data becomes available.
11019 (main_loop_epoll): Likewise.
11020 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11021 (database_pers_head): Add extra_data fileds.
11022 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11023 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11024 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11025 Adjust caller.
11026 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11027 in6ai data, call __free_in6ai.
11028 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11029 Add -DHAVE_NETLINK.
11030 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
11031 interface information. Reuse previous data if netlink timestamp
11032 is not changed.
11033 (__bump_nl_timestamp): New function.
11034 (__free_in6ai): New function.
11035
636064eb
UD
110362011-10-30 Ulrich Drepper <drepper@gmail.com>
11037
11038 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11039 close_not_cancel_no_status here.
11040 (__check_pf): Reorganize code a bit to not call close twice if OOM.
11041
9beb2334
UD
110422011-10-29 Ulrich Drepper <drepper@gmail.com>
11043
6ef76f3b
UD
11044 [BZ #13276]
11045 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11046 return value.
11047
0ffc4f3e 11048 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
11049 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11050 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11051
cb95113e
UD
110522011-07-03 Andreas Jaeger <aj@suse.de>
11053
11054 [BZ #10709]
11055 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11056 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11057 * math/libm-test.inc (sin_test): Add test case.
11058
a1b560ff
UD
110592011-10-29 Ulrich Drepper <drepper@gmail.com>
11060
c9aaface
UD
11061 [BZ #13337]
11062 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11063 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11064
d272e7f1
UD
11065 * elf/chroot_canon.c (chroot_canon): Cleanups.
11066
1bc33071
UD
11067 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11068
1760874d
TJ
11069 [BZ #13335]
11070 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11071 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11072
51d91b18
UD
11073 * string/test-strchr.c: Make usable for strchrnul testing.
11074 * string/test-strchrnul.c: New file.
11075 * string/Makefile (strop-tests): Add strchrnul.
11076
a1b560ff 11077 * po/it.po: Update from translation team.
b611fb81 11078 * po/es.po: Likewise.
a1b560ff 11079
a5b81e1f
UD
110802011-10-28 Ulrich Drepper <drepper@gmail.com>
11081
fd52bc6d
UD
11082 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11083 the three constants needed as parameters. Drop the others.
11084 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11085 __m128i_strloadu_tolower.
52e4b9eb
UD
11086 Create and initialize variable zero and use it in all the places
11087 where _mm_setzero_si128 was used.
fd52bc6d 11088
a5b81e1f
UD
11089 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11090 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11091 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11092 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11093 anymore.
11094 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11095 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11096 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11097 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11098 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11099 __mpranred, __mptan.
11100 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11101 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11102 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11103 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11104 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11105 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11106 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11107 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11108 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11109
b4343346
AS
111102011-10-28 Andreas Schwab <schwab@redhat.com>
11111
0c92d8a8
AS
11112 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11113 redefine if SHARED.
11114 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11115
b4343346
AS
11116 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11117 wide char related routines to wcsmbs subdir.
11118
3871f58f
AS
111192011-10-27 Andreas Schwab <schwab@redhat.com>
11120
11121 [BZ #13344]
11122 * misc/sys/cdefs.h (__THROWNL): Define.
11123 * posix/unistd.h: Use __THREADNL instead of __THREAD
11124 for memory synchronization functions.
11125
94d44d9f
RM
111262011-10-26 Roland McGrath <roland@hack.frob.com>
11127
21b64b15 11128 [BZ #13349]
94d44d9f
RM
11129 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11130 doesn't exist.
11131 * manual/stdio.texi (Obstack Streams): Node removed.
11132
f6ce9294
AS
111332011-10-26 Andreas Schwab <schwab@redhat.com>
11134
80479147
AS
11135 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11136 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11137 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11138
f6ce9294
AS
11139 * math/math_private.h (math_force_eval): Allow non-addressable
11140 arguments.
11141 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11142
618280a1
UD
111432011-10-25 Ulrich Drepper <drepper@gmail.com>
11144
e0016b11
UD
11145 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11146 file is not needed.
11147
11148 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11149 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11150 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11151 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11152 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11153 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11154 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11155 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11156 Add AVX variants.
11157 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11158 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11159 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11160 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11161 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11162 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11163 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11164 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11165 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11166 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11167 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11168 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11169 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11170 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11171 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11172 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11173 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11174 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11175 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11176
11177 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11178 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
11179
618280a1
UD
11180 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11181 place. Use VEX encoding when compiling for AVX.
11182
37822576
AS
111832011-10-25 Andreas Schwab <schwab@redhat.com>
11184
1f1e1947
AS
11185 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11186 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11187
37822576
AS
11188 * string/test-strchr.c (do_test): Don't generate NUL bytes.
11189
31ea014d
UD
111902011-10-25 Ulrich Drepper <drepper@gmail.com>
11191
d7826aa1 11192 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 11193 useless if() expression.
d7826aa1
UD
11194 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11195 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11196 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11197 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11198 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11199 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11200 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11201 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11202 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11203 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11204 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11205 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11206 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11207 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11208 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11209 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11210 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11211 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11212 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11213
31ea014d
UD
11214 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11215
16437fec
AS
112162011-10-25 Andreas Schwab <schwab@redhat.com>
11217
11218 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11219 condition.
11220 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11221
31d3cc00
UD
112222011-10-25 Ulrich Drepper <drepper@gmail.com>
11223
11224 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11225 .text section. Avoid duplicate constants.
11226 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11227 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11228 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11229 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11230 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11231 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11232 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11233 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11234 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11235 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11236 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11237 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11238 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11239 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11240 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11241 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11242 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11243 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11244 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11245 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11246 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11247 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11248 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11249 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11250 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11251 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11252 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11253 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11254 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11255 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11256 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11257 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11258 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11259 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11260 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11261 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11262 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11263 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11264 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11265 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11266 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11267 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11268 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11269 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11270 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11271
58985aa9
UD
112722011-10-24 Ulrich Drepper <drepper@gmail.com>
11273
202c9deb
UD
11274 * sysdeps/x86_64/dla.h: Move to ...
11275 * sysdeps/x86_64/fpu/dla.h: ...here.
11276 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11277 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 11278
af968f62
UD
11279 * config.make.in: Add have-mfma4 entry.
11280 * configure.in: Substitute libc_cv_cc_fma4.
11281 * math/Makefile (dbl-only-routines): Add sincostab.
11282 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11283 Use __sincostab not sincos.
11284 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11285 name is a macro.
11286 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11287 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11288 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11289 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11290 using __copysign.
11291 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11292 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11293 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11294 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11295 and __inv.
11296 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11297 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11298 __copysign.
11299 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
11300 define aliases when function name is a macro.
11301 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11302 sysdeps/ieee754/dbl-64/sincos.tbl.
11303 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11304 fma4-enabled routines.
11305 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11306 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11307 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11308 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11309 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11310 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11311 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11312 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11313 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11314 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11315 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11316 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11317 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11318 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11319 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11320 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11321 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11322 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11323 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11324 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11325 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11326 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11327 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11328 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11329 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11330 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11331 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11332 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11333 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11334 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11335
58985aa9
UD
11336 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11337 rename.
11338 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11339 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11340 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11341 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11342 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11343 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11344 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11345 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11346
a201fbcf
AS
113472011-10-24 Andreas Schwab <schwab@redhat.com>
11348
11349 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11350
fc2ee42a
LD
113512011-10-23 Ulrich Drepper <drepper@gmail.com>
11352
bb3129bd
UD
11353 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11354
0275fff8
UD
11355 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11356 prediction.
11357 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11358
2fa2ae85
UD
11359 * string/strnlen.c: Don't define STRNLEN, reverse logic.
11360 Remove unused variable magic_bits.
11361 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11362
fc2ee42a
LD
11363 * string/strnlen.c: Define and use STRNLEN macro.
11364 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11365 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11366 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11367 * wcsmbs/wcslen.c: Define and use WCSLEN.
11368 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11369 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11370 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11371 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11372 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11373 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11374 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11375
ce7dd29f
LD
113762011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11377
11378 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11379 strnlen-sse2-no-bsf.
11380 Rename strlen-no-bsf to strlen-sse2-no-bsf.
11381 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
11382 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
11383 Add strnlen support.
11384 (USE_AS_STRNLEN): New macro.
11385 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11386 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11387 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11388 * sysdeps/x86_64/wcslen.S: New file.
11389
979c70a3
MZ
113902011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
11391
11392 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11393 XMM-moves are used for copying on small sizes.
11394
2d09f82f
LD
113952011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11396
11397 * wcsmbs/Makefile (strop-tests): Add wcschr.
11398 * wcsmbs/test-wcschr.c: New file.
11399 * string/test-strchr.c: Update.
11400 Add wcschr support.
11401 (WIDE): New macro.
11402
619fccca
LD
114032011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11404
2d09f82f 11405 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
11406 * wcsmbs/test-wcslen.c: New file.
11407 * string/test-strlen.c: Update.
11408 Add wcslen support.
11409 (WIDE): New macro.
11410
09f699ea
UD
114112011-10-23 Ulrich Drepper <drepper@gmail.com>
11412
11413 * po/it.po: Update from translation team.
11414
95584d3b
LD
114152011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11416
11417 * sysdeps/x86_64/wcscmp.S: Update.
11418 Fix wrong comparison semantics.
11419 wcscmp shall use signed comparison not unsigned.
11420 Don't use substraction to avoid overflow bug.
11421 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11422 * wcsmbc/wcscmp.c: Likewise.
11423 * string/test-strcmp.c: Likewise.
11424 Add new tests to check cases with negative values.
11425
c8b3296b
UD
114262011-10-23 Ulrich Drepper <drepper@gmail.com>
11427
11428 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11429 * sysdeps/x86_64/dla.h: ...here. New file.
11430 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11431 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11432 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11433 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11434 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11435 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11436 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11437 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11438 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11439
246ad57a
AS
114402011-10-23 Andreas Schwab <schwab@linux-m68k.org>
11441
11442 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11443 __ynl_finite aliases.
11444
a1a87169
UD
114452011-10-22 Ulrich Drepper <drepper@gmail.com>
11446
0d355eb7
UD
11447 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11448
a1a87169
UD
11449 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11450 define DLA_FMA.
11451 [DLA_FMA] (EMULV): Use DLA_FMA.
11452 [DLA_FMA] (MUL12): Use EMULV.
11453 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11454 that are not needed.
11455 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11456 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11457 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11458 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11459 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11460 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11461 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11462
ee2aafe0
AS
114632011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11464
11465 * math/s_nan.c: Undef __nan.
11466 * math/s_nanf.c: Undef __nanf.
11467 * math/s_nanl.c: Undef __nanl.
11468 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11469 "math_private.h".
11470
bc62c2fb
UD
114712011-10-22 Ulrich Drepper <drepper@gmail.com>
11472
77425c63
UD
11473 * math/s_catan.c: Add branch predictions.
11474 * math/s_catanf.c: Likewise.
11475 * math/s_catanh.c: Likewise.
11476 * math/s_catanhf.c: Likewise.
11477 * math/s_catanhl.c: Likewise.
11478 * math/s_catanl.c: Likewise.
11479 * math/s_cexp.c: Likewise.
11480 * math/s_cexpf.c: Likewise.
11481 * math/s_cexpl.c: Likewise.
11482 * math/s_clog.c: Likewise.
11483 * math/s_clog10.c: Likewise.
11484 * math/s_clog10f.c: Likewise.
11485 * math/s_clog10l.c: Likewise.
11486 * math/s_clogf.c: Likewise.
11487 * math/s_clogl.c: Likewise.
11488 * math/s_csqrt.c: Likewise.
11489 * math/s_csqrtf.c: Likewise.
11490 * math/s_csqrtl.c: Likewise.
11491 * math/s_ctanf.c: Likewise.
11492 * math/s_ctanh.c: Likewise.
11493 * math/s_ctanhf.c: Likewise.
11494 * math/s_ctanhl.c: Likewise.
11495 * math/s_ctanl.c: Likewise.
11496
bc62c2fb
UD
11497 * math/math_private.h: Define __nan, __nanf, __nanl.
11498 * math/s_cacosh.c: Include <math_private.h>.
11499 * math/s_cacoshl.c: Likewise.
11500 * math/s_casinh.c: Likewise.
11501 * math/s_casinhf.c: Likewise.
11502 * math/s_casinhl.c: Likewise.
11503 * math/s_ccos.c: Rely entire on ccosh.
11504 * math/s_ccosf.c: Rely entire on ccoshf.
11505 * math/s_ccosl.c: Rely entirely on ccoshl.
11506 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11507 Remove tests for FE_INVALID.
11508 * math/s_ccoshf.c: Likewise.
11509 * math/s_ccoshl.c: Likewise.
11510 * math/s_csin.c: Likewise.
11511 * math/s_csinf.c: Likewise.
11512 * math/s_csinh.c Likewise.
11513 * math/s_csinhf.c: Likewise.
11514 * math/s_csinhl.c: Likewise.
11515 * math/s_csinl.c: Likewise.
11516 * math/s_ctan.c: Likewise.
11517 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11518 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11519 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11520
8ec250a4
UD
115212011-10-21 Ulrich Drepper <drepper@gmail.com>
11522
c196fed8
UD
11523 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11524 compilation problems.
11525
8ec250a4
UD
11526 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11527 __builtin_expect.
11528
8d4f46c6
UD
115292011-10-20 Ulrich Drepper <drepper@gmail.com>
11530
ed72b654
UD
11531 * sysdeps/i386/configure.in: Test for -mfma4 option.
11532 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11533 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11534 COMMON_CPUID_INDEX_80000001.
11535 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11536 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11537 use it if FMA3 is not supported.
11538 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11539
8d4f46c6
UD
11540 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11541 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11542
d45c60c2
AS
115432011-10-20 Andreas Schwab <schwab@redhat.com>
11544
11545 [BZ #12892]
11546 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11547 it would create a cycle with a link time dependency.
11548
d9a4d2ab
UD
115492011-10-19 Ulrich Drepper <drepper@gmail.com>
11550
855d1560
UD
11551 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11552 instruction.
11553 * string/Makefile (strop-tests): Add rawmemchr.
11554 * string/test-rawmemchr.c: New file.
11555
d9a4d2ab
UD
11556 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11557 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11558 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11559 when compiling str{,n}casecmp and when AVX is available. Hook up
11560 new optimized code in initializers.
11561
8f3b1ffe
AS
115622011-10-19 Andreas Schwab <schwab@redhat.com>
11563
11564 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11565 __feraiseexcept instead of feraiseexcept.
11566
d38f1dba
UD
115672011-10-18 Ulrich Drepper <drepper@gmail.com>
11568
d9a8d0ab
UD
11569 * math/math_private.h: Define defaults for libc_fetestexcept and
11570 libc_feupdateenv.
11571 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11572 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11573 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11574 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11575 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11576 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11577 libc_fetestexcept and libc_feupdateenv.
11578
4855e3dd
UD
11579 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11580 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11581 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11582 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11583 libc_feholdexcept_setround.
11584
581d30e3
UD
11585 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11586 Add s_nearbyint-c and s_nearbyintf-c.
11587 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11588 nearbyintf inlines.
11589 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11590 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11591 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11592 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11593
d38f1dba
UD
11594 * math/math_private.h: Define defaults for libc_fegetround,
11595 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11596 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11597 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11598 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11599 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11600 standard functions.
11601 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11602 Remove comments and hacks for old compiler versions.
11603 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11604 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11605 libc_feholdexceptl.
11606
caa6c9d8
AS
116072011-10-18 Andreas Schwab <schwab@redhat.com>
11608
11609 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
11610 (__feraiseexcept_renamed): Add __NTH.
11611 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
11612 namespace violations.
11613
97c066e6
UD
116142011-10-17 Ulrich Drepper <drepper@gmail.com>
11615
99ce7b04
UD
11616 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11617
1004d182
UD
11618 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11619
228a984d
UD
11620 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11621 recently added interfaces.
11622 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11623
c8553a6a
UD
11624 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11625 about macro parameter expansion.
11626
ed22dcf6
UD
11627 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11628 __NO_MATH_INLINES is defined. Cleanups.
11629
11630 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11631 and __floorf is target has SSE4.1.
11632 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11633 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11634 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11635 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11636
b171c137
UD
11637 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11638 name.
11639 (floorf): Likewise.
11640
97c066e6
UD
11641 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11642
629f62ef
AS
116432011-10-17 Andreas Schwab <schwab@redhat.com>
11644
49a43d80
AS
11645 * misc/sys/cdefs.h: Fix last change.
11646
629f62ef
AS
11647 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11648 database lookup.
11649
e453f6cd
UD
116502011-10-16 Ulrich Drepper <drepper@gmail.com>
11651
aa78043a
UD
11652 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11653
ad0f5cad
UD
11654 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11655 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11656 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11657 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11658 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11659 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11660 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11661 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11662 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11663 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11664 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11665 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11666 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11667 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11668 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11669 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11670 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11671 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11672 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11673 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11674 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11675 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11676
11677 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11678 ceil, ceilf, floor, floorf.
11679
11680 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11681 Perform IRELATIVE relocations last.
11682
e453f6cd
UD
11683 * elf/do-rel.h: Add another parameter nrelative, replacing the
11684 local variable with the same name. Change name of the function
11685 to end in Rel or Rela (uppercase).
11686 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11687 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11688 elf_dynamic_do_##reloc function.
11689
fd5bdc09
UD
116902011-10-15 Ulrich Drepper <drepper@gmail.com>
11691
79b195b5
UD
11692 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11693 is sufficient, at least on modern CPUs.
11694
d4a28569
UD
11695 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11696
b61099b5
UD
11697 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11698 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11699
bcf01e6d
UD
11700 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11701 __expl_finite.
11702 * math/bits/math-finite.h: Add entries for exp.
11703 * math/e_expl.c: Add __*_finite alias.
11704 * sysdeps/i386/fpu/e_exp.S: Likewise.
11705 * sysdeps/i386/fpu/e_expf.S: Likewise.
11706 * sysdeps/i386/fpu/e_expl.c: Likewise.
11707 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11708 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11709 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11710 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11711 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11712 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11713 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11714
ba1a0d59
UD
11715 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11716 is sufficient, at least on modern CPUs.
11717
fd5bdc09
UD
11718 * ctype/ctype-info.c (__ctype_init): Define.
11719 * include/ctype.h (__ctype_init): Declare.
11720 (__ctype_b_loc): The variable is always initialized.
11721 (__ctype_toupper_loc): Likewise.
11722 (__ctype_tolower_loc): Likewise.
11723 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11724 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11725
7872cfb0
AS
117262011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11727
b468825a
AS
11728 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11729
7872cfb0
AS
11730 * configure.in: Also look in $cxxmachine/include for C++ system
11731 headers.
11732
be13f7bf
LD
117332011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11734
11735 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11736 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11737 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11738 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11739 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11740 (USE_AS_WMEMCMP): New macro.
11741 Fixing indents.
11742 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11743 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11744 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11745 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11746 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11747 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11748 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11749 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11750 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11751 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11752 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11753 (USE_AS_WMEMCMP): New macro.
11754 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11755 * sysdeps/string/test-memcmp.c: Update.
11756 Fix simple_wmemcmp.
11757 Add new tests.
11758 * wcsmbs/wmemcmp.c: Update.
11759 (WMEMCMP): New macro.
11760 Fix overflow bug.
11761
556a2007
AJ
117622011-10-12 Andreas Jaeger <aj@suse.de>
11763
11764 [BZ #13268]
11765 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11766
538faaa7
UD
117672011-10-15 Ulrich Drepper <drepper@gmail.com>
11768
ab6737ff
UD
11769 * libio/iofwide.c (do_length): Avoid warning.
11770
538faaa7
UD
11771 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11772
396a21b1
UD
117732011-10-14 Ulrich Drepper <drepper@gmail.com>
11774
cdf2901f
UD
11775 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11776
38ad40ce
UD
11777 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11778 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11779 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11780 * sysdeps/i386/i686/fpu/e_log.S: New file.
11781 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11782 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11783
396a21b1
UD
11784 * ctype/ctype.h: Add support for inlined isXXX functions when
11785 compiling C++ code.
11786
6b1f68c9
AS
117872011-10-14 Andreas Schwab <schwab@redhat.com>
11788
349290c0
AS
11789 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11790
6b1f68c9
AS
11791 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11792
f2282d42
RM
117932011-10-13 Roland McGrath <roland@hack.frob.com>
11794
11795 [BZ #13291]
11796 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11797
5298ffa8
AS
117982011-10-13 Andreas Schwab <schwab@redhat.com>
11799
714fad23
AS
11800 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11801 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11802 feraiseexcept.
11803
81dcc7fb
AS
11804 * sysdeps/x86_64/memrchr.S: Check for zero size.
11805
5298ffa8
AS
11806 * string/stratcliff.c: Add memrchr tests.
11807
951fbcec
LD
118082011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11809
11810 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11811 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11812 rawmemchr-sse2 rawmemchr-sse2-bsf.
11813 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11814 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11815 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11816 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11817 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11818 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11819 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11820 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11821 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11822 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11823 * string/memrchr.c (MEMRCHR): New macro.
11824
0ac5ae23
UD
118252011-10-12 Ulrich Drepper <drepper@gmail.com>
11826
11827 Add integration with gcc's -ffinite-math-only and optimize wrapper
11828 functions in libm.
11829 * Versions.def: Define GLIBC_2.15 version for libm.
11830 * math/Makefile (headers): Add bits/math-finite.h.
11831 * math/bits/math-finite.h: New file.
11832 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11833 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11834 * math/e_acoshl.c: Add __*_finite alias.
11835 * math/e_acosl.c: Likewise.
11836 * math/e_asinl.c: Likewise.
11837 * math/e_atan2l.c: Likewise.
11838 * math/e_atanhl.c: Likewise.
11839 * math/e_coshl.c: Likewise.
11840 * math/e_exp10.c: Likewise.
11841 * math/e_exp10f.c: Likewise.
11842 * math/e_exp10l.c: Likewise.
11843 * math/e_exp2l.c: Likewise.
11844 * math/e_fmodl.c: Likewise.
11845 * math/e_gammal_r.c: Likewise.
11846 * math/e_hypotl.c: Likewise.
11847 * math/e_j0l.c: Likewise.
11848 * math/e_j1l.c: Likewise.
11849 * math/e_jnl.c: Likewise.
11850 * math/e_lgammal_r.c: Likewise.
11851 * math/e_log10l.c: Likewise.
11852 * math/e_log2l.c: Likewise.
11853 * math/e_logl.c: Likewise.
11854 * math/e_powl.c: Likewise.
11855 * math/e_sinhl.c: Likewise.
11856 * math/e_sqrtl.c: Likewise.
11857 * math/e_scalb.c: Completely rewritten and optimized.
11858 * math/e_scalbf.c: Likewise.
11859 * math/e_scalbl.c: Likewise.
11860 * math/w_acos.c: Likewise.
11861 * math/w_acosf.c: Likewise.
11862 * math/w_acosl.c: Likewise.
11863 * math/w_acosh.c: Likewise.
11864 * math/w_acoshf.c: Likewise.
11865 * math/w_acoshl.c: Likewise.
11866 * math/w_asin.c: Likewise.
11867 * math/w_asinf.c: Likewise.
11868 * math/w_asinl.c: Likewise.
11869 * math/w_atan2.c: Likewise.
11870 * math/w_atan2f.c: Likewise.
11871 * math/w_atan2l.c: Likewise.
11872 * math/w_atanh.c: Likewise.
11873 * math/w_atanhf.c: Likewise.
11874 * math/w_atanhl.c: Likewise.
11875 * math/w_exp10.c: Likewise.
11876 * math/w_exp10f.c: Likewise.
11877 * math/w_exp10l.c: Likewise.
11878 * math/w_fmod.c: Likewise.
11879 * math/w_fmodf.c: Likewise.
11880 * math/w_fmodl.c: Likewise.
11881 * math/w_j0.c: Likewise.
11882 * math/w_j0f.c: Likewise.
11883 * math/w_j0l.c: Likewise.
11884 * math/w_j1.c: Likewise.
11885 * math/w_j1f.c: Likewise.
11886 * math/w_j1l.c: Likewise.
11887 * math/w_jn.c: Likewise.
11888 * math/w_jnf.c: Likewise.
11889 * math/w_log.c: Likewise.
11890 * math/w_logf.c: Likewise.
11891 * math/w_logl.c: Likewise.
11892 * math/w_log10.c: Likewise.
11893 * math/w_log10f.c: Likewise.
11894 * math/w_log10l.c: Likewise.
11895 * math/w_log2.c: Likewise.
11896 * math/w_log2f.c: Likewise.
11897 * math/w_log2l.c: Likewise.
11898 * math/w_pow.c: Likewise.
11899 * math/w_powf.c: Likewise.
11900 * math/w_powl.c: Likewise.
11901 * math/w_remainder.c: Likewise.
11902 * math/w_remainderf.c: Likewise.
11903 * math/w_remainderl.c: Likewise.
11904 * math/w_scalb.c: Likewise.
11905 * math/w_scalbf.c: Likewise.
11906 * math/w_scalbl.c: Likewise.
11907 * math/w_sqrt.c: Likewise.
11908 * math/w_sqrtf.c: Likewise.
11909 * math/w_sqrtl.c: Likewise.
11910 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11911 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11912 used.
11913 * math/math_private.h: Declare __kernel_standard_f.
11914 * math/w_cosh.c: Remove cruft and optimize a bit.
11915 * math/w_coshf.c: Likewise.
11916 * math/w_coshl.c: Likewise.
11917 * math/w_exp2.c: Likewise.
11918 * math/w_exp2f.c: Likewise.
11919 * math/w_exp2l.c: Likewise.
11920 * math/w_hypot.c: Likewise.
11921 * math/w_hypotf.c: Likewise.
11922 * math/w_hypotl.c: Likewise.
11923 * math/w_lgamma.c: Likewise.
11924 * math/w_lgamma_r.c: Likewise.
11925 * math/w_lgammaf.c: Likewise.
11926 * math/w_lgammaf_r.c: Likewise.
11927 * math/w_lgammal.c: Likewise.
11928 * math/w_lgammal_r.c: Likewise.
11929 * math/w_sinh.c: Likewise.
11930 * math/w_sinhf.c: Likewise.
11931 * math/w_sinhl.c: Likewise.
11932 * math/w_tgamma.c: Likewise.
11933 * math/w_tgammaf.c: Likewise.
11934 * math/w_tgammal.c: Likewise.
11935 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11936 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11937 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11938 Minor optimizations. Pretty printing. Remove cruft.
11939 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11940 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11941 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11942 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11943 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11944 * sysdeps/i386/fpu/e_asin.S: Likewise.
11945 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11946 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11947 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11948 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11949 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11950 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11951 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11952 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11953 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11954 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11955 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11956 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11957 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11958 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11959 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11960 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11961 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11962 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11963 * sysdeps/i386/fpu/e_log.S: Likewise.
11964 * sysdeps/i386/fpu/e_log10.S: Likewise.
11965 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11966 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11967 * sysdeps/i386/fpu/e_log2.S: Likewise.
11968 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11969 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11970 * sysdeps/i386/fpu/e_logf.S: Likewise.
11971 * sysdeps/i386/fpu/e_logl.S: Likewise.
11972 * sysdeps/i386/fpu/e_pow.S: Likewise.
11973 * sysdeps/i386/fpu/e_powf.S: Likewise.
11974 * sysdeps/i386/fpu/e_powl.S: Likewise.
11975 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11976 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11977 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11978 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11979 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11980 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11981 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11982 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11983 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11984 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11985 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11986 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11987 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11988 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11989 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11990 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11991 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11992 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11993 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11994 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11995 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11996 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11997 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11998 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11999 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12000 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12001 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12002 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12003 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12004 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12005 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12006 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12007 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12008 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12009 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12010 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12011 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12012 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12013 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12014 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12015 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12016 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12017 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12018 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12019 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12020 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12021 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12022 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12023 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12024 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12025 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12026 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12027 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12028 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12029 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12030 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12031 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12032 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12033 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12034 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12035 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12036 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12037 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12038 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12039 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12040 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12041 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12042 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12043 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12044 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12045 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12046 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12047 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12048 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12049 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12050 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12051 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12052 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12053 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12054 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12055 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12056 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12057 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12058 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12059 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12060 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12061 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12062 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12063 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12064 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12065 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12066 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12067 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12068 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12069 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12070 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12071 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12072 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12073 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12074 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12075 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12076 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12077 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12078 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12079 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12080 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12081 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12082 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12083 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12084 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12085 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12086 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12087 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12088 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12089 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12090 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12091 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12092 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12093 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12094 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12095 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12096 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12097 (__isnanf): Likewise.
12098 (__isinf_ns): Likewise.
12099 (__isinf_nsf): Likewise.
12100 (__finite): Likewise.
12101 (__finitef): Likewise.
12102 (__ieee754_sqrt): Define as macro.
12103 (__ieee754_sqrtf): Define as macro.
12104 (__ieee754_sqrtl): Define as macro.
12105 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12106 inlined copy.
12107 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12108 __FINITE_MATH_ONLY__ consistent.
12109 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12110
12cc2fcd
AS
121112011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12112
a843a204
AS
12113 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12114 of rawmemchr.
12115
12cc2fcd
AS
12116 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12117
c853acd5
UD
121182011-10-09 Ulrich Drepper <drepper@gmail.com>
12119
12120 * po/ja.po: Update from translation team.
12121
c658d255
RM
121222011-10-08 Roland McGrath <roland@hack.frob.com>
12123
110946e4
RM
12124 * locale/programs/locarchive.c (prepare_address_space): New function.
12125 (create_archive, enlarge_archive, open_archive): Use it.
12126
50604220
RM
12127 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12128 inside [SHARED], where it is used.
12129
c658d255
RM
12130 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12131
12132 * nss/getent.c (netgroup_keys): Remove unused variable.
12133 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12134
6a621eb7
UD
121352011-10-08 Ulrich Drepper <drepper@gmail.com>
12136
7edb55ce
UD
12137 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12138 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12139 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12140 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12141 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12142 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12143 * math/Makefile (libm-calls): Add s_isinf_ns.
12144 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12145 * math/multc3.c: Likewise.
12146 * math/s_casin.c: Likewise.
12147 * math/s_casinf.c: Likewise.
12148 * math/s_casinl.c: Likewise.
12149 * math/s_ccos.c: Likewise.
12150 * math/s_ccosf.c: Likewise.
12151 * math/s_ccosl.c: Likewise.
12152 * math/s_ctan.c: Likewise.
12153 * math/s_ctanf.c: Likewise.
12154 * math/s_ctanh.c: Likewise.
12155 * math/s_ctanhf.c: Likewise.
12156 * math/s_ctanhl.c: Likewise.
12157 * math/s_ctanl.c: Likewise.
12158 * math/w_fmod.c: Likewise.
12159 * math/w_fmodf.c: Likewise.
12160 * math/w_fmodl.c: Likewise.
12161 * math/w_remainder.c: Likewise.
12162 * math/w_remainderf.c: Likewise.
12163 * math/w_remainderl.c: Likewise.
12164 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12165 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12166 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12167 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12168 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12169 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12170 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12171 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12172
187da0ae
UD
12173 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12174 of the number.
12175 * stdio-common/printf_fphex.c: Likewise.
12176 * stdio-common/printf_size.c: Likewise.
12177
9277c064
UD
12178 * math/e_exp10.c: Include math_private.h using <...> not "...".
12179 * math/e_exp10f.c: Likewise.
12180 * math/e_exp10l.c: Likewise.
12181 * math/e_exp2l.c: Likewise.
12182 * math/e_j0l.c: Likewise.
12183 * math/e_j1l.c: Likewise.
12184 * math/e_jnl.c: Likewise.
12185 * math/e_lgammal_r.c: Likewise.
12186 * math/e_rem_pio2l.c: Likewise.
12187 * math/e_scalb.c: Likewise.
12188 * math/e_scalbf.c: Likewise.
12189 * math/e_scalbl.c: Likewise.
12190 * math/k_cosl.c: Likewise.
12191 * math/k_sinl.c: Likewise.
12192 * math/k_tanl.c: Likewise.
12193 * math/s_cacoshf.c: Likewise.
12194 * math/s_catan.c: Likewise.
12195 * math/s_catanf.c: Likewise.
12196 * math/s_catanh.c: Likewise.
12197 * math/s_catanhf.c: Likewise.
12198 * math/s_catanhl.c: Likewise.
12199 * math/s_catanl.c: Likewise.
12200 * math/s_ccosh.c: Likewise.
12201 * math/s_ccoshf.c: Likewise.
12202 * math/s_ccoshl.c: Likewise.
12203 * math/s_cexp.c: Likewise.
12204 * math/s_cexpf.c: Likewise.
12205 * math/s_cexpl.c: Likewise.
12206 * math/s_clog.c: Likewise.
12207 * math/s_clog10.c: Likewise.
12208 * math/s_clog10f.c: Likewise.
12209 * math/s_clog10l.c: Likewise.
12210 * math/s_clogf.c: Likewise.
12211 * math/s_clogl.c: Likewise.
12212 * math/s_csin.c: Likewise.
12213 * math/s_csinf.c: Likewise.
12214 * math/s_csinh.c: Likewise.
12215 * math/s_csinhf.c: Likewise.
12216 * math/s_csinhl.c: Likewise.
12217 * math/s_csinl.c: Likewise.
12218 * math/s_csqrt.c: Likewise.
12219 * math/s_csqrtf.c: Likewise.
12220 * math/s_csqrtl.c: Likewise.
12221 * math/s_ctan.c: Likewise.
12222 * math/s_ctanf.c: Likewise.
12223 * math/s_ctanh.c: Likewise.
12224 * math/s_ctanhf.c: Likewise.
12225 * math/s_ctanhl.c: Likewise.
12226 * math/s_ctanl.c: Likewise.
12227 * math/s_ldexp.c: Likewise.
12228 * math/s_ldexpf.c: Likewise.
12229 * math/s_ldexpl.c: Likewise.
12230 * math/s_significand.c: Likewise.
12231 * math/s_significandf.c: Likewise.
12232 * math/s_significandl.c: Likewise.
12233 * math/w_acos.c: Likewise.
12234 * math/w_acosf.c: Likewise.
12235 * math/w_acosh.c: Likewise.
12236 * math/w_acoshf.c: Likewise.
12237 * math/w_acoshl.c: Likewise.
12238 * math/w_acosl.c: Likewise.
12239 * math/w_asin.c: Likewise.
12240 * math/w_asinf.c: Likewise.
12241 * math/w_asinl.c: Likewise.
12242 * math/w_atan2.c: Likewise.
12243 * math/w_atan2f.c: Likewise.
12244 * math/w_atan2l.c: Likewise.
12245 * math/w_atanh.c: Likewise.
12246 * math/w_atanhf.c: Likewise.
12247 * math/w_atanhl.c: Likewise.
12248 * math/w_cosh.c: Likewise.
12249 * math/w_coshf.c: Likewise.
12250 * math/w_coshl.c: Likewise.
12251 * math/w_dremf.c: Likewise.
12252 * math/w_exp10.c: Likewise.
12253 * math/w_exp10f.c: Likewise.
12254 * math/w_exp10l.c: Likewise.
12255 * math/w_exp2.c: Likewise.
12256 * math/w_exp2f.c: Likewise.
12257 * math/w_fmod.c: Likewise.
12258 * math/w_fmodf.c: Likewise.
12259 * math/w_fmodl.c: Likewise.
12260 * math/w_hypot.c: Likewise.
12261 * math/w_hypotf.c: Likewise.
12262 * math/w_hypotl.c: Likewise.
12263 * math/w_j0.c: Likewise.
12264 * math/w_j0f.c: Likewise.
12265 * math/w_j0l.c: Likewise.
12266 * math/w_j1.c: Likewise.
12267 * math/w_j1f.c: Likewise.
12268 * math/w_j1l.c: Likewise.
12269 * math/w_jn.c: Likewise.
12270 * math/w_jnf.c: Likewise.
12271 * math/w_jnl.c: Likewise.
12272 * math/w_lgamma.c: Likewise.
12273 * math/w_lgamma_r.c: Likewise.
12274 * math/w_lgammaf.c: Likewise.
12275 * math/w_lgammaf_r.c: Likewise.
12276 * math/w_lgammal.c: Likewise.
12277 * math/w_lgammal_r.c: Likewise.
12278 * math/w_log.c: Likewise.
12279 * math/w_log10.c: Likewise.
12280 * math/w_log10f.c: Likewise.
12281 * math/w_log10l.c: Likewise.
12282 * math/w_log2.c: Likewise.
12283 * math/w_log2f.c: Likewise.
12284 * math/w_log2l.c: Likewise.
12285 * math/w_logf.c: Likewise.
12286 * math/w_logl.c: Likewise.
12287 * math/w_pow.c: Likewise.
12288 * math/w_powf.c: Likewise.
12289 * math/w_powl.c: Likewise.
12290 * math/w_remainder.c: Likewise.
12291 * math/w_remainderf.c: Likewise.
12292 * math/w_remainderl.c: Likewise.
12293 * math/w_scalb.c: Likewise.
12294 * math/w_scalbf.c: Likewise.
12295 * math/w_scalbl.c: Likewise.
12296 * math/w_sinh.c: Likewise.
12297 * math/w_sinhf.c: Likewise.
12298 * math/w_sinhl.c: Likewise.
12299 * math/w_sqrt.c: Likewise.
12300 * math/w_sqrtf.c: Likewise.
12301 * math/w_sqrtl.c: Likewise.
12302 * math/w_tgamma.c: Likewise.
12303 * math/w_tgammaf.c: Likewise.
12304 * math/w_tgammal.c: Likewise.
12305
6a621eb7
UD
12306 * po/ja.po: Update from translation team.
12307
bf582445
AJ
123082011-09-29 Andreas Jaeger <aj@suse.de>
12309
f9efbf3a
AJ
12310 [BZ #13179]
12311 * sunrpc/netname.c (netname2host): Fix logic.
12312
bf582445
AJ
12313 [BZ #6779]
12314 [BZ #6783]
12315 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12316 correctly.
12317 * math/w_remainder.c (__remainder): Likewise.
12318 * math/w_remainderf.c (__remainderf): Likewise.
12319 * math/libm-test.inc (remainder_test): Add test cases.
12320
48693bea
AK
123212011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12322
12323 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
12324 sdiv_qrnnd.
12325
42622229
LD
123262011-10-07 Ulrich Drepper <drepper@gmail.com>
12327
12328 * string/test-memcmp.c: Avoid unncessary #defines.
12329 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12330
093ecf92
LD
123312011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12332
12333 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12334 Use new sse2 version for core i3 - i7 as it's faster
12335 than sse42 version.
12336 (bit_Prefer_PMINUB_for_stringop): New.
12337 * sysdeps/x86_64/rawmemchr.S: Update.
12338 Replace with faster SSE2 version.
12339 * sysdeps/x86_64/memrchr.S: New file.
12340 * sysdeps/x86_64/memchr.S: Update.
12341 Replace with faster SSE2 version.
12342
fde56e5c
MP
123432011-09-12 Marek Polacek <mpolacek@redhat.com>
12344
12345 * elf/dl-load.c (lose): Add cast to avoid warning.
12346
21fd49a9
UD
123472011-10-07 Ulrich Drepper <drepper@gmail.com>
12348
5a06e643
UD
12349 * po/ca.po: Update from translation team.
12350
684ae515
UD
12351 * inet/getnetgrent_r.c: Hook up nscd.
12352 * nscd/Makefile (routines): Add nscd_netgroup.
12353 (nscd-modules): Add netgroupcache.
12354 (CFLAGS-netgroupcache.c): Define.
12355 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12356 (cache_search): Add const to second parameter.
12357 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12358 INNETGR.
12359 (dbs): Add netgrdb entry.
12360 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12361 (verify_persistent_db): Handle netgrdb.
12362 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12363 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12364 GETFDNETGR.
12365 (netgroup_response_header): Define.
12366 (innetgroup_response_header): Define.
12367 (datahead): Add netgroup_response_header and innetgroup_response_header
12368 elements.
12369 * nscd/nscd.conf: Add entries for netgroup cache.
12370 * nscd/nscd.h (dbtype): Add netgrdb.
12371 (_PATH_NSCD_NETGROUP_DB): Define.
12372 (netgroup_iov_disabled): Declare.
12373 (xmalloc, xcalloc, xrealloc): Move declarations here.
12374 (cache_search): Adjust prototype.
12375 Add netgroup-related prototypes.
12376 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
12377 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
12378 (__nscd_innetgr): Declare.
12379 * nscd/selinux.c (perms): Use access_vector_t as element type and
12380 add netgroup-related initializers.
12381 * nscd/netgroupcache.c: New file.
12382 * nscd/nscd_netgroup.c: New file.
12383 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12384 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12385 For four parameters use innetgr.
12386 * nss/nss_files/files-init.c: Add definition and callback for netgr.
12387 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12388 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12389 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12390
21fd49a9
UD
12391 * nscd/connections.c (register_traced_file): Don't register file
12392 for disabled databases.
12393
054c0457
UD
123942011-10-06 Ulrich Drepper <drepper@gmail.com>
12395
32b63198
UD
12396 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
12397
054c0457
UD
12398 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
12399 from tree and freeing node.
12400
64031225
JO
124012011-09-25 Jiri Olsa <jolsa@redhat.com>
12402
12403 * nss/nsswitch.c (__nss_database_lookup): Handle
12404 nss_parse_service_list out of memory case.
12405
0490345c
JO
124062011-09-15 Jiri Olsa <jolsa@redhat.com>
12407
12408 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12409 out of memory case.
12410
3a62d00d
AS
124112011-10-04 Andreas Schwab <schwab@redhat.com>
12412
12413 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12414 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12415 pass it down.
12416 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12417 elf_machine_rela, elf_machine_lazy_rel.
12418 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12419 (ELF_DYNAMIC_DO_REL): Likewise.
12420 (ELF_DYNAMIC_DO_RELA): Likewise.
12421 (ELF_DYNAMIC_RELOCATE): Likewise.
12422 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12423 to ELF_DYNAMIC_DO_REL.
12424 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12425 (dl_main): In trace mode always set __RTLD_NOIFUNC.
12426 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12427 elf_machine_rela.
12428 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12429 skip_ifunc, don't call ifunc function if non-zero.
12430 (elf_machine_rela): Likewise.
12431 (elf_machine_lazy_rel): Likewise.
12432 (elf_machine_lazy_rela): Likewise.
12433 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12434 (elf_machine_lazy_rel): Likewise.
12435 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12436 Likewise.
12437 (elf_machine_lazy_rel): Likewise.
12438 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12439 Likewise.
12440 (elf_machine_lazy_rel): Likewise.
12441 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12442 (elf_machine_lazy_rel): Likewise.
12443 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12444 (elf_machine_lazy_rel): Likewise.
12445 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12446 (elf_machine_lazy_rel): Likewise.
12447 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12448 (elf_machine_lazy_rel): Likewise.
12449 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12450 (elf_machine_lazy_rel): Likewise.
12451 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12452 (elf_machine_lazy_rel): Likewise.
12453
68577918
UD
124542011-09-28 Ulrich Drepper <drepper@gmail.com>
12455
12456 * nss/nss_files/files-init.c (_nss_files_init): Use static
12457 initialization for all the *_traced_file variables.
12458
68822d74
AS
124592011-09-28 Andreas Schwab <schwab@redhat.com>
12460
12461 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12462
2056100b
RM
124632011-09-27 Roland McGrath <roland@hack.frob.com>
12464
12465 [BZ #13226]
12466 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12467
32c76b63
AS
124682011-09-27 Andreas Schwab <schwab@redhat.com>
12469
12470 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12471 Reread the line before reparsing it.
12472
bf972c9d
AS
124732011-09-26 Andreas Schwab <schwab@redhat.com>
12474
12475 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12476
e057a1b5
JM
124772011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12478 Maxim Kuvyrkov <maxim@codesourcery.com>
12479 Joseph Myers <joseph@codesourcery.com>
12480
12481 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12482 if needed for __stack_chk_guard.
12483
bc7e1c36
RM
124842011-09-19 Roland McGrath <roland@hack.frob.com>
12485
ecb1482f
RM
12486 * sysdeps/posix/spawni.c (script_execute): Always define it.
12487 It will be optimized away if unused.
12488 (maybe_script_execute): New function.
12489 (__spawni): Call it.
12490
bc7e1c36
RM
12491 * Makerules: Don't include tls.make.
12492 (config-tls): Always set to thread.
12493 * tls.make.c: File removed.
12494
1c3b002b
MF
124952011-09-19 Mike Frysinger <vapier@gentoo.org>
12496
12497 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12498 * config.make.in (CPPFLAGS-config): New substituted variable.
12499
2840865d
UD
125002011-09-15 Ulrich Drepper <drepper@gmail.com>
12501
88738eb6
UD
12502 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12503
cbf645a6 12504 [BZ #13192]
2840865d
UD
12505 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12506 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12507
b402e91a
RM
125082011-09-15 Roland McGrath <roland@hack.frob.com>
12509
12510 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12511 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12512 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12513 (CALL_FAIL): Likewise.
12514 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12515 (CALL_FAIL): Macro removed.
12516 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12517
4c1a1f71
UD
125182011-09-15 Ulrich Drepper <drepper@gmail.com>
12519
12520 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12521 for __FINITE_MATH_ONLY__ == 1.
12522
edc121be
AS
125232011-09-15 Andreas Schwab <schwab@redhat.com>
12524
12525 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12526 __ieee754_sqrt instead of sqrt.
12527 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12528 __ieee754_sqrtf instead of sqrtf.
12529 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12530 __floorf instead of floorf.
12531 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12532 __floorf, __truncf instead of floorf, truncf.
12533
cd205654
UD
125342011-09-14 Ulrich Drepper <drepper@gmail.com>
12535
ee4d0315
UD
12536 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12537
cd205654
UD
12538 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12539 __extern_always_inline.
12540 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12541 32-bit.
12542
48b67d71
AS
125432011-09-14 Andreas Schwab <schwab@redhat.com>
12544
12545 * elf/rtld.c (dl_main): Also relocate in dependency order when
12546 doing symbol dependency testing.
12547
1ae12c75
AS
125482011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12549
12550 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12551 Always define `refsym'.
12552
995a80df
AS
125532011-09-13 Andreas Schwab <schwab@redhat.com>
12554
e529793b
AS
12555 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12556 (__FD_ELT): Renamed from __FDELT.
12557 * misc/bits/select2.h (__FD_ELT): Likewise.
12558 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12559 __FD_MASK instead of __FDELT, __FDMASK.
12560 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12561 Likewise.
12562 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12563 Likewise.
12564
52d4fef8
AS
12565 * elf/Makefile (gen-ldd): Fix pattern.
12566
995a80df
AS
12567 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12568 (init_tls): Likewise.
12569
8682f8b0
UD
125702011-09-12 Ulrich Drepper <drepper@gmail.com>
12571
12572 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12573
de82006d
AS
125742011-09-12 Andreas Schwab <schwab@redhat.com>
12575
a7c8e6a1
AS
12576 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12577 `struct cmsghdr *' instead of `void *'.
12578 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12579 Likewise.
12580
0f31fe77
AS
125812011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12582
12583 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12584 if non-absolute.
12585 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12586 ldd_rewrite_script.
0f31fe77 12587
32b4c839
UD
125882011-09-11 Ulrich Drepper <drepper@gmail.com>
12589
83cd1420
UD
12590 * configure.in: Remove --with-tls option.
12591 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12592 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12593 out in case it is missing.
12594 * sysdeps/ia64/elf/configure.in: Likewise.
12595 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12596 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12597 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12598 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12599 * sysdeps/sh/elf/configure.in: Likewise.
12600 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12601 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12602 * sysdeps/x86_64/elf/configure.in: Likewise.
12603 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12604 * sysdeps/mach/hurd/tls.h: Likewise.
12605
633f745d
UD
12606 [BZ #13067]
12607 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12608
f318beb8
UD
12609 [BZ #13090]
12610 * configure.in: Fix use of AC_INIT.
12611
32b4c839
UD
12612 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12613
3ce1f295
UD
126142011-09-10 Ulrich Drepper <drepper@gmail.com>
12615
bb016596
UD
12616 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12617 __set_errno.
8e58439c
UD
12618 * malloc/hooks.c: Likewise.
12619
aebae053 12620 [BZ #11929]
02d46fc4
UD
12621 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12622 variables statically.
12623 (narenas): Initialize.
12624 (list_lock): Initialize.
bb016596
UD
12625 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12626 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
12627 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12628 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12629 Add initializers to main_arena and mp_.
12630 (malloc_state): Remove pagesize member. Change all users to use
12631 GLRO(dl_pagesize).
12632
12633 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12634 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12635 is always initialized.
12636
22a89187
UD
12637 * malloc/malloc.c: Removed unused configurations and dead code.
12638 * malloc/arena.c: Likewise.
12639 * malloc/hooks.c: Likewise.
02d46fc4 12640 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 12641
d063d164
UD
12642 * include/tls.h: Removed. USE___THREAD must always be defined.
12643 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12644 * elf/dl-libc.c: Likewise.
12645 * elf/dl-tsd.c: Likewise.
12646 * include/errno.h: Likewise.
12647 * include/netdb.h: Likewise.
12648 * include/resolv.h: Likewise.
12649 * inet/herrno-loc.c: Likewise.
12650 * inet/herrno.c: Likewise.
12651 * malloc/arena.c: Likewise.
12652 * malloc/hooks.c: Likewise.
12653 * malloc/malloc.c: Likewise.
12654 * resolv/res-state.c: Likewise.
12655 * resolv/res_libc.c: Likewise.
12656 * sysdeps/i386/dl-machine.h: Likewise.
12657 * sysdeps/ia64/dl-machine.h: Likewise.
12658 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12659 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12660 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12661 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12662 * sysdeps/sh/dl-machine.h: Likewise.
12663 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12664 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12665 * sysdeps/unix/i386/sysdep.S: Likewise.
12666 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12667 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12668 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12669 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12670 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12671 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12672 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12673 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12674 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12675 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12676 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12677 * sysdeps/x86_64/dl-machine.h: Likewise.
12678 * tls.make.c: Likewise.
12679
3ce1f295
UD
12680 * configure.in: Remove --with-__thread option. Make tests for
12681 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12682 tls_model attribute fail if no support is available. Remove
12683 USE_IN_LIBIO.
12684 * Makeconfig: Adjust for dropped configure option. All features are
12685 now mandatory.
12686 * Makerules: Likewise.
12687 * Versions.def: Likewise.
12688 * argp/argp-fmtstream.c: Likewise.
12689 * argp/argp-fmtstream.h: Likewise.
12690 * argp/argp-help.c: Likewise.
12691 * assert/assert.c: Likewise.
12692 * config.h.in: Likewise.
12693 * config.make.in: Likewise.
12694 * configure: Likewise.
12695 * configure.in: Likewise.
12696 * csu/Versions: Likewise.
12697 * csu/init.c: Likewise.
12698 * elf/tst-audit2.c: Likewise.
12699 * elf/tst-tls10.c: Likewise.
12700 * elf/tst-tls10.h: Likewise.
12701 * elf/tst-tls11.c: Likewise.
12702 * elf/tst-tls12.c: Likewise.
12703 * elf/tst-tls14.c: Likewise.
12704 * elf/tst-tlsmod11.c: Likewise.
12705 * elf/tst-tlsmod12.c: Likewise.
12706 * elf/tst-tlsmod13.c: Likewise.
12707 * elf/tst-tlsmod13a.c: Likewise.
12708 * elf/tst-tlsmod14a.c: Likewise.
12709 * elf/tst-tlsmod15b.c: Likewise.
12710 * elf/tst-tlsmod16a.c: Likewise.
12711 * elf/tst-tlsmod16b.c: Likewise.
12712 * elf/tst-tlsmod7.c: Likewise.
12713 * elf/tst-tlsmod8.c: Likewise.
12714 * elf/tst-tlsmod9.c: Likewise.
12715 * gmon/gmon.c: Likewise.
12716 * grp/fgetgrent_r.c: Likewise.
12717 * grp/putgrent.c: Likewise.
12718 * hurd/fopenport.c: Likewise.
12719 * include/libc-symbols.h: Likewise.
12720 * include/tls.h: Likewise.
12721 * intl/gettextP.h: Likewise.
12722 * intl/loadinfo.h: Likewise.
12723 * locale/global-locale.c: Likewise.
12724 * locale/localeinfo.h: Likewise.
12725 * mach/devstream.c: Likewise.
12726 * malloc/arena.c: Likewise.
12727 * malloc/set-freeres.c: Likewise.
12728 * misc/err.c: Likewise.
12729 * misc/getttyent.c: Likewise.
12730 * misc/mntent_r.c: Likewise.
12731 * posix/getopt.c: Likewise.
12732 * posix/wordexp.c: Likewise.
12733 * pwd/fgetpwent_r.c: Likewise.
12734 * resolv/Versions: Likewise.
12735 * resolv/res_hconf.c: Likewise.
12736 * shadow/fgetspent_r.c: Likewise.
12737 * shadow/putspent.c: Likewise.
12738 * stdio-common/printf_fphex.c: Likewise.
12739 * stdio-common/tmpfile.c: Likewise.
12740 * stdlib/abort.c: Likewise.
12741 * stdlib/fmtmsg.c: Likewise.
12742 * sunrpc/auth_unix.c: Likewise.
12743 * sunrpc/clnt_perr.c: Likewise.
12744 * sunrpc/clnt_tcp.c: Likewise.
12745 * sunrpc/clnt_udp.c: Likewise.
12746 * sunrpc/clnt_unix.c: Likewise.
12747 * sunrpc/openchild.c: Likewise.
12748 * sunrpc/svc_simple.c: Likewise.
12749 * sunrpc/svc_tcp.c: Likewise.
12750 * sunrpc/svc_udp.c: Likewise.
12751 * sunrpc/svc_unix.c: Likewise.
12752 * sunrpc/xdr.c: Likewise.
12753 * sunrpc/xdr_array.c: Likewise.
12754 * sunrpc/xdr_rec.c: Likewise.
12755 * sunrpc/xdr_ref.c: Likewise.
12756 * sunrpc/xdr_stdio.c: Likewise.
12757
1248c1c4
PB
127582011-09-09 Ulrich Drepper <drepper@gmail.com>
12759
12760 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12761
127622011-07-03 Andreas Jaeger <aj@suse.de>
12763
12764 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12765 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12766 regenerate with gen-libm-tests.pl.
12767
127682010-05-12 Petr Baudis <pasky@suse.cz>
12769
12770 [BZ #11589]
12771 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12772 around j0() zero points by switching to j1().
12773 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12774 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12775 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12776 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12777
f22e1074
UD
127782011-09-09 Ulrich Drepper <drepper@gmail.com>
12779
f19009c1
UD
12780 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12781 instead of 0.
12782 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12783 instead of 0. .
12784 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12785 Patch in part by Pavel Roskin <proski@gnu.org>.
12786
3f8cc204
UD
12787 [BZ #13138]
12788 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12789 realloc.
12790 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12791 Free memory block if necessary.
12792
f22e1074
UD
12793 [BZ #12847]
12794 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12795 be NULL. Don't lock in this case.
12796
0a2349f9
RM
127972011-09-09 Roland McGrath <roland@hack.frob.com>
12798
12799 * elf/elf.h (ELFOSABI_GNU): New macro.
12800 (ELFOSABI_LINUX): Define to that.
12801
f3cdd467
DZ
128022011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12803
12804 * string/strncat.c (strncat): Undef the symbol in case it has been
12805 defined in bits/string.h.
12806
74718d13
UD
128072011-09-09 Ulrich Drepper <drepper@gmail.com>
12808
633e9e0f
UD
12809 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12810
0a2349f9 12811 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12812 link map.
12813
f9924780
AJ
128142011-08-17 Andreas Jaeger <aj@suse.de>
12815
12816 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12817
7f5517aa
PP
128182011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12819 Ian Lance Taylor <iant@google.com>
12820
12821 * math/libm-test.inc (lround_test): New testcase.
12822 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12823
762011fe
UD
128242011-09-08 Ulrich Drepper <drepper@gmail.com>
12825
92963737
UD
12826 * Makefile: Remove support for automatic cvs check-ins.
12827 * Makerules: Likewise.
12828 * config.make.in: Likewise.
12829 * configure.in: Likewise.
12830 * intl/Makefile: Likewise.
12831 * locale/Makefile: Likewise.
12832 * po/Makefile: Likewise.
12833 * posix/Makefile: Likewise.
12834 * sysdeps/gnu/Makefile: Likewise.
12835 * sysdeps/mach/hurd/Makefile: Likewise.
12836 * sysdeps/sparc/sparc32/Makefile: Likewise.
12837
b0727fd8
JS
12838 [BZ #13118]
12839 * posix/Makefile (bug-regex32-ENV): Define.
12840 Patch by John Stanley <jpsinthemix@verizon.net>.
12841
a0f33f99
UD
12842 * misc/Makefile (headers): Add bits/select2.h.
12843 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12844 * misc/bits/select2.h: New file.
12845 * include/bits/select2.h: New file.
12846 * debug/Makefile (routines): Add fdelt_chk.
12847 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12848 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12849 FD_ISSET.
12850 * debug/fdelt_chk.c: New file.
12851
762011fe
UD
12852 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12853 * wcsmbs/test-wmemcmp.c: Likewise.
12854 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12855 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12856
128572011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12858
12859 * string/Makefile (strop-tests): Add memcmp.
12860 * string/test-wmemcmp.c: New file.
12861 * string/test-memcmp.c: Add wmemcmp support.
12862
7f513ec8
RM
128632011-09-08 Roland McGrath <roland@hack.frob.com>
12864
0442afb4
RM
12865 [BZ #13153]
12866 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12867 2011-07-19 change.
12868
7f513ec8
RM
12869 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12870 garbage value in a __mach_port_mod_refs call in the cases of the
12871 task-self and thread-self ports.
12872
a12b2239
ST
128732011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12874
12875 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12876
610f9ab4
AS
128772011-09-08 Andreas Schwab <schwab@redhat.com>
12878
7f513ec8 12879 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12880
48882a1a
LD
128812011-09-07 Ulrich Drepper <drepper@gmail.com>
12882
b49865be
UD
12883 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12884
fdc86bc9
UD
12885 * elf/dl-libc.c (dlerror_run): Pass back error code from
12886 dl_catch_error.
12887
c966526a
UD
12888 [BZ #13123]
12889 * elf/dl-load.c (lose): Free l_origin if it is valid.
12890
48882a1a
LD
12891 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12892 names.
12893 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12894 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12895 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12896 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12897 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12898 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12899
77a2a8b4
AZ
129002011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12901
12902 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12903 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12904 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12905 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12906 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12907 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12908 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12909 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12910 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12911 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12912
24f579d8
AM
129132011-08-15 Alan Modra <amodra@gmail.com>
12914
12915 [BZ #13092]
12916 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12917 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12918 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12919 ppc_mcount to static-only-routines.
12920 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12921 __mcount_internal.
12922 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12923 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12924
3d4837df
UD
129252011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12926
12927 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12928 for finite and infinity parameters.
12929
22700377
WS
129302011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12931
12932 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12933 and add nop instructions for throughput optimization.
12934 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12935
5025581e
WS
129362011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12937
12938 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12939 aligned copy for power7 with vector-scalar instructions.
12940 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12941
08a300c9
L
129422011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12943
12944 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12945 AVX check.
12946
59178ef9
AS
129472011-09-07 Andreas Schwab <schwab@redhat.com>
12948
12949 [BZ #13144]
12950 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12951 last change.
12952
e38ba7ab
UD
129532011-09-07 Ulrich Drepper <drepper@gmail.com>
12954
12955 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12956 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12957 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12958 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12959 clock_gettime.
12960
d53a73ac
UD
129612011-09-06 Ulrich Drepper <drepper@gmail.com>
12962
fc8bffcc
UD
12963 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12964 Forgot to demangle the pointer.
12965
ceaa0c5d
UD
12966 * sysdeps/i386/sysdep.h: Define atom_text_section.
12967 * sysdeps/x86_64/sysdep.h: Likewise.
12968 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12969 section with atom_text_section.
12970 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12971 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12972 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12973 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12974 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12975
a77d3c17
UD
12976 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12977 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12978 already be defined. Change to take two parameters and don't assign
12979 result to variable. Adjust all users.
12980 Define INTERNAL_GETTIME if not already defined.
12981 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12982 call.
12983 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12984 HAVE_CLOCK_GETTIME_VSYSCALL.
12985 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12986
d53a73ac
UD
12987 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12988 gettimeofday vsyscall, just use time.
12989
a8f84144
AS
129902011-09-06 Andreas Schwab <schwab@redhat.com>
12991
12992 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12993 <errno.h>.
12994
ef606249
UD
129952011-09-06 Ulrich Drepper <drepper@gmail.com>
12996
12997 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12998 syscall on x86-64.
12999 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13000 syscall.
13001 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13002 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13003 syscall if possible.
13004
6585cb60
UD
130052011-09-05 Ulrich Drepper <drepper@gmail.com>
13006
13007 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13008 e_ident. Don't pass to find_mapsXX.
13009 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13010
a5f524e4
LD
130112011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13012
13013 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13014 strchr-sse2-no-bsf strrchr-sse2-no-bsf
13015 * sysdeps/x86_64/multiarch/strchr.S: Update.
13016 Check bit_slow_BSF bit.
13017 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13018 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13019 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13020
554881ef
UD
130212011-09-05 Ulrich Drepper <drepper@gmail.com>
13022
d96de963
UD
13023 [BZ #13134]
13024 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13025 before glibc 2.15.
13026 (tryshell): Define.
13027 (__spawni): Change last parameter to be flag. Test
13028 SPAWN_XFLAGS_USE_PATH flag to use path or not.
13029 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13030 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13031 * posix/spawni.c: Likewise.
13032 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13033 * posix/spawnp.c: Likewise. Change normal version to use
13034 SPAWN_XFLAGS_USE_PATH.
13035 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13036 SPAWN_XFLAGS_TRY_SHELL.
13037
d48e5868
UD
13038 [BZ #13150]
13039 * posix/glob.h: Remove gcc 1.x support.
13040
554881ef
UD
13041 [BZ #13068]
13042 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13043
693fb948
LD
130442011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13045
13046 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13047 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13048 strrchr-sse2-bsf
13049 * sysdeps/i386/i686/multiarch/strchr.S: New file.
13050 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13051 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13052 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13053 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13054 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13055
1b48c537
UD
130562011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13057
49d42c37
UD
13058 * sysdeps/x86_64/wcscmp.S: New file.
13059
1b48c537
UD
13060 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13061 wcscmp-c wcscmp-sse2
13062 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13063 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13064 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13065 * wcsmbs/wcscmp.c: Allow renaming.
13066
15c95c5d
DM
130672011-09-05 David S. Miller <davem@davemloft.net>
13068
13069 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13070 stack slot, rather than the struct return pointer slot.
13071 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13072 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13074 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13075
2f0ad8f3
UD
130762011-09-05 Ulrich Drepper <drepper@gmail.com>
13077
d88ae418
UD
13078 * po/ja.po: Update from translation team.
13079
2f0ad8f3
UD
13080 [BZ #13144]
13081 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13082 kernel in 64-bit binaries.
13083
5f4318d1
DM
130842011-09-01 David S. Miller <davem@davemloft.net>
13085
13086 * elf/elf.h (HWCAP_SPARC_*): Move to..
13087 * sysdeps/sparc/sysdep.h: this new file and add new values.
13088 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13089 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13090 _DL_HWCAP_COUNT to 24.
13091 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13092 entries.
13093 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13094 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13095 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13096 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13097 instead of magic constants.
13098 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13099
3ba57516
DM
131002011-08-31 David S. Miller <davem@davemloft.net>
13101
13102 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13103 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13104 Reimplement to do errno handling inline.
13105 (SYSCALL_ERROR_HANDLER): New macro.
13106 (__SYSCALL_STRING): Do not do errno handling in asm.
13107 (__CLONE_SYSCALL_STRING): Delete.
13108 (__INTERNAL_SYSCALL_STRING): Delete.
13109 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13110 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13111 (PSEUDO): Reimplement to do errno handling inline.
13112 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13113 (SYSCALL_ERROR_HANDLER): New macro.
13114 (__SYSCALL_STRING): Do not do errno handling in asm.
13115 (__CLONE_SYSCALL_STRING): Delete.
13116 (__INTERNAL_SYSCALL_STRING): Delete.
13117 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13118 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13119 i386.
13120 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13121 (inline_syscall*): Add 'err' argument.
13122 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13123 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13124 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13125 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13126
13127 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13128 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13129
2bc17433
AS
131302011-08-30 Andreas Schwab <schwab@redhat.com>
13131
13132 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13133
fbeb5f4d
JO
131342011-08-29 Jiri Olsa <jolsa@redhat.com>
13135
13136 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13137 directive.
13138
ad69cc26
DM
131392011-08-24 David S. Miller <davem@davemloft.net>
13140
13141 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13142
39dd69df
AS
131432011-08-24 Andreas Schwab <schwab@redhat.com>
13144
13145 * elf/Makefile: Add rules to build and run unload8 test.
13146 * elf/unload8.c: New file.
13147 * elf/unload8mod1.c: New file.
13148 * elf/unload8mod1x.c: New file.
13149 * elf/unload8mod2.c: New file.
13150 * elf/unload8mod3.c: New file.
13151
13152 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13153 it wasn't used.
13154
2c0b250a
DM
131552011-08-23 David S. Miller <davem@davemloft.net>
13156
13157 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13158 subtract stack bias.
13159 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13160 %sp not %fp in calculations.
13161 (_JMPBUF_UNWINDS_ADJ): Likewise.
13162
22044b48
DM
13163 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13164 (aio_suspend): Call it to force an exception region around the
13165 AIO_MISC_WAIT() invocation.
13166
2cae4995
AS
131672011-08-23 Andreas Schwab <schwab@redhat.com>
13168
13169 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13170 backslash.
13171
873a772e
AJ
131722011-07-04 Aurelien Jarno <aurelien@aurel32.net>
13173
13174 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13175 protection macro.
13176 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13177 and <dl-machine.h>.
13178 (Elf64_FuncDesc): Remove.
13179
25ad0df1
DM
131802011-08-22 David S. Miller <davem@davemloft.net>
13181
13182 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13183 sigaltstack check, add missing cfi directives.
13184 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13185 missing cfi directives, and sigaltstack handling.
13186
e888bcbe
AS
131872011-08-16 Andreas Schwab <schwab@redhat.com>
13188
13189 [BZ #11724]
13190 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13191 object is seen twice.
13192 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13193
13194 * elf/Makefile (distribute): Add tst-initorder2.c.
13195 (tests): Add tst-initorder2.
13196 (modules-names): Add tst-initorder2a tst-initorder2b
13197 tst-initorder2c tst-initorder2d. Add rules to build them.
13198 ($(objpfx)tst-initorder2.out): New rule.
13199 * elf/tst-initorder2.c: New file.
13200 * elf/tst-initorder2.exp: New file.
13201
87162f46
AS
132022011-08-22 Andreas Schwab <schwab@redhat.com>
13203
70538b7f
AS
13204 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13205
f55ffe58
AS
13206 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13207 dependencies back to end of function.
13208
87162f46
AS
13209 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13210 $(elfobjdir)/ld.so.
13211
91b392a4
UD
132122011-08-21 Ulrich Drepper <drepper@gmail.com>
13213
13214 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13215 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13216 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13217 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13218 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13219 of __vdso_gettimeofday.
13220 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13221 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
13222 attribute_hidden.
13223 (_libc_vdso_platform_setup): Remove initialization of
13224 __vdso_gettimeofday and __vdso_time.
13225
5c43483f
UD
132262011-08-20 Ulrich Drepper <drepper@gmail.com>
13227
775a77e7
UD
13228 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13229 and fgetc_unlocked.
13230 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13231 getc_unlocked.
89f447ed 13232
49c74ba9
UD
13233 * elf/dl-open.c (add_to_global): Report additions to the global scope
13234 for LD_DEBUG=scopes.
13235 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 13236 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 13237
5c43483f
UD
13238 [BZ #13114]
13239 * stdio-common/Makefile (tests): Add bug24.
13240 * stdio-common/bug24.c: New file.
13241
a101b025
AJ
132422011-08-19 Andreas Jaeger <aj@suse.de>
13243
13244 [BZ #13114]
13245 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13246 non-existant file when using close-on-exec mode.
13247
c88f1766
UD
132482011-08-20 Ulrich Drepper <drepper@gmail.com>
13249
0276a718
UD
13250 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13251 the very first instruction.
13252
c88f1766
UD
13253 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13254 the CFI state in the end.
13255 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13256 inclusion of dl-trampoline.h.
13257 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13258
51ccffa0
AS
132592011-08-19 Andreas Schwab <schwab@redhat.com>
13260
94d7165f
AS
13261 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13262 expectations for long double.
13263
51ccffa0
AS
13264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13265 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13266
fd708658 132672011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
13268
13269 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13270 artificual limit depends upon the system page size.
13271
44f0a71e
UD
132722011-08-17 Ulrich Drepper <drepper@gmail.com>
13273
13274 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13275 * resolv/Makefile: Define CFLAGS-libresolv.
13276
8de79a24
AS
132772011-08-17 Andreas Schwab <schwab@redhat.com>
13278
13279 * nss/makedb.c (compute_tables): Make variables used in nested
13280 function static.
13281
27724598
UD
132822011-08-17 Ulrich Drepper <drepper@gmail.com>
13283
c5305d88
UD
13284 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13285 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13286 if buffer was too small.
13287
27724598
UD
13288 * elf/pldd.c (main): Attach to all threads in the process.
13289 Rewrite /proc handling to use *at functions.
13290
076fe015
UD
132912011-08-16 Ulrich Drepper <drepper@gmail.com>
13292
174baab3
UD
13293 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13294 specifies first scope to show.
13295 (dl_open_worker): Update callers. Move printing scope of new
13296 object to before the relocation.
44f0a71e 13297 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
13298 * sysdeps/generic/ldsodefs.h: Update declaration.
13299
076fe015
UD
13300 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13301 string for the scope number.
13302
a60df2c3
UD
133032011-08-14 Ulrich Drepper <drepper@gmail.com>
13304
13305 * nscd/servicescache.c (cache_addserv): Make sure written is always
13306 initialized.
13307
5e4287d1
RM
133082011-08-14 Roland McGrath <roland@hack.frob.com>
13309
85ae0589
RM
13310 * sysdeps/i386/i486/bits/atomic.h
13311 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13312 statement expression, so as to suppress "set but not used" warning.
13313 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13314
69f63097
RM
13315 * string/strncat.c (STRNCAT): Use prototype definition.
13316
675456ef
RM
13317 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13318 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13319 -Iprograms here.
13320 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13321 (localedef-modules): Add localedef.
13322 (locale-modules): Add locale.
13323
5e4287d1
RM
13324 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13325 * elf/rtld.c (dl_main): Invert order of assignment in last change,
13326 to avoid a warning.
13327
9c96ff23
DM
133282011-08-14 David S. Miller <davem@davemloft.net>
13329
13330 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13331 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13332
f9ddf089
UD
133332011-08-13 Ulrich Drepper <drepper@gmail.com>
13334
44f0a71e 13335 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
13336 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13337 * elf/rtld.c (dl_main): Set l_name of vDSO.
13338 Call _dl_show_scope when DL_DEBUG_SCOPES.
13339 (process_dl_debug): Recognize scopes flag and also set it for all.
13340 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13341 Declare _dl_show_scope.
13342
1dc27704
UD
13343 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13344 (do_dlopen): Pass caller_dlopen to dl_open.
13345 (__libc_dlopen_mode): Initialize caller_dlopen.
13346
f9ddf089
UD
13347 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13348 of libc. Make tolower call locale-independent. Optimize a bit by
13349 using isdigit instead of isalnum.
13350 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13351
9ac533d3
UD
133522011-08-12 Ulrich Drepper <drepper@gmail.com>
13353
13354 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13355 was a dependency or dynamically loaded.
13356
89edf2e9
UD
133572011-08-11 Ulrich Drepper <drepper@gmail.com>
13358
8e999d29
UD
13359 * intl/l10nflist.c: Allow architecture-specific pop function.
13360 * sysdeps/x86_64/l10nflist.c: New file.
13361
89edf2e9
UD
13362 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13363 classification.
13364
14d96785
AS
133652011-08-10 Andreas Schwab <schwab@redhat.com>
13366
13367 * include/dirent.h: Add libc_hidden_proto for scandirat and
13368 scandirat64. Don't declare __scandirat64.
13369 * dirent/scandirat.c: Add libc_hidden_def.
13370 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13371 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13372
6761ac04
DM
133732011-08-10 David S. Miller <davem@davemloft.net>
13374
13375 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
13376 enum.
13377 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13378 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13379 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13380
c55fbd1e
UD
133812011-08-09 Ulrich Drepper <drepper@gmail.com>
13382
13383 * Versions.def [libc]: Add GLIBC_2.15.
13384 * dirent/Makefile (routines): Add scandirat and scandirat64.
13385 * dirent/Versions [libc]: Export scandirat and scandirat64 for
13386 GLIBC_2.15.
13387 * dirent/dirent.h: Declare scandirat and scandirat64.
13388 * dirent/scandirat.c: New file.
13389 * dirent/scandirat64.c: New file.
13390 * sysdeps/wordsize-64/scandirat.c: New file.
13391 * sysdeps/wordsize-64/scandirat64.c: New file.
13392 * dirent/opendir.c: Define opendirat.
13393 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
13394 using scandirat.
13395 * dirent/scandir64.c: Adjust for scandir.c change.
13396 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
13397 __scandirat64, and __scandir_cancel_handler.
13398 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
13399 additional parameter and use openat instead of open (outside of ld.so).
13400 Add new __opendir as wrapper around __opendirat.
13401 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13402 here without requiring old scandirat implementation.
13403
879165f2
UD
134042011-08-08 Ulrich Drepper <drepper@gmail.com>
13405
13406 * dirent/scandir.c (cancel_handler): Renamed to
13407 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
13408 defined. Adjust users.
13409 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13410 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13411
cb7e923b
UD
134122011-08-04 Ulrich Drepper <drepper@gmail.com>
13413
16292edd
UD
13414 * string/test-string.h (IMPL): Use __STRING to expand name and then
13415 stringify it.
13416
cb7e923b
UD
13417 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
13418 of cleanups.
13419
cff82933
LD
134202011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13421
13422 * string/Makefile: Update.
13423 (strop-tests): Append strncat.
13424 * string/test-wcscmp.c: New file.
13425 New comprehensive test for wcscmp.
13426 * string/test-strcmp.c: Update.
13427 (WIDE): New define.
13428
9be9bfcc
AS
134292011-07-22 Andreas Schwab <schwab@redhat.com>
13430
13431 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13432 line.
13433
2e96f1c7
AS
134342011-07-26 Andreas Schwab <schwab@redhat.com>
13435
13436 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13437 encoding to ACE if AI_IDN.
13438
85188888
JJ
134392011-08-01 Jakub Jelinek <jakub@redhat.com>
13440
13441 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13442 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13443
5fa16e9b
LD
134442011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13445
13446 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13447 Fix overflow bug in strncat.
13448 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13449
13450 * string/test-strncat.c: Update.
13451 Add new tests for checking overflow bugs.
13452
134532011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13454
13455 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13456 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13457 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13458 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13459 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13460 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13461 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13462 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13463 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13464
13465 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13466 (USE_AS_STRCAT): Define.
13467 Add strcat and strncat support.
13468 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13469
8c1a459f
AS
134702011-07-25 Andreas Schwab <schwab@redhat.com>
13471
13472 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13473 __n bigger than INT_MAX+1.
13474 (__strncmp_g): Likewise.
13475
bba33c28
UD
134762011-07-23 Ulrich Drepper <drepper@gmail.com>
13477
798be72d
UD
13478 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13479 * libio/stido.h: Likewise.
13480
8accd4dc
UD
13481 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13482 (AF_NFC): Define.
13483 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13484 (AF_NFC): Define.
13485
cbff0d96
UD
13486 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13487 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13488 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13489 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13490 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13491
9191c04a
UD
13492 [BZ #13021]
13493 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13494 installed.
13495
bba33c28
UD
13496 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13497 typo.
13498 (_dl_x86_64_save_sse): Likewise.
13499
90f139dd
UD
135002011-07-22 Ulrich Drepper <drepper@gmail.com>
13501
1aae088a
UD
13502 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13503 OSXSAVE.
13504 (_dl_x86_64_save_sse): Likewise.
13505
8e2045f5
UD
13506 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13507
90f139dd
UD
13508 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13509
1d002f25
AS
135102011-07-21 Andreas Schwab <schwab@redhat.com>
13511
13512 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13513 change.
13514 (_dl_x86_64_save_sse): Use correct AVX check.
13515
21137f89
UD
135162011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13517
13518 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13519 bug in strncpy/strncat.
13520 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13521
a65c0b7a
UD
135222011-07-21 Ulrich Drepper <drepper@gmail.com>
13523
13524 * string/tester.c (test_strcat): Add tests for different alignments
13525 of source and destination.
13526 (test_strncat): Likewise.
13527
6986b98a
UD
135282011-07-20 Ulrich Drepper <drepper@gmail.com>
13529
90bb2039
UD
13530 [BZ #12852]
13531 * posix/glob.c (glob): Check passed in values before using them in
13532 expressions to avoid some overflows.
13533 (glob_in_dir): Likewise.
13534
5644ef54
UD
13535 [BZ #13007]
13536 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13537 check for AVX enablement so that we don't crash with old kernels and
13538 new hardware.
13539 * elf/tst-audit4.c: Add same checks here.
13540 * elf/tst-audit6.c: Likewise.
13541
13542 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 13543
bfc9dc9b
AS
135442011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13545
13546 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13547
702e64bb
UD
135482011-07-20 Ulrich Drepper <drepper@gmail.com>
13549
13550 * po/cs.po: Update from translation team.
13551 * po/bg.po: Likewise.
13552
295e904f
MP
135532011-07-12 Marek Polacek <mpolacek@redhat.com>
13554
13555 * misc/sys/cdefs.h: Add support for const attribute.
13556 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13557 to gnu_dev_{major,minor,makedev} functions.
13558
3ff94596
MP
135592011-07-20 Marek Polacek <mpolacek@redhat.com>
13560
13561 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13562
28b59fca
AS
135632011-07-20 Andreas Schwab <schwab@redhat.com>
13564
13565 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13566 strlen results.
13567
19df733e
AK
135682011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13569
13570 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13571 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13572 register in order to avoid conflicts with the soft frame pointer
13573 being held in r11 when necessary.
13574 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13575 (INTERNAL_VSYSCALL_NCS): Likewise.
13576
c8835729
MP
135772011-07-14 Marek Polacek <mpolacek@redhat.com>
13578
13579 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13580 * elf/dl-fini.c (_dl_fini): Adjust caller.
13581 * elf/dl-close.c (_dl_close_worker): Likewise.
13582 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13583
b902330c
MP
135842011-07-15 Marek Polacek <mpolacek@redhat.com>
13585
8991e135
MP
13586 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13587 "aux_cache->nlibs < 0".
13588
b902330c
MP
13589 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13590 in the reload-count case.
13591
99710781
LD
135922011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13593
13594 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13595 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13596 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13597 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13598 * sysdeps/x86_64/multiarch/strcat.S: New file.
13599 * sysdeps/x86_64/multiarch/strncat.S: New file.
13600 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13601 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13602 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13603 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13604 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13605 (USE_AS_STRCAT): Define.
13606 Add strcat and strncat support.
13607 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13608 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13609 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13610 * string/strncat.c: Update.
13611 (USE_AS_STRNCAT): Define.
13612 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13613 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13614 and i7.
13615 * sysdeps/x86_64/multiarch/init-arch.h
13616 (bit_Prefer_PMINUB_for_stringop): New.
13617 (index_Prefer_PMINUB_for_stringop): Likewise.
13618 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13619 bit_Prefer_PMINUB_for_stringop.
13620
7dc6bd90
UD
136212011-07-19 Ulrich Drepper <drepper@gmail.com>
13622
13623 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13624 buffer64.
13625 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13626 of casting of buffer.
13627 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13628 buffer32 and buffer64.
13629 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13630 writes instead of casting of buffer.
13631 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13632 buffer32.
13633 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13634 casting of buffer.
13635
e0e72284
AS
136362011-07-19 Andreas Schwab <schwab@redhat.com>
13637
13638 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13639
feb1eb0b
UD
136402011-07-19 Ulrich Drepper <drepper@gmail.com>
13641
13642 * nscd/nscd.c (termination_handler): Don't do anything for a database
13643 if it has not yet been initialized.
13644
298711ff
UD
136452011-07-18 Ulrich Drepper <drepper@gmail.com>
13646
13647 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13648
136492011-07-15 Marek Polacek <mpolacek@redhat.com>
13650
13651 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13652
f9d68389
UD
136532011-07-18 Ulrich Drepper <drepper@gmail.com>
13654
13655 * po/nl.po: Update from translation team.
13656 * po/sv.po: Likewise.
13657
db290cf5
RM
136582011-07-16 Roland McGrath <roland@hack.frob.com>
13659
13660 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13661 now disallowed by GCC.
5c550700 13662
fd5e21c7
RM
13663 * configure.in (use-default-link): Default to yes if a test -shared
13664 link meets our qualifications.
13665 * configure: Regenerated.
13666
5c550700
RM
13667 * config.make.in (output-format): New variable.
13668 * configure.in: Check for ld --print-output-format support.
13669 * configure: Regenerated.
13670 * Makerules ($(common-objpfx)format.lds)
13671 [$(output-format) != unknown]: Just use $(output-format),
13672 instead of the linker-script munging.
13673
9fa2c032
RM
136742011-07-14 Roland McGrath <roland@hack.frob.com>
13675
a6928d51
RM
13676 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13677 of $(common-objpfx)shlib.lds.
13678 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13679
661607b3
RM
13680 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13681 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13682
9fa2c032
RM
13683 * configure.in (-z relro check): Adjust test code to add a large
13684 writable data section after it.
13685 * configure: Regenerated.
13686
defe9061
RM
136872011-07-11 Roland McGrath <roland@hack.frob.com>
13688
13689 * configure.in (-z relro check): Fix test code to make the variable
13690 truly const.
13691 * configure: Regenerated.
13692
319b9ad4
UD
136932011-07-11 Ulrich Drepper <drepper@gmail.com>
13694
13695 * nscd/nscd.h (struct traced_file): Define.
13696 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13697 elements. Add traced_files.
13698 (inotify_fd): Declare.
13699 (register_traced_file): Declare.
13700 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13701 (inotify_fd): Export.
13702 (resolv_conf_descr): Remove.
13703 (nscd_init): Move inotify descriptor creation to main.
13704 Don't register files for notification here.
13705 (register_traced_file): New function.
13706 (invalidate_cache): Don't use reset_res to determine whether to call
13707 res_init, go through the list of registered files.
13708 (main_loop_poll): The inotify descriptors are now stored in the
13709 structures for the traced files.
13710 (main_loop_epoll): Likewise
13711 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13712 to __nss_disable_nscd.
13713 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13714 for a database anymore. Check the records for all the registered
13715 files instead.
13716 * nss/Makefile (libnss_files-routines): Add files-init.
13717 (libnss_db-routines): Add db-init.
13718 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13719 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13720 * nss/nss_db/db-init.c: New file.
13721 * nss/nss_files/files-init.c: New file.
13722 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13723 __nss_lookup_function.
13724 (__nss_lookup_function): Call nss_load_library.
13725 (nss_load_all_libraries): New function.
13726 (__nss_disable_nscd): Take parameter with callback function for files
13727 to register. Set is_nscd. Load all the DSOs for the NSS modules
13728 used for the cached services.
13729 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13730 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13731 options for features to all the files in nscd.
13732
13733 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13734
23bee3e8
RM
137352011-07-10 Roland McGrath <roland@hack.frob.com>
13736
13737 * csu/elf-init.c (__libc_csu_init): Comment typo.
13738
46a5b7f0
UD
137392011-07-09 Ulrich Drepper <drepper@gmail.com>
13740
13741 * po/pl.po: Update from translation team.
13742 * po/ja.po: Likewise.
13743 * po/ru.po: Likewise.
13744 * po/ko.po: Likewise.
13745 * po/fr.po: Likewise.
13746
d30cf5bb
RM
137472011-07-09 Roland McGrath <roland@hack.frob.com>
13748
113ddea4
RM
13749 * configure.in (.ctors/.dtors header and trailer check):
13750 Use an empirical test on a built program.
13751 * configure: Regenerated.
13752
574920b4
RM
13753 * configure.in (-z relro check): Use an empirical test on a built DSO.
13754 Detect, but do not require, on ia64.
13755 * configure: Regenerated.
13756
d30cf5bb
RM
13757 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13758 Update tests that use readelf to use $READELF instead.
13759 * configure: Regenerated.
13760
8538fdb3
UD
137612011-07-08 Ulrich Drepper <drepper@gmail.com>
13762
13763 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13764 if the result is not used.
13765
04d08991
AJ
137662011-07-05 Andreas Jaeger <aj@suse.de>
13767
13768 [BZ#9696]
13769 * stdlib/tst-strtod.c: Add testcase.
13770
de283087
AD
137712011-07-07 Ulrich Drepper <drepper@gmail.com>
13772
4e5f31c8 13773 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 13774 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13775 The latter has a higher limit. Take additional parameter to pass to
13776 the new function.
13777 (__pathconf): Pass file to __statfs_link_max.
13778 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13779 __statfs_link_max.
13780 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13781 __statfs_link_max.
13782
de283087
AD
13783 [BZ #12868]
13784 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13785 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13786 Handle Lustre.
13787 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13788 (__statfs_filesize_max): Likewise.
13789 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13790
c75fa153
AJ
137912011-07-05 Andreas Jaeger <aj@suse.de>
13792
13793 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13794
1a544854
UD
137952011-07-06 Marek Polacek <mpolacek@redhat.com>
13796
13797 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13798 `status' variable.
13799 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13800 Likewise.
13801
6f0eec67
UD
138022011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13803
13804 * Makefile (strop-tests): Add strncat.
13805 * string/test-strncat.c: New file.
13806
aae30307
UD
138072011-06-30 Marek Polacek <mpolacek@redhat.com>
13808
13809 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13810
c0cfb5eb
UD
138112011-06-21 Andreas Jaeger <aj@suse.de>
13812
13813 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13814 Copy rule from iconvdata/Makefile.
13815
01636b21
UD
138162011-07-06 Ulrich Drepper <drepper@gmail.com>
13817
13818 [BZ #12922]
13819 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13820 but no long options are defined, just return 'W'.
13821
9895c8bc
UD
138222011-06-22 Marek Polacek <mpolacek@redhat.com>
13823
13824 [BZ #9696]
13825 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13826
5d4cf042
UD
138272011-07-06 Ulrich Drepper <drepper@gmail.com>
13828
13829 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13830 netgroups to read.
960e5535 13831 (innetgr): Likewise.
5d4cf042 13832
751eb97e
RM
138332011-07-05 Roland McGrath <roland@hack.frob.com>
13834
13835 * config.make.in (install_root): Default to $(DESTDIR).
13836
f15f1e45
UD
138372011-07-05 Ulrich Drepper <drepper@gmail.com>
13838
13839 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13840
4e34ac6a
RM
138412011-07-02 Roland McGrath <roland@hack.frob.com>
13842
5e9b6af4
RM
13843 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13844
84f9ea0f
RM
13845 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13846 containing directory rather than embedding absolute directory names.
13847
ea5ee9f7
RM
13848 * scripts/check-local-headers.sh: Rewritten using awk.
13849 Match by word, not by line. Print error messages for matches.
13850 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13851
1b74661a
RM
13852 * Makerules [shlib-lds-flags empty]:
13853 ($(common-objpfx)libc_pic.opts): New target.
13854 ($(common-objpfx)libc_pic.os.clean): New target.
13855 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13856
13857 * config.make.in (OBJCOPY): New variable.
13858 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13859 * configure: Regenerated.
13860
f781ef40
RM
13861 * config.make.in (use-default-link): New variable.
13862 * configure.in (use_default_link): Grok --with-default-link to set it.
13863 * configure: Regenerated.
13864 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13865 (shlib-lds, shlib-lds-flags): Define to empty.
13866
2d4fa81e
RM
13867 * Makerules (shlib-lds): New variable.
13868 (shlib-lds-flags): New variable.
13869 (build-shlib, build-moduile, build-module-asneeded): Use it.
13870 ($(common-objpfx)libc.so): Use $(shlib-lds).
13871 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13872 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13873
31fffa6b
RM
13874 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13875 DT_FLAGS/DT_FLAGS_1 with zero flags.
13876
4e34ac6a
RM
13877 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13878 linker script munging.
13879
fcfc776b
UD
138802011-07-02 Ulrich Drepper <drepper@gmail.com>
13881
13882 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13883 as 128-bit value.
13884 * crypt/sha512.c (sha512_process_block): Perform total addition using
13885 128-bit if possible.
13886 (__sha512_finish_ctx): Likewise.
13887 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13888 as 64-bit value.
13889 * crypt/sha256.c (SWAP64): Define.
13890 (sha256_process_block): Perform total addition using 64-bit if
13891 possible.
13892 (__sha256_finish_ctx): Likewise.
13893
99231d9a
UD
138942011-07-01 Ulrich Drepper <drepper@gmail.com>
13895
13896 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13897 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13898 * nscd/hstcache.c (cache_addhst): Likewise.
13899 * nscd/grpcache.c (cache_addgr): Likewise.
13900 * nscd/aicache.c (addhstaiX): Likewise
13901 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13902
445b4a53
TK
139032011-07-01 Thorsten Kukuk <kukuk@suse.de>
13904
13905 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13906 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13907 * nscd/hstcache.c (cache_addhst): Likewise.
13908 * nscd/grpcache.c (cache_addgr): Likewise.
13909 * nscd/aicache.c (addhstaiX): Likewise
13910
6d4d8e8e
AS
139112011-07-01 Andreas Schwab <schwab@redhat.com>
13912
13913 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13914 domain only when needed.
13915
89f654c5
AS
139162011-06-30 Andreas Schwab <schwab@redhat.com>
13917
13918 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13919 is always restored.
13920
cf3b23ff
UD
139212011-06-29 Ulrich Drepper <drepper@gmail.com>
13922
13923 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13924 are re-adding the entry.
13925 * nscd/servicescache.c (cache_addserv): Likewise.
13926
751626f9
AJ
139272011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13928
13929 * sysdeps/generic/dl-irel.h: fix protection against multiple
13930 inclusions.
13931 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13932
9113ea1f
UD
139332011-06-28 Ulrich Drepper <drepper@gmail.com>
13934
5c0b8d90
UD
13935 [BZ #12935]
13936 * malloc/memusage.sh: Fix quoting in message.
13937 * debug/xtrace.sh: Likewise.
13938
9113ea1f
UD
13939 * configure.in: Remove support for --experimental-malloc option, make
13940 it the default.
13941 * config.make.in: Likewise.
13942 * malloc/Makefile: Likewise.
13943
a4172181
AS
139442011-06-27 Andreas Schwab <schwab@redhat.com>
13945
13946 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13947 two-byte characters.
13948
78a7eee7
RM
139492011-06-27 Roland McGrath <roland@hack.frob.com>
13950
62bede13
RM
13951 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13952 AC_CACHE_CHECK invocation.
13953 * configure: Regenerated.
13954
78a7eee7
RM
13955 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13956
5ce33a62
UD
139572011-06-27 Ulrich Drepper <drepper@gmail.com>
13958
034807a9
UD
13959 [BZ #12350]
13960 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13961 bit from old_res_options.
13962
4902da17
UD
13963 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13964
5ce33a62
UD
13965 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13966 value type for setfct.
13967
c2344f56
L
139682011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13969
13970 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13971 __gettimeofday instead of gettimeofday.
13972
68468076
UD
139732011-06-26 Ulrich Drepper <drepper@gmail.com>
13974
13975 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13976
acb0d739
L
139772011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13978
13979 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13980
13981 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13982 info.
13983
8912479f
L
139842011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13985
13986 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13987 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13988 strcpy-sse2-unaligned strncpy-sse2-unaligned
13989 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13990 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13991 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13992 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13993 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13994 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13995 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13996 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13997 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13998 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13999 (STRCPY): Support SSE2 and SSSE3 versions.
14000
d5495a11
UD
140012011-06-24 Ulrich Drepper <drepper@gmail.com>
14002
14003 [BZ #12874]
14004 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14005 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14006 kernels which artificially limit size of requests.
14007
0b1cbaae
L
140082011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14009
14010 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14011 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14012 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14013 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14014 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14015 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14016 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14017 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14018 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14019 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14020 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14021 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14022 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14023 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14024 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14025 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14026 Enable unaligned load optimization for Intel Core i3, i5 and i7
14027 processors.
14028 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14029 Define.
14030 (index_Fast_Unaligned_Load): Define.
14031 (HAS_FAST_UNALIGNED_LOAD): Define.
14032
07f494a0
MP
140332011-06-23 Marek Polacek <mpolacek@redhat.com>
14034
14035 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14036
fa3fc0fe
UD
140372011-06-22 Ulrich Drepper <drepper@gmail.com>
14038
14039 [BZ #12907]
14040 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14041 until it is clear that the information is realy needed.
14042 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14043
e12df166
AS
140442011-06-22 Andreas Schwab <schwab@redhat.com>
14045
14046 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14047
852eb34d
UD
140482011-06-22 Ulrich Drepper <drepper@gmail.com>
14049
84e2a551
UD
14050 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14051 /sys/devices/system/cpu/online if it is usable.
14052
852eb34d
UD
14053 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14054 reading the information from the /proc filesystem to once a second.
14055
6e502e19
UD
140562011-06-21 Andreas Jaeger <aj@suse.de>
14057
14058 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14059 NULL after inclusion of kernel headers.
14060
75d39ff2
UD
140612011-06-21 Ulrich Drepper <drepper@gmail.com>
14062
51f9aa6a
UD
14063 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14064 calls to internal_setent.
14065
c0244a9d
UD
14066 [BZ #12885]
14067 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14068 addresses using gethostbyname4_r ignore IPv4 addresses.
14069
c5e3c2ae
UD
14070 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14071 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
14072
75d39ff2
UD
14073 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14074
42675c6f
DM
140752011-06-20 David S. Miller <davem@davemloft.net>
14076
14077 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14078 inclusions.
14079 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14080
14081 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14082 (elf_irel): Use it.
14083 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14084 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14085 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14086 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14087 * sysdeps/x86_64/dl-irel.h: Likewise.
14088
14089 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14090 * elf/dl-sym.c: Likewise.
14091
57912a71
UD
140922011-06-15 Ulrich Drepper <drepper@gmail.com>
14093
14094 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14095 need to dereference resplen2.
14096
ee22793d
AS
140972011-06-14 Andreas Schwab <schwab@redhat.com>
14098
14099 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14100
a9e836b0
UD
141012011-06-15 Ulrich Drepper <drepper@gmail.com>
14102
77fb9117
UD
14103 * Makeconfig: Define vardbdir and inst_vardbdir.
14104 * nss/Makefile: Add rules to install db-Makefile.
14105
40c1b22c
UD
14106 * nss/nss_db/db-XXX.c: Cleanup.
14107
9f2da732
UD
14108 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14109 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14110 GLIBC_PRIVATE.
14111 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14112 * nss/makedb.c: Implement -g option to specify that value strings
14113 are generated and should not be added to table iterated over for
14114 get*ent calls.
14115 * nss/nss_db/db-initgroups.c: New file.
14116
82e9a1f7
UD
14117 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14118 interface.
14119
c41af17e
UD
14120 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14121 (internal_getgrouplist): Adjust to name change.
14122 Update use_initgroups_entry if this is not the first call.
14123 * nss/databases.def: Add initgroups entry.
14124
a9e836b0
UD
14125 * nss/makedb.c (compute_tables): Check result of multiple hash table
14126 sizes to minimize maximum chain length.
14127
2666d441
UD
141282011-06-14 Ulrich Drepper <drepper@gmail.com>
14129
14130 * Versions.def: Add entry for libnss_db.
14131 * shlib-versions: Likewise.
14132 * nss/Makefile: Add rules to build libnss_db.
14133 * nss/Versions: Add libnss_db information. Organize libnss_files
14134 entries better.
14135 * nss/db-Makefile: Add gshadow support. Change rules for the new
14136 makedb progra. Some minor improvements to generate smaller files.
14137 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14138 here from...
14139 * nss/makedb.c: ...here.
14140 Improve database format to be smaller and require less memory at
14141 runtime.
14142 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14143 db anymore.
14144 * nss/nss_db/db-netgrp.c: Likewise.
14145 * nss/nss_db/db-open.c: Likewise.
14146 * nss/nss_files/flies-XXX.x: Adjust comments.
14147 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14148 * nss/nss_files/files-grp.c: Likewise.
14149 * nss/nss_files/files-hosts.c: Likewise.
14150 * nss/nss_files/files-network.c: Likewise.
14151 * nss/nss_files/files-proto.c: Likewise.
14152 * nss/nss_files/files-pwd.c: Likewise.
14153 * nss/nss_files/files-rpc.c: Likewise.
14154 * nss/nss_files/files-service.c: Likewise.
14155 * nss/nss_files/files-sgrp.c: Likewise.
14156 * nss/nss_files/files-spwd.c: Likewise.
14157 * nss/nss_db/db-alias.c: Removed.
14158 * nss/nss_db/dummy-db.h: Removed.
14159
9ee76b5a
UD
141602011-06-02 Ulrich Drepper <drepper@gmail.com>
14161
14162 * nss/makedb.c: Rewritten to not use database library.
14163 * nss/Makefile: Update to build new makedb program.
14164
c71ca1f8
AJ
141652011-06-14 Andreas Jaeger <aj@suse.de>
14166
14167 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14168 memset declaration.
14169
3154bfb8
UD
141702011-06-10 Andreas Schwab <schwab@redhat.com>
14171
14172 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14173 tmpbuf.
14174
b350afab
RM
141752011-06-10 Roland McGrath <roland@hack.frob.com>
14176
decd4e50
RM
14177 * Makerules (shlib.lds): Fail if the linker script comes out empty.
14178 * elf/Makefile ($(objpfx)ld.so): Likewise.
14179
5615eaf2
RM
14180 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14181 Don't list ld.so twice in dependencies.
14182
14183 * posix/bug-regex31.c: Include <stdlib.h>.
14184
14185 * nscd/hstcache.c (cache_addhst): Remove unused variable.
14186
14187 * nis/nss_compat/compat-spwd.c
14188 (getspent_next_nss_netgr): Remove unused variable.
14189 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14190
14191 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14192 nonmembers" output to use the right array.
14193
14194 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14195
14196 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14197
14198 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14199 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14200 * catgets/gencat.c (read_input_file): Likewise.
14201 * locale/programs/locarchive.c (enlarge_archive): Likewise.
14202
14203 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14204 variable definition inside #if's controlling its use.
14205
14206 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14207
14208 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14209
14210 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14211
14212 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14213 unreachable code.
14214
14215 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14216
b68e08db
RM
14217 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14218 * configure: Regenerated.
14219
b350afab
RM
14220 * Makerules: Revert last change.
14221 * elf/Makefile: Likewise.
14222
28368601
RM
142232011-06-09 Roland McGrath <roland@hack.frob.com>
14224
14225 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14226 * elf/Makefile ($(objpfx)librtld.os): Likewise.
14227 (reloc-link): Likewise.
14228
11988f8f
UD
142292011-06-09 Ulrich Drepper <drepper@gmail.com>
14230
14231 * elf/Makefile: Add rules to build pldd.
14232 * elf/pldd.c: New file.
14233 * elf/pldd-xx.c: New file.
14234
e80fab37
UD
142352011-06-07 Ulrich Drepper <drepper@gmail.com>
14236
14237 * version.h: Update for 2.15 development version.
14238
9b849836
DM
142392011-06-07 David S. Miller <davem@davemloft.net>
14240
14241 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14242 ifuncs.
14243 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14244 elf_machine_lazy_rel): Likewise.
14245 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14246 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14247 elf_machine_lazy_rel): Likewise.
14248 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14249 dl_hwcap via passed in argument.
14250 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14251 Likewise.
14252
5a31b283
AK
142532011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14254
14255 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
14256
069e52f8
RM
142572011-06-06 Roland McGrath <roland@hack.frob.com>
14258
14259 [BZ #12849]
14260 * manual/fdl-1.1.texi: New file, verbatim from:
14261 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14262 * manual/lgpl-2.1.texi: New file, verbatim from:
14263 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14264 * manual/Makefile (licenses): New variable, list those new file names.
14265 (texis): Use it.
14266 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14267
14268 * manual/fdl.texi: File removed.
14269 * manual/lesser.texi: File removed.
14270 * manual/libc.texinfo (Copying, Documentation License):
14271 Use new @include file names, put @appendix directive before @include.
14272
f16846a5
JJ
142732011-06-04 Jakub Jelinek <jakub@redhat.com>
14274
14275 [BZ #12841]
14276 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14277 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14278 (mq_open): Add __NTH.
14279
3d29045b
L
142802011-06-02 H.J. Lu <hongjiu.lu@intel.com>
14281
14282 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14283 Assume Intel Core i3/i5/i7 processor if AVX is available.
14284
8c297311
UD
142852011-05-31 Ulrich Drepper <drepper@gmail.com>
14286
14287 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14288 typo.
14289
c8fc0c91
UD
142902011-05-31 Andreas Schwab <schwab@redhat.com>
14291
14292 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14293 memory. Use alloca_account. Fix memory leak when retrying.
14294
5b27a807
UD
142952011-05-31 Ulrich Drepper <drepper@gmail.com>
14296
356f8bc6
UD
14297 * version.h (RELEASE): Bump for 2.14 release.
14298 * include/features.h (__GLIBC_MINOR__): Bump to 14.
14299
5b27a807
UD
14300 * config.make.in (RANLIB): Remove entry.
14301
01f16ab0
UD
143022011-05-30 Ulrich Drepper <drepper@gmail.com>
14303
41fce8bd
UD
14304 * po/Makefile (po-sed-cmd): Add ksh to extensions.
14305 (libc.pot): Work around missing support for .ksh extension in xgettext.
14306
4769ae77
UD
14307 [BZ #12684]
14308 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14309 if both request failed.
14310 (send_dg): In case of server errors clear resplen or *resplen2.
14311
6b1e7d19
UD
14312 [BZ #12454]
14313 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14314 when there are multiple maps.
14315 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14316 (_dl_fini): Remove test here.
14317
01f16ab0
UD
14318 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14319
b1ebd700
UD
143202011-05-29 Ulrich Drepper <drepper@gmail.com>
14321
7ae22829
UD
14322 [BZ #12350]
14323 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14324 bit from old_res_options.
14325 (gaih_inet): Likewise.
14326
553149f6 14327 [BZ #11099]
18a84741 14328 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
14329 as signed.
14330
652ffab1
UD
14331 * resolv/res_init.c (res_setoptions): Make the code more compact.
14332
16985fd0
UD
14333 [BZ #11558]
14334 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14335 set RES_USEVC.
14336
0464f746
UD
14337 [BZ #11634]
14338 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14339
7d17596c
UD
14340 * malloc/malloc.h: Mark malloc hook variables as deprecated.
14341
cf6bbbd7
UD
14342 [BZ #11781]
14343 * malloc/malloc.h: Declare malloc hook variables as volatile.
14344
13f1ab36
UD
14345 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14346 in last patch.
14347
b1ebd700
UD
14348 [BZ #11799]
14349 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 14350 raise in the comment.
80e2212d
UD
14351 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14352 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14353 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 14354
ce67228d
UD
143552011-05-28 Ulrich Drepper <drepper@gmail.com>
14356
8887a920
UD
14357 [BZ #12811]
14358 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14359 grow the buffers more if it already has to be sufficient.
14360 (build_wcs_upper_buffer): Likewise.
14361 * posix/regexec.c (check_matching): Likewise.
14362 (clean_state_log_if_needed): Likewise.
14363 (extend_buffers): Don't enlarge buffers beyond size of the input
14364 buffer.
14365 Patches mostly by Emil Wojak <emil@wojak.eu>.
14366 * posix/bug-regex32.c: New file.
14367 * posix/Makefile (tests): Add bug-regex32.
14368
4f031072
UD
14369 * locale/findlocale.c (_nl_find_locale): Return right away if
14370 _nl_explode_name failed.
14371 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14372
d0478f0c
UD
14373 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14374
de81b246
UD
14375 * debug/xtrace.sh: Unify messages.
14376 * malloc/memusage.sh: Likewise.
14377
c738465a
UD
14378 [BZ #12813]
14379 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
14380 time symbol from vDSO. Substitute with vsyscall if not available.
14381 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
14382 __vdso_time.
14383
f1f929d7
UD
14384 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14385 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14386 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14387 Add sendmmsg and internal_sendmmsg.
14388 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14389 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14390 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14391
ce67228d
UD
14392 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14393 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14394 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14395
e57420c6
UD
143962011-05-27 Ulrich Drepper <drepper@gmail.com>
14397
a8509ca5
UD
14398 [BZ #12813]
14399 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
14400 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
14401 available.
14402 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14403 __vdso_getcpu.
14404
e57420c6
UD
14405 [BZ #12814]
14406 * iconvdata/Makefile (tests): Add bug-iconv9.
14407 * iconvdata/bug-iconv9.c: New file.
14408
4d07db15
AS
144092011-05-27 Andreas Schwab <schwab@redhat.com>
14410
14411 [BZ #12814]
14412 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14413
ea486f69
JJ
144142011-05-25 Jakub Jelinek <jakub@redhat.com>
14415
14416 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14417 (struct user_regs_struct): Change intcs field back to cs.
14418
6f038433
UD
144192011-05-25 Ulrich Drepper <drepper@gmail.com>
14420
14421 * po/ja.po: Update from translation team.
14422
67f86a25
UD
144232011-05-23 Ulrich Drepper <drepper@gmail.com>
14424
14425 [BZ #12795]
14426 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14427 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14428
def7fbd6
AS
144292011-05-20 Andreas Schwab <schwab@redhat.com>
14430
14431 * stdlib/longlong.h: Update from GCC.
14432
f50ef8f1
AS
144332011-05-23 Andreas Schwab <schwab@redhat.com>
14434
14435 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14436 parameter name.
14437 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14438 Add parameter name.
14439 (__sysconf): Pass it down.
14440
de7ce8f1
UD
144412011-05-22 Ulrich Drepper <drepper@gmail.com>
14442
f2962a71
UD
14443 [BZ #12671]
14444 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14445 some situations.
14446 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14447 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14448 add in in __libc_use_alloca calls. Adjust callers.
14449 (glob): Use malloc in some situations.
14450
de7ce8f1
UD
14451 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14452 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14453 pltexit.
14454
aec84f53
UD
144552011-05-21 Ulrich Drepper <drepper@gmail.com>
14456
05bb4a68
UD
14457 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14458 and CLOCK_BOOTTIME_ALARM.
14459
7ea72f99
UD
14460 [BZ #12782]
14461 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14462 is returned.
14463
7e4afad5
UD
14464 * string/_strerror.c (__strerror_r): Print negative errors as signed
14465 numbers.
14466
8e211fec
UD
14467 [BZ #12777]
14468 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14469 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14470 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14471
f7d82dc9
UD
14472 * configure.in: Fix typo in redirection and correct removal of test
14473 files in two cases.
14474
cc9e536d
UD
14475 [BZ #12788]
14476 * locale/setlocale.c (new_composite_name): Fix test to check for
14477 identical name of all categories.
14478
aec84f53
UD
14479 [BZ #12792]
14480 * libio/filedoalloc.c (local_isatty): New function.
14481 (_IO_file_doallocate): Use local_isatty.
14482 * stdio-common/perror.c (perror): In case a new stream is used
14483 forward the stream error.
14484 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14485 error flag.
14486
78e64fdc
RT
144872011-05-20 Ulrich Drepper <drepper@gmail.com>
14488
34a9094f
UD
14489 [BZ #11869]
14490 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14491 alloca.
14492 * include/alloca.h (extend_alloca_account): Define.
14493
78e64fdc
RT
14494 [BZ #11857]
14495 * posix/regex.h: Fix comments with documentation of user-accessible
14496 fields after compilation and describe correct free'ing of pattern
14497 after re_compile_pattern.
14498 Patch by Reuben Thomas <rrt@sc3d.org>.
14499
457bddfc
RA
145002011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14501
14502 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14503 and -mno-altivec to prevent the compiler from using Altivec and/or
14504 VSX instructions when the corresponding registers are not available.
14505
a4527b51
AS
145062011-05-19 Andreas Schwab <schwab@redhat.com>
14507
14508 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14509
ed690b2f
UD
145102011-05-19 Ulrich Drepper <drepper@gmail.com>
14511
14512 * libio/freopen.c (freopen): Use __dup2, not dup2.
14513 * libio/freopen64.c (freopen64): Likewise.
14514
8db73634
L
145152011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14516
14517 [BZ #12775]
14518 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14519 * math/Makefile (tests): Add test-powl.
14520 (CFLAGS-test-powl.c): Define.
14521 * math/test-powl.c: New file.
14522
0a197a9d
L
145232011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14524
14525 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14526
ee30c380
UD
145272011-05-17 Ulrich Drepper <drepper@gmail.com>
14528
14529 [BZ #11837]
14530 * iconvdata/gb18030.c: Update to GB18020-2005.
14531
6ce75379
UD
145322011-05-16 Ulrich Drepper <drepper@gmail.com>
14533
a4b89fd8
AR
14534 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14535 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14536 Patch by Aharon Robbins <arnold@skeeve.com>.
14537
ea389b12
UD
14538 [BZ #11892]
14539 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14540 on the stack.
14541
68a3f91f
UD
14542 [BZ #11895]
14543 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14544 through underflows.
14545
15cc7dd1
UD
14546 [BZ #12766]
14547 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14548 point to strings before performing equality test for error_one_per_line
14549 mode.
14550
f3799213
UD
14551 [BZ #11697]
14552 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14553
d79a9c94
UD
14554 [BZ #11820]
14555 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14556 (struct user_fpregs_struct): Avoid __uint*_t types.
14557
56e5eb46
UD
14558 [BZ #6420]
14559 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14560 symbol info. Use it instead of calling _dl_addr locally.
14561 (lock_and_info): New function.
14562 (tr_freehook): Call lock_and_info and pass symbol info as additional
14563 parameter to tr_where.
14564 (tr_mallochook): Likewise.
14565 (tr_reallochook): Likewise.
14566 (tr_memalignhook): Likewise.
14567
6ce75379
UD
14568 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14569 used and couldn't be at all thread-safe.
14570
f8a3b5bf
UD
145712011-05-15 Ulrich Drepper <drepper@gmail.com>
14572
94b7cc37
UD
14573 * libio/freopen.c (freopen): Don't close old file descriptor
14574 before the new one is opened. Instead dup the new file descriptor
14575 to the old one after the new stream is created.
14576 * libio/freopen64.c (freopen64): Likewise.
14577 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14578 * libio/fileops.c (_IO_new_file_close_it): Handle new
14579 _IO_FLAGS2_NOCLOSE flag.
14580 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14581 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14582 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14583 _IO_FLAGS2_NOCLOSE flag.
14584 * include/unistd.h: Add hidden_proto for dup3.
14585 Define __have_dup3.
14586 * io/dup3.c: Define hidden symbol.
14587 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14588
bd25564e
UD
14589 [BZ #7101]
14590 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14591 when an incomplete long option is used.
14592 * posix/tst-getopt_long1.c: New file.
14593 * posix/Makefile (tests): Add tst-getopt_long1.
14594
c84cfef4
UD
14595 [BZ #10138]
14596 * scripts/config.guess: Update from autoconf-2.68.
14597 * scripts/config.sub: Likewise.
14598
3b85df27
UD
14599 [BZ #10157]
14600 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14601 tests into ...
14602 (has_cpuclock): ...this. New function.
14603 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14604 macro here based on has_cpuclock code.
14605
15a856b1
UD
14606 [BZ #10149]
14607 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14608 First byte (not low byte) is now always NUL.
14609 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14610
05f399e6
UD
14611 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14612 Use non-cancelable interfaces.
14613
10a52685 14614 [BZ #9809]
94ecc67d
UD
14615 * locale/iso-639.def: Add entry for Sorani.
14616
f8a3b5bf
UD
14617 [BZ #11901]
14618 * include/stdlib.h: Move include protection to the right place.
14619 Define abort_msg_s. Declare __abort_msg with it.
14620 * stdlib/abort.c (__abort_msg): Adjust type.
14621 * assert/assert.c (__assert_fail_base): New function. Majority
14622 of code from __assert_fail. Allocate memory for __abort_msg with
14623 mmap.
14624 (__assert_fail): Now call __assert_fail_base.
14625 * assert/assert-perr.c: Remove bulk of implementation. Use
14626 __assert_fail_base.
14627 * include/assert.hL Declare __assert_fail_base.
14628 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14629 mmap.
14630 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14631
1af4e298
UD
146322011-05-14 Ulrich Drepper <drepper@gmail.com>
14633
f8a3b5bf 14634 [BZ #11952]
d26dfc60
MG
14635 [BZ #12453]
14636 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14637 until all modules are registered in the DTV.
14638 * elf/Makefile: Add rules to build and run tst-tls19.
14639 * elf/tst-tls19.c: New file.
14640 * elf/tst-tls19mod1.c: New file.
14641 * elf/tst-tls19mod2.c: New file.
14642 * elf/tst-tls19mod3.c: New file.
14643 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14644
2fc54d6f
UD
14645 [BZ #12083]
14646 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14647 correctly.
14648
98d76b46
UD
14649 [BZ #12601]
14650 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14651 two-byte sequence errors.
14652 * iconvdata/Makefile (tests): Add bug-iconv8.
14653 * iconvdata/bug-iconv8.c: New file.
14654
da3c19ef
UD
14655 [BZ #12626]
14656 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14657 buf2 definition.
14658
ca408c15
UD
14659 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14660
d6f67f7d
UD
14661 [BZ #12432]
14662 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14663 (dummy_getcfa): New function.
14664 (init): Get _Unwind_GetCFA address, use dummy if not found.
14665 (backtrace_helper): In recursion check, also check whether CFA changes.
14666 (__backtrace): Completely initialize arg.
14667
1af4e298 14668 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
14669 storing incomplete byte sequence in state object. Avoid testing for
14670 guaranteed too small input if we know there is enough data available.
1af4e298 14671
da62f81b
AS
146722011-05-11 Andreas Schwab <schwab@redhat.com>
14673
14674 * Makeconfig (+link-pie): Indent.
14675 * Rules (binaries-pie): Define if $(have-fpie) and
14676 $(build-shared).
14677 (binaries-shared): Also filter out $(binaries-pie).
14678 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14679 * nscd/Makefile (others-pie): Add nscd.
14680 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14681 ($(objpfx)nscd): Remove command override.
14682 * login/Makefile (others-pie): Add pt_chown.
14683 ($(objpfx)pt_chown): Remove command override.
14684 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14685 remove command overrides.
14686
fcabc0f8
UD
146872011-05-13 Ulrich Drepper <drepper@gmail.com>
14688
20030ae6
UD
14689 * libio/tst_putwc.c: Fix error messages.
14690
fcabc0f8
UD
14691 [BZ #12724]
14692 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14693 currently writing and seek to current position when not.
14694 * libio/Makefile (tests): Add bug-fclose1.
14695 * libio/bug-fclose1.c: New file.
14696
320a5dc0
PB
146972011-05-12 Ulrich Drepper <drepper@gmail.com>
14698
14699 [BZ #12511]
14700 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14701 don't set DF_1_NODELETE here.
14702 (do_lookup_x): When entering new entry test for copy relocation
14703 and if necessary set DF_1_NODELETE flag.
14704 * elf/tst-unique4.cc: New file.
14705 * elf/tst-unique4.h: New file.
14706 * elf/tst-unique4lib.cc: New file.
14707 * elf/Makefile: Add rules to build and run tst-unique4.
14708 Patch by Piotr Bury <pbury@goahead.com>.
14709
22836f52
UD
147102011-05-11 Ulrich Drepper <drepper@gmail.com>
14711
f574184a
UD
14712 [BZ #12052]
14713 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14714
e1fb097f
UD
14715 [BZ #12625]
14716 * misc/mntent_r.c (addmntent): Flush the stream after the output
14717
22836f52
UD
14718 [BZ #12393]
14719 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14720 (is_trusted_path_normalize): Skip initial colon. Append slash
14721 to empty buffer. Duplicate is_trusted_path code but allow
14722 constructed patch to be prefix.
14723 (is_dst): Allow $ORIGIN followed by /.
14724 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14725 Correct testing of result of is_trusted_path_normalize
14726 (decompose_rpath): Fix warning.
14727
7b3b0b2a
UD
147282011-05-10 Ulrich Drepper <drepper@gmail.com>
14729
14730 [BZ #11257]
14731 * grp/initgroups.c (internal_getgrouplist): When we found the service
14732 list through the initgroups entry in nsswitch.conf do not always
14733 continue on a successful lookup. Don't always use the
eac80ce2 14734 __nss_group_database value if it is set.
7b3b0b2a
UD
14735 * nss/nsswitch.conf (initgroups): Change action for successful db
14736 lookup to continue for compatibility.
14737
2a81eaa5
UD
147382011-05-09 Ulrich Drepper <drepper@gmail.com>
14739
be97a69e
UD
14740 [BZ #11532]
14741 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14742 and CP774 modules.
14743 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14744 and CP774 modules.
14745 * iconvdata/tst-tables.sh: Likewise.
14746 * iconvdata/cp770.c: New file.
14747 * iconvdata/cp771.c: New file.
14748 * iconvdata/cp772.c: New file.
14749 * iconvdata/cp773.c: New file.
14750 * iconvdata/cp774.c: New file.
14751 * iconvdata/testdata/CP770: New file.
14752 * iconvdata/testdata/CP770..UTF8: New file.
14753 * iconvdata/testdata/CP771: New file.
14754 * iconvdata/testdata/CP771..UTF8: New file.
14755 * iconvdata/testdata/CP772: New file.
14756 * iconvdata/testdata/CP772..UTF8: New file.
14757 * iconvdata/testdata/CP773: New file.
14758 * iconvdata/testdata/CP773..UTF8: New file.
14759 * iconvdata/testdata/CP774: New file.
14760 * iconvdata/testdata/CP774..UTF8: New file.
14761
14762 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14763 END CHARMAP line.
14764 * iconvdata/gen-8bit-gap.sh: Likewise.
14765 * iconvdata/gen-8bit.sh: Likewise.
14766
c1e9e399
UD
14767 * locale/iso-639.def: Add ary entry.
14768
24c55fb3 14769 [BZ #11258]
96b4b1b0
UD
14770 * locale/C-translit.h.in: Add U20A1 transliteration.
14771
bdc2f971
KB
14772 [BZ #12178]
14773 * locale/iso-639.def: Add wae entry.
14774 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14775
2952b117
UD
14776 [BZ #12545]
14777 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14778 for n.
14779
2a81eaa5
UD
14780 [BZ #12711]
14781 * locale/C-translit.h.in: Add entry for U20B9.
14782 Patch by pravin.d.s@gmail.com.
14783
28377d1b
UD
147842011-05-08 Ulrich Drepper <drepper@gmail.com>
14785
7fb90fb8
UD
14786 [BZ #12713]
14787 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14788 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14789 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14790 in rtld. Use *stat64.
7fb90fb8 14791 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14792 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14793 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14794 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14795 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14796 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14797 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14798 __fstatat64 macros.
7fb90fb8
UD
14799 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14800 * dirent/rewinddir.c: Add libc_hidden_def.
14801 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14802 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14803
28377d1b
UD
14804 * include/dirent.h (__alloc_dir): Add flags parameter.
14805 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14806 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14807 __alloc_dir.
14808 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14809 from fdopendir if O_CLOEXEC is already set.
14810
66bdbaa4
AM
148112011-03-15 Alan Modra <amodra@gmail.com>
14812
14813 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14814 l_tls_firstbyte_offset non-zero. Save padding offset in
14815 l_tls_firstbyte_offset for later use.
14816 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14817 freeing static tls block.
14818
95721191
JN
148192011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14820
14821 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14822 where #ifdef was intended. The intent is to prevent ARG_MAX from
14823 being defined by the kernel headers.
14824
f87dfb1f
UD
148252011-05-07 Ulrich Drepper <drepper@gmail.com>
14826
14827 [BZ #12734]
14828 * resolv/resolv.h: Define RES_NOTLDQUERY.
14829 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14830 no-tld-query and set RES_NOTLDQUERY.
14831 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14832 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14833 modern BIND to search name as TLD unless forbidden.
14834
47c3cd7a
UD
148352011-05-07 Petr Baudis <pasky@suse.cz>
14836 Ulrich Drepper <drepper@gmail.com>
14837
14838 [BZ #12393]
14839 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14840 (is_trusted_path): ...to here.
c1e9ea35 14841 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14842 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14843 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14844
8a35c912
PP
148452011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14846
14847 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14848 __BEGIN/__END_DECLS.
14849
acd41f47
UD
148502011-05-06 Ulrich Drepper <drepper@gmail.com>
14851
14852 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14853 NSS_STATUS_NOTFOUND if no record was found.
14854
597df647
AS
148552011-05-05 Andreas Schwab <schwab@redhat.com>
14856
14857 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14858 (headers-not-in-tirpc): Remove rpc/netdb.h
14859 * resolv/netdb.h: Revert last change.
14860
b9af1301
PP
148612011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14862
14863 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14864 circular dependency between libgcc.a and libc.a.
14865
4e34d5f5
AS
148662011-05-05 Andreas Schwab <schwab@redhat.com>
14867
14868 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14869 * nis/Makefile: Don't install rpcsvc/*.
14870 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14871 instead of <rpc/types.h>.
14872 (MAXHOSTNAMELEN): Define.
14873
00ee369c
AS
148742011-05-03 Andreas Schwab <schwab@redhat.com>
14875
14876 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14877
0b592a30
MB
148782011-04-28 Maciej Babinski <mbabinski@google.com>
14879
14880 [BZ #12714]
14881 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14882 gethostbyname4_r when IPv6 results are possible.
14883
6e04cbbe
UD
148842011-05-02 Ulrich Drepper <drepper@gmail.com>
14885
14886 [BZ #12723]
14887 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14888 _PC_PIPE_BUF handling.
14889
e4ecafe0
BH
148902011-04-30 Bruno Haible <bruno@clisp.org>
14891
14892 [BZ #12717]
14893 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14894 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14895 to 'int'.
14896 * inet/getnameinfo.c (getnameinfo): Likewise.
14897
125ee683
UD
148982011-04-29 Ulrich Drepper <drepper@gmail.com>
14899
14900 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14901 to groups setting in database lookup.
14902 * nss/nsswitch.conf: Add initgroups entry.
14903
b722481a
EB
149042011-04-22 Ulrich Drepper <drepper@gmail.com>
14905
14906 [BZ #12685]
14907 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14908 mode string.
14909 Patch by Eric Blake <eblake@redhat.com>.
14910
4df46dbd
L
149112011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14912
14913 * sunrpc/Makefile (need-export-routines): Add svc_run.
14914 (routines): Remove svc_run.
14915 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14916 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14917 * sunrpc/svc_run.c (svc_run): Likewise.
14918 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14919
e84142d2
UD
149202011-04-21 Ulrich Drepper <drepper@gmail.com>
14921
14922 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14923 problem in reallocation in last patch.
14924
877175d8
UD
149252011-04-20 Ulrich Drepper <drepper@gmail.com>
14926
14927 * sunrpc/Makefile: Move inclusion of Rules.
14928
ab8eed78
UD
149292011-04-19 Ulrich Drepper <drepper@gmail.com>
14930
14931 * nss/nss_files/files-initgroups.c: New file.
14932 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14933 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14934 _nss_files_initgroups_dyn.
14935
e3d8f584
RS
149362011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14937
14938 * elf/elf.h (R_ARM_IRELATIVE): Define.
14939
af190f45
UD
149402011-04-19 Ulrich Drepper <drepper@gmail.com>
14941
14942 * po/ru.po: Update from translation team.
14943
53cf59ef
UD
149442011-04-17 Ulrich Drepper <drepper@gmail.com>
14945
14946 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14947 dependencies.
14948
4c559bcd
MF
149492011-02-06 Mike Frysinger <vapier@gentoo.org>
14950
14951 [BZ #12653]
14952 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14953 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14954 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14955 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14956 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14957
4420675c
AS
149582011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14959
14960 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14961 differing bytes.
14962 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14963 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14964 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14965
75ea32ab
UD
149662011-04-17 Ulrich Drepper <drepper@gmail.com>
14967
14968 [BZ #12420]
14969 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14970 storing it.
14971 * stdlib/bug-getcontext.c: New file.
14972 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14973
27390476
AK
149742011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14975
14976 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14977 instructions into .machine "z9-109".
14978 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14979 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14980
10442705
AK
149812011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14982
14983 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14984 between environment variables and auxiliary vector.
14985
7b57bfe5
UD
149862011-04-16 Ulrich Drepper <drepper@gmail.com>
14987
14988 * Makefile: Add rules to build linkobj/libc.so.
14989 * include/libc-symbols.h: Define libc_hidden_nolink.
14990 * include/rpc/auth.h: Mark functions which are to be hidden.
14991 * include/rpc/auth_des.h: Likewise.
14992 * include/rpc/auth_unix.h: Likewise.
14993 * include/rpc/clnt.h: Likewise.
14994 * include/rpc/des_crypt.h: Likewise.
14995 * include/rpc/key_prot.h: Likewise.
14996 * include/rpc/pmap_clnt.h: Likewise.
14997 * include/rpc/pmap_prot.h: Likewise.
14998 * include/rpc/pmap_rmt.h: Likewise.
14999 * include/rpc/rpc_msg.h: Likewise.
15000 * include/rpc/svc.h: Likewise.
15001 * include/rpc/svc_auth.h: Likewise.
15002 * include/rpc/xdr.h: Likewise.
15003 * nis/Makefile: Link all DSOs against linkobj/libc.so.
15004 * nss/Makefile: Likewise.
15005 * sunrpc/Makefile: Don't install headers. Build library with normal
15006 entry points. Don't build rpcinfo. Link RPC tests appropriately.
15007 * sunrpc/auth_des.c: Hide exported symbols by default, export some
15008 for the compat linking library. Remove use of INTDEF/INTUSE.
15009 * sunrpc/auth_none.c: Likewise.
15010 * sunrpc/auth_unix.c: Likewise.
15011 * sunrpc/authdes_prot.c: Likewise.
15012 * sunrpc/authuxprot.c: Likewise.
15013 * sunrpc/clnt_gen.c: Likewise.
15014 * sunrpc/clnt_perr.c: Likewise.
15015 * sunrpc/clnt_raw.c: Likewise.
15016 * sunrpc/clnt_simp.c: Likewise.
15017 * sunrpc/clnt_tcp.c: Likewise.
15018 * sunrpc/clnt_udp.c: Likewise.
15019 * sunrpc/clnt_unix.c: Likewise.
15020 * sunrpc/des_crypt.c: Likewise.
15021 * sunrpc/des_soft.c: Likewise.
15022 * sunrpc/get_myaddr.c: Likewise.
15023 * sunrpc/key_call.c: Likewise.
15024 * sunrpc/key_prot.c: Likewise.
15025 * sunrpc/netname.c: Likewise.
15026 * sunrpc/pm_getmaps.c: Likewise.
15027 * sunrpc/pm_getport.c: Likewise.
15028 * sunrpc/pmap_clnt.c: Likewise.
15029 * sunrpc/pmap_prot.c: Likewise.
15030 * sunrpc/pmap_prot2.c: Likewise.
15031 * sunrpc/pmap_rmt.c: Likewise.
15032 * sunrpc/publickey.c: Likewise.
15033 * sunrpc/rpc_cmsg.c: Likewise.
15034 * sunrpc/rpc_common.c: Likewise.
15035 * sunrpc/rpc_dtable.c: Likewise.
15036 * sunrpc/rpc_prot.c: Likewise.
15037 * sunrpc/rpc_thread.c: Likewise.
15038 * sunrpc/rtime.c: Likewise.
15039 * sunrpc/svc.c: Likewise.
15040 * sunrpc/svc_auth.c: Likewise.
15041 * sunrpc/svc_authux.c: Likewise.
15042 * sunrpc/svc_raw.c: Likewise.
15043 * sunrpc/svc_run.c: Likewise.
15044 * sunrpc/svc_simple.c: Likewise.
15045 * sunrpc/svc_tcp.c: Likewise.
15046 * sunrpc/svc_udp.c: Likewise.
15047 * sunrpc/svc_unix.c: Likewise.
15048 * sunrpc/svcauth_des.c: Likewise.
15049 * sunrpc/xcrypt.c: Likewise.
15050 * sunrpc/xdr.c: Likewise.
15051 * sunrpc/xdr_array.c: Likewise.
15052 * sunrpc/xdr_float.c: Likewise.
15053 * sunrpc/xdr_intXX_t.c: Likewise.
15054 * sunrpc/xdr_mem.c: Likewise.
15055 * sunrpc/xdr_rec.c: Likewise.
15056 * sunrpc/xdr_ref.c: Likewise.
15057 * sunrpc/xdr_sizeof.c: Likewise.
15058 * sunrpc/xdr_stdio.c: Likewise.
15059
e6c61494
UD
150602011-04-10 Ulrich Drepper <drepper@gmail.com>
15061
15062 [BZ #12650]
15063 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15064 * sysdeps/ia64/dl-tls.h: Likewise.
15065 * sysdeps/powerpc/dl-tls.h: Likewise.
15066 * sysdeps/s390/dl-tls.h: Likewise.
15067 * sysdeps/sh/dl-tls.h: Likewise.
15068 * sysdeps/sparc/dl-tls.h: Likewise.
15069 * sysdeps/x86_64/dl-tls.h: Likewise.
15070 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15071
34fe483e
AS
150722011-03-14 Andreas Schwab <schwab@redhat.com>
15073
15074 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15075 rpath element also skip the following colon.
15076 (expand_dynamic_string_token): Add is_path parameter and pass
15077 down to DL_DST_REQUIRED and _dl_dst_substitute.
15078 (decompose_rpath): Call expand_dynamic_string_token with
15079 non-zero is_path. Ignore empty rpaths.
15080 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15081 with zero is_path.
15082
f12a32e6
AS
150832011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15084
15085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15086 Make cancelable.
15087
38a7d692
UD
150882011-04-09 Ulrich Drepper <drepper@gmail.com>
15089
15090 [BZ #12655]
15091 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15092 Patch by Filipe David Manana <fdmanana@apache.org>.
15093
e451d22b
AS
150942011-04-07 Andreas Schwab <schwab@redhat.com>
15095
15096 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15097 Maintain aligned stack.
15098 (CHECK_RSP): Remove unused macro.
15099
dedc7c7b
UD
151002011-04-03 Ulrich Drepper <drepper@gmail.com>
15101
15102 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15103 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15104
94521213
UD
151052011-04-02 Ulrich Drepper <drepper@gmail.com>
15106
15107 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15108
8cb700c0 15109 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 15110
0354e355
L
151112011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15112
15113 [BZ #12518]
15114 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15115 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15116 * sysdeps/x86_64/memmove.c: New file.
15117 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15118 (memcpy): Renamed to ...
15119 (__new_memcpy): This.
15120 (memcpy): Provide GLIBC_2_14 memcpy.
15121 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15122 (memcpy): Provide GLIBC_2_2_5 memcpy.
15123
8593482f
UD
151242011-04-01 Ulrich Drepper <drepper@gmail.com>
15125
15126 [BZ #12631]
15127 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15128
81a5726b
AS
151292011-03-30 Andreas Schwab <schwab@redhat.com>
15130
15131 * misc/syncfs.c: New file.
15132 * misc/Makefile (routines): Add syncfs.
15133 * posix/unistd.h: Declare syncfs.
15134 * sysdeps/unix/syscalls.list: Add syncfs.
15135
00e5419f
AS
151362011-04-01 Andreas Schwab <schwab@redhat.com>
15137
15138 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15139 open_by_handle_at.
15140 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15141 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15142 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15143 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15144 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15145 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15146 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15147
748876bf
UD
151482011-04-01 Ulrich Drepper <drepper@gmail.com>
15149
658e451d
UD
15150 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15151 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15152 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15153 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15154 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15155 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15156 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15157
748876bf
UD
15158 * io/Makefile: Compile fallocate.c, fallocate64.c, and
15159 sync_file_range.c with -fexceptions.
15160 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15161 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15162 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15163 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15164 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15165 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15166 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
15167 sync_file_range as cancellation point
15168 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
15169 now a wrapper around __call_sync_file_range with cancellation handling.
15170 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15171 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
15172 function name to __call_sync_file_range.
15173 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15174 Add call_sync_file_range.
748876bf 15175
6e63d5e1
AS
151762011-04-01 Andreas Schwab <schwab@redhat.com>
15177
15178 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 15179 bits/timex.h.
6e63d5e1 15180
46998f74
UD
151812011-04-01 Ulrich Drepper <drepper@gmail.com>
15182
4c1423ed
UD
15183 * iconv/iconv.h: Fix typo in comment.
15184 * io/fcntl.h: Likewise.
15185 * libio/stdio.h: Likewise.
15186 * posix/spawn.h: Likewise.
15187 * posix/unistd.h: Likewise.
15188 * stdlib/stdlib.h: Likewise.
15189 * time/time.h: Likewise.
15190 * wcsmbs/wchar.h: Likewise.
15191
158648c0
UD
15192 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15193 open_by_handle): Add.
15194 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15195 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
15196 Augment a few comments.
15197 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15198 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15199 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15200 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15201 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15202 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15203 open_by_handle.
15204
46998f74
UD
15205 * io/fcntl.h (AT_EMPTY_PATH): Define.
15206
83fe108b
UD
152072011-03-30 Ulrich Drepper <drepper@gmail.com>
15208
15209 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15210 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15211 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15212 to...
15213 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
15214 * Versions.def: Add GLIBC_2.14.
15215 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15216 Export.
83fe108b 15217
bb242059
UD
152182011-03-22 Ulrich Drepper <drepper@gmail.com>
15219
15220 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15221 round counter.
15222 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15223
c97a1282
L
152242011-03-20 H.J. Lu <hongjiu.lu@intel.com>
15225
15226 [BZ #12597]
15227 * string/test-strncmp.c (do_page_test): New function.
15228 (check2): Likewise.
15229 (test_main): Call check2.
15230 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15231
2a115601
UD
152322011-03-20 Ulrich Drepper <drepper@gmail.com>
15233
15234 [BZ #12587]
15235 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15236 Handle cache information in CPU leaf 4.
15237 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15238
8126d904
UD
152392011-03-18 Ulrich Drepper <drepper@gmail.com>
15240
042c49c6 15241 [BZ #12583]
8126d904
UD
15242 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15243 character representation.
15244 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15245
ccfe366e
RA
152462011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
15247
15248 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15249 END(__isnan) to END(__isnanf) to match function entry point/label
15250 EALIGN(__isnanf,...).
15251
c6e13027
JJ
152522011-03-10 Jakub Jelinek <jakub@redhat.com>
15253
15254 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15255
33f85a3f
UD
152562011-03-10 Ulrich Drepper <drepper@gmail.com>
15257
028478fa
UD
15258 [BZ #12510]
15259 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15260 copy from the symbol referenced in the relocation to initialize the
15261 used variable.
15262 Patch by Piotr Bury <pbury@goahead.com>.
15263 * elf/Makefile: Add rules to build and tst-unique3.
15264 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15265 * elf/tst-unique3.cc: New file.
15266 * elf/tst-unique3.h: New file.
15267 * elf/tst-unique3lib.cc: New file.
15268 * elf/tst-unique3lib2.cc: New file.
15269
33f85a3f
UD
15270 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15271
03592fc7
MF
152722011-03-10 Mike Frysinger <vapier@gentoo.org>
15273
15274 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15275 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
15276 to _start.
03592fc7 15277
6a5ee102
UD
152782011-03-06 Ulrich Drepper <drepper@gmail.com>
15279
15280 * elf/dl-load.c (_dl_map_object): If we are looking for the first
15281 to-be-loaded object along a path to loader is ld.so.
15282
7e4ba49c
HJ
152832011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15284 Ulrich Drepper <drepper@gmail.com>
15285
15286 * sysdeps/x86_64/memset.S: After aligning destination, code
15287 branches to different locations depending on the value of
15288 misalignment, when multiarch is enabled. Fix this.
15289
152902011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15291
15292 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15293 Set _x86_64_preferred_memory_instruction for AMD processsors.
15294 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15295 Set bit_Prefer_SSE_for_memop for AMD processors.
15296
13a804de
UD
152972011-03-04 Ulrich Drepper <drepper@gmail.com>
15298
15299 * libio/fmemopen.c (fmemopen): Optimize a bit.
15300
9d25c392
AS
153012011-03-03 Andreas Schwab <schwab@redhat.com>
15302
15303 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15304
a5543c6a
RM
153052011-03-03 Roland McGrath <roland@redhat.com>
15306
15307 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15308
012d35f7
DM
153092011-02-28 Aurelien Jarno <aurelien@aurel32.net>
15310
7e4ba49c 15311 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
15312 __bzero_ultra1 instead of __memset_ultra1.
15313
4bff6e01
AS
153142011-02-23 Andreas Schwab <schwab@redhat.com>
15315 Ulrich Drepper <drepper@gmail.com>
15316
15317 [BZ #12509]
15318 * include/link.h (struct link_map): Add l_orig_initfini.
15319 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15320 returning unsuccessfully.
15321 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15322 close of a file loaded at startup, restore the original l_initfini
15323 list.
15324 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15325 list, store the pointer.
15326 * elf/Makefile ($(objpfx)noload-mem): New rule.
15327 (noload-ENV): Define.
15328 (tests): Add $(objpfx)noload-mem.
15329 * elf/noload.c: Include <memcheck.h>.
15330 (main): Call mtrace. Close all opened handles.
15331
f2092faf
AS
153322011-02-17 Andreas Schwab <schwab@redhat.com>
15333
15334 [BZ #12454]
15335 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15336 dependencies are missing.
15337
6c8a2e88
ST
153382011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15339
f2092faf 15340 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
15341 Hurd needs munmap.
15342 * sysdeps/mach/hurd/ifreq.h: New file.
15343
84a42118
PB
153442011-01-27 Petr Baudis <pasky@suse.cz>
15345 Ulrich Drepper <drepper@gmail.com>
15346
071f805e 15347 [BZ 12445]#
84a42118
PB
15348 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15349 to extend_alloca().
15350 * stdio-common/bug23.c: New file.
15351 * stdio-common/Makefile (tests): Add bug23.
15352
e23fe25b
AS
153532010-09-28 Andreas Schwab <schwab@redhat.com>
15354 Ulrich Drepper <drepper@gmail.com>
15355
15356 [BZ #12489]
15357 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15358 before performing relro protection. At old place add assertion
15359 to make sure nothing changed.
15360
d3f02e10
NS
153612011-02-17 Nathan Sidwell <nathan@codesourcery.com>
15362 Glauber de Oliveira Costa <glommer@gmail.com>
15363
15364 * elf/elf.h: Add new ARM TLS relocs.
15365
d55fd7a5
RA
153662011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
15367
15368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15369 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15370 cast from r3.
15371 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
15372 'tests' variable.
15373 * sysdeps/wordsize-64/tst-writev.c: New file.
15374
2206397e
RA
153752011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
15376
15377 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
15378 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
15379 insns in _dl_start to prevent a TOC reference before relocs are
15380 resolved.
15381
e9433893
UD
153822011-02-15 Ulrich Drepper <drepper@gmail.com>
15383
15384 [BZ #12469]
15385 * Makeconfig: Remove RANLIB definition.
15386 * Makerules: Don't use RANLIB.
15387 * aclocal.m4: Remove ranlib test.
15388 * configure.in: No need to check for ranlib.
15389 * elf/rtld-Rules: Don't use RANLIB.
15390
f75286c6
ST
153912011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15392
8e31c82d
ST
15393 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15394 protection macro.
15395 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15396 inclusion protection macro.
15397
f75286c6
ST
15398 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
15399 SIGRTMIN and SIGRTMAX and print information in that case only when
15400 SIGRTMIN is defined.
15401
c1d0e639
JJ
154022011-02-11 Jakub Jelinek <jakub@redhat.com>
15403
15404 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15405 arginfo fn returning -1.
15406
15407 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15408 and thousands string is zero terminated.
15409
edf9294e
AS
154102011-02-03 Andreas Schwab <schwab@redhat.com>
15411
15412 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15413 sysdeps/unix/sysv/linux/bits/socket.h.
15414
2b7e92df
ST
154152011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15416
edf9294e
AS
15417 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15418 (__CPU_COUNT): Remove old macros.
15419 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15420 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15421 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
15422 (__sched_cpualloc, __sched_cpufree): Add declarations.
15423
a4c7ea7b
UD
154242011-02-05 Ulrich Drepper <drepper@gmail.com>
15425
15426 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15427 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15428 * nscd/aicache.c (addhstaiX): Return timeout of added value.
15429 (readdhstai): Return value of addhstaiX call.
15430 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15431 (addgrbyX): Return value returned by cache_addgr.
15432 (readdgrbyname): Return value returned by addgrbyX.
15433 (readdgrbygid): Likewise.
15434 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15435 (addpwbyX): Return value returned by cache_addpw.
15436 (readdpwbyname): Return value returned by addhstbyX.
15437 (readdpwbyuid): Likewise.
15438 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15439 (addservbyX): Return value returned by cache_addserv.
15440 (readdservbyname): Return value returned by addservbyX:
15441 (readdservbyport): Likewise.
15442 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15443 (addhstbyX): Return value returned by cache_addhst.
15444 (readdhstbyname): Return value returned by addhstbyX.
15445 (readdhstbyaddr): Likewise.
15446 (readdhstbynamev6): Likewise.
15447 (readdhstbyaddrv6): Likewise.
15448 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15449 (readdinitgroups): Return value returned by addinitgroupsX.
15450 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15451 (prune_cache): Keep track of timeout value of re-added entries.
15452 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15453 * nscd/nscd.h: Adjust prototypes of readd* functions.
15454
a0bf67cc
RM
154552011-02-04 Roland McGrath <roland@redhat.com>
15456
15457 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15458 (nis_stats): Likewise.
15459 * nis/nis_modify.c (nis_modify): Likewise.
15460 * nis/nis_remove.c (nis_remove): Likewise.
15461 * nis/nis_add.c (nis_add): Likewise.
15462
15463 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15464
15465 * posix/fnmatch_loop.c: Add some consts.
15466
15467 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15468
435b95eb
L
154692011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15470
15471 [BZ #12460]
15472 * config.make.in (config-cflags-novzeroupper): Define.
15473 * configure.in: Substitute libc_cv_cc_novzeroupper.
15474 * elf/Makefile (AVX-CFLAGS): Define.
15475 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15476 (CFLAGS-tst-auditmod4a.c): Likewise.
15477 (CFLAGS-tst-auditmod4b.c): Likewise.
15478 (CFLAGS-tst-auditmod6b.c): Likewise.
15479 (CFLAGS-tst-auditmod6c.c): Likewise.
15480 (CFLAGS-tst-auditmod7b.c): Likewise.
15481 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15482
8517b15e
UD
154832011-02-02 Ulrich Drepper <drepper@gmail.com>
15484
15485 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15486 function to the callback.
15487 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15488
10a656fe
AS
154892011-02-02 Andreas Schwab <schwab@redhat.com>
15490
15491 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15492 of errno.
15493
968dad0a
UD
154942011-01-19 Ulrich Drepper <drepper@gmail.com>
15495
9f94d2ea 15496 [BZ #11724]
968dad0a
UD
15497 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15498 of constructors.
15499 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15500 of destructors.
15501 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15502
15503 [BZ #11724]
15504 * elf/Makefile: Add rules to build and run new test.
15505 * elf/tst-initorder.c: New file.
15506 * elf/tst-initorder.exp: New file.
15507 * elf/tst-initordera1.c: New file.
15508 * elf/tst-initordera2.c: New file.
15509 * elf/tst-initordera3.c: New file.
15510 * elf/tst-initordera4.c: New file.
15511 * elf/tst-initorderb1.c: New file.
15512 * elf/tst-initorderb2.c: New file.
15513 * elf/tst-order-a1.c: New file.
15514 * elf/tst-order-a2.c: New file.
15515 * elf/tst-order-a3.c: New file.
15516 * elf/tst-order-a4.c: New file.
15517 * elf/tst-order-b1.c: New file.
15518 * elf/tst-order-b2.c: New file.
15519 * elf/tst-order-main.c: New file.
15520 New test case by George Gensure <werkt0@gmail.com>.
15521
86e92359
UD
155222010-10-01 Andreas Schwab <schwab@redhat.com>
15523
15524 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15525 decoding ACE if AI_CANONIDN.
15526
5d5732b0
UD
155272011-01-18 Ulrich Drepper <drepper@gmail.com>
15528
15529 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15530
a77e8cbc
UD
155312011-01-17 Ulrich Drepper <drepper@gmail.com>
15532
6392473f
UD
15533 * version.h (RELEASE): Bump for 2.13 release.
15534 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15535
620a0529
UD
15536 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15537
18ba70a5
UD
15538 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15539 MADV_NOHUGEPAGE.
32465c3e
UD
15540 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15541 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15542 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15543 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15544 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15545 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15546
c0dafcf1
UD
15547 * posix/getconf.c: Update copyright year.
15548 * catgets/gencat.c: Likewise.
15549 * csu/version.c: Likewise.
15550 * debug/catchsegv.sh: Likewise.
15551 * debug/xtrace.sh: Likewise.
15552 * elf/ldconfig.c: Likewise.
15553 * elf/ldd.bash.in: Likewise.
15554 * elf/sprof.c (print_version): Likewise.
15555 * iconv/iconv_prog.c: Likewise.
15556 * iconv/iconvconfig.c: Likewise.
15557 * locale/programs/locale.c: Likewise.
15558 * locale/programs/localedef.c: Likewise.
15559 * malloc/memusage.sh: Likewise.
15560 * malloc/mtrace.pl: Likewise.
15561 * nscd/nscd.c (print_version): Likewise.
15562 * nss/getent.c: Likewise.
15563
a77e8cbc
UD
15564 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15565 PF_CAIF, and PF_ALG.
15566 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15567
77e8bddf
AS
155682011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15569
1f20b93a
AS
15570 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15571 (modules-names): Use them.
15572 (ifunc-test-modules, ifunc-pie-tests): Define.
15573 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15574 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15575 (test-extras): Likewise.
15576 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15577 $(compile-command.c).
15578 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15579 (all-built-dso): Define.
15580 (check-textrel.out, check-execstack.out): Depend on it.
15581
77e8bddf
AS
15582 * configure.in: Don't override --enable-multi-arch.
15583
bc425b33
UD
155842011-01-15 Ulrich Drepper <drepper@gmail.com>
15585
15586 [BZ #6812]
15587 * nscd/hstcache.c (tryagain): Define.
15588 (cache_addhst): Return tryagain not notfound for temporary errors.
15589 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15590 failed.
15591
794c3ad3
UD
155922011-01-14 Ulrich Drepper <drepper@gmail.com>
15593
70181fdd
UD
15594 [BZ #10563]
15595 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15596 to make the syscall.
15597 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15598
794c3ad3
UD
15599 [BZ #12378]
15600 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15601 and fall back to matching as normal character if the string ends before
15602 the matching ']' is found. This is what POSIX requires.
15603 * posix/testfnm.c: Adjust test result.
15604 * posix/globtest.sh: Adjust test result. Add new test.
15605 * posix/tst-fnmatch.input: Likewise.
15606 * posix/tst-fnmatch2.c: Add new test.
15607
68dc9497
AS
156082010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15609
15610 * elf/Makefile (check-execstack): Revert last change. Depend on
15611 check-execstack.h.
15612 (check-execstack.h): New target.
15613 (generated): Add check-execstack.h.
15614 * elf/check-execstack.c: Include "check-execstack.h".
15615 (main): Revert last change.
15616 (handle_file): Return zero if GNU_STACK is absent and
15617 DEFAULT_STACK_PERMS doesn't include PF_X.
15618
451f001b
UD
156192011-01-13 Ulrich Drepper <drepper@gmail.com>
15620
cfa28e56
UD
15621 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15622 in child fails because the descriptor is already closed.
8cf8ce17
UD
15623 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15624 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15625 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 15626
1086d70d
UD
15627 [BZ #12397]
15628 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15629 syscall.
15630
451f001b
UD
15631 [BZ #10484]
15632 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15633 temporary buffer used to handle multi lookups locally.
a85b5cb4 15634 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 15635
08769175
UD
156362011-01-12 Ulrich Drepper <drepper@gmail.com>
15637
15638 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15639 loader is ld.so.
15640
5e49c52e
UD
156412011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15642
15643 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15644 alignment for SSE2.
15645
60522a5f
UD
156462011-01-12 Ulrich Drepper <drepper@gmail.com>
15647
15648 [BZ #12394]
15649 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15650 characters. When rounding increased number of integer digits recompute
15651 number of groups.
15652 * stdio-common/tst-grouping.c: New file.
15653 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15654
f257bbd7
UD
156552011-01-09 Ulrich Drepper <drepper@gmail.com>
15656
15657 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15658 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15659
15660 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15661 void.
15662 * bits/select.h: Likewise.
15663
fa9c15cb
UD
156642011-01-08 Ulrich Drepper <drepper@gmail.com>
15665
15666 * po/ja.po: Update from translation team.
15667
16c2895f
DM
156682011-01-04 David S. Miller <davem@sunset.davemloft.net>
15669
15670 [BZ #11155]
15671 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15672 implementation just like for lxstat, fxstatat, et al.
15673
2543fef2
JM
156742010-12-27 Jim Meyering <meyering@redhat.com>
15675
15676 [BZ #12348]
15677 * posix/regexec.c (build_trtable): Return failure indication upon
15678 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15679
98727dbe
UD
156802010-12-25 Ulrich Drepper <drepper@gmail.com>
15681
5bd6dc5c
UD
15682 [BZ #12201]
15683 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15684 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15685 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15686 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15687
97983464
UD
15688 [BZ #12207]
15689 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15690
98727dbe
UD
15691 [BZ #12204]
15692 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15693 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15694
4a531bb0
L
156952010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15696
15697 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15698 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15699 script has SORT_BY_INIT_PRIORITY.
15700 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15701 NO_CTORS_DTORS_SECTIONS is defined.
15702 * elf/soinit.c: Likewise.
15703 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15704 NO_CTORS_DTORS_SECTIONS is defined.
15705 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15706 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15707 * sysdeps/sh/init-first.c: Likewise.
15708 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15709
07eb4b71
UD
157102010-12-24 Ulrich Drepper <drepper@gmail.com>
15711
15712 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15713 always use the slow path.
15714
30950a5f
RA
157152010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15716
15717 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15718 similar rule which adds the sysdep directories to the header search in
15719 order to pick up the correct platform stackinfo.h.
15720 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15721 perform test if it is, otherwise return successfully without testing.
15722 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15723 DEFAULT_STACK_PERMS define in stackinfo.h.
15724 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15725 defined in stackinfo.h.
15726 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15727 DEFAULT_STACK_PERMS defined in stackinfo.h.
15728 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15729 * sysdeps/ia64/stackinfo.h: Likewise.
15730 * sysdeps/s390/stackinfo.h: Likewise.
15731 * sysdeps/sh/stackinfo.h: Likewise.
15732 * sysdeps/sparc/stackinfo.h: Likewise.
15733 * sysdeps/x86_64/stackinfo.h: Likewise.
15734 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15735 PF_X for powerpc64. Retain PF_X for powerpc32.
15736
db753e2c
UD
157372010-12-19 Ulrich Drepper <drepper@gmail.com>
15738
14b697f7
UD
15739 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15740 accurately.
db753e2c
UD
15741 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15742 GETDENTS_64BIT_ALIGNED.
15743
28300719
UD
157442010-12-14 Ulrich Drepper <dreper@gmail.com>
15745
14b697f7 15746 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15747
4f197237
AS
157482010-12-10 Andreas Schwab <schwab@redhat.com>
15749
dbb0472f
AS
15750 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15751 _GNU_SOURCE.
15752
4f197237
AS
15753 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15754 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15755 Remove __restrict.
15756 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15757 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15758
fb88ac72
UD
157592010-12-09 Ulrich Drepper <drepper@gmail.com>
15760
15761 [BZ #11655]
15762 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15763 are initialized.
15764
42acbb92
JJ
157652010-12-09 Jakub Jelinek <jakub@redhat.com>
15766
15767 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15768
c038d98d
UD
157692010-12-03 Ulrich Drepper <drepper@gmail.com>
15770
15771 * po/it.po: Update from translation team.
15772
3a4a2499
L
157732010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15774
15775 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15776 unused codes.
15777
1e24cf6e
UD
157782010-11-30 Ulrich Drepper <drepper@gmail.com>
15779
15780 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15781
a7690819
AS
157822010-11-24 Andreas Schwab <schwab@redhat.com>
15783
15784 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15785 specially.
15786 (gaih_getanswer_slice): Likewise.
15787
3bf8d1b1
JJ
157882010-10-20 Jakub Jelinek <jakub@redhat.com>
15789
15790 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15791
6db52fbb
PB
157922010-05-31 Petr Baudis <pasky@suse.cz>
15793
15794 [BZ #11149]
15795 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15796 silently even in the chroot mode.
15797
eaca7569
UD
157982010-11-22 Ulrich Drepper <drepper@gmail.com>
15799
15800 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15801 last patch a bit. Pretty printing
15802
3056dcdb
UD
158032010-05-31 Petr Baudis <pasky@suse.cz>
15804
15805 [BZ #10085]
15806 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15807 initialization of skip_initgroups_dyn.
15808
cf7c9078
UD
158092010-11-19 Ulrich Drepper <drepper@gmail.com>
15810
15811 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15812 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15813
a1fb5e3e
UD
158142010-11-16 Ulrich Drepper <drepper@gmail.com>
15815
15816 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15817
3540d66b
AS
158182010-11-11 Andreas Schwab <schwab@redhat.com>
15819
15820 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15821 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15822 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15823 ($(objpfx)tst-fnmatch-mem): New rule.
15824 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15825 * posix/tst-fnmatch.c (main): Call mtrace.
15826
13b69574
L
158272010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15828
15829 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15830 Support Intel processor model 6 and model 0x2c.
15831
da93d214
LM
158322010-11-10 Luis Machado <luisgpm@br.ibm.com>
15833
15834 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15835 signed comparison.
15836
8ca52c6e
L
158372010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15838
15839 [BZ #12205]
15840 * string/test-strncasecmp.c (check_result): New function.
15841 (do_one_test): Use it.
15842 (check1): New function.
15843 (test_main): Use it.
15844 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15845 Support strcasecmp and strncasecmp.
15846
69da074d
UD
158472010-11-08 Ulrich Drepper <drepper@gmail.com>
15848
15849 [BZ #12194]
15850 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15851 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15852
ff02d528
L
158532010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15854
15855 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15856 IFUNC support.
15857 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15858 memset-x86-64.
15859 * sysdeps/x86_64/multiarch/bzero.S: New file.
15860 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15861 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15862 * sysdeps/x86_64/multiarch/memset.S: New file.
15863 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15864 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15865 Set bit_Prefer_SSE_for_memop for Intel processors.
15866 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15867 Define.
15868 (index_Prefer_SSE_for_memop): Define.
15869 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15870
344d0b54
LM
158712010-11-04 Luis Machado <luisgpm@br.ibm.com>
15872
15873 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15874 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15875
c0dde15b
UD
158762010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15877
15878 [BZ #12191]
15879 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15880 (__x86_64_raw_data_cache_size_half): Likewise.
15881 (__x86_64_raw_shared_cache_size): Likewise.
15882 (__x86_64_raw_shared_cache_size_half): Likewise.
15883
15884 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15885 (__x86_64_raw_data_cache_size_half): Likewise.
15886 (__x86_64_raw_shared_cache_size): Likewise.
15887 (__x86_64_raw_shared_cache_size_half): Likewise.
15888 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15889 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15890 and __x86_64_raw_shared_cache_size_half. Round
15891 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15892 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15893 to multiple of 256 bytes.
15894
0e516e0e
MS
158952010-11-03 Ulrich Drepper <drepper@gmail.com>
15896
15897 [BZ #12167]
15898 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15899 of inacessible symlinks. Verify result of symlink before returning it.
15900 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15901 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15902
0e012e87
ER
159032010-10-28 Erich Ritz <erichritz@gmail.com>
15904
15905 * math/math.h (isinf): Fix typo in comment.
15906
de0ff7bc
UD
159072010-11-01 Ulrich Drepper <drepper@gmail.com>
15908
15909 * po/da.po: Update from translation team.
15910
fa41c84d
UD
159112010-10-26 Ulrich Drepper <drepper@gmail.com>
15912
15913 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15914 is added to the list.
15915
f0967738
AK
159162010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15917 Ulrich Drepper <drepper@gmail.com>
15918
15919 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15920 the global list here. Move code to...
15921 (_dl_add_to_namespace_list): ...here. New function.
15922 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15923 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15924 * elf/dl-load.c (lose): Don't remove the element from the list.
15925 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15926 (_dl_map_object): Likewise.
15927
159282010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15929
15930 [BZ #12159]
15931 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15932 into all bytes of SSE register.
15933 Patch by Richard Li <richardpku@gmail.com>.
15934
f0967738 159352010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15936
15937 [BZ #12140]
15938 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15939 perturbing.
15940
d0b9e94f
MB
159412010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15942
15943 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15944 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15945 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15946 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15948 submachine.
15949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15950
8e9f92e9
AS
159512010-10-22 Andreas Schwab <schwab@redhat.com>
15952
15953 * include/dlfcn.h (__RTLD_SECURE): Define.
15954 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15955 mode & __RTLD_SECURE instead.
15956 (open_path): Rename preloaded parameter to secure.
15957 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15958 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15959 * elf/dl-deps.c (openaux): Likewise.
15960 * elf/rtld.c (struct map_args): Remove is_preloaded.
15961 (map_doit): Don't use it.
15962 (dl_main): Likewise.
15963 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15964 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15965
bc96fbda
AS
159662010-09-09 Andreas Schwab <schwab@redhat.com>
15967
15968 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15969 (sysd-rules-targets): Remove duplicates.
15970 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15971 rtld-%.$o dependency.
15972
22cd1c9b
AS
159732010-10-18 Andreas Schwab <schwab@redhat.com>
15974
15975 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15976 _dl_map_object do it.
15977
18edac48
UD
159782010-10-19 Ulrich Drepper <drepper@gmail.com>
15979
15980 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15981 fast fma builtins, define the macros in the C99 standard.
15982 (FP_FAST_FMAF): Likewise.
15983 (FP_FAST_FMAL): Likewise.
15984 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15985
15986 * bits/mathdef.h: Update copyright year.
15987 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15988
d2050124
MM
159892010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15990
15991 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15992 builtins, define the macros in the C99 standard.
15993 (FP_FAST_FMAF): Likewise.
15994 (FP_FAST_FMAL): Likewise.
15995 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15996 multiply/add.
15997 (FP_FAST_FMAF): Likewise.
15998
475facd1
JJ
159992010-10-15 Jakub Jelinek <jakub@redhat.com>
16000
16001 [BZ #3268]
16002 * math/libm-test.inc (fma_test): Some new testcases.
16003 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16004 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16005 y and infinite z. Do multiplication by C already in long double.
16006 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16007 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16008 y and infinite z. Do bitwise or of inexact bit into u.d.
16009 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16010 * sysdeps/i386/fpu/s_fmaf.S: Removed.
16011 * sysdeps/i386/fpu/s_fma.S: Removed.
16012 * sysdeps/i386/fpu/s_fmal.S: Removed.
16013
7c08a05c
JJ
160142010-10-16 Jakub Jelinek <jakub@redhat.com>
16015
16016 [BZ #3268]
16017 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16018 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16019 computation is not scheduled after fetestexcept. Fix value
16020 of minimum denormal long double.
16021
f3f7372d
JJ
160222010-10-14 Jakub Jelinek <jakub@redhat.com>
16023
16024 [BZ #3268]
16025 * math/libm-test.inc (fma_test): Add some more tests.
16026 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16027 correctly.
16028
14d43591
AS
160292010-10-15 Andreas Schwab <schwab@redhat.com>
16030
16031 * scripts/data/localplt-s390-linux-gnu.data: New file.
16032 * scripts/data/localplt-s390x-linux-gnu.data: New file.
16033
5e908464
JJ
160342010-10-13 Jakub Jelinek <jakub@redhat.com>
16035
16036 [BZ #3268]
16037 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16038 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16039 instead of dbl-64.
16040 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16041 inlines.
16042 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16043 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16044 if one of x and y is very large and the other is subnormal.
16045 * sysdeps/s390/fpu/s_fmaf.c: New file.
16046 * sysdeps/s390/fpu/s_fma.c: New file.
16047 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16048 * sysdeps/powerpc/fpu/s_fma.S: New file.
16049 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16050 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16051 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16052
160532010-10-12 Jakub Jelinek <jakub@redhat.com>
16054
16055 [BZ #3268]
16056 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16057 fma tests.
16058 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16059 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16060 * sysdeps/i386/i686/multiarch/s_fma.c: Include
16061 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16062 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16063 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16064 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16065
b833d51f
UD
160662010-10-12 Ulrich Drepper <drepper@redhat.com>
16067
16068 [BZ #12078]
16069 * posix/regcomp.c (parse_branch): One more memory leak plugged.
16070 * posix/bug-regex31.input: Add test case.
16071
1751705d
UD
160722010-10-11 Ulrich Drepper <drepper@gmail.com>
16073
e9b9cbf5
UD
16074 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16075 * posix/bug-regex31.input: New file.
16076
16077 [BZ #12078]
16078 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16079 (parse_sub_exp): Fix last change, use postorder.
16080
ef06edbe
UD
16081 * posix/bug-regex31.c: New file.
16082 * posix/Makefile: Add rules to build and run bug-regex31.
16083
a129c80d
UD
16084 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16085
16086 [BZ #12078]
16087 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16088
b76b818e
UD
16089 [BZ #12108]
16090 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16091 to have entries in sys_siglist.
16092
1751705d
UD
16093 [BZ #12093]
16094 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16095 be NULL.
16096
9ff8d36f
JJ
160972010-10-07 Jakub Jelinek <jakub@redhat.com>
16098
16099 [BZ #3268]
16100 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16101 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16102 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16103 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16104 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16105 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16106 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16107 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16108 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16109 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16110 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16111 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16112 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16113 * math/ftestexcept.c (fetestexcept): Likewise.
16114 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16115 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16116 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16117 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16118 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16119 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16120 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16121
af325969
UD
161222010-10-11 Ulrich Drepper <drepper@gmail.com>
16123
c579b202 16124 [BZ #12107]
af325969
UD
16125 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16126 newline.
16127
67a67b95
UD
161282010-10-06 Ulrich Drepper <drepper@gmail.com>
16129
16130 * string/bug-strstr1.c: New file.
16131 * string/Makefile: Add rules to build and run bug-strstr1.
16132
5fb308bc
EB
161332010-10-05 Eric Blake <eblake@redhat.com>
16134
16135 [BZ #12092]
16136 * string/str-two-way.h (two_way_long_needle): Always clear memory
16137 when skipping input due to the shift table.
16138
45db99c7
UD
161392010-10-03 Ulrich Drepper <drepper@gmail.com>
16140
3b111893
UD
16141 [BZ #12005]
16142 * malloc/mcheck.c: Handle large requests.
16143
45db99c7
UD
16144 [BZ #12077]
16145 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16146 for strncmp and strncasecmp.
16147 * string/stratcliff.c: Add tests for strcmp and strncmp.
16148 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16149
cf7a1eb8
NI
161502010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16151
16152 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16153 __set_fpscr.
16154
6484ba5e
AJ
161552010-09-30 Andreas Jaeger <aj@suse.de>
16156
16157 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16158 (CGROUP_SUPER_MAGIC): Define.
16159 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16160 Handle btrfs and cgroup file systems.
16161 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16162 Likewise.
16163
91c42559
LM
161642010-09-27 Luis Machado <luisgpm@br.ibm.com>
16165
16166 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16167 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16168
87a97932
AK
161692010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16170
16171 [BZ #12067]
16172 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16173 trying to locate the ELF header.
16174
c21cc9bc
AS
161752010-09-27 Andreas Schwab <schwab@redhat.com>
16176
16177 [BZ #11611]
16178 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16179 Mask out sign-bit copies when constructing f_fsid.
16180
315970f6
PB
161812010-09-24 Petr Baudis <pasky@suse.cz>
16182
16183 * debug/stack_chk_fail_local.c: Add missing licence exception.
16184 * debug/warning-nop.c: Likewise.
16185
1ac7a2c7
JM
161862010-09-15 Joseph Myers <joseph@codesourcery.com>
16187
16188 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16189 implementing getdents64 using getdents syscall, set d_type if
16190 __ASSUME_GETDENTS32_D_TYPE.
16191
56801c50
AS
161922010-09-16 Andreas Schwab <schwab@redhat.com>
16193
16194 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16195 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16196
dda51327
UD
161972010-09-21 Ulrich Drepper <drepper@redhat.com>
16198
16199 [BZ #12037]
16200 * posix/unistd.h: Undo change of feature selection for ftruncate from
16201 2010-01-11.
16202
8ffcee4a
UD
162032010-09-20 Ulrich Drepper <drepper@redhat.com>
16204
a545ecd9 16205 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
16206 detection.
16207
e24f0a8b
AS
162082010-09-20 Andreas Schwab <schwab@redhat.com>
16209
16210 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16211 fanotify_mark.
16212 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16213
7291c56f
AS
162142010-09-14 Andreas Schwab <schwab@redhat.com>
16215
16216 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16217 variables after CHECK_SP call.
16218 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16219
bc5fb037
AS
162202010-09-13 Andreas Schwab <schwab@redhat.com>
16221 Ulrich Drepper <drepper@redhat.com>
16222
16223 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16224 re-relocationg ld.so.
16225 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16226 _dl_init_paths call.
16227 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
16228 here anymore.
16229
e66e7419
UD
162302010-09-14 Ulrich Drepper <drepper@redhat.com>
16231
16232 * resolv/res_init.c (__res_vinit): Count the default server we added.
16233
c044aa75
CLT
162342010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
16235 Ulrich Drepper <drepper@redhat.com>
16236
16237 [BZ #11968]
16238 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16239 (____longjmp_chk): Use %ebx for saving value across system call.
16240 Add unwind info.
16241
32cf4069
AS
162422010-09-06 Andreas Schwab <schwab@redhat.com>
16243
16244 * manual/Makefile: Don't mix pattern rules with normal rules.
16245
817328ee
AS
162462010-09-05 Andreas Schwab <schwab@linux-m68k.org>
16247
16248 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16249 operation.
16250 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16251 * libio/iofopncook.c (_IO_cookie_init): Likewise.
16252 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16253 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16254 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16255 Likewise.
16256
29fddf61
UD
162572010-09-04 Ulrich Drepper <drepper@redhat.com>
16258
16259 [BZ #11979]
16260 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16261 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16262
0959ffc9
UD
162632010-09-02 Ulrich Drepper <drepper@redhat.com>
16264
16265 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16266 * sysdeps/x86_64/addmul_1.S: Likewise.
16267 * sysdeps/x86_64/lshift.S: Likewise.
16268 * sysdeps/x86_64/mul_1.S: Likewise.
16269 * sysdeps/x86_64/rshift.S: Likewise.
16270 * sysdeps/x86_64/sub_n.S: Likewise.
16271 * sysdeps/x86_64/submul_1.S: Likewise.
16272
ece29840
ST
162732010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
16274
0959ffc9
UD
16275 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16276 Define __sched_param instead of SCHED_* and sched_param when
ece29840 16277 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 16278 * bits/sched.h [__need_schedparam]
ece29840 16279 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
16280 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16281 (__defined_schedparam): Define to 1.
ece29840
ST
16282 (__sched_param): New structure, identical to sched_param.
16283 (__need_schedparam): Undefine.
16284
e53a31fe
MF
162852010-08-31 Mike Frysinger <vapier@gentoo.org>
16286
fdc0c10d
MF
16287 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16288 (epoll_create1): Declare.
16289
e53a31fe
MF
16290 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16291
a726d796
AS
162922010-08-31 Andreas Schwab <schwab@redhat.com>
16293
16294 [BZ #7066]
16295 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16296 shifting retval into place.
16297
2f3e3dc7
UD
162982010-09-01 Ulrich Drepper <drepper@redhat.com>
16299
f2933da9
UD
16300 * nis/rpcsvc/nis.h: Update copyright notice.
16301 * nis/rpcsvc/nis.x: Likewise.
16302 * nis/rpcsvc/nis_callback.h: Likewise.
16303 * nis/rpcsvc/nis_callback.x: Likewise.
16304 * nis/rpcsvc/nis_object.x: Likewise.
16305 * nis/rpcsvc/nis_tags.h: Likewise.
16306 * nis/rpcsvc/yp.h: Likewise.
16307 * nis/rpcsvc/yp.x: Likewise.
16308 * nis/rpcsvc/ypupd.h: Likewise.
16309 * nis/yp_xdr.c: Likewise.
16310 * nis/ypupdate_xdr.c: Likewise.
16311
2f3e3dc7
UD
16312 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
16313 mainly the body of pmap_getport. Add parameters to specify timeouts.
16314 (pmap_getport): Use __libc_rpc_getport.
16315 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16316 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16317 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16318
f3dcc2f9
AS
163192010-08-31 Andreas Schwab <schwab@linux-m68k.org>
16320
16321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16322 fanotify_mark.
16323
6d34eb5b
RM
163242010-08-27 Roland McGrath <roland@redhat.com>
16325
16326 * sysdeps/i386/i686/multiarch/Makefile
16327 (CFLAGS-varshift.c): New variable.
16328
9ea3de11
UD
163292010-08-27 Ulrich Drepper <drepper@redhat.com>
16330
c96d23fc
UD
16331 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16332 * sysdeps/i386/i686/multiarch/varshift.c: New file.
16333
9ea3de11
UD
16334 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16335
16336 * sysdeps/x86_64/strlen.S: Minimal code improvement.
16337
623aac7f
L
163382010-08-26 H.J. Lu <hongjiu.lu@intel.com>
16339
16340 * sysdeps/x86_64/strlen.S: Unroll the loop.
16341 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16342 strlen-sse2 strlen-sse2-bsf.
16343 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16344 __strlen_no_bsf if bit_Slow_BSF is set.
16345 (__strlen_sse42): Removed.
16346 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16347 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16348
8b2b7715
RM
163492010-08-25 Roland McGrath <roland@redhat.com>
16350
16351 * sysdeps/x86_64/multiarch/varshift.S: File removed.
16352 * sysdeps/x86_64/multiarch/varshift.c: New file.
16353 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16354 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16355 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16356 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16357
e73015f2
L
163582010-08-25 H.J. Lu <hongjiu.lu@intel.com>
16359
16360 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16361 strlen-sse2 strlen-sse2-bsf.
16362 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16363 __strlen_sse2_bsf if bit_Slow_BSF is unset.
16364 (__strlen_sse2): Removed.
16365 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16366 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16368 bit_Slow_BSF for Atom.
16369 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16370 (index_Slow_BSF): Define.
16371 (HAS_SLOW_BSF): Define.
16372
df24a73e
UD
163732010-08-25 Ulrich Drepper <drepper@redhat.com>
16374
16375 [BZ #10851]
16376 * resolv/res_init.c (__res_vinit): When no server address at all
16377 is given default to loopback.
16378
f2ac4868
RM
163792010-08-24 Roland McGrath <roland@redhat.com>
16380
09055553
RM
16381 * configure.in: Remove config-name.h generation.
16382 * configure: Regenerated.
16383 * config-name.in: File removed.
16384 * scripts/config-uname.sh: New file.
16385 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16386 ($(objdir)config-name.h): New target.
16387
f2ac4868
RM
16388 * sunrpc/rpc_parse.h: Avoid nested comment.
16389
73f27d5e
RH
163902010-08-24 Richard Henderson <rth@redhat.com>
16391 Ulrich Drepper <drepper@redhat.com>
16392 H.J. Lu <hongjiu.lu@intel.com>
16393
16394 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16395 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16396 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16397 Replace _mm_srli_si128 with __m128i_shift_right. Replace
16398 _mm_alignr_epi8 with _mm_loadu_si128.
16399 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
16400 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
16401 (__m128i_shift_right): Removed.
16402 * sysdeps/i386/i686/multiarch/varshift.h: New file.
16403 * sysdeps/i386/i686/multiarch/varshift.S: New file.
16404 * sysdeps/x86_64/multiarch/varshift.h: New file.
16405 * sysdeps/x86_64/multiarch/varshift.S: New file.
16406
84b9230c
MF
164072010-08-21 Mike Frysinger <vapier@gentoo.org>
16408
16409 * configure.in: Move assembler checks to before sysdep dir checking.
16410
9bbd0ddc
PB
164112010-08-20 Petr Baudis <pasky@suse.cz>
16412
16413 * LICENSES: Sync the sunrpc license.
16414
9da4bb31
UD
164152010-08-19 Ulrich Drepper <drepper@redhat.com>
16416
a7ab6ec8
UD
16417 * sunrpc/auth_des.c: Update copyright notice once again.
16418 * sunrpc/auth_none.c: Likewise.
16419 * sunrpc/auth_unix.c: Likewise.
16420 * sunrpc/authdes_prot.c: Likewise.
16421 * sunrpc/authuxprot.c: Likewise.
16422 * sunrpc/bindrsvprt.c: Likewise.
16423 * sunrpc/clnt_gen.c: Likewise.
16424 * sunrpc/clnt_perr.c: Likewise.
16425 * sunrpc/clnt_raw.c: Likewise.
16426 * sunrpc/clnt_simp.c: Likewise.
16427 * sunrpc/clnt_tcp.c: Likewise.
16428 * sunrpc/clnt_udp.c: Likewise.
16429 * sunrpc/clnt_unix.c: Likewise.
16430 * sunrpc/des_crypt.c: Likewise.
16431 * sunrpc/des_soft.c: Likewise.
16432 * sunrpc/get_myaddr.c: Likewise.
16433 * sunrpc/getrpcport.c: Likewise.
16434 * sunrpc/key_call.c: Likewise.
16435 * sunrpc/key_prot.c: Likewise.
16436 * sunrpc/openchild.c: Likewise.
16437 * sunrpc/pm_getmaps.c: Likewise.
16438 * sunrpc/pm_getport.c: Likewise.
16439 * sunrpc/pmap_clnt.c: Likewise.
16440 * sunrpc/pmap_prot.c: Likewise.
16441 * sunrpc/pmap_prot2.c: Likewise.
16442 * sunrpc/pmap_rmt.c: Likewise.
16443 * sunrpc/rpc/auth.h: Likewise.
16444 * sunrpc/rpc/auth_unix.h: Likewise.
16445 * sunrpc/rpc/clnt.h: Likewise.
16446 * sunrpc/rpc/des_crypt.h: Likewise.
16447 * sunrpc/rpc/key_prot.h: Likewise.
16448 * sunrpc/rpc/netdb.h: Likewise.
16449 * sunrpc/rpc/pmap_clnt.h: Likewise.
16450 * sunrpc/rpc/pmap_prot.h: Likewise.
16451 * sunrpc/rpc/pmap_rmt.h: Likewise.
16452 * sunrpc/rpc/rpc.h: Likewise.
16453 * sunrpc/rpc/rpc_des.h: Likewise.
16454 * sunrpc/rpc/rpc_msg.h: Likewise.
16455 * sunrpc/rpc/svc.h: Likewise.
16456 * sunrpc/rpc/svc_auth.h: Likewise.
16457 * sunrpc/rpc/types.h: Likewise.
16458 * sunrpc/rpc/xdr.h: Likewise.
16459 * sunrpc/rpc_clntout.c: Likewise.
16460 * sunrpc/rpc_cmsg.c: Likewise.
16461 * sunrpc/rpc_common.c: Likewise.
16462 * sunrpc/rpc_cout.c: Likewise.
16463 * sunrpc/rpc_dtable.c: Likewise.
16464 * sunrpc/rpc_hout.c: Likewise.
16465 * sunrpc/rpc_main.c: Likewise.
16466 * sunrpc/rpc_parse.c: Likewise.
16467 * sunrpc/rpc_parse.h: Likewise.
16468 * sunrpc/rpc_prot.c: Likewise.
16469 * sunrpc/rpc_sample.c: Likewise.
16470 * sunrpc/rpc_scan.c: Likewise.
16471 * sunrpc/rpc_scan.h: Likewise.
16472 * sunrpc/rpc_svcout.c: Likewise.
16473 * sunrpc/rpc_tblout.c: Likewise.
16474 * sunrpc/rpc_util.c: Likewise.
16475 * sunrpc/rpc_util.h: Likewise.
16476 * sunrpc/rpcinfo.c: Likewise.
16477 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16478 * sunrpc/rpcsvc/key_prot.x: Likewise.
16479 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16480 * sunrpc/rpcsvc/mount.x: Likewise.
16481 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16482 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16483 * sunrpc/rpcsvc/rex.x: Likewise.
16484 * sunrpc/rpcsvc/rstat.x: Likewise.
16485 * sunrpc/rpcsvc/rusers.x: Likewise.
16486 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16487 * sunrpc/rpcsvc/spray.x: Likewise.
16488 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16489 * sunrpc/rtime.c: Likewise.
16490 * sunrpc/svc.c: Likewise.
16491 * sunrpc/svc_auth.c: Likewise.
16492 * sunrpc/svc_authux.c: Likewise.
16493 * sunrpc/svc_raw.c: Likewise.
16494 * sunrpc/svc_run.c: Likewise.
16495 * sunrpc/svc_simple.c: Likewise.
16496 * sunrpc/svc_tcp.c: Likewise.
16497 * sunrpc/svc_udp.c: Likewise.
16498 * sunrpc/svc_unix.c: Likewise.
16499 * sunrpc/svcauth_des.c: Likewise.
16500 * sunrpc/xcrypt.c: Likewise.
16501 * sunrpc/xdr.c: Likewise.
16502 * sunrpc/xdr_array.c: Likewise.
16503 * sunrpc/xdr_float.c: Likewise.
16504 * sunrpc/xdr_mem.c: Likewise.
16505 * sunrpc/xdr_rec.c: Likewise.
16506 * sunrpc/xdr_ref.c: Likewise.
16507 * sunrpc/xdr_sizeof.c: Likewise.
16508 * sunrpc/xdr_stdio.c: Likewise.
16509
9da4bb31
UD
16510 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16511 handling.
16512
bdaa77bc
AS
165132010-08-19 Andreas Schwab <schwab@redhat.com>
16514
16515 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16516
fe2f79db
LM
165172010-08-19 Luis Machado <luisgpm@br.ibm.com>
16518
16519 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16520 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16521 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16522 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16523 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16524 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16525 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16526 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16527 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16528 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16529 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16530 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16531 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16532 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16533
b9b42ee0
AB
165342010-07-26 Anton Blanchard <anton@samba.org>
16535
16536 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16537 * malloc/arena.c (heap_trim): Likewise.
16538
1c06ba31
UD
165392010-08-16 Ulrich Drepper <drepper@redhat.com>
16540
16541 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16542 here. Not...
16543 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16544 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16545
f8392f40
L
165462010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16547
16548 * sysdeps/i386/elf/Makefile: New file.
16549
3162f12e
AS
165502010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16551
16552 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16553 from fanotify_init.
16554 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16555 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16556
28c90b2c
UD
165572010-08-15 Ulrich Drepper <drepper@redhat.com>
16558
16559 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16560 of strncasecmp_l.
1feccb6c 16561 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 16562
ca6bb004
UD
165632010-08-14 Ulrich Drepper <drepper@redhat.com>
16564
e9f82e0d
UD
16565 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16566 strncase_l-nonascii.
16567 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16568 Add strncase_l-ssse3.
16569 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16570 * sysdeps/x86_64/strcmp.S: Likewise.
16571 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16572 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16573 * sysdeps/x86_64/strncase.S: New file.
16574 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16575 * sysdeps/x86_64/strncase_l.S: New file.
16576 * string/Makefile (strop-tests): Add strncasecmp.
16577 * string/test-strncasecmp.c: New file.
16578
16579 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16580 warning.
16581
ca6bb004
UD
16582 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16583 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16584
052fa7b3
AS
165852010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16586
16587 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16588
962dba78
UD
165892010-08-12 Ulrich Drepper <drepper@redhat.com>
16590
16591 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16592 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16593 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16594
bebff237
AM
165952010-05-01 Alan Modra <amodra@gmail.com>
16596
16597 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16598 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16599 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16600 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16601 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16602 tidying. Don't tail-call __sigjmp_save for static lib.
16603 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16604 save location.
16605 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16606 (CALL_MCOUNT): Add eh info, and nop after bl.
16607 (TAIL_CALL_SYSCALL_ERROR): New macro.
16608 (PSEUDO_RET): Use it.
16609 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16610 Correct save location of integer regs and cr.
16611 (_dl_profile_resolve): Correct cr save location. Delete nops
16612 after bl when SHARED. Reduce cfi size a little by better
16613 placement of cfi directives.
16614 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16615 make a stack frame. Instead use parm save area as a temp.
16616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16617 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16619 Don't make a stack frame for parent, use parm save area.
16620 Increase child stack frame to 112 bytes. Don't save unused reg,
16621 and adjust reg usage. Set up cfi on error recovery and
16622 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16624 (__makecontext): Add dummy nop after jump to exit.
16625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16626 Use correct parm save area and cr save, reduce stack frame.
16627 Correct cfi for possible PSEUDO_RET frame setup.
16628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16629 Branch to local label emitted by PSEUDO_RET rather than
16630 __syscall_error.
16631
02637374
AS
166322010-08-12 Andreas Schwab <schwab@redhat.com>
16633
16634 [BZ #11904]
16635 * locale/programs/locale.c (print_assignment): New function.
16636 (show_locale_vars): Use it.
16637
c3e2f19b
UD
166382010-08-11 Ulrich Drepper <drepper@redhat.com>
16639
3cdaa6ad
UD
16640 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16641 field.
16642 (struct statfs64): Likewise.
16643 (_STATFS_F_FLAGS): Define.
16644 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16645 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16646 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16647 (ST_VALID): Define locally.
16648 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16649 __statvfs_getflags, use the provided value.
16650 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16651 __ASSUME_STATFS_F_FLAGS.
16652
754f7da3
UD
16653 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16654
10b3bedc
UD
16655 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16656 Add sys/fanotify.h.
16657 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16658 fanotify_mask for GLIBC_2.13.
16659 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16660 fanotify_init and fanotify_mark.
16661 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16662 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16663
c08fb0d7
UD
16664 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16665 Add prlimit.
16666 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16667 prlimit64 for GLIBC_2.13.
16668 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16669 prlimit64.
16670 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16671 syscall.
16672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16673 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16674 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16675 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16676 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16677 add prlimit alias.
16678 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16679
15bac72b
UD
16680 [BZ #11903]
16681 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16682 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16683
c3e2f19b
UD
16684 * nss/Makefile: Add rules to build and run tst-nss-test1.
16685 * shlib-versions: Add entry for libnss_test1.
16686 * nss/nss_test1.c: New file.
16687 * nss/tst-nss-test1.c: New file.
16688
16689 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16690 (__nss_configure_lookup): Set appropriate entry in
16691 __nss_configure_lookup to true.
16692 * nss/nsswitch.h: Define enum with indeces of databases in
16693 databases and __nss_database_custom arrays. Declare
16694 __nss_database_custom.
16695 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16696 to avoid using nscd when custom rules are installed.
16697 * nss/getXXbyYY_r.c: Likewise.
16698 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16699
16700 * nss/nss_files/files-parse.c: Whitespace fixes.
16701
f15ce4d8
UD
167022010-08-09 Ulrich Drepper <drepper@redhat.com>
16703
16704 [BZ #11883]
16705 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16706 * posix/fnmatch_loop.c: Likewise.
16707
d22e4cc9
AK
167082010-07-17 Andi Kleen <ak@linux.intel.com>
16709
16710 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16711 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16712 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16713 * Versions.def [GLIBC_2.13]: Add.
16714
805bc17d
UD
167152010-08-06 Ulrich Drepper <drepper@redhat.com>
16716
16717 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16718 Also fail if tpwd after pwuid call is NULL.
16719
5a42321d
ST
167202010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16721
16722 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16723 when converting to ms.
16724
fd3ebeda
ST
167252010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16726
16727 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16728 EOPNOTSUPP errors with ENOTTY.
16729 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16730 EOPNOTSUPP errors with ENOTTY.
16731
73507d3a
UD
167322010-07-31 Ulrich Drepper <drepper@redhat.com>
16733
16734 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16735 Add strcasecmp_l-ssse3.
16736 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16737 strcasecmp.
16738 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16739 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16740 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16741
fe36dd02
UD
167422010-07-30 Ulrich Drepper <drepper@redhat.com>
16743
66f6765a
UD
16744 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16745
42e08a54
UD
16746 * string/Makefile (strop-tests): Add strcasecmp.
16747 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16748 strcasecmp_l-nonascii.
16749 (gen-as-const-headers): Add locale-defines.sym.
16750 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16751 * sysdeps/x86_64/strcasecmp.S: New file.
16752 * sysdeps/x86_64/strcasecmp_l.S: New file.
16753 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16754 * sysdeps/x86_64/locale-defines.sym: New file.
16755 * string/test-strcasecmp.c: New file.
16756
fe36dd02
UD
16757 * string/test-strcasestr.c: Test both ends of the range of characters.
16758 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16759
48cbc0d6
RM
167602010-07-29 Roland McGrath <roland@redhat.com>
16761
76e6d6bc 16762 [BZ #11856]
48cbc0d6
RM
16763 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16764
880113d9
UD
167652010-07-27 Ulrich Drepper <drepper@redhat.com>
16766
16767 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16768 for ld.so.
16769
deb9cabb
AS
167702010-07-27 Andreas Schwab <schwab@redhat.com>
16771
16772 * manual/memory.texi (Malloc Tunable Parameters): Document
16773 M_PERTURB.
16774
1c7570ff
RM
167752010-07-26 Roland McGrath <roland@redhat.com>
16776
16777 [BZ #11840]
16778 * configure.in (-fgnu89-inline check): Set and substitute
16779 gnu89_inline, not libc_cv_gnu89_inline.
16780 * configure: Regenerated.
16781 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16782
24fb0f88
UD
167832010-07-26 Ulrich Drepper <drepper@redhat.com>
16784
16785 * string/test-strnlen.c: New file.
16786 * string/Makefile (strop-tests): Add strnlen.
16787 * string/tester.c (test_strnlen): Add a few more test cases.
16788 * string/tst-strlen.c: Better error reporting.
16789
16790 * sysdeps/x86_64/strnlen.S: New file.
16791
8e96b93a
UD
167922010-07-24 Ulrich Drepper <drepper@redhat.com>
16793
16794 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16795 lower-latency instructions.
16796
dbc676d4
UD
167972010-07-23 Ulrich Drepper <drepper@redhat.com>
16798
16799 * string/test-strcasestr.c: New file.
16800 * string/test-strstr.c: New file.
16801 * string/Makefile (strop-tests): Add strstr and strcasestr.
16802 * string/str-two-way.h: Don't undefine MAX.
16803 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16804
f6a31e0e
AS
168052010-07-21 Andreas Schwab <schwab@redhat.com>
16806
16807 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16808 strcasestr-nonascii.
16809 (CFLAGS-strcasestr-nonascii.c): Define.
16810 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16811 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16812 Remove unused attribute.
16813
5dbc3b6c
RM
168142010-07-20 Roland McGrath <roland@redhat.com>
16815
16816 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16817 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16818 ld.so.cache was broken. With it, there is no way to disable dsocaps
16819 like LD_HWCAP_MASK can disable hwcaps.
16820
23d101d8
EPM
168212010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16822
16823 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16824
cc9f2e47
UD
168252010-07-16 Ulrich Drepper <drepper@redhat.com>
16826
16827 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16828 call in strcasestr.
16829 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16830 __strcasestr_sse42_nonascii.
16831 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16832 strcasestr-nonascii.c.
16833 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16834
77c1b069
LM
168352010-06-15 Luis Machado <luisgpm@br.ibm.com>
16836
16837 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16838 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16839 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16840 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16841
440566c3
UD
168422010-07-09 Ulrich Drepper <drepper@redhat.com>
16843
16844 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16845 fcntl.
16846
5be9d05d
AS
168472010-07-06 Andreas Schwab <schwab@redhat.com>
16848
c30b7ee2 16849 [BZ #11577]
5be9d05d
AS
16850 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16851 dl_signal_cerror.
16852
8a492a67
UD
168532010-07-06 Ulrich Drepper <drepper@redhat.com>
16854
16855 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16856 _PC_PIPE_BUF using F_GETPIPE_SZ.
16857
713df3d5
RM
168582010-07-05 Roland McGrath <roland@redhat.com>
16859
16860 * manual/arith.texi (Rounding Functions): Fix rint description
16861 implicit in round description.
16862
702e8f14
UD
168632010-07-02 Ulrich Drepper <drepper@redhat.com>
16864
16865 * elf/Makefile: Fix linking for a few tests to make recent linker
16866 happy.
16867
52ed8be9
AS
168682010-06-30 Andreas Schwab <schwab@redhat.com>
16869
16870 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16871 $(common-objpfx)libc_nonshared.a.
16872
f47c9a11
LM
168732010-06-21 Luis Machado <luisgpm@br.ibm.com>
16874
16875 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16876 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16877 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16878 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16879 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16880 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16881 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16882 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16897 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16898 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16899 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16900 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16901 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16902 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16903 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16904 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16905 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16906 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16907 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16908 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16923
6fb8cbcb
L
169242010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16925
16926 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16927 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16928 * string/memmove.c (memmove): Renamed to ...
16929 (MEMMOVE): ...this. Default to memmove.
16930 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16931 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16932 (END_CHK): Define.
16933 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16934 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16935 mempcpy-ssse3-back memmove-ssse3-back.
16936 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16937 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16938 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16939 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16940 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16941 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16942 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16943 * sysdeps/x86_64/multiarch/memmove.c: New file.
16944 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16945 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16946 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16947 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16948 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16949 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16950 Define.
16951 (index_Fast_Copy_Backward): Define.
16952 (HAS_ARCH_FEATURE): Define.
16953 (HAS_FAST_REP_STRING): Define.
16954 (HAS_FAST_COPY_BACKWARD): Define.
16955
4e733bac 169562010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16957
16958 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16959 Restore proper fallback handling.
16960
63c4ed22
UD
169612010-06-19 Ulrich Drepper <drepper@redhat.com>
16962
ac2b484c
UD
16963 [BZ #11701]
16964 * posix/group_member.c (__group_member): Correct checking loop.
16965
63c4ed22
UD
16966 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16967 OOM in getpwuid_r correctly. Return error number when the caller
16968 should return, otherwise -1.
16969 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16970 call returning > 0 value.
16971 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16972
765ade4b
AS
169732010-06-07 Andreas Schwab <schwab@redhat.com>
16974
16975 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16976 libc_nonshared.a from targets in modules-names.
16977
80da2e09
KS
169782010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16979
16980 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16981 requires it.
16982
158db122
LM
169832010-06-10 Luis Machado <luisgpm@br.ibm.com>
16984
16985 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16986 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16987 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16988 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16989
caa78cf8
AS
169902010-06-02 Andreas Schwab <schwab@redhat.com>
16991
16992 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16993
b2ef2c01
UD
169942010-06-14 Ulrich Drepper <drepper@redhat.com>
16995
16996 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16997 and F_GETPIPE_SZ.
16998 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16999 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17000 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17001 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17002 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17003 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17004
fbd643b6
RM
170052010-06-14 Roland McGrath <roland@redhat.com>
17006
17007 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17008
f32f2869
JJ
170092010-06-07 Jakub Jelinek <jakub@redhat.com>
17010
17011 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17012 __REDIRECT followed by __THROW.
17013 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17014 * posix/getopt.h (getopt): Likewise.
17015
2a50c078
EPM
170162010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17017
17018 * hurd/lookup-at.c (__file_name_lookup_at): Accept
17019 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
17020 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17021 in AT_FLAGS.
17022 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17023 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17024
eb5ad2eb
LM
170252010-05-28 Luis Machado <luisgpm@br.ibm.com>
17026
17027 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17028
3c88fe1e
L
170292010-05-26 H.J. Lu <hongjiu.lu@intel.com>
17030
17031 [BZ #11640]
17032 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17033 Properly check family and model.
17034
d2f73151
TY
170352010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
17036
17037 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17038
ebd2e13d
LM
170392010-05-24 Luis Machado <luisgpm@br.ibm.com>
17040
17041 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17042
b32b8b45
UD
170432010-05-21 Ulrich Drepper <drepper@redhat.com>
17044
17045 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17046 symbol reference.
17047
9acbe24d
AS
170482010-05-19 Andreas Schwab <schwab@redhat.com>
17049
17050 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17051 symbol reference.
17052
f0ccf6ea
AS
170532010-05-21 Andreas Schwab <schwab@redhat.com>
17054
3d04ff3a
AS
17055 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17056 and internal_recvmmsg.
17057 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17058 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17059 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17060 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17061
f0ccf6ea
AS
17062 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17063 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17064 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17065
5b08ac57
AS
170662010-05-20 Andreas Schwab <schwab@redhat.com>
17067
17068 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17069
4828935d
LM
170702010-05-17 Luis Machado <luisgpm@br.ibm.com>
17071
17072 POWER7 optimizations.
17073 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17074 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17075
373d545e
UD
170762010-05-19 Ulrich Drepper <drepper@redhat.com>
17077
17078 * version.h: Update for 2.13 development version.
17079
21a2b1ae
AS
170802010-05-12 Andrew Stubbs <ams@codesourcery.com>
17081
17082 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17083 exceptions. Return 0.
17084
3f7dcb2b
RM
170852010-05-07 Roland McGrath <roland@redhat.com>
17086
17087 * elf/ldconfig.c (main): Add a const.
17088
5f24d53a 170892010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 17090
a160f8d8
UD
17091 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17092 (args_options): Add no-idn option.
17093 (ahosts_keys_int): Add idn_flags to ai_flags.
17094 (parse_option): Handle 'i' option to clear idn_flags.
17095
5f24d53a
UD
17096 * malloc/malloc.c (_int_free): Possible race in the most recently
17097 added check. Only act on the data if no current modification
17098 happened.
265bb1ce
UD
17099
17100See ChangeLog.17 for earlier changes.